/* ============================================
   RestyOS Landing Page — Dark Mode Premium CSS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
    /* Background & Surface */
    --bg-primary: #0A0E17;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);

    /* Accent Colors */
    --accent-blue: #00D4FF;
    --accent-green: #00E68C;
    --accent-gradient: linear-gradient(135deg, #00D4FF 0%, #00E68C 100%);
    --accent-gradient-hover: linear-gradient(135deg, #00E68C 0%, #00D4FF 100%);

    /* Text */
    --text-primary: #F0F0F5;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;

    /* Borders */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 212, 255, 0.3);

    /* Shadows */
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow-blue: 0 0 40px rgba(0, 212, 255, 0.15);
    --shadow-glow-green: 0 0 40px rgba(0, 230, 140, 0.15);

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1200px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Utility --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-blue);
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.section-badge .icon {
    font-size: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Glassmorphism Card --- */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow-blue);
    transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0A0E17;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-accent);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar .container {
    display: flex;
    align-items: center;
    position: relative;
    /* justify-content is default (flex-start) */
}

.nav-logo {
    margin-right: auto;
    /* Pushes everything else to the right */
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px !important;
    font-size: 0.9rem !important;
    background: var(--accent-gradient) !important;
    color: #0A0E17 !important;
    -webkit-text-fill-color: #0A0E17 !important;
    border-radius: 100px;
    font-weight: 600 !important;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
    transition: all var(--transition-normal);
    margin-left: auto;
    /* Ensures it stays on the right */
}

.nav-cta:hover {
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    justify-self: end;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 80px;
    /* Increased top padding to push content down and center it visually */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 230, 140, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.hero-link:hover {
    color: var(--accent-blue);
}

.hero-mockup {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-mockup img {
    width: 100%;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.hero-mockup-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    border-radius: var(--radius-lg);
}

/* Floating stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 36px 48px;
    margin-top: 48px;
    flex-wrap: wrap;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Pain Points Section --- */
.pain-points {
    padding: var(--section-padding);
    position: relative;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pain-card {
    padding: 40px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
}

.pain-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.pain-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Products / Bento Grid Section --- */
.products {
    padding: var(--section-padding);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.bento-item {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.bento-item.large {
    grid-column: span 1;
}

.bento-item .bento-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.bento-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.bento-list {
    list-style: none;
    margin-bottom: 24px;
}

.bento-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.bento-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: 600;
}

.bento-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bento-feature-tag {
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* --- Marketing Section --- */
.marketing {
    padding: var(--section-padding);
    position: relative;
}

.marketing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 230, 140, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.marketing-card {
    padding: 40px 32px;
    position: relative;
}

.marketing-card .card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.marketing-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 230, 140, 0.15), rgba(0, 212, 255, 0.15));
    border: 1px solid rgba(0, 230, 140, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 24px;
}

.marketing-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.marketing-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Roadmap Section (New Animated Timeline) --- */
.roadmap {
    padding: var(--section-padding);
}

.rm-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 60px;
}

/* Background line */
.rm-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28px;
    width: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
}

/* Animated progress fill */
.rm-line-progress {
    position: absolute;
    top: 0;
    left: 28px;
    width: 3px;
    height: 0;
    background: var(--accent-gradient);
    border-radius: 3px;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.3);
}

.rm-timeline.animated .rm-line-progress {
    height: 25%;
}

/* Phase container */
.rm-phase {
    position: relative;
    margin-bottom: 40px;
}

.rm-phase:last-child {
    margin-bottom: 0;
}

/* Dot base */
.rm-dot {
    position: absolute;
    left: -32px;
    top: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.5s ease;
}

.rm-dot-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Done dot */
.rm-dot-done {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(0, 230, 140, 0.4);
}

.rm-dot-check {
    color: #0A0E17;
    font-size: 1rem;
    font-weight: 700;
}

.rm-dot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(0, 230, 140, 0.3);
    animation: rmPulse 2s ease-in-out infinite;
}

@keyframes rmPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Active dot */
.rm-dot-active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 230, 140, 0.2));
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.rm-dot-active .rm-dot-num {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rm-dot-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0, 212, 255, 0.2);
    animation: rmRing 3s ease-in-out infinite;
}

