/* ═══════════════════════════════════════════
   PIXSTOW — Anti-Gravity Website Styles
   ═══════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
    /* Colors */
    --bg-primary: #050510;
    --bg-secondary: #0a0a1f;
    --bg-tertiary: #0f0f2e;
    --bg-card: rgba(15, 15, 46, 0.6);
    --bg-glass: rgba(15, 15, 46, 0.4);

    --text-primary: #f0f0ff;
    --text-secondary: rgba(240, 240, 255, 0.65);
    --text-muted: rgba(240, 240, 255, 0.4);

    --accent-red: #dc2626;
    --accent-red-light: #ef4444;
    --accent-cyan: #22d3ee;
    --accent-purple: #a855f7;
    --accent-gold: #fbbf24;
    --accent-blue: #3b82f6;

    --gradient-brand: linear-gradient(135deg, #dc2626, #ef4444, #f97316);
    --gradient-accent: linear-gradient(135deg, #a855f7, #22d3ee);
    --gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b);

    --glow-red: 0 0 40px rgba(220, 38, 38, 0.3);
    --glow-cyan: 0 0 40px rgba(34, 211, 238, 0.2);
    --glow-purple: 0 0 40px rgba(168, 85, 247, 0.2);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Borders */
    --border-subtle: 1px solid rgba(240, 240, 255, 0.06);
    --border-glow: 1px solid rgba(220, 38, 38, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

/* ─── CSS Reset ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

/* ─── Utility ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════ */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-red);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(220, 38, 38, 0.3);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
}

body:hover .custom-cursor,
body:hover .cursor-trail {
    opacity: 1;
}

.custom-cursor.hovering {
    transform: translate(-50%, -50%) scale(2.5);
    background: rgba(220, 38, 38, 0.5);
}

.cursor-trail.hovering {
    transform: translate(-50%, -50%) scale(1.8);
    border-color: rgba(220, 38, 38, 0.5);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {

    .custom-cursor,
    .cursor-trail {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════════ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-orbit {
    width: 120px;
    height: 120px;
    position: relative;
    margin: 0 auto var(--space-lg);
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.ring-1 {
    animation: orbit-spin 3s linear infinite;
}

.ring-2 {
    inset: 15px;
    animation: orbit-spin 2s linear infinite reverse;
    border-color: rgba(168, 85, 247, 0.2);
}

.ring-3 {
    inset: 30px;
    animation: orbit-spin 1.5s linear infinite;
    border-color: rgba(34, 211, 238, 0.25);
}

.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-red);
}

.dot-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-spin 3s linear infinite;
    transform-origin: 50% 60px;
}

.dot-2 {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-spin 2s linear infinite reverse;
    transform-origin: 50% 45px;
    background: var(--accent-purple);
    width: 6px;
    height: 6px;
}

.dot-3 {
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbit-spin 1.5s linear infinite;
    transform-origin: 50% 30px;
    background: var(--accent-cyan);
    width: 5px;
    height: 5px;
}

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.preloader-logo .logo-icon {
    width: 48px;
    height: 48px;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.preloader-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: pulse-text 1.5s ease infinite;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.4s var(--ease-out-expo);
}

.main-nav.scrolled {
    padding: var(--space-xs) 0;
    background: rgba(5, 5, 16, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: var(--border-subtle);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    z-index: 1001;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-brand);
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-cta {
    color: var(--text-primary) !important;
    background: var(--gradient-brand);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-red);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: center;
        background: rgba(5, 5, 16, 0.97);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        gap: var(--space-lg);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease-out-expo);
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-link-cta {
        font-size: 1.2rem;
        padding: 0.75rem 2rem;
    }
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-3xl) var(--space-md);
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(220, 38, 38, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 100%, rgba(5, 5, 16, 1) 0%, transparent 30%),
        linear-gradient(180deg, transparent 60%, var(--bg-primary) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Floating decorative orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    animation: float-drift 12s ease-in-out infinite;
}

.orb-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -3%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    animation: float-drift 10s ease-in-out infinite 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    top: 20%;
    right: 15%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
    animation: float-drift 14s ease-in-out infinite 4s;
}

.orb-4 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 10%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    animation: float-drift 8s ease-in-out infinite 1s;
}

.orb-5 {
    width: 80px;
    height: 80px;
    top: 45%;
    left: 40%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06) 0%, transparent 70%);
    animation: float-drift 16s ease-in-out infinite 3s;
}

/* Hero Split Layout */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-xl);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.hero-content {
    text-align: left;
}

.hero-carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-red-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-red);
    animation: pulse-dot 2s ease infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 0 var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(220, 38, 38, 0.4);
}

