:root {
    /* Colors - More sophisticated palette */
    --bg-dark: #020204;
    --bg-card: rgba(8, 8, 12, 0.7);
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --secondary: #0066ff;
    --secondary-glow: rgba(0, 102, 255, 0.4);
    --accent: #ff00ff;
    --accent-glow: rgba(255, 0, 255, 0.3);
    --white: #ffffff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --grad-mesh: radial-gradient(at 0% 0%, hsla(185, 100%, 50%, 0.15) 0, transparent 50%),
                 radial-gradient(at 100% 0%, hsla(240, 100%, 50%, 0.1) 0, transparent 50%),
                 radial-gradient(at 100% 100%, hsla(300, 100%, 50%, 0.05) 0, transparent 50%),
                 radial-gradient(at 0% 100%, hsla(200, 100%, 50%, 0.1) 0, transparent 50%);
    
    /* Effects */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(15, 15, 22, 0.4);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    background-image: var(--grad-mesh);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none; /* Hide default cursor */
}

/* Ensure all interactive elements also hide the cursor */
a, button, [role="button"], input, textarea, select {
    cursor: none !important;
}

/* Zero Grain - body::before removed */

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

li {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-dark {
    /* Transparent by default to show body mesh gradient */
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--primary-glow);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, border-width 0.3s;
}

.custom-cursor.hover .cursor-dot {
    width: 10px;
    height: 10px;
}

.custom-cursor.hover .cursor-outline {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 255, 255, 0.4);
    border-width: 1px;
}

/* Background Blobs */
.blob-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    filter: blur(100px);
    z-index: -1;
}

.background-blob {
    position: absolute;
    border-radius: 50%;
    animation: blob-float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.25;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 50%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.15;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(50px, -50px) scale(1.1) rotate(60deg); }
    66% { transform: translate(-30px, 40px) scale(0.9) rotate(-40deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 auto 2rem;
    text-align: center; /* Explicit center */
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.1);
}

.section-title {
    font-size: 3.5rem; /* Slightly larger */
    margin-bottom: 2rem;
    line-height: 1.2;
    text-align: center; /* Explicit center */
    width: 100%;
}

.section-title span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.5;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism (iOS Style) */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Buttons */
/* Premium Buttons (Uiverse.io by Spacious74) */
.button {
    cursor: pointer;
    font-size: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Constant white border */
    position: relative;
    display: inline-flex;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: transparent; /* No solid background on outer container */
}

.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9); /* Brighter border on hover */
}

.button:hover .blob1 {
    width: 100%;
    filter: blur(12px);
    box-shadow: 0 0 30px #0051ff80;
}

.button:hover .inner {
    background: rgba(255, 255, 255, 0.03); /* Extremely transparent */
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.button::after {
    content: "";
    position: absolute;
    width: 65%;
    height: 60%;
    border-radius: 120px;
    top: 0;
    right: 0;
    box-shadow: 0 0 20px #ffffff38;
    z-index: -1;
}

.blob1 {
    display: none; /* Removed the solid blob for true transparency */
}

.inner {
    padding: 12px 25px;
    border-radius: 14px;
    color: #fff;
    z-index: 3;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: 0.3s;
}

.inner::before {
    display: none; /* Removed extra gradients */
}

.btn-block {
    width: 100%;
    display: flex;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: 0.5s;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
    animation: pulsate 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

@keyframes pulsate {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.loader-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 4px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.2rem;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(15, 15, 19, 0.8);
    backdrop-filter: blur(20px);
    height: 70px;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo-img {
    height: 40px;
    width: auto;
}

.logo .dot {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero section transition (Simplified to avoid sharp lines) */
.hero::after {
    display: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Fade out the background towards the bottom for a seamless transition */
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.sphere-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.sphere-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.hero-title {
    font-size: 8rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -4px;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    animation: title-shimmer 3s ease-in-out infinite alternate;
}

@keyframes title-shimmer {
    from { opacity: 0.8; filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05)); }
    to { opacity: 1; filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.2)); }
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-subtitle span {
    color: var(--primary);
    margin: 0 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-description {
    margin: 0 auto 3rem;
}

/* About & Stats */
.section-header {
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header.center {
    align-items: center;
    text-align: center;
}

.section-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-number {
    font-size: 2.5rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.skills-card {
    padding: 2.5rem;
}

/* Team Section */
.team-card {
    padding: 3rem;
}

.team-container {
    width: 100%;
}

.team-columns {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the whole group */
    gap: 2rem;
    margin-top: 1rem;
}

.team-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.column-title {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin: 0 auto 1.5rem; /* Centered with margin auto */
    text-align: center;
    opacity: 0.6;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    padding-bottom: 0.5rem;
    width: fit-content;
}

.team-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the cards */
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2rem;
}

.team-member-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    transition: transform 0.1s ease-out, background 0.3s ease;
    border: 1px solid var(--glass-border);
    width: 280px;
    min-height: 240px;
    transform-style: preserve-3d;
}

.team-member-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(0, 242, 255, 0.1),
        transparent 40%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-member-card:hover::after {
    opacity: 1;
}

.team-member-card:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.team-member-card .member-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    transition: 0.4s;
    transform: translateZ(20px);
}

.team-member-card:hover .member-icon {
    background: var(--grad-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateZ(40px) scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px var(--primary-glow);
}

.team-member-card h4 {
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.team-member-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    justify-content: center;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* For single items, don't let them stretch too wide */
@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 380px));
    }
}

