/* ==========================================================================
   CSS Variables & Core Setup
   ========================================================================== */
:root {
    /* Brand Colors extracted from original */
    --clr-primary: #6754E9;
    /* Purple */
    --clr-secondary: #e43480;
    /* Fuchsia */
    --clr-accent: #FFBE11;
    /* Yellow */

    /* Dark Theme Surface Colors */
    --bg-dark: #07070a;
    --bg-surface: #111116;
    --bg-surface-elevated: #1a1a24;
    --border-subtle: rgba(255, 255, 255, 0.08);

    /* Typography Colors */
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-inverse: #000000;

    /* Typography Fonts */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Kanit', sans-serif;

    /* Layout */
    --max-width: 1280px;
    --nav-height: 90px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 2rem);
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    max-width: 100vw;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -1px;
}

h1 {
    font-size: clamp(1.9rem, 5vw + 0.5rem, 4.5rem);
    word-break: break-word;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

.text-gradient {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Background Effects (Glassmorphism & Glows)
   ========================================================================== */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--clr-primary) 0%, transparent 70%);
}

.glow-2 {
    top: 20%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--clr-secondary) 0%, transparent 70%);
    opacity: 0.2;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-size: 1rem;
}

.btn i {
    font-size: 0.9em;
    transition: transform var(--transition-fast);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--text-main);
    color: var(--text-inverse);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--text-main);
}

.btn-primary:hover::before {
    opacity: 1;
}

/* Button Shine Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(11, 11, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    height: 70px;
}

.nav-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
    width: auto;
    /* If logo is dark, we need invert. If it's already white, this breaks it. Removing invert to show original. */
    transition: var(--transition-smooth);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--text-main);
}

/* Underline animation on hover */
.nav-links>a:not(.btn)::after,
.dropdown>a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-primary);
    transition: width var(--transition-smooth);
}

.nav-links>a:not(.btn):hover::after,
.nav-links>a:not(.btn).active::after,
.dropdown:hover>a:not(.btn)::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown i {
    font-size: 0.8em;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.dropdown:hover i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-surface-elevated);
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 8px;
    color: var(--text-muted);
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding-left: 1.25rem;
    /* Slide effect */
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 10px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.mobile-toggle:hover {
    background: rgba(255,255,255,0.06);
}

