/* ========================================
   Pipoll - Modern Minimalist Website
   ======================================== */

:root {
    --primary: #9D69CE;
    --secondary: #FFA2F0;
    --success: #7CE16B;
    --warning: #F9CF58;
    --error: #FD5E5E;
    --dark: #0a0a0a;
    --light: #FDFCF3;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    --gradient-main: linear-gradient(135deg, #9D69CE 0%, #FFA2F0 100%);
    --gradient-success: linear-gradient(135deg, #7CE16B 0%, #9D69CE 100%);
    --gradient-warm: linear-gradient(135deg, #FFA2F0 0%, #F9CF58 100%);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Animated Background - Full Website Gradient */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: 100%;
    z-index: -1;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(157, 105, 206, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(255, 162, 240, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(124, 225, 107, 0.08) 0%, transparent 70%),
        var(--dark);
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(157, 105, 206, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 105, 206, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--success);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    padding: 0;
    background: transparent;
    pointer-events: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    padding: 0.875rem 1.5rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    pointer-events: auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease,
                border-color 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

.navbar.scrolled .nav-container {
    background: rgba(10, 10, 10, 0.85);
    border-color: rgba(157, 105, 206, 0.2);
    box-shadow: 0 10px 40px rgba(157, 105, 206, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar.hidden .nav-container {
    transform: translateY(-120%);
    opacity: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    transform: scale(1.5);
    transform-origin: left center;
}

.logo-img {
    height: 32px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    background: var(--gradient-main);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(157, 105, 206, 0.3);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(157, 105, 206, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: 0.3s;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.dropdown-trigger:hover {
    color: var(--light);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-top: 0.5rem;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-400);
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background: rgba(157, 105, 206, 0.1);
    color: var(--light);
}

/* Mobile Dropdown */
.mobile-dropdown {
    display: none;
}

.mobile-dropdown-trigger {
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-400);
    padding: 0.5rem 0;
    display: block;
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: flex;
}

.mobile-dropdown-menu a {
    font-size: 1rem;
    color: var(--gray-500);
    transition: color 0.3s ease;
}

.mobile-dropdown-menu a:hover {
    color: var(--light);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 1.5rem;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-400);
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--light);
}

.mobile-cta {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(157, 105, 206, 0.15);
    border: 1px solid rgba(157, 105, 206, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(157, 105, 206, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(157, 105, 206, 0.4);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--dark);
    margin-left: -12px;
    transition: transform 0.3s ease;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-3px);
}

.hero-social-proof span {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Compact mobile stats row - hidden on desktop */
.hero-stats-compact {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0.75rem 1rem;
    background: rgba(157, 105, 206, 0.08);
    border: 1px solid rgba(157, 105, 206, 0.2);
    border-radius: var(--radius-xl);
    margin-top: 1rem;
}

.hero-stats-compact .hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.hero-stats-compact .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}

.hero-stats-compact .stat-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 0;
    text-transform: capitalize;
}

.hero-stats-compact .hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(157, 105, 206, 0.3);
    margin: 0 1rem;
}

/* Stats counting animation */
.stat-value.counting {
    transition: opacity 0.3s ease;
}

/* Manifesto Section */
.manifesto {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(157, 105, 206, 0.08) 50%, transparent 100%);
}

.manifesto-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.manifesto-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.manifesto-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.manifesto-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-300);
}

.manifesto-text strong {
    color: var(--light);
    font-weight: 600;
}

.manifesto-cta {
    padding-top: 1rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(157, 105, 206, 0.15);
}

.value-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.value-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.value-info {
    display: flex;
    flex-direction: column;
}

.value-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.value-ticker {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-family: monospace;
}

.value-chart {
    margin-bottom: 2rem;
}

.value-line {
    width: 100%;
    height: 100px;
}

.value-path {
    fill: none;
    stroke: url(#valueGradient);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawPath 2s ease-out forwards;
}

.value-fill {
    fill: url(#valueGradient);
    opacity: 0.5;
}

@keyframes drawPath {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
    }
}

.value-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.value-stat {
    text-align: left;
}

.value-stat-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.value-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
}

.value-stat.positive .value-stat-number {
    color: var(--success);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.phone-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: translateY(-10px);
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: var(--gray-900);
    border-radius: 48px;
    padding: 12px;
    box-shadow: var(--shadow-2xl);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-frame.small {
    width: 260px;
    height: 520px;
    border-radius: 40px;
    padding: 10px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--light);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 700px;
    background: var(--gradient-main);
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
    border-radius: 50%;
}

/* Multi-Phone Showcase */
.phone-main {
    z-index: 2;
    animation: float-main 6s ease-in-out infinite;
}

