/* ========================================
   PRESENCE BOOSTERS - Complete Stylesheet
   Modern design with creative scroll animations
   ======================================== */

/* CSS Variables - Design System */
:root {
    /* Colors - Professional blue-purple gradient palette */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    --color-secondary: #8b5cf6;
    --color-accent: #06b6d4;
    --color-bg-light: #eef2ff;
    --color-bg-dark: #0f172a;
    --color-text-dark: #1e293b;
    --color-text-light: #64748b;
    --color-white: #ffffff;
    --color-black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

    /* Spacing */
    --spacing-2: 2px;
    --spacing-4: 4px;
    --spacing-8: 8px;
    --spacing-12: 12px;
    --spacing-16: 16px;
    --spacing-20: 20px;
    --spacing-24: 24px;
    --spacing-32: 32px;
    --spacing-40: 40px;
    --spacing-48: 48px;
    --spacing-64: 64px;
    --spacing-80: 80px;
    --spacing-96: 96px;
    --spacing-120: 120px;

    /* Grid */
    --grid-columns: 16;
    --grid-gap: clamp(4px, calc(-2px + 1.53vw), 24px);
    --grid-margin: clamp(16px, calc(3px + 3.36vw), 60px);
    --grid-padding: calc(var(--grid-margin) - var(--grid-gap) * 0.5);

    /* Button */
    --btn-height: 48px;
    --btn-radius: 12px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Mobile Overrides */
    @media (max-width: 768px) {
        --grid-margin: 20px;
        --grid-gap: 16px;
        --btn-height: 44px;
    }
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    font-family: inherit;
    border: none;
    background: transparent;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

/* Section Background Utilities */
.section-white {
    background-color: var(--color-white) !important;
}

.section-light {
    background-color: #1e1b4b !important;
    color: var(--color-white) !important;
}

.section-light .section-title,
.section-light .section-subtitle,
.section-light h2,
.section-light h3,
.section-light p,
.section-light li,
.section-light span {
    color: var(--color-white) !important;
}

.section-light .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.section-light .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* ========================================
   CREATIVE SCROLL ANIMATIONS
   ======================================== */

/* Base reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal for grids */
.reveal-stagger {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.8s var(--ease-spring);
}

.reveal-stagger.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-spring);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Rotate reveal */
.reveal-rotate {
    opacity: 0;
    transform: translateY(40px) rotate(-5deg);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-spring);
}

.reveal-rotate.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Blur reveal */
.reveal-blur {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal-blur.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Clip reveal */
.reveal-clip {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1s var(--ease-out-expo);
}

.reveal-clip.visible {
    clip-path: inset(0 0 0 0);
}

/* Counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1deg);
    }

    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Pulse glow */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    50% {
        box-shadow: 0 0 40px 10px rgba(99, 102, 241, 0.2);
    }
}

/* Gradient shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
[data-button] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--btn-height);
    padding: 0 24px;
    border-radius: var(--btn-radius);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
    overflow: hidden;
}

[data-button]:hover {
    transform: translateY(-2px);
}

[data-button]:active {
    transform: translateY(0) scale(0.98);
}

.btn-background {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    transition: opacity 0.2s ease, transform 0.3s var(--ease-out-expo);
}

.btn-label {
    position: relative;
    z-index: 1;
}

/* Neutral tone - white button */
[data-tone="neutral"][data-variant="primary"] {
    color: var(--color-primary);
}

[data-tone="neutral"][data-variant="primary"] .btn-background {
    background-color: var(--color-white);
}