@keyframes rmRing {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Card */
.rm-card {
    padding: 32px;
    transition: all 0.4s ease;
}

.rm-card:hover {
    transform: translateX(8px);
}

.rm-card-done {
    border-color: rgba(0, 230, 140, 0.2) !important;
}

.rm-card-done:hover {
    box-shadow: 0 0 30px rgba(0, 230, 140, 0.1) !important;
}

.rm-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Status badge */
.rm-status {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.rm-status-done {
    background: rgba(0, 230, 140, 0.1);
    border-color: rgba(0, 230, 140, 0.25);
    color: var(--accent-green);
}

.rm-status-active {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.25);
    color: var(--accent-blue);
    animation: rmStatusGlow 2s ease-in-out infinite;
}

@keyframes rmStatusGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(0, 212, 255, 0);
    }

    50% {
        box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
    }
}

/* Features list */
.rm-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rm-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.rm-feat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.rm-feat-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Phase done — strikethrough-like visual for completed items */
.rm-phase-done .rm-feat {
    border-color: rgba(0, 230, 140, 0.08);
}

/* Phase active glow */
.rm-phase-active .rm-card {
    border-color: rgba(0, 212, 255, 0.15) !important;
}

/* --- Pricing Section --- */
.pricing {
    padding: var(--section-padding);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.pricing-card {
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.pricing-card .pricing-features {
    text-align: left;
    align-self: stretch;
}

.pricing-card.featured {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow-blue);
    transform: scale(1.03);
}

.pricing-card.featured::before {
    display: none;
}

.pricing-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-top: 6px;
    margin-bottom: 4px;
    font-style: italic;
    line-height: 1.4;
}

.pricing-price-wrap {
    text-align: center;
}

.pricing-price-inline {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.pricing-old-price {
    font-size: 1.3rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.5;
}

.pricing-trial-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 100, 50, 0.15);
    border: 1px solid rgba(255, 100, 50, 0.3);
    color: #ff6432;
    animation: trialPulse 2s ease-in-out infinite;
}

@keyframes trialPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 100, 50, 0);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 100, 50, 0.2);
    }
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-gradient);
    color: #0A0E17;
    white-space: nowrap;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-glass);
}

.pricing-features {
    flex: 1;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.pricing-features li .check {
    color: var(--accent-green);
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-features li .cross {
    color: var(--text-muted);
    opacity: 0.4;
    font-size: 1rem;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-buyout {
    margin-top: 80px;
    margin-bottom: 16px;
    border-color: transparent !important;
    background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
        linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(0, 230, 140, 0.3), rgba(0, 212, 255, 0.3));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent !important;
    animation: buyoutShimmer 4s ease-in-out infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pricing-buyout:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15), 0 0 60px rgba(0, 230, 140, 0.08);
}

@keyframes buyoutShimmer {

    0%,
    100% {
        background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
            linear-gradient(90deg, rgba(0, 212, 255, 0.4), rgba(0, 230, 140, 0.15), rgba(0, 212, 255, 0.4));
    }

    50% {
        background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
            linear-gradient(90deg, rgba(0, 230, 140, 0.4), rgba(0, 212, 255, 0.15), rgba(0, 230, 140, 0.4));
    }
}

.pricing-buyout-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 12px 8px;
}

.pricing-buyout-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pricing-buyout-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.pricing-buyout-text strong {
    font-size: 1.15rem;
    display: block;
    margin-bottom: 4px;
}

.pricing-buyout-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.pricing-buyout .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* --- FAQ Section --- */
.faq {
    padding: var(--section-padding);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-question .faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
}

.faq-item.active .faq-toggle {
    background: var(--accent-gradient);
    color: #0A0E17;
    border-color: transparent;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    padding: 80px 60px;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 230, 140, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 230, 140, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.cta-box .hero-ctas {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-glass);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-socials a:hover {
    background: var(--accent-gradient);
    color: #0A0E17;
    border-color: transparent;
}

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* --- Background Grid Pattern --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

/* --- CSS Device Mockups --- */
.devices-composition {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 480px;
    perspective: 1200px;
}

/* Laptop */
.device-laptop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotateY(-4deg) rotateX(2deg);
    width: 560px;
    z-index: 2;
    animation: floatLaptop 6s ease-in-out infinite;
}

@keyframes floatLaptop {

    0%,
    100% {
        transform: translate(-50%, -50%) rotateY(-4deg) rotateX(2deg);
    }

    50% {
        transform: translate(-50%, -53%) rotateY(-4deg) rotateX(2deg);
    }
}

.device-laptop .device-screen {
    background: #0D1117;
    border-radius: 12px 12px 0 0;
    border: 2px solid #2D333B;
    overflow: hidden;
    box-shadow: 0 -2px 40px rgba(0, 212, 255, 0.08);
}

