:root {
    /* Logo-extracted Palette */
    --primary: #865EAC;
    /* Deeper wing color */
    --primary-light: #B496D6;
    /* Lighter top wing highlights */
    --primary-dark: #583D7C;
    /* Deep shadow tone */

    /* Backgrounds matching the logo canvas */
    --bg-main: #0B0813;
    /* Very dark indigo background */
    --bg-alt: #120D1D;
    /* Slightly lighter indigo for alternate sections */

    /* Text */
    --text-main: #F4F0FA;
    /* Soft off-white tailored to purple */
    --text-muted: #A396B8;
    /* Muted lavender-grey */

    /* Glassmorphism */
    --glass-bg: rgba(25, 18, 41, 0.7);
    --glass-border: rgba(180, 150, 214, 0.15);

    /* Glowing Effect Variables */
    --glow-primary: rgba(180, 150, 214, 0.3);
    --glow-strong: rgba(134, 94, 172, 0.5);
    --glow-accent: rgba(245, 158, 11, 0.3);
}

/* ── Dynamic Animated Mesh Background ── */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: var(--bg-main);
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    border-radius: 50%;
    animation: flow 20s infinite alternate ease-in-out;
}

.mesh-blob-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary-dark), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.mesh-blob-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(229, 205, 117, 0.1), transparent 70%);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.mesh-blob-3 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(134, 94, 172, 0.2), transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes flow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(5%, 10%) scale(1.1);
    }

    66% {
        transform: translate(-5%, -5%) scale(0.9);
    }

    100% {
        transform: translate(10%, -10%) scale(1.05);
    }
}

/* ── Kinetic Typography Marquee ── */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 2rem 0;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.marquee-content span {
    display: inline-block;
    padding: 0 2rem;
}

.marquee-content span.filled {
    color: var(--text-main);
    -webkit-text-stroke: 0;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Glowing Box System */
.glowing-box {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--glow-primary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glowing-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.5;
}

.glowing-box:hover {
    box-shadow: 0 15px 40px var(--glow-strong);
    transform: translateY(-5px);
    border-color: rgba(180, 150, 214, 0.4);
}

.glowing-box-primary {
    background: rgba(88, 61, 124, 0.4);
    /* primary-dark with opacity */
    border: 1px solid rgba(134, 94, 172, 0.3);
    box-shadow: 0 10px 40px var(--glow-strong);
}

.glowing-box-primary:hover {
    box-shadow: 0 15px 50px rgba(134, 94, 172, 0.7);
    border-color: var(--primary-light);
}

.content-wrapper {
    position: relative;
    z-index: 1;
    /* Keep content above any background decorators */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Cursor Styles */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-light);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(180, 150, 214, 0.15);
    border-color: transparent;
}

/* Hide default cursor on interactive elements as well */
a,
button,
input,
select,
textarea,
.service-card,
.hamburger,
.deliverable-card,
.process-step,
.pricing-card,
.detail-card,
.payment-terms-box,
.rev-card,
.contact-chip {
    cursor: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h1 span,
h2 span {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Snappier animation */
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(103, 75, 148, 0.4);
    z-index: 1;
    /* For pseudo-element */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px var(--glow-strong);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--primary-light);
    background: rgba(180, 150, 214, 0.1);
    box-shadow: 0 5px 15px var(--glow-primary);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(17, 13, 31, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: none;
    /* fallback removed */
}

.logo span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-light);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 130px;
    padding-bottom: 3rem;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary-dark);
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(157, 119, 192, 0.25);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ── Hero Visual Animated Block ── */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rotating outer glow ring */
.hero-ring {
    position: absolute;
    width: 105%;
    height: 105%;
    border-radius: 30px;
    border: 1.5px solid transparent;
    background:
        linear-gradient(var(--bg-main), var(--bg-main)) padding-box,
        conic-gradient(from 0deg,
            var(--primary-dark),
            var(--primary-light),
            var(--accent, #e5cd75),
            var(--primary-light),
            var(--primary-dark)) border-box;
    animation: spin-ring 8s linear infinite;
}

@keyframes spin-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Image frame */
.hero-img-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 0 40px var(--glow-strong),
        0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease;
    cursor: default;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    animation: hero-float 6s ease-in-out infinite;
}

