#webgl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

:root {
    --bg-color: transparent; /* Reverted to transparent for WebGL visibility */
    --text-color: #ffffff;
    --accent-1: #6d28d9;
    --accent-2: #db2777;
    --accent-3: #4f46e5;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

html {
    background-color: #000; /* Keep black base to prevent white flashes */
    overflow-x: hidden;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
    /* Hide scrollbar for custom smooth scroll feel */
    scrollbar-width: none;
    cursor: none; /* Hide default cursor */
}

/* --- Custom Cursor --- */
.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    will-change: transform;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    will-change: transform, width, height;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-text {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

body::-webkit-scrollbar {
    display: none;
}

/* --- Aurora Background (Disabled/Unused) --- */
.aurora-background {
    display: none;
}

/* --- Noise Overlay (Disabled/Unused) --- */
.noise-overlay {
    display: none;
}

/* --- Glass Navbar --- */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%; /* Increased width */
    max-width: 1400px; /* Increased max-width to fit more links */
    padding: 0.8rem 2rem; /* Slightly reduced vertical padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 160; /* Increased to be above mobile overlay (150) */
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 
                0 0 15px rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
    will-change: transform, box-shadow;
}

.glass-nav:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 
                0 0 25px rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    white-space: nowrap; /* Prevent wrapping */
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 1rem; /* Reduced margin to fit more items */
    font-size: 0.9rem;
    transition: color 0.3s;
    white-space: nowrap; /* Prevent text wrap */
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #fff;
    white-space: nowrap;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* --- Typography & Hero --- */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 20px 0 20px; /* Increased top padding significantly */
}

h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.8rem, 5.5vw, 6rem); /* Reduced min and vw for better fit on all screens */
    line-height: 1.2; /* Increased slightly for better separation */
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #a5a5a5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

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

.hero-btn {
    text-decoration: none;
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* --- Content Sections --- */
.content-section {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 20px;
}

/* --- Vision Section --- */
.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
}

.vision-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.vision-label {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--accent-1);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.vision-content h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: #fff;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.vision-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    max-width: 900px;
    font-weight: 300;
}

.highlight-vision {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-2);
}

.vision-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    margin-top: 3rem;
}

/* --- Why Section --- */
.why-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 20px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
}

.why-container {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.why-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    margin-bottom: 4rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.why-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 4rem;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    text-align: left;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.why-card p {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.why-card .highlight {
    display: block;
    margin-top: 0.8rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* --- Service Detail Section --- */
.service-detail-container {
    margin-top: 4rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.service-detail-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-detail-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 1;
}

.service-detail-hook {
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.5;
    border-left: 4px solid var(--accent-3);
    padding-left: 25px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.service-detail-desc {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-weight: 400;
    max-width: 95%;
    position: relative;
    z-index: 1;
}

/* --- About Me Section --- */
.about-section {
    padding: 10rem 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,10,0.8) 50%, rgba(0,0,0,0) 100%);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
}

.about-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    color: #fff;
    -webkit-text-stroke: 0px transparent;
    border-right: 2px solid var(--accent-3);
    overflow: hidden;
    animation: textFill 3s ease-in-out infinite alternate;
}

@keyframes textFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 5rem 3rem;
    max-width: 900px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-card:hover {
    transform: rotateX(2deg) rotateY(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.3);
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.about-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.about-text-highlight {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.about-text-body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: #fff;
    line-height: 1.5;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid var(--accent-3);
    padding-left: 2rem;
    text-align: left;
    position: relative;
    letter-spacing: -0.5px;
    text-transform: none;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.about-text-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1), transparent);
    z-index: -1;
    filter: blur(20px);
}

.floating-shapes div {
    position: absolute;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 10s infinite linear;
    z-index: 1;
}

.floating-shapes div:nth-child(1) { top: 10%; left: 10%; animation-duration: 15s; border-radius: 50%; }
.floating-shapes div:nth-child(2) { top: 20%; right: 10%; animation-duration: 20s; transform: rotate(45deg); }
.floating-shapes div:nth-child(3) { bottom: 10%; left: 20%; animation-duration: 18s; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.floating-shapes div:nth-child(4) { bottom: 20%; right: 20%; animation-duration: 25s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.5; }
}