[data-tone="neutral"][data-variant="primary"]:hover {
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

/* Neutral outline */
[data-tone="neutral"][data-variant="outline"] {
    color: var(--color-white);
}

[data-tone="neutral"][data-variant="outline"] .btn-background {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-tone="neutral"][data-variant="outline"]:hover .btn-background {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Primary tone */
[data-tone="orange"][data-variant="primary"],
[data-tone="primary"][data-variant="primary"] {
    color: var(--color-white);
}

[data-tone="orange"][data-variant="primary"] .btn-background,
[data-tone="primary"][data-variant="primary"] .btn-background {
    background: var(--gradient-primary);
    background-size: 200% 200%;
}

[data-tone="orange"][data-variant="primary"]:hover .btn-background,
[data-tone="primary"][data-variant="primary"]:hover .btn-background {
    animation: gradientShift 3s ease infinite;
}

[data-tone="orange"][data-variant="secondary"],
[data-tone="primary"][data-variant="secondary"] {
    color: var(--color-primary);
}

[data-tone="orange"][data-variant="secondary"] .btn-background,
[data-tone="primary"][data-variant="secondary"] .btn-background {
    background-color: rgba(99, 102, 241, 0.1);
}

[data-tone="orange"][data-variant="secondary"]:hover .btn-background,
[data-tone="primary"][data-variant="secondary"]:hover .btn-background {
    background-color: rgba(99, 102, 241, 0.15);
}

/* Large button */
.btn-large {
    height: 56px;
    padding: 0 32px;
    font-size: 17px;
}

.btn-full {
    width: 100%;
}

/* ========================================
   LOGO
   ======================================== */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: inherit;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.logo-accent {
    color: inherit;
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: clamp(16px, calc(16px + 0.5vw), 24px) 0;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo-text {
    color: var(--color-text-dark);
}

.navbar.scrolled .nav-link {
    color: var(--color-text-dark);
}

.navbar.scrolled .nav-actions .btn[data-variant="outline"] {
    color: var(--color-primary);
}

.navbar.scrolled .nav-actions .btn[data-variant="outline"] .btn-background {
    border-color: var(--color-primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-link:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.nav-link .chevron {
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-item:hover .chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.4s var(--ease-out-expo), visibility 0.2s ease;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--color-text-dark);
    font-size: 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 20px;
}

.hamburger span {
    display: block;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out-expo), background-color 0.3s ease;
}

.navbar.scrolled .hamburger span {
    background-color: var(--color-text-dark);
}

.menu-toggle.active .hamburger span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-toggle.active .hamburger span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 1023px) {
    .nav-menu {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px var(--grid-margin) 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 1280px;
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: clamp(40px, calc(20px + 6vw), 100px);
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    animation: heroTextReveal 1s var(--ease-out-expo) forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(16px, calc(14px + 0.5vw), 20px);
    font-weight: 400;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: heroTextReveal 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroTextReveal 1s var(--ease-out-expo) 0.5s forwards;
}

/* Floating Snippets */
.hero-snippets {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.snippet {
    position: absolute;
    opacity: 0;
    animation: snippetReveal 1s var(--ease-out-expo) forwards, float 6s ease-in-out infinite;
    animation-delay: 0.8s, 1.5s;
}

@keyframes snippetReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.snippet-1 {
    top: 20%;
    left: 8%;
    animation-delay: 0.8s, 2s;
}

.snippet-2 {
    top: 25%;
    right: 10%;
    animation-delay: 1s, 2.5s;
}

.snippet-3 {
    bottom: 25%;
    right: 12%;
    animation-delay: 1.2s, 3s;
}

.snippet-4 {
    bottom: 22%;
    left: 10%;
    animation-delay: 1.4s, 3.5s;
}

.snippet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
}

.snippet-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.snippet-icon svg {
    width: 20px;
    height: 20px;
}

.snippet-stat {
    font-size: 24px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hero-snippets {
        display: none;
    }
}

/* Scroll Hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-hint:hover {
    color: var(--color-white);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .scroll-hint {
        display: none;
    }
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
section {
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(48px, calc(40px + 2vw), 80px);
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(28px, calc(24px + 1.5vw), 48px);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(16px, calc(14px + 0.3vw), 18px);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ========================================
   PROBLEMS SECTION
   ======================================== */
.problems {
    padding: clamp(80px, calc(64px + 4vw), 140px) 0;
    background-color: var(--color-white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px;
    background: var(--color-bg-light);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.problem-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    margin-bottom: 24px;
    color: var(--color-white);
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FEATURES/SOLUTIONS SECTION
   ======================================== */
.features {
    padding: clamp(80px, calc(64px + 4vw), 140px) 0;
    background-color: var(--color-bg-light);
}

/* Feature Tabs */
.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: clamp(48px, calc(40px + 2vw), 64px);
    padding: 6px;
    background: var(--color-white);
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-tab {
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-light);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
}

.feature-tab.active {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.feature-tab:hover:not(.active) {
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

@media (max-width: 640px) {
    .feature-tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        border-radius: 12px;
        padding: 4px;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .feature-tabs::-webkit-scrollbar {
        display: none;
    }

    .feature-tab {
        padding: 10px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
}

/* Feature Content */
.feature-content {
    position: relative;
}

.feature-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, calc(32px + 3vw), 100px);
    align-items: center;
}

.feature-panel.active {
    display: grid;
    animation: panelReveal 0.6s var(--ease-out-expo);
}

@keyframes panelReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-info h3 {
    font-size: clamp(28px, calc(24px + 1vw), 40px);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.feature-info p {
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    color: var(--color-text-dark);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 8px;
    flex-shrink: 0;
}

/* Browser Mockup */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.browser-mockup {
    width: 100%;
    max-width: 480px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    animation: floatSlow 4s ease-in-out infinite;
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dots span:first-child {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.browser-url {
    flex: 1;
    padding: 8px 16px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-text-light);
    border: 1px solid #eee;
}

.browser-content {
    padding: 24px;
    min-height: 300px;
}

.mock-site {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-nav {
    height: 12px;
    background: linear-gradient(90deg, #e0e0e0 20%, transparent 20%);
    border-radius: 6px;
}

.mock-hero-block {
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 12px;
    opacity: 0.8;
}

.mock-cards {
    display: flex;
    gap: 12px;
}

.mock-card-item {
    flex: 1;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
}

/* AI Visual */
.ai-visual {
    width: 100%;
    max-width: 400px;
    animation: floatSlow 4s ease-in-out infinite;
}

.ai-chat {
    background: var(--color-white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.chat-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
}

.chat-bubble.bot {
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    border-bottom-left-radius: 6px;
}

.chat-bubble.user {
    background: var(--gradient-primary);
    color: var(--color-white);
    margin-left: auto;
    border-bottom-right-radius: 6px;
}

.chat-bubble p {
    margin: 0;
}

/* Stats Visual */
.stats-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: floatSlow 4s ease-in-out infinite;
}

.stat-card {
    background: var(--color-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.stat-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar span {
    display: block;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1.5s var(--ease-out-expo);
}

@media (max-width: 900px) {
    .feature-panel.active {
        grid-template-columns: 1fr;
    }

    .feature-visual {
        order: -1;
    }
}

/* ========================================
   PACKAGES SECTION
   ======================================== */
.packages {
    padding: clamp(80px, calc(64px + 4vw), 140px) 0;
}







.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.package-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out-expo), background 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.package-card.featured {
    background: var(--color-white);
    color: var(--color-text-dark);
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    background: var(--color-white);
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.package-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e2e8f0;
}

.package-card.featured .package-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.package-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.package-desc {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
}

.price-period {
    font-size: 16px;
    opacity: 0.6;
}

.package-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
}

.package-features li svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--color-accent);
}

.package-card.featured .package-features li svg {
    color: var(--color-primary);
}

.package-card .btn {
    width: 100%;
}

@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .package-card.featured {
        transform: none;
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }

    .package-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .packages-grid {
        gap: 16px;
        grid-template-columns: 1fr !important;
        /* Force single column */
    }

    .package-card {
        padding: 24px;
    }

    .package-price .price-amount {
        font-size: 40px;
    }
}

@media (max-width: 640px) {
    .packages-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ========================================
   CTA SECTIONS
   ======================================== */
.cta-mid {
    padding: clamp(80px, calc(64px + 4vw), 120px) 0;
    /* Background handled by .section-light utility */
    position: relative;
    overflow: hidden;
}

.cta-mid::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-mid .cta-content {
    position: relative;
    text-align: center;
}

.cta-title {
    font-size: clamp(32px, calc(28px + 2vw), 56px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: clamp(16px, calc(14px + 0.3vw), 18px);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.cta-final {
    padding: clamp(100px, calc(80px + 4vw), 160px) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(139, 92, 246, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(6, 182, 212, 0.3) 0%, transparent 60%);
}

.cta-final .cta-content {
    position: relative;
    text-align: center;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: clamp(80px, calc(64px + 4vw), 140px) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.testimonial-card {
    background-color: var(--color-bg-light);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.1);
}

.testimonial-header {
    margin-bottom: 16px;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: #fbbf24;
}

.testimonial-text {
    font-size: 15px;
    color: var(--color-text-dark);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.author-role {
    font-size: 13px;
    color: var(--color-text-light);
}



@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 20px;
    }
}



/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: clamp(60px, calc(48px + 2vw), 80px) 0 40px;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-tagline {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 280px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-white);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.6s var(--ease-out-expo);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 120px var(--grid-margin) 40px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.mobile-nav-links a {
    display: block;
    font-size: clamp(24px, calc(20px + 1vw), 32px);
    font-weight: 600;
    color: var(--color-white);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.3s ease;
}

.mobile-nav-links a:hover {
    opacity: 0.8;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--color-primary), var(--color-secondary));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Feature Images (3D Assets) */
.feature-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s var(--ease-out-expo);
    display: block;
}

.feature-img:hover {
    transform: scale(1.02);
}

/* ========================================
   GLOBAL COLOR UTILITIES & SCROLL FIXES
   ======================================== */
.section-white {
    background-color: var(--color-white) !important;
    color: var(--color-text-dark) !important;
}

.section-white h1,
.section-white h2,
.section-white h3,
.section-white h4,
.section-white h5,
.section-white h6,
.section-white p,
.section-white li,
.section-white span:not(.btn-label):not(.logo-text):not(.logo-accent) {
    color: inherit;
}

.section-light {
    background-color: #1e1b4b !important;
    /* Dark Blue */
    color: var(--color-white) !important;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-light h5,
.section-light h6,
.section-light p:not(.btn-label),
.section-light li {
    color: var(--color-white) !important;
}

.section-light .section-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix specific button issues in dark sections */
.section-light .btn[data-variant="primary"] {
    color: var(--color-white) !important;
    background: var(--gradient-primary);
    border: none;
}

.section-light .btn[data-variant="primary"] .btn-background {
    background: var(--gradient-primary);
}

/* Fix Neutral Buttons in Dark Sections (White BG, Purple Text) */
.section-light [data-tone="neutral"][data-variant="primary"] {
    color: var(--color-primary) !important;
}

/* Fix White Cards in Dark Sections (Ensure contents are dark) */
.section-light .use-case-card,
.section-light .stat-card,
.section-light .package-card,
.section-light .chat-bubble {
    color: var(--color-text-dark) !important;
}

.section-light .use-case-card h3,
.section-light .stat-card h3,
.section-light .package-card h3 {
    color: var(--color-text-dark) !important;
}

.section-light .use-case-card p,
.section-light .stat-card p,
.section-light .package-card p,
.section-light .feature-info p,
.section-light .problem-card p {
    color: var(--color-text-light) !important;
}

/* Fix specific card text in white sections */
.section-white .use-case-card,
.section-white .chat-bubble,
.section-white .package-card,
.section-white .stat-card {
    color: var(--color-text-dark);
}

.section-white .use-case-card p,
.section-white .package-card p {
    color: var(--color-text-light);
}

/* Jeton-style Sticky Scroll Stacking */
.sticky-section {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Ensure background is opaque for stacking */
    z-index: 1;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.05);
    padding-top: 80px;
    /* Offset for navbar */
    padding-bottom: 80px;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .sticky-section {
        min-height: auto;
        padding: 60px 0;
        position: relative;
        top: auto;
    }
}

/* Scroll-Triggered Tabs */
/* Scroll-Triggered Tabs - Desktop Only */
@media (min-width: 901px) {
    .scroll-trigger-section {
        position: relative;
        height: 300vh;
        z-index: 2;
    }

    .sticky-content-wrapper {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .sticky-content-wrapper .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .feature-content {
        position: relative;
        min-height: 450px;
    }

    .feature-panel {
        transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        transform: translateY(20px) scale(0.98);
        pointer-events: none;
        display: block !important;
    }

    .feature-panel.active {
        position: relative;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: all;
    }
}

/* Mobile adjustments implicitly handled by default block/none behavior in main CSS */
@media (max-width: 900px) {

    /* Ensure no scroll-jacking height remains if inherited */
    .scroll-trigger-section {
        height: auto;
    }
}