@keyframes hero-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Floating overlay badges */
.hero-float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(25, 18, 41, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(180, 150, 214, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 20px rgba(134, 94, 172, 0.3);
    white-space: nowrap;
}

.badge-tl {
    top: 1.2rem;
    left: -1.5rem;
    animation: badge-float 4s ease-in-out infinite;
}

.badge-br {
    bottom: 1.2rem;
    right: -1.5rem;
    animation: badge-float 4s ease-in-out infinite reverse;
}

.hfb-icon {
    font-size: 1rem;
}

@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Orbiting dot */
.hero-orbit {
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    animation: orbit-spin 12s linear infinite;
    pointer-events: none;
}

.hero-orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-light);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px 4px var(--glow-primary);
}

@keyframes orbit-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.badge {
    padding: 0.5rem 1.25rem;
    background: rgba(103, 75, 148, 0.2);
    border: 1px solid rgba(103, 75, 148, 0.4);
    border-radius: 50px;
    color: var(--primary-light);
    margin-bottom: 2rem;
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(134, 94, 172, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
    box-shadow: 0 35px 60px -15px var(--glow-strong);
    border-color: rgba(180, 150, 214, 0.4);
}

.glass-card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #EF4444;
}

.dot.yellow {
    background: #F59E0B;
}

.dot.green {
    background: #10B981;
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 150px;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-dark), var(--primary-light));
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: growBar 1.5s ease-out forwards;
}