.device-base-laptop {
    width: 120%;
    height: 14px;
    background: linear-gradient(to bottom, #2D333B, #1C2128);
    border-radius: 0 0 6px 6px;
    margin-left: -10%;
    position: relative;
}

.device-base-laptop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #3D444D;
    border-radius: 0 0 4px 4px;
}

.screen-topbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #161B22;
    border-bottom: 1px solid #21262D;
    gap: 10px;
}

.screen-dots {
    display: flex;
    gap: 5px;
}

.screen-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.screen-dots span:nth-child(1) {
    background: #FF5F57;
}

.screen-dots span:nth-child(2) {
    background: #FEBC2E;
}

.screen-dots span:nth-child(3) {
    background: #28C840;
}

.screen-title {
    font-size: 0.6rem;
    color: #8B949E;
    font-weight: 500;
}

.screen-content {
    display: flex;
    height: 260px;
}

.screen-sidebar {
    width: 48px;
    background: #0D1117;
    border-right: 1px solid #21262D;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    width: 100%;
    height: 6px;
    background: #21262D;
    border-radius: 3px;
}

.sidebar-item.active {
    background: var(--accent-gradient);
}

.screen-main {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.screen-stats-row {
    display: flex;
    gap: 8px;
}

.screen-stat-card {
    flex: 1;
    height: 48px;
    background: #161B22;
    border-radius: 6px;
    border: 1px solid #21262D;
    padding: 8px;
    display: flex;
    align-items: flex-end;
}

.mini-bar {
    width: 100%;
    border-radius: 2px;
}

.bar-1 {
    height: 60%;
    background: var(--accent-blue);
    opacity: 0.7;
}

.bar-2 {
    height: 80%;
    background: var(--accent-green);
    opacity: 0.7;
}

.bar-3 {
    height: 45%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-green));
    opacity: 0.7;
}

.screen-chart {
    flex: 1;
    background: #161B22;
    border-radius: 6px;
    border: 1px solid #21262D;
    padding: 12px;
    display: flex;
    align-items: center;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.screen-orders {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-row {
    height: 16px;
    background: #161B22;
    border-radius: 4px;
    border: 1px solid #21262D;
    position: relative;
}

.order-row::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 24%;
    height: 6px;
    background: #21262D;
    border-radius: 3px;
}

/* Tablet */
.device-tablet {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-45%) rotateY(-8deg);
    width: 200px;
    z-index: 3;
    animation: floatTablet 5s ease-in-out infinite 0.5s;
}

@keyframes floatTablet {

    0%,
    100% {
        transform: translateY(-45%) rotateY(-8deg);
    }

    50% {
        transform: translateY(-49%) rotateY(-8deg);
    }
}

.device-tablet .device-screen {
    background: #0D1117;
    border-radius: 16px;
    border: 3px solid #2D333B;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.06);
}

.tablet-topbar {
    padding: 10px 14px !important;
    justify-content: center;
}

.tablet-content {
    padding: 8px;
}

.tablet-category {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.55rem;
    background: #161B22;
    border-radius: 20px;
    margin: 2px;
    color: #8B949E;
    border: 1px solid #21262D;
}

.tablet-category.active {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--accent-blue);
}

.tablet-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}

.tablet-food-card {
    background: #161B22;
    border-radius: 8px;
    border: 1px solid #21262D;
    overflow: hidden;
}

.food-img {
    height: 48px;
    border-radius: 6px 6px 0 0;
}