/* --- Services Section (New - Vertical Popup) --- */
.services-section {
    padding: 10rem 20px;
    margin: 0;
    position: relative;
    background: transparent;
}

.services-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15vh; /* Space between popup cards */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    width: 100%;
    max-width: 1000px;
    min-height: 60vh;
    background: rgba(15, 15, 15, 0.9); /* More opaque, less reliance on backdrop-filter */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    /* backdrop-filter: blur(20px);  DISABLED FOR PERFORMANCE */
    -webkit-backdrop-filter: blur(0px); /* Reset */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); /* Simpler shadow */
    position: relative;
    overflow: hidden;
    /* GSAP handles transform/opacity. Remove CSS transition to prevent conflict/lag */
    will-change: transform, opacity;
    transform: translateZ(0); /* Hardware acceleration */
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(109, 40, 217, 0.1); /* Lighter glow */
}

.service-number {
    font-family: 'Syncopate', sans-serif;
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -20px;
    right: 20px;
    font-weight: 700;
    line-height: 1;
    z-index: 0;
}

.service-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 3.5rem; /* Bigger title */
    margin-bottom: 0.5rem;
    color: #fff;
    margin-right: 2rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.service-subtitle {
    font-size: 1.4rem; /* Bigger subtitle */
    color: var(--accent-1);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-content {
    font-size: 1.2rem; /* Bigger content text */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 5rem;
}

.service-list li strong {
    color: #fff;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 1.4rem; /* Bigger bold text */
    font-weight: 700;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1); /* Thicker line */
    padding-bottom: 0.5rem;
    width: fit-content;
}

.service-list li p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-left: 0;
    margin-top: 0.5rem;
    font-weight: 400;
}

.service-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85); /* Slightly brighter */
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.service-text-premium {
    font-size: 1.5rem; /* Bigger */
    color: #fff; /* Pure white focused */
    font-weight: 600; /* Bold */
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.25); /* Premium Glow */
    letter-spacing: 0.02em;
}

.service-text-bold {
    font-size: 1.3rem; /* Bigger */
    color: #fff; /* Pure white */
    font-weight: 700; /* Bold */
    margin-bottom: 1rem;
    display: block;
}

.service-grid-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 cols for better readability */
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.service-grid-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    font-size: 1.1rem;
    font-weight: 600; /* Semi-bold */
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-grid-list li:before {
    content: "•";
    color: var(--accent-1);
    font-size: 1.5rem;
    line-height: 0;
}

.service-grid-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--accent-2);
}

.service-grid-list-premium {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    perspective: 1000px; /* Add depth context */
}