.btn-ghost {
    border: 1px solid rgba(240, 240, 255, 0.15);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    border-color: rgba(240, 240, 255, 0.3);
    background: rgba(240, 240, 255, 0.05);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(240, 240, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-dot {
    width: 3px;
    height: 12px;
    background: var(--accent-red);
    border-radius: 3px;
    position: absolute;
    left: -1px;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   SECTION SHARED STYLES
   ═══════════════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-red-light);
    margin-bottom: var(--space-md);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.06);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════ */
.about-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.category-pillars {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.pillar-card {
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: var(--border-subtle);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: var(--glow-red), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    color: var(--accent-red-light);
    transition: all var(--transition-normal);
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.15);
    color: var(--accent-cyan);
}

.pillar-card:nth-child(1):hover .pillar-icon {
    color: var(--accent-cyan);
}

.pillar-card:nth-child(2):hover .pillar-icon {
    color: var(--accent-gold);
}

.pillar-card:nth-child(3):hover .pillar-icon {
    color: var(--accent-purple);
}

.pillar-card:nth-child(4):hover .pillar-icon {
    color: var(--accent-blue);
}

.pillar-card:nth-child(5):hover .pillar-icon {
    color: var(--accent-red-light);
}

.pillar-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.pillar-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .category-pillars {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .category-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════════
   APP SHOWCASE SECTION
   ═══════════════════════════════════════════ */
/* (Showcase section merged into hero — no separate section styles needed) */


/* Carousel Wrapper */
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

/* Phone Mockup — Carousel */
.carousel-phone {
    position: relative;
    animation: float-gentle 6s ease-in-out infinite;
}

.phone-frame {
    width: 280px;
    height: 570px;
    max-width: 60vw;
    aspect-ratio: 280 / 570;
    background: #1a1a2e;
    border-radius: 36px;
    border: 3px solid rgba(240, 240, 255, 0.1);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(240, 240, 255, 0.05);
}


.phone-screen {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 33px;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, transparent 60%);
    z-index: -1;
}

/* Carousel Track & Slides */
.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease-out-expo);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-user-drag: none;
    user-select: none;
}

/* Navigation Arrows */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(240, 240, 255, 0.06);
    border: 1px solid rgba(240, 240, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
    z-index: 3;
}

.carousel-nav:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.4);
    color: var(--text-primary);
    transform: scale(1.1);
    box-shadow: var(--glow-red);
}

.carousel-nav:active {
    transform: scale(0.95);
}

/* Dot Indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-lg);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(240, 240, 255, 0.15);
    border: 1px solid rgba(240, 240, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(220, 38, 38, 0.4);
    border-color: rgba(220, 38, 38, 0.5);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-xl);
    }

    .hero-actions {
        justify-content: center;
    }

    .carousel-wrapper {
        gap: var(--space-sm);
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }

    .phone-frame {
        width: 220px;
        height: auto;
        max-width: 55vw;
    }
}

@media (max-width: 480px) {
    .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .phone-frame {
        width: 200px;
        height: auto;
        max-width: 50vw;
        border-radius: 28px;
    }

    .phone-screen {
        border-radius: 25px;
    }


}

/* ═══════════════════════════════════════════
   EXPERIENCE SECTION
   ═══════════════════════════════════════════ */
.experience-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.experience-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    position: relative;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.3) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.flow-card {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: var(--border-subtle);
    transition: all var(--transition-normal);
    position: relative;
}

.flow-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: var(--glow-red);
}

.flow-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--accent-red-light);
}

.flow-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.flow-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.flow-connector {
    position: absolute;
    top: 50%;
    right: -15%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.3), transparent);
    z-index: 0;
}

.flow-step:last-child .flow-connector {
    display: none;
}

@media (max-width: 900px) {
    .experience-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-connector {
        display: none;
    }
}

@media (max-width: 600px) {
    .experience-flow {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════ */
.features-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: var(--border-subtle);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 38, 38, 0.15);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), var(--glow-red);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrap {
    width: 52px;
    height: 52px;
    color: var(--accent-red-light);
    margin-bottom: var(--space-md);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.1) translateY(-2px);
    color: var(--accent-cyan);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-bg-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.cta-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

/* Store Buttons */
.store-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(240, 240, 255, 0.06);
    border: 1px solid rgba(240, 240, 255, 0.1);
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.store-btn:hover {
    background: rgba(240, 240, 255, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--glow-red);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-small {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1;
}

.store-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Email Form */
.cta-email {
    max-width: 450px;
    margin: 0 auto var(--space-xl);
}

.email-form {
    display: flex;
    gap: 0;
    border-radius: var(--radius-full);
    background: rgba(240, 240, 255, 0.04);
    border: 1px solid rgba(240, 240, 255, 0.08);
    padding: 4px;
    transition: border-color var(--transition-fast);
}

.email-form:focus-within {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.1);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
}

.email-input::placeholder {
    color: var(--text-muted);
}

.email-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    background: var(--gradient-brand);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.email-btn:hover {
    box-shadow: var(--glow-red);
    transform: scale(1.02);
}

/* Social Links */
.cta-social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(240, 240, 255, 0.04);
    border: 1px solid rgba(240, 240, 255, 0.06);
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--accent-red-light);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    padding: var(--space-xl) 0;
    border-top: var(--border-subtle);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

/* Reveal animation base */
.anim-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-quint), transform 0.8s var(--ease-out-quint);
}

.anim-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes orbit-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

@keyframes pulse-text {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes float-drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -30px);
    }

    50% {
        transform: translate(-15px, -10px);
    }

    75% {
        transform: translate(10px, 20px);
    }
}

@keyframes float-gentle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes scroll-bounce {
    0% {
        top: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 48px;
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════
   MEDIA QUERIES — FINE-TUNING
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {
    :root {
        --space-3xl: 6rem;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .email-form {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: var(--space-xs);
    }

    .email-btn {
        justify-content: center;
    }
}