@keyframes growBar {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

.growth-text {
    color: #10B981;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Services */
.services {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(17, 13, 31, 0.5);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 0.5;
}

.service-card:hover {
    background: rgba(24, 19, 42, 0.8);
    transform: translateY(-10px);
    border-color: rgba(180, 150, 214, 0.4);
    box-shadow: 0 15px 40px var(--glow-primary);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Base styles for deliverables and process steps to behave like glowing boxes */
.deliverable-card,
.process-step {
    background: rgba(17, 13, 31, 0.5);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.deliverable-card:hover,
.process-step:hover {
    background: rgba(24, 19, 42, 0.8);
    transform: translateY(-5px);
    border-color: rgba(180, 150, 214, 0.3);
    box-shadow: 0 10px 30px var(--glow-primary);
}

/* About */
.about {
    padding: 6rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ── Advanced Animated Composition (About Visual) ── */
.animated-composition {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.comp-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(180, 150, 214, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: comp-pulse 4s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes comp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.comp-img-frame {
    position: relative;
    width: 80%;
    height: 80%;
    border-radius: 30px;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(180, 150, 214, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* ── Premium Image Reveal (clip-path wipe) ── */
.reveal-image {
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    will-change: clip-path, transform;
}

.hero-img-frame.reveal-image,
.comp-img-frame.reveal-image {
    overflow: visible;
    /* allow GSAP to animate without cutting */
}

.comp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
    /* slightly scale up for parallax bleed */
}

/* Floating UI Cards */
.comp-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(20, 15, 30, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(180, 150, 214, 0.3);
    padding: 1rem 1.2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.cc-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cc-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
    font-weight: 600;
}

.cc-text span {
    font-size: 0.75rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.float-card-1 {
    top: 10%;
    right: -10%;
    animation: float-obj 6s ease-in-out infinite;
}

.float-card-2 {
    bottom: 20%;
    left: -15%;
    animation: float-obj 7s ease-in-out infinite 1s reverse;
}

@keyframes float-obj {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* Integrated Floating Badge */
.comp-badge {
    position: absolute;
    bottom: -5%;
    right: 5%;
    z-index: 15;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--primary-light);
    padding: 1.2rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 40px var(--glow-strong);
    animation: float-obj 5s ease-in-out infinite 0.5s;
}

.comp-badge .number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-light);
    line-height: 1;
    text-shadow: 0 0 20px var(--glow-strong);
}

.comp-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--text-main);
}

/* Orbiting Particles */
.comp-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(180, 150, 214, 0.1);
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.orbit-1 {
    width: 110%;
    height: 110%;
    animation: spin-orbit 15s linear infinite;
}

.orbit-2 {
    width: 130%;
    height: 130%;
    border-color: rgba(229, 205, 117, 0.1);
    /* golden touch */
    animation: spin-orbit 20s linear infinite reverse;
}

.comp-orbit .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary-light);
}

.orbit-2 .dot {
    background: var(--accent, #e5cd75);
    box-shadow: 0 0 10px var(--accent, #e5cd75);
}

@keyframes spin-orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

/* CTA */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-main), var(--primary-dark));
}

.cta-container {
    background: rgba(25, 18, 41, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(180, 150, 214, 0.3);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px var(--glow-strong);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.8;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    margin: 2rem auto 0;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: white;
    outline: none;
    font-size: 1rem;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: #05080F;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-col ul {
    list-style: none;
    margin-top: 1.5rem;
}

.link-col ul li {
    margin-bottom: 0.75rem;
}

.link-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.link-col ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 992px) {

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .glass-card {
        transform: none;
    }

    .feature-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 8, 19, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border: none;
        gap: 1rem;
    }

    .input-group input,
    .input-group button {
        width: 100%;
        border-radius: 50px;
        padding: 1rem;
    }

    .input-group input {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}

/* Appointment Form Specific */
.form-page-section {
    padding: 10rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.appointment-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px var(--glow-strong);
    position: relative;
    overflow: hidden;
}

.appointment-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
    opacity: 0.8;
}

.appointment-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.appointment-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(180, 150, 214, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    cursor: pointer;
}

select.form-control option {
    background: var(--bg-main);
    color: var(--text-main);
    padding: 1rem;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.submit-btn-container {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .appointment-form {
        grid-template-columns: 1fr;
    }

    .appointment-container {
        padding: 2rem 1.5rem;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* ─── Form Validation Styles ─── */
.field-error {
    font-size: 0.8rem;
    color: #F87171;
    min-height: 1.1rem;
    display: block;
    padding-top: 2px;
    transition: all 0.2s ease;
}

.form-control.input-error {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.05);
}

/* ── Glowing Input Focus Effects ── */
.form-control {
    transition: border-color 0.3s ease, box-shadow 0.4s ease, background 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 3px var(--glow-primary), 0 0 15px var(--glow-primary);
    background: rgba(134, 94, 172, 0.08) !important;
}

/* ── Custom Scrollbar ── (visible in non-Lenis fallback) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* ── Section Heading Gradient Accent ── */
.section-header h2 span,
.hero-content h1 span,
.pricing-hero-content h1 span,
.appointment-header h1 span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent, #e5cd75));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── Ambient cursor glow spotlight (Out-of-the-box) ── */
.cursor-spotlight {
    position: fixed;
    pointer-events: none;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(134, 94, 172, 0.07) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: left 0.1s ease, top 0.1s ease;
}

/* ── Float animation for pricing card featured ── */
@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.pricing-card-featured {
    animation: float-y 4s ease-in-out infinite;
}

/* ── Pulsing glow ring on featured badge ── */
.featured-badge {
    position: relative;
}

.featured-badge::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 1px solid var(--primary-light);
    opacity: 0;
    animation: pulse-ring 2.5s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* ── Specific Fix for Process Section Spacing ── */
.process-section {
    padding: 6rem 0;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* ── "What Working With Us Looks Like" Section ── */
.wwu-section {
    padding: 4rem 0 8rem;
    position: relative;
    background-color: transparent;
}

.wwu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 4rem;
}

.wwu-card {
    background: transparent;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    transition: all 0.4s ease;
    cursor: default;
}

.wwu-card:hover {
    border-top-color: var(--primary-light);
    transform: translateY(-5px);
}

.wwu-number {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-family: inherit;
    text-shadow: 0 0 15px var(--glow-primary);
}

.wwu-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}

.wwu-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .wwu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wwu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-section {
        padding: 4rem 0;
    }
}

/* ── FAQ / Need Help Section ── */
.faq-section {
    padding: 6rem 0 5rem 0;
    position: relative;
    background-color: var(--bg-alt);
    /* Light contrast from main background */
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

.faq-card {
    background: transparent;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    cursor: default;
}

.faq-card:hover {
    background: rgba(25, 18, 41, 0.4);
    /* Subtle glass background on hover */
    border-color: rgba(180, 150, 214, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-light);
    font-weight: 500;
}

.faq-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-section {
        padding: 4rem 0;
    }
}

/* ── FAQ Page (standalone faq.html) ── */
.faq-page-hero {
    padding: 10rem 0 5rem;
    text-align: left;
}

.faq-full-section {
    padding: 5rem 0;
}

.faq-category {
    margin-bottom: 4rem;
}

.faq-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(180, 150, 214, 0.2);
    letter-spacing: 0.02em;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid rgba(180, 150, 214, 0.2);
    border-radius: 14px;
    background: rgba(18, 12, 30, 0.5);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(180, 150, 214, 0.5);
    box-shadow: 0 8px 30px rgba(120, 80, 180, 0.1);
}

.faq-item[open] {
    border-color: var(--primary-light);
    box-shadow: 0 0 25px rgba(180, 150, 214, 0.15);
}

.faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 1.8rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary-light);
    line-height: 1;
    transition: transform 0.35s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    color: var(--primary-light);
}