/* Reveal Animations (Enhanced) */
[data-reveal] {
    opacity: 0;
    transition: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

[data-reveal="fade-up"] { transform: translateY(60px); }
[data-reveal="fade-down"] { transform: translateY(-60px); }
[data-reveal="fade-left"] { transform: translateX(60px); }
[data-reveal="fade-right"] { transform: translateX(-60px); }

/* Skew Reveal for Titles */
[data-reveal="skew-up"] {
    transform: translateY(100px) skewY(10deg);
    transform-origin: center; /* Changed from left to center */
}

[data-reveal].active {
    opacity: 1;
    transform: translate(0, 0) skewY(0deg);
}

/* Section Header Polish */
.section-header .section-title {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}

.section-tag {
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--grad-primary);
    border-radius: 10px;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
        letter-spacing: -2px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .team-columns {
        gap: 3rem;
    }
}

.project-card {
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.03) !important;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: 1;
}

.project-card:hover::before {
    left: 150%;
}

.project-img {
    height: 140px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.project-card-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    transition: 0.3s;
}

.project-card:hover .project-card-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--primary-glow));
}

.project-content {
    padding: 1.25rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.project-tags li {
    font-size: 0.75rem;
    background: rgba(0, 242, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--primary);
}


/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-item {
    padding: 3rem 2rem;
    text-align: center;
    transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-item:hover {
    background: rgba(0, 242, 255, 0.03) !important;
    border-color: rgba(0, 242, 255, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: 0.3s;
    filter: drop-shadow(0 0 5px var(--primary-glow));
}

.service-item:hover .service-icon {
    transform: translateY(-5px);
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact */
.contact-card {
    padding: 4rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.contact-info .title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info .title span {
    color: var(--primary);
}

.contact-methods {
    margin-top: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.contact-method .icon {
    width: 50px;
    height: 50px;
    background: var(--grad-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.contact-method .details span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-method .details strong {
    font-size: 1.1rem;
}

.cta-card {
    text-align: center;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.cta-logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 0 15px var(--primary-glow));
    margin-bottom: 2rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover .cta-logo {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 0 25px var(--accent-glow));
}

.cta-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 300px;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo span {
    color: var(--secondary);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: 0.3s;
}

.footer-socials i:hover {
    color: var(--primary);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="fade-right"] { transform: translateX(-40px); }
[data-reveal="fade-left"] { transform: translateX(40px); }

[data-reveal].active {
    opacity: 1;
    transform: translate(0);
}

/* Stats Bar */
.stats-bar-container {
    margin-top: -50px;
    position: relative;
    z-index: 100;
}

.stats-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem;
    background: rgba(10, 10, 15, 0.4) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px -15px rgba(0, 0, 0, 0.6);
    border-radius: 24px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.stat-item .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Work Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 2rem;
}

.client-info {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    position: relative;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.avatar-glow {
    position: absolute;
    inset: 0;
    background: var(--primary);
    filter: blur(10px);
    opacity: 0.15;
    border-radius: 12px;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-details strong {
    font-size: 1rem;
    color: var(--white);
    display: block;
}

.client-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    display: grid;
    grid-template-rows: auto 1fr;
}

/* Base state for animation */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.faq-item[open] .faq-body {
    grid-template-rows: 1fr;
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--primary);
    font-size: 1.5rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    transform: translateY(-10px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 0; /* Required for grid trick */
}

.faq-item[open] .faq-content {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Button Base (Required for JS) */
.button-magnetic {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform;
}

/* Responsive Fixes for new sections */
@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        gap: 2rem;
    }
    .stat-divider { display: none; }
}

/* Custom Cursor/Atmosphere */
.gradient-sphere {
    will-change: transform;
}


/* Responsive */
@media (max-width: 1024px) {
    .section-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title { font-size: 4.5rem; }
}

@media (max-width: 768px) {
    .nav-links { 
        display: flex; 
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(15, 15, 19, 0.95);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-links.mobile-active {
        right: 0;
    }
    
    .mobile-toggle { 
        display: block; 
        position: relative;
        z-index: 1001;
    }
    
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.5rem; }
    
    .section-title { font-size: 2.2rem; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .team-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