.food-1 {
    background: linear-gradient(135deg, #FF6B35, #F7931A);
}

.food-2 {
    background: linear-gradient(135deg, #00D4FF, #0099CC);
}

.food-3 {
    background: linear-gradient(135deg, #00E68C, #00CC7A);
}

.food-4 {
    background: linear-gradient(135deg, #FF4D6A, #CC3355);
}

.food-info {
    padding: 6px;
    height: 20px;
}

.food-info::before {
    content: '';
    display: block;
    width: 70%;
    height: 5px;
    background: #21262D;
    border-radius: 3px;
}

/* Phone */
.device-phone {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-40%) rotateY(6deg);
    width: 140px;
    z-index: 4;
    animation: floatPhone 5.5s ease-in-out infinite 1s;
}

@keyframes floatPhone {

    0%,
    100% {
        transform: translateY(-40%) rotateY(6deg);
    }

    50% {
        transform: translateY(-45%) rotateY(6deg);
    }
}

.device-phone .device-screen {
    background: #0D1117;
    border-radius: 20px;
    border: 3px solid #2D333B;
    overflow: hidden;
    padding-top: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 230, 140, 0.06);
    position: relative;
}

.device-notch {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 18px;
    background: #000;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-size: 0.5rem;
    color: #F0F0F5;
    font-weight: 600;
}

.phone-cart {
    font-size: 0.6rem;
}

.phone-search {
    margin: 4px 10px;
    height: 18px;
    background: #161B22;
    border-radius: 10px;
    border: 1px solid #21262D;
}

.phone-categories {
    display: flex;
    gap: 4px;
    padding: 6px 10px;
    overflow: hidden;
}

.phone-cat {
    padding: 3px 8px;
    font-size: 0.45rem;
    border-radius: 12px;
    background: #161B22;
    color: #8B949E;
    white-space: nowrap;
    border: 1px solid #21262D;
}

.phone-cat.active {
    background: rgba(0, 230, 140, 0.15);
    border-color: rgba(0, 230, 140, 0.3);
    color: var(--accent-green);
}

.phone-items {
    padding: 0 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-food-card {
    display: flex;
    gap: 8px;
    background: #161B22;
    border-radius: 8px;
    border: 1px solid #21262D;
    padding: 6px;
}

.phone-food-img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, #FF6B35, #F7931A);
    flex-shrink: 0;
}

.phone-food-card:nth-child(2) .phone-food-img {
    background: linear-gradient(135deg, #00E68C, #00CC7A);
}

.phone-food-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.phone-food-name {
    height: 5px;
    width: 80%;
    background: #21262D;
    border-radius: 3px;
}

.phone-food-price {
    height: 5px;
    width: 40%;
    background: rgba(0, 230, 140, 0.3);
    border-radius: 3px;
}

.phone-bottom-bar {
    display: flex;
    justify-content: space-around;
    padding: 8px 10px;
    border-top: 1px solid #21262D;
    font-size: 0.55rem;
}


@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-item.large {
        grid-column: span 2;
    }

    .roadmap-timeline::before {
        left: 24px;
    }

    .roadmap-item,
    .roadmap-item:nth-child(even) {
        flex-direction: column;
        padding-left: 56px;
        gap: 0;
    }

    .roadmap-item:nth-child(even) .roadmap-content {
        text-align: left;
    }

    .roadmap-dot {
        left: 24px;
    }

    .roadmap-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 56px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* --- Mobile Navigation --- */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(7px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-7px);
    }

    /* --- Hero --- */
    .hero {
        padding: 100px 0 48px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
        line-height: 1.6;
        padding: 0;
    }

    .hero-badge {
        margin-bottom: 20px;
    }

    .section-badge {
        font-size: 0.78rem;
        padding: 6px 14px;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }

    .hero-ctas .btn {
        width: 100%;
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 12px;
        margin-top: 32px;
    }

    .hero-stat .stat-value {
        font-size: 1.3rem;
    }

    .hero-stat .stat-label {
        font-size: 0.72rem;
    }

    /* --- Section Titles --- */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.92rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    /* --- Grids → Single Column --- */
    .pain-grid,
    .marketing-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-item.large {
        grid-column: span 1;
    }

    /* --- Cards — Compact --- */
    .pain-card,
    .bento-item,
    .marketing-card {
        padding: 28px 20px;
    }

    .pain-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        margin-bottom: 16px;
    }

    .pain-card h3,
    .bento-item h3,
    .marketing-card h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }

    .pain-card p,
    .bento-item p,
    .marketing-card p {
        font-size: 0.88rem;
    }

    .bento-item .bento-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

    .marketing-card .card-number {
        font-size: 2rem;
    }

    .marketing-card .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    /* --- Roadmap --- */
    .rm-timeline {
        padding-left: 48px;
    }

    .rm-line,
    .rm-line-progress {
        left: 20px;
    }

    .rm-dot {
        left: -28px;
        width: 34px;
        height: 34px;
    }

    .rm-card {
        padding: 24px 20px;
    }

    .rm-card h3 {
        font-size: 1.1rem;
    }

    .rm-feat {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .rm-phase {
        margin-bottom: 28px;
    }

    /* --- Pricing --- */
    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-price {
        font-size: 2.3rem;
    }

    .pricing-name {
        font-size: 1rem;
    }

    .pricing-desc {
        font-size: 0.85rem;
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 6px 0;
    }

    .pricing-buyout {
        margin-top: 40px;
    }

    /* --- CTA --- */
    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    .cta-box p {
        font-size: 0.9rem;
    }

    /* --- Footer --- */
    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* --- Buttons --- */
    .btn {
        padding: 14px 28px;
        font-size: 0.92rem;
    }

    /* --- Phone mockup --- */
    .phone-frame {
        transform: scale(0.85);
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.35rem;
    }

    .pricing-price {
        font-size: 2rem;
    }
}