.faq-item p {
    padding: 0 1.8rem 1.4rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0;
}

/* Nav active state */
nav .nav-links a.active {
    color: var(--primary-light);
}

/* FAQ CTA Strip */
.faq-cta-strip {
    padding: 4rem 0;
    border-top: 1px solid rgba(180, 150, 214, 0.15);
}

.faq-cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.faq-cta-strip h2 {
    font-size: 2rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .faq-cta-strip-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .faq-page-hero {
        padding: 8rem 0 3rem;
    }
}

/* ── Legal Pages (privacy.html & terms.html) ── */
.legal-page-hero {
    padding: 10rem 0 4rem;
    text-align: left;
}

.legal-content-section {
    padding: 3rem 0 6rem;
}

.legal-body {
    max-width: 860px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(180, 150, 214, 0.1);
}

.legal-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-block h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.legal-block p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 0.85rem;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-block ul li {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.7;
    padding-left: 1.4rem;
    position: relative;
}

.legal-block ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-size: 0.85rem;
}

.legal-block a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 150, 214, 0.3);
    transition: border-color 0.3s ease;
}

.legal-block a:hover {
    border-color: var(--primary-light);
}

@media (max-width: 768px) {
    .legal-page-hero {
        padding: 8rem 0 3rem;
    }

    .legal-content-section {
        padding: 2rem 0 4rem;
    }
}

/* ── Blog Coming Soon Page ── */
.blog-coming-soon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
}

.blog-cs-inner {
    display: flex;
    justify-content: center;
}

.blog-cs-content {
    max-width: 750px;
    text-align: center;
}

.blog-cs-sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 1.5rem auto 2.5rem;
    max-width: 640px;
}

.blog-cs-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.blog-tag {
    padding: 0.5rem 1.1rem;
    border: 1px solid rgba(180, 150, 214, 0.35);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(180, 150, 214, 0.06);
    transition: all 0.3s ease;
    cursor: default;
}

.blog-tag:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: rgba(180, 150, 214, 0.12);
}

.blog-cs-notify {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.blog-cs-notify a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(180, 150, 214, 0.4);
    transition: border-color 0.3s ease;
}

.blog-cs-notify a:hover {
    border-color: var(--primary-light);
}

/* ── Also Available Strip (Services Section) ── */
.also-available {
    margin-top: 3rem;
    background: var(--glass-bg);
    border: 1px dashed rgba(134, 94, 172, 0.35);
    border-radius: 20px;
    padding: 1.75rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.also-available-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary-light);
    background: rgba(134, 94, 172, 0.15);
    border: 1px solid rgba(134, 94, 172, 0.25);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.also-available-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    flex-wrap: wrap;
}

.aa-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 220px;
}

.aa-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.aa-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.aa-item strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.aa-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.aa-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
    flex-shrink: 0;
}

.aa-cta {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(180, 150, 214, 0.4);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.aa-cta:hover {
    color: #c89fff;
    border-color: #c89fff;
}

@media (max-width: 768px) {
    .also-available {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .aa-divider {
        width: 100%;
        height: 1px;
    }
}

/* ── Footer Social Links ── */
.footer-socials {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    color: var(--primary-light);
    transform: translateY(-3px);
}

/* ── Comprehensive Mobile Responsiveness Overrides ── */
@media (max-width: 768px) {

    /* Base typography & container */
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1.25rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Global Section Spacing */
    section {
        padding: 4rem 0 !important;
    }

    .form-page-section,
    .legal-page-hero,
    .faq-page-hero,
    .blog-coming-soon {
        padding: 6rem 0 3rem !important;
    }

    /* Typography Resizing */
    h1,
    .hero-content h1,
    .appointment-header h1,
    .legal-block h2 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    h2,
    .section-header h2 {
        font-size: 1.8rem !important;
    }

    p,
    .hero-subtitle,
    .section-header p {
        font-size: 1rem !important;
    }

    /* Overarching Grids forced to 1 column */
    .hero-container,
    .about-container,
    .faq-grid,
    .wwu-grid,
    .process-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .footer-container {
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center;
    }

    /* Aligning flex items to center in mobile */
    .brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    /* Sub-element adjustments */
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
    }

    .hero-visual img,
    .about-visual img {
        max-width: 100%;
        height: auto;
    }

    /* Forms container padding */
    .appointment-container {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {

    h1,
    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    h2,
    .section-header h2 {
        font-size: 1.5rem !important;
    }

    .glass-card {
        padding: 1.5rem !important;
    }

    .wwu-number {
        font-size: 3rem !important;
    }
}