.mobile-cta {
    display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero p.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero p.subtitle strong {
    color: var(--text-main);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Stats Ribbon
   ========================================================================== */
.stats-ribbon {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-container {
    background: rgba(17, 17, 22, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(103, 84, 233, 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-stars {
    color: var(--clr-accent);
    font-size: 1.2rem;
    display: flex;
    gap: 0.25rem;
}

.stat-text h3 {
    margin-bottom: 0.2rem;
    font-size: 2rem;
}

.stat-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.stat-text p.highlight {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.divider {
    height: 60px;
    width: 1px;
    background: var(--border-subtle);
}

/* ==========================================================================
   Animations (Reveal)
   ========================================================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .stats-ribbon {
        margin-top: 0;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    .stat-item {
        flex-direction: column;
        gap: 1rem;
    }

    .divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .desktop-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    :root { --nav-height: 70px; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: rgba(11,11,16,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-smooth);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a:not(.btn) {
        font-size: 1.5rem;
    }

    .dropdown {
        text-align: center;
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-top: 1rem;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: flex;
    }

    .mobile-cta {
        display: flex;
        margin-top: 2rem;
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.bg-surface {
    background-color: var(--bg-surface);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title {
    margin-bottom: 1rem;
}

.subtitle-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    background: rgba(103, 84, 233, 0.1);
    color: var(--clr-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(103, 84, 233, 0.2);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list i {
    color: var(--clr-accent);
    margin-top: 0.25rem;
    font-size: 1.2rem;
}

.feature-list strong {
    color: var(--text-main);
    font-weight: 500;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.image-wrapper img {
    transition: transform 0.8s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--bg-surface-elevated);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    color: var(--clr-primary);
    font-size: 1.5rem;
}

.floating-badge span {
    font-weight: 600;
    font-family: var(--font-heading);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ==========================================================================
   Solutions Grid
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.solution-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255, 190, 17, 0.1);
    /* Yellow accent tint */
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.solution-card:nth-child(2) .card-icon {
    background: rgba(103, 84, 233, 0.1);
    color: var(--clr-primary);
}

.solution-card:nth-child(3) .card-icon {
    background: rgba(228, 52, 128, 0.1);
    color: var(--clr-secondary);
}

.solution-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.solution-card h3 {
    margin-bottom: 1rem;
}

.card-list {
    list-style: none;
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.card-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--clr-primary);
    font-size: 0.9rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 500;
    font-family: var(--font-heading);
    margin-top: auto;
}

.card-link i {
    transition: transform var(--transition-fast);
}

.card-link:hover {
    color: var(--clr-accent);
}

.card-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .floating-badge {
        bottom: 20px;
        left: 20px;
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface));
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.quote-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--clr-accent);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ==========================================================================
   Call to Action (CTA) Section
   ========================================================================== */
.cta-box {
    background: rgba(103, 84, 233, 0.05);
    border: 1px solid rgba(103, 84, 233, 0.2);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-box {
        padding: 3.5rem 1.5rem;
        border-radius: 20px;
    }
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 2;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding-top: 5rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.brand-col .logo img {
    height: 30px;
    margin-bottom: 1.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--clr-primary);
    color: var(--text-main);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--clr-primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

.partner-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.badge i {
    font-size: 1.2rem;
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-legal a:hover {
    color: var(--text-main);
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ==========================================================================
   Inner Pages (Service Details)
   ========================================================================== */
.page-header {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0), var(--bg-surface));
    position: relative;
}

.service-row {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    gap: 4rem;
}

.service-info {
    flex: 1;
    max-width: 600px;
}

.service-info.text-right {
    text-align: right;
}

.icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
}

.service-info.text-right .icon-wrapper {
    margin-left: auto;
}

.service-price {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--text-main);
}

.service-price strong {
    color: var(--clr-accent);
}

/* ==========================================================================
   Pricing Packages Section
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 3rem;
    width: 100%;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--clr-primary);
    background: linear-gradient(180deg, rgba(103, 84, 233, 0.1) 0%, var(--bg-surface-elevated) 100%);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(103, 84, 233, 0.4);
    white-space: nowrap;
}

.package-name {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

.package-for {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.package-features {
    list-style: none;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
}

.package-features i {
    color: var(--clr-primary);
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .price-card.featured {
        transform: scale(1);
    }
    
    .service-row {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .service-info.text-right {
        text-align: center;
    }
    
    .service-info.text-right .icon-wrapper {
        margin: 0 auto 1.5rem auto;
    }
    
    .icon-wrapper {
        margin: 0 auto 1.5rem auto;
    }
}

/* ==========================================================================
   Who We Help (Pills Grid)
   ========================================================================== */
.who-we-help {
    padding: 6rem 0;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.pill-item {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: default;
}

.pill-item i {
    color: var(--clr-primary);
    font-size: 1.2rem;
}

.pill-item:hover {
    background: linear-gradient(135deg, rgba(103, 84, 233, 0.1), rgba(228, 52, 128, 0.1));
    border-color: var(--clr-primary);
    color: var(--text-main);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(103, 84, 233, 0.3);
}

/* ==========================================================================
   How It Works (Process)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    position: relative;
    margin-top: 3rem;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-primary), transparent 50%, transparent);
    background-size: 200% 100%;
    animation: gradientFlow 3s ease infinite;
    z-index: 0;
    opacity: 0.3;
}

@keyframes gradientFlow {
    0% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
    100% { background-position: -100% 0; }
}

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    -webkit-text-stroke: 1px var(--clr-primary);
    color: transparent;
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.step-card:hover .step-number {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */
.why-choose-us {
    padding: 8rem 0;
    position: relative;
}

.flex-why-container {
    display: flex;
    justify-content: center;
}

.why-content {
    max-width: 800px;
    text-align: left;
}

.why-content .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.why-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(103, 84, 233, 0.15), rgba(228, 52, 128, 0.15));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-primary);
    box-shadow: inset 0 0 20px rgba(103, 84, 233, 0.1);
}

.why-item h4 {
    margin-top: 0.2rem;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .why-list {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .steps-grid::before {
        display: none;
    }
    .section { padding: 3.5rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .who-we-help { padding: 3.5rem 0; }
    .faqs { padding: 3.5rem 0; }
    .why-choose-us { padding: 4rem 0; }
    .testimonial-card { padding: 2rem 1.5rem; }
    .cta-box { padding: 3rem 1.5rem; border-radius: 20px; }
}

@media (max-width: 480px) {
    .hero { padding-bottom: 3rem; }
    .section { padding: 3rem 0; }
    .pill-item { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
    .stats-container { padding: 1.5rem 1rem; }
    .strip-grid { justify-content: center; }
    .strip-item { min-width: 140px; font-size: 0.85rem; }
    .strip-item strong { font-size: 1.5rem; }
    .faq-question { padding: 1.25rem 1.25rem; font-size: 1rem; }
    .faq-answer p { padding: 0 1.25rem 1.25rem; }
    .step-card { padding: 1.75rem 1.25rem; }
    .why-item { gap: 1rem; }
    .why-icon { width: 48px; height: 48px; font-size: 1.2rem; }
    .why-item h4 { font-size: 1.1rem; }
    .mini-stats-strip { padding: 1.5rem 0; }
}

/* ==========================================================================
   Inner-page header fix: inline padding-top:150px is for desktop only.
   On mobile, nav is 70px — cap the top padding so content isn't buried.
   ========================================================================== */
@media (max-width: 768px) {
    .page-header[style*="padding-top"] {
        padding-top: calc(var(--nav-height) + 1.5rem) !important;
    }
    .legal-content {
        padding-top: calc(var(--nav-height) + 1.5rem) !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .legal-content h1 { font-size: 1.8rem !important; }
    .legal-content h2 { font-size: 1.05rem !important; }
    .faqs { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
    .page-header[style*="padding-top"] {
        padding-top: calc(var(--nav-height) + 1rem) !important;
        padding-bottom: 2rem !important;
    }
    .legal-content {
        padding-top: calc(var(--nav-height) + 1rem) !important;
        padding-bottom: 3rem !important;
    }
}

/* ==========================================================================
   Mini Stats Strip
   ========================================================================== */
.mini-stats-strip {
    background: linear-gradient(90deg, #181822 0%, #1a1a24 50%, #181822 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 0;
}

.strip-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
}

.strip-item {
    flex: 1;
    min-width: 150px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.strip-item strong {
    display: block;
    font-size: 1.8rem;
    color: var(--text-main);
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   FAQs
   ========================================================================== */
.faqs {
    padding: 6rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    padding: 1.5rem 2rem;
    margin: 0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '\f067'; /* FontAwesome plus */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--clr-primary);
    transition: transform var(--transition-fast);
}

.faq-question.active::after {
    transform: rotate(45deg);
    color: var(--clr-secondary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0,0,0,0.2);
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
    font-size: 0.95rem;
}