.phone-secondary {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    opacity: 0.7;
    z-index: 1;
    transition: all 0.5s ease;
}

.phone-secondary:hover {
    opacity: 1;
    transform: translateY(-50%) scale(0.9);
    z-index: 3;
}

.phone-left {
    left: -80px;
    transform: translateY(-50%) rotate(8deg) scale(0.85);
}

.phone-right {
    right: -80px;
    transform: translateY(-50%) rotate(-8deg) scale(0.85);
}

@keyframes float-main {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Sections Common */
section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(157, 105, 206, 0.15);
    border: 1px solid rgba(157, 105, 206, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(157, 105, 206, 0.05) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(157, 105, 206, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    position: relative;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(157, 105, 206, 0.3);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary);
    opacity: 0.8;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Download CTA Section */
.download-cta {
    padding: 8rem 2rem;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 500px;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 2rem 3rem;
}

.footer-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-tagline {
    color: var(--gray-400);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========================================
   Mobile Responsive
   ======================================== */
@media (max-width: 968px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-dropdown {
        display: block;
    }

    .navbar {
        top: 12px;
        width: calc(100% - 24px);
    }

    .nav-container {
        padding: 0.6rem 1rem;
    }

    .logo-img {
        height: 24px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 1.5rem 4rem;
        gap: 3rem;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }

    /* Hide secondary phones on tablet */
    .phone-secondary {
        display: none;
    }

    .manifesto-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .manifesto-visual {
        order: -1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

}

@media (max-width: 640px) {
    /* Navigation - more compact */
    .navbar {
        top: 12px;
        width: calc(100% - 16px);
    }

    .nav-container {
        padding: 0.9rem 1.25rem;
    }

    .logo-img {
        height: 22px;
    }

    /* Mobile menu - compact */
    .mobile-menu {
        top: 80px;
        padding: 1rem;
        gap: 1rem;
    }

    .mobile-menu a {
        font-size: 1rem;
        padding: 0.25rem 0;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 2rem;
        gap: 2rem;
    }

    /* Hero title BIGGER than subtitle on mobile */
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.78rem;
        line-height: 1.5;
        color: var(--gray-500);
    }

    .hero-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    /* Compact stats row for mobile - show only on mobile */
    .hero-stats {
        display: none;
    }

    .hero-stats-compact {
        display: flex;
        margin-top: 1rem;
        padding: 0.75rem 1rem;
    }

    .hero-stat {
        text-align: center;
    }

    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
        border-radius: 36px;
        padding: 8px;
        margin-top: 2rem;
        filter: drop-shadow(0 24px 48px rgba(157, 105, 206, 0.45)) drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6));
    }

    .phone-frame.small {
        width: 180px;
        height: 360px;
    }

    /* Sections - more compact */
    section {
        padding: 3rem 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-tag {
        padding: 0.375rem 0.875rem;
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    /* Section titles BIGGER than subtitles */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 0.875rem;
        color: var(--gray-500);
    }

    /* Manifesto - compact */
    .manifesto {
        padding: 3rem 1rem;
    }

    .manifesto-title {
        font-size: 1.75rem;
    }

    .manifesto-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .value-card {
        padding: 1.25rem;
    }

    .value-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* How it works - compact */
    .steps-container {
        gap: 1rem;
    }

    .step {
        padding: 1rem;
        gap: 1rem;
        flex-direction: row;
        text-align: left;
    }

    .step-number {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }

    /* Features - compact */
    .features-grid {
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }

    /* CTA - compact */
    .download-cta {
        padding: 3rem 1rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
        color: var(--gray-500);
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    .cta-note {
        font-size: 0.8rem;
    }

    /* Footer - compact */
    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-logo {
        height: 36px;
    }

    .footer-tagline {
        font-size: 0.875rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    /* Fade-in from top animation for mobile */
    .animate-from-top {
        opacity: 0;
        transform: translateY(-20px);
        animation: fadeInFromTop 0.6s ease forwards;
    }

    @keyframes fadeInFromTop {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-content .hero-badge {
        animation-delay: 0.1s;
    }

    .hero-title {
        animation-delay: 0.2s;
    }

    .hero-subtitle {
        animation-delay: 0.3s;
    }

    .hero-cta {
        animation-delay: 0.4s;
    }

    .hero-stats-compact {
        animation-delay: 0.5s;
    }
}


/* ========================================
   Mobile Crash Fixes
   ======================================== */

/* Mobile background - keep same gradient as desktop */
@media (max-width: 768px) {
    /* Keep background consistent with desktop - no sudden cut to black */
    .bg-gradient {
        position: fixed;
        height: 100vh;
    }

    /* Smaller orbs for mobile but keep them visible */
    .bg-orb {
        filter: blur(60px);
        opacity: 0.4;
        animation: float 20s ease-in-out infinite;
    }

    .bg-orb-1 {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -150px;
    }

    .bg-orb-2 {
        width: 300px;
        height: 300px;
        bottom: -100px;
        left: -100px;
    }

    .bg-orb-3 {
        display: block;
        width: 250px;
        height: 250px;
        top: 40%;
        left: 40%;
    }

    .bg-grid {
        background-size: 60px 60px;
    }
}


/* ========================================
   Disabled Button + Countdown Styles
   ======================================== */

/* Disabled / Coming Soon Button */
.btn-disabled,
.btn-disabled:hover,
.btn-disabled:focus {
    background: #3a3a3a !important;
    background-image: none !important;
    color: #888888 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
    pointer-events: none;
}

.btn-disabled .btn-icon svg {
    fill: #888888;
    stroke: #888888;
}

/* Countdown Container */
.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    min-width: 2.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-sm);
    padding: 0.375rem 0.5rem;
}

.countdown-num {
    font-size: 1.125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--light);
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-unit-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    line-height: 1;
}

.countdown-sep {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1;
}

.cta-countdown {
    margin-top: 1.5rem;
}

.cta-countdown .countdown-num {
    font-size: 1.5rem;
}

.cta-countdown .countdown-unit {
    min-width: 3.5rem;
    padding: 0.5rem 0.75rem;
}

/* ========================================
   Mobile-Optimized Manifesto Section
   ======================================== */

@media (max-width: 640px) {
    /* Minimalist manifesto on mobile */
    .manifesto {
        padding: 2.5rem 1.25rem;
    }

    .manifesto-container {
        gap: 1.5rem;
    }

    /* Hide the visual card on mobile for minimal look */
    .manifesto-visual {
        display: none;
    }

    .manifesto-content {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .manifesto-title {
        font-size: 2rem;
        letter-spacing: -0.02em;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    /* Show only the first manifesto text paragraph, hide secondary ones */
    .manifesto-text {
        font-size: 0.95rem;
        line-height: 1.7;
        color: var(--gray-400);
    }

    .manifesto-text-secondary {
        display: none;
    }

    .manifesto-cta {
        margin-top: 1.5rem;
        width: 100%;
    }

    .manifesto-cta .btn-primary,
    .manifesto-cta .btn-disabled {
        width: 100%;
        justify-content: center;
    }

    /* Compact countdown on mobile */
    .countdown-container {
        margin-top: 0.75rem;
    }

    .countdown-num {
        font-size: 0.9rem;
    }

    .countdown-unit {
        min-width: 2rem;
        padding: 0.3rem 0.35rem;
    }

    .countdown-unit-label {
        font-size: 0.55rem;
    }

    .countdown-sep {
        font-size: 0.9rem;
        margin-bottom: 0.85rem;
    }
}

/* ========================================
   Desktop/Mobile Visibility Utilities
   ======================================== */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
}

/* ========================================
   Mobile Card Swiper
   ======================================== */
.card-swiper {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
    margin: 2rem auto 0;
    position: relative;
    gap: 1.5rem;
}

.card-stack {
    position: relative;
    width: 280px;
    height: 177px;
    touch-action: none;
    user-select: none;
}

.swipe-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: grab;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card.is-swiping {
    transition: none;
}

.swipe-card.fly-left {
    animation: flyAwayLeft 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.swipe-card.fly-right {
    animation: flyAwayRight 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes flyAwayLeft {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-400px) rotate(-20deg);
        opacity: 0;
    }
}

@keyframes flyAwayRight {
    0% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateX(400px) rotate(20deg);
        opacity: 0;
    }
}

.swipe-card[data-card-index="1"] {
    transform: scale(0.94) translateY(3px);
    opacity: 0.9;
}
.swipe-card[data-card-index="2"] {
    transform: scale(0.88) translateY(6px);
    opacity: 0.8;
}
.swipe-card[data-card-index="3"] {
    transform: scale(0.82) translateY(9px);
    opacity: 0.7;
}
.swipe-card[data-card-index="4"] {
    transform: scale(0.76) translateY(12px);
    opacity: 0.6;
}

.swipe-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.swipe-hint-text {
    font-size: 0.8rem;
    color: rgba(253, 252, 243, 0.3);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.swipe-hint-arrow {
    font-size: 1rem;
    color: rgba(253, 252, 243, 0.2);
    animation: hintPulse 2s ease-in-out infinite;
}

.swipe-hint-arrow:last-child {
    animation-delay: 0.5s;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.2; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(3px); }
}

.card-progress-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 0.25rem;
}

.card-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card-dot.active {
    width: 20px;
    border-radius: 3px;
    background: var(--primary);
}