.service-grid-list-premium li {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Special Glow Hover Effect */
.service-grid-list-premium li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-grid-list-premium li:hover::before {
    left: 100%;
}

.service-grid-list-premium li:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-2);
    box-shadow: 0 15px 30px rgba(219, 39, 119, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Custom Icon/Bullet */
.service-grid-list-premium li::after {
    content: "✦";
    position: absolute;
    right: 20px;
    color: var(--accent-2);
    font-size: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.service-grid-list-premium li:hover::after {
    opacity: 1;
    transform: rotate(90deg) scale(1.2);
    text-shadow: 0 0 15px var(--accent-2);
}

.service-footer {
    margin-top: auto;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    font-style: italic;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

.service-footer.highlight {
    color: var(--accent-3);
    font-weight: 600;
}

/* --- Marquee Section --- */
.marquee-section {
    padding: 6rem 0;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
}

.marquee-content span {
    font-family: 'Syncopate', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    padding-right: 2rem;
    display: inline-block;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Dimensions (Horizontal Scroll) --- */
.dimensions-section {
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at center, rgba(109, 40, 217, 0.05), transparent 70%); /* Subtle glow in background */
    width: 100%;
}

.dimensions-container {
    display: flex;
    padding-left: 10vw;
    gap: 4vw;
    /* Ensure container is wide enough to hold all items without wrapping */
    width: max-content; 
    will-change: transform;
}

.dimension-card {
    min-width: 35vw; /* Slightly narrower for better proportion */
    height: 65vh; /* Taller */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); /* Subtle gradient */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.dimension-card:hover {
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255,255,255,0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.dimension-card h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 8rem; /* Massive number */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 2rem;
    right: 3rem;
    opacity: 0.5;
    transition: all 0.5s ease;
    line-height: 1;
    z-index: 0;
}

.dimension-card:hover h2 {
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.02);
    transform: translateX(-10px);
}

.dimension-card h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.dimension-card p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 80%;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Decoration line */
.dimension-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dimension-card:hover::after {
    opacity: 1;
}

/* --- Essence (Text Reveal) --- */
.essence-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fill-text {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 1;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(to right, #fff, #fff);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
}

/* --- Live Demo Section --- */
.demo-section {
    padding: 8rem 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.demo-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.demo-section-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.demo-section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    font-weight: 300;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.demo-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.demo-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.demo-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.demo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.demo-card:hover .demo-image img {
    transform: scale(1.1);
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0.6;
}

.demo-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.demo-title {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.demo-result {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.demo-btn {
    margin-top: auto;
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.demo-btn:hover {
    background: #f0f0f0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* --- How It Works Section --- */
.process-section {
    padding: 8rem 20px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    font-weight: 300;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem; /* Increased padding */
    width: 300px; /* Wider cards */
    min-height: 400px; /* Taller cards */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.15);
}

.step-number {
    font-family: 'Syncopate', sans-serif;
    font-size: 3.5rem; /* Bigger number */
    color: var(--accent-1);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.process-step h3 {
    font-size: 1.4rem; /* Bigger title */
    color: #fff;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.process-step p {
    font-size: 1.1rem; /* Bigger body text */
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.highlight-text {
    color: #fff !important;
    font-size: 1.1rem; /* Bigger highlight text */
    font-weight: 700;
    font-style: italic;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1rem;
    width: 100%;
    margin-top: auto; /* Push to bottom */
}

.process-arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive Process */
@media (max-width: 1024px) {
    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }
    .process-arrow {
        transform: rotate(90deg);
    }
    .process-step {
        width: 100%;
        max-width: 500px;
        min-height: auto;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 2rem;
    }
    .step-number {
        margin-bottom: 0;
    }
}

/* --- Results Section --- */
.results-section {
    padding: 8rem 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: transform 0.3s ease;
    /* Initial Animation State */
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden; /* Added */
}

.result-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    opacity: 1; /* Ensure opacity stays 1 on hover if animation finishes */
}

.result-number {
    font-family: 'Syncopate', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fff 30%, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.result-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-width: 250px;
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 8rem 20px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8));
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 5rem;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    overflow: hidden; /* Keep glow contained if needed, or remove for spillover */
    /* Initial Animation State */
    opacity: 0;
    transform: translateY(40px);
    visibility: hidden; /* Added */
}

/* Underglow Base */
.pricing-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    background: inherit; /* Fallback */
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    border-radius: 50%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    /* box-shadow is now handled by specific themes below for consistency */
}

.pricing-card:hover::before {
    opacity: 0.6;
}

/* Specific Card Themes with Underglow */
.pricing-card.starter::before { background: #22c55e; }
.pricing-card.starter:hover { border-color: #22c55e; box-shadow: 0 20px 50px rgba(34, 197, 94, 0.15); }

.pricing-card.business::before { background: #3b82f6; }
.pricing-card.business:hover { border-color: #3b82f6; box-shadow: 0 20px 50px rgba(59, 130, 246, 0.15); }

.pricing-card.smart::before { background: #a855f7; }
.pricing-card.smart:hover { border-color: #a855f7; box-shadow: 0 20px 50px rgba(168, 85, 247, 0.15); }

.pricing-card.enterprise::before { background: #eab308; }
.pricing-card.enterprise:hover { border-color: #eab308; box-shadow: 0 20px 50px rgba(234, 179, 8, 0.15); }

/* Popular Tag */
.popular {
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-header {
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.badge.green { color: #4ade80; background: rgba(74, 222, 128, 0.1); }
.badge.blue { color: #60a5fa; background: rgba(96, 165, 250, 0.1); }
.badge.purple { color: #c084fc; background: rgba(192, 132, 252, 0.1); }
.badge.yellow { color: #facc15; background: rgba(250, 204, 21, 0.1); }

.pricing-card h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-1);
    margin: 1.5rem 0;
}

.pricing-card .features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card .features-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card .features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-2);
}

.pricing-card .card-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.highlight-note {
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

/* Payment Terms */
.payment-terms {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-align: center;
    /* Initial Animation State */
    opacity: 0;
    transform: scale(0.95);
}

.payment-terms h3 {
    font-family: 'Syncopate', sans-serif;
    color: var(--accent-3);
    margin-bottom: 2rem;
}

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

.term-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-weight: 600;
}

/* Final CTA */
.final-cta-section {
    padding: 8rem 20px;
    text-align: center;
}

.final-cta-title {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 3rem;
    color: #fff;
    /* Initial Animation State */
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden; /* Added */
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.final-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Initial Animation State */
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden; /* Added */
}

.final-btn.primary { background: var(--accent-3); border-color: var(--accent-3); }
.final-btn.secondary { background: transparent; }
.final-btn.whatsapp { background: #25D366; border-color: #25D366; }

.final-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* --- Perspective Gallery Section --- */
.gallery-section {
    height: 150vh; /* Extra height for scroll duration */
    position: relative;
    overflow: hidden;
    padding: 0; /* Reset padding */
    display: block; /* Reset display */
    background: transparent; /* Reset background */
}

.gallery-container {
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: none; /* Reset max-width */
}

.gallery-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    text-align: center;
    margin-bottom: 0; /* Reset margin */
}

.gallery-overlay h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 5rem;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    mix-blend-mode: overlay;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 0; /* Reset margin */
    letter-spacing: normal; /* Reset letter-spacing */
}

.gallery-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-plane {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.gallery-card {
    position: absolute;
    background: rgba(0, 0, 0, 0.5); /* Dark background behind image */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    /* will-change: transform, opacity;  -- Removed to prevent potential flicker */
    /* opacity: 0; -- Controlled by GSAP */
    overflow: hidden; /* Clip image */
    /* transition: none; -- Removed to allow CSS hover effects if not conflicting */
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain to show real size/full image */
    display: block;
    transition: transform 0.5s ease;
    /* opacity: 1; */
}

/* Simplified Layout - No 3D Rotation */
.c1 { width: 350px; height: 450px; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5; aspect-ratio: auto; }
.c2 { width: 280px; height: 380px; top: 20%; left: 10%; z-index: 2; aspect-ratio: auto; transform: none; }
.c3 { width: 280px; height: 380px; bottom: 20%; right: 10%; z-index: 2; aspect-ratio: auto; transform: none; }
.c4 { width: 220px; height: 320px; top: 10%; right: 20%; z-index: 1; aspect-ratio: auto; transform: none; }
.c5 { width: 220px; height: 320px; bottom: 10%; left: 20%; z-index: 1; aspect-ratio: auto; transform: none; }

.gallery-card:hover {
    z-index: 100 !important; /* Ensure it pops to top */
    /* transform: none !important; -- Removed to allow scale */
    transform: scale(1.1); /* Simple scale on hover */
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-card:hover img {
    /* opacity: 1; */
    transform: scale(1.05); /* Slight internal zoom */
}


/* Connect Section */
.connect-section {
    padding: 8rem 20px;
    display: flex;
    justify-content: center;
}

.connect-box {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.input-group {
    display: flex;
    gap: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 20px 2rem;
    background: rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-column h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-1);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

/* --- Glow/Fade Text Effects --- */
.glow-text {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        opacity: 0.8;
    }
    to {
        text-shadow: 0 0 50px rgba(255, 255, 255, 0.6), 0 0 100px rgba(255, 255, 255, 0.2);
        opacity: 1;
    }
}

.fade-text {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 1rem;
}

/* --- Hamburger Menu --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 200;
}

.hamburger-menu .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* --- Mobile Menu Overlay --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 150;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.mobile-link {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-1);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .glass-nav {
        width: 95%;
    }
    
    h1 {
        font-size: clamp(2.5rem, 6vw, 5rem);
    }
    
    .dimensions-container {
        padding-left: 5vw;
        gap: 3vw;
    }
    
    .dimension-card {
        min-width: 50vw;
        height: 50vh;
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .content-section, .showcase-section, .impact-section {
        padding: 3rem 15px;
    }
    
    .glass-card {
        padding: 3rem;
    }
    
    .impact-grid {
        gap: 2rem;
    }
    
    .gallery-wrapper {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    /* Hide custom cursor on touch devices */
    .cursor-dot, .cursor-outline {
        display: none;
    }
    
    body {
        cursor: auto;
    }

    /* Adjust blob sizes specifically for mobile to ensure coverage */
    .blob-1 { width: 90vmax; height: 90vmax; filter: blur(60px); opacity: 0.5; }
    .blob-2 { width: 100vmax; height: 100vmax; filter: blur(60px); opacity: 0.5; }
    .blob-3 { width: 80vmax; height: 80vmax; filter: blur(60px); opacity: 0.5; }

    .glass-nav {
        width: 90%;
        padding: 0.8rem 1.2rem;
        top: 15px;
    }
    
    .nav-links {
        display: none; 
    }

    .hamburger-menu {
        display: flex;
    }
    
    .cta-button {
        display: none; /* Hide CTA in nav, maybe move to menu or keep it if space allows. Let's hide it for cleaner nav bar on small screens, or just keep it small. */
    }

    /* Hamburger Animation when active */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .glass-card {
        padding: 2rem;
    }
    
    .glass-card h2 {
        font-size: 1.5rem;
    }
    
    .glass-card p {
        font-size: 1rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .grid-item {
        height: 300px;
    }

    .marquee-content span {
        font-size: 3rem;
    }

    /* --- Mobile Services Section --- */
    .services-section {
        height: auto;
        overflow: visible;
    }

    .services-container {
        flex-direction: column;
        height: auto;
        width: 100%;
        padding: 2rem 1rem;
        gap: 3rem;
        will-change: auto;
    }

    .service-card {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 2rem;
        border-radius: 20px;
    }

    .service-number {
        font-size: 3rem;
        top: 20px;
        right: 20px;
    }

    .service-title {
        font-size: 1.8rem;
        margin-right: 0;
        margin-top: 4rem; /* Increased space to avoid overlap with number */
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-grid-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-grid-list-premium {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns as requested */
        gap: 0.8rem;
    }

    .service-text-premium {
        font-size: 1.1rem; /* Readable on mobile */
        text-shadow: none; /* Remove heavy shadow for clarity */
    }

    .service-grid-list-premium li {
        font-size: 1rem;
        padding: 1rem;
    }

    .dimension-card {
        min-width: 80vw;
        height: 45vh;
    }
    
    .fill-text {
        font-size: 3rem; /* Adjusted for mobile */
    }
    
    .impact-item h2 {
        font-size: 4rem;
    }
    
    .impact-item span {
        font-size: 2rem;
    }
    
    .gallery-section {
        height: 100vh; /* Reduce height on mobile */
    }
    
    .gallery-container {
        perspective: 800px;
    }
    
    .gallery-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 20; /* Ensure it is on top */
        width: 100%;
        padding: 0 20px;
    }

    .gallery-overlay h2 {
        font-size: clamp(2rem, 8vw, 3rem); /* Responsive font size */
        line-height: 1.2;
        text-shadow: 0 0 10px rgba(0,0,0,0.8); /* Better readability */
    }

    /* --- Final Mobile Polish (Ultra Friendly) --- */
    .hero-section {
        padding: 120px 20px 0 20px; /* Reduced top padding */
        height: auto;
        min-height: 100vh;
    }

    .vision-container, .why-section, .choose-section, .pricing-section, .demo-section, .process-section, .results-section, .final-cta-section {
        padding: 4rem 1.5rem; /* Standardized mobile padding */
    }

    .vision-content h2 {
        font-size: 2.5rem; /* Explicit size for small screens */
    }

    .vision-text {
        font-size: 1.1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr; /* Keep pricing stacked for readability */
        gap: 2rem;
    }

    .choose-grid, .demo-grid, .results-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns for max width usage */
        gap: 1rem;
    }

    /* Fix Live Demo on Mobile */
    .demo-image {
        height: 150px; /* Reduced height for mobile */
    }

    .demo-content {
        padding: 1rem;
    }

    .demo-title {
        font-size: 1rem; /* Smaller title */
        line-height: 1.3;
    }

    .demo-result {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .demo-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        width: 100%; /* Full width button */
    }

    .choose-card h3 {
        font-size: 1.2rem; /* Adjusted for 2-col mobile to prevent overflow */
        margin-bottom: 1rem;
    }

    .choose-number {
        font-size: 2.5rem; /* Smaller number for mobile cards */
        top: 10px;
        right: 15px;
    }
    
    .choose-card p {
        font-size: 0.95rem; /* Compact but readable */
        line-height: 1.4;
    }

    .pricing-card, .choose-card, .process-step, .demo-card {
        padding: 1rem; /* Reduce internal padding further for 2-col layout */
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem; /* Slightly tighter gap */
    }
    
    .process-step {
        width: 100%;
        max-width: none;
        min-height: auto; /* Let content dictate height */
        padding: 1rem 0.5rem; /* Less horizontal padding */
        display: flex;
        flex-direction: column;
        justify-content: flex-start; /* Align to top */
    }

    /* Make the last step full width for balance */
    .process-step:last-child {
        grid-column: 1 / -1; 
        max-width: 100%;
    }

    .step-number {
        font-size: 2rem; /* Smaller number */
        margin-bottom: 0.5rem;
    }

    .process-step h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        min-height: 2.6em; /* Ensure 2 lines alignment */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .process-step p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .highlight-text {
        font-size: 0.8rem;
        margin-top: 1rem;
        padding-top: 0.5rem;
    }

    /* Fix Results Section on Mobile */
    .result-card {
        padding: 1rem;
        gap: 0.5rem;
    }

    .result-number {
        font-size: 2.5rem; /* Smaller number */
    }

    .result-text {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .process-arrow {
        display: none;
    }

    .why-title, .section-title, .demo-section-title, .final-cta-title {
        font-size: 2rem; /* Readable titles */
    }

    .service-grid-list {
        grid-template-columns: 1fr;
    }
    
    .service-grid-list-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-terms {
        padding: 2rem;
        margin-top: 3rem;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure no overflow */
    body, html {
        overflow-x: hidden;
    }
}

/* Very Small Mobile (<380px) */
@media (max-width: 380px) {
    h1 { font-size: 2rem; }
    .hero-btn { padding: 0.8rem 2rem; font-size: 0.9rem; }
    .vision-content h2 { font-size: 2rem; }
    .choose-number { font-size: 3rem; }
    .pricing-card { padding: 1.5rem; }
}

/* --- Portfolio Section (Added) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
    justify-content: center;
    gap: 3rem;
    width: 100%;
    margin-top: 3rem;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
    min-height: 400px; /* Ensure minimum height to fit content */
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.portfolio-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align content */
    text-align: center; /* Center text */
    flex-grow: 1;
    justify-content: space-between; /* Distribute space */
}

.portfolio-info h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.portfolio-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

.portfolio-buttons .cta-button {
    flex: 1 1 auto;
    min-width: 120px; /* Wider buttons */
    text-align: center;
    background: rgba(255, 255, 255, 0.15); /* More visible background */
    border: 1px solid rgba(255, 255, 255, 0.4); /* Stronger border */
    display: inline-block;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-buttons .cta-button:hover {
    background: #fff;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* Specific style for Link button to differentiate */
.portfolio-buttons .cta-button:nth-child(2) {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.portfolio-buttons .cta-button:nth-child(2):hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: #fff;
}
