/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Fix for mobile viewport issues */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    overflow-x: hidden;
    /* Prevent horizontal scroll on mobile */
    width: 100%;
    min-width: 320px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Mobile container adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}

@media (min-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Typography - Mobile First with proper scaling */
h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Desktop Typography */
@media (min-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
}

@media (min-width: 768px) {
    h1 { font-size: 4rem; }
    h2 { font-size: 3rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.5rem; }
    p { font-size: 1.125rem; }
}

/* Buttons - Mobile Optimized */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 100%;
    max-width: 280px;
    min-height: 48px; /* Touch-friendly height */
}

@media (min-width: 768px) {
    .btn {
        width: auto;
        max-width: none;
        padding: 12px 24px;
        font-size: 1rem;
    }
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border: 2px solid rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 28px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .btn-large {
        padding: 16px 32px;
        font-size: 1.125rem;
    }
}

.btn-loading {
    display: none;
}

/* Navigation - Fixed viewport issues */
/* Mobile Navigation - FIXED HAMBURGER MENU */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    left: 0;
    right: 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 16px;
    width: 100%;
    position: relative; /* Important for z-index stacking */
}

@media (min-width: 768px) {
    .navbar .container {
        padding: 1rem 20px;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    z-index: 1002; /* Ensure brand stays above menu */
}

@media (min-width: 768px) {
    .nav-brand {
        gap: 0.75rem;
        font-size: 1.5rem;
    }
}

.logo {
    width: 32px;
    height: 32px;
}

@media (min-width: 768px) {
    .logo {
        width: 40px;
        height: 40px;
    }
}

.brand-name {
    font-family: 'Sora', sans-serif;
}

/* FIXED Mobile Navigation Menu */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001; /* Below hamburger button */
    list-style: none;
    overflow-y: auto;
}

.nav-links.active {
    right: 0;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid #e2e8f0;
    width: 100%;
}

.nav-link:hover {
    color: #6366f1;
}

.nav-cta {
    margin: 1.5rem 0 0 0;
    width: 100%;
    justify-content: center;
}

/* FIXED Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    /* FIXED: Higher z-index and proper positioning */
    position: relative;
    z-index: 1002; /* Above everything including menu */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    /* Ensure it's always clickable */
    pointer-events: auto;
}

/* FIXED: Spans stay visible and clickable */
.mobile-menu-toggle span {
    width: 22px;
    height: 3px;
    background: #1e293b;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

/* FIXED: Animation states - spans remain visible */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #1e293b; /* Ensure color stays */
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #1e293b; /* Ensure color stays */
}

/* FIXED: Menu overlay to close on outside click */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000; /* Below menu and hamburger */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .menu-overlay {
        display: none;
    }
    
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
        box-shadow: none;
        gap: 2rem;
        overflow-y: visible;
        z-index: auto;
    }
    
    .nav-link {
        padding: 0;
        font-size: 1rem;
        border-bottom: none;
        width: auto;
    }
    
    .nav-cta {
        margin: 0 0 0 1rem;
        width: auto;
    }
}

/* FIXED: Body scroll lock when mobile menu is open */
.menu-open {
    overflow: hidden;
    position: fixed; /* Prevent scroll completely */
    width: 100%;
}

/* FIXED: Ensure hamburger menu is always visible on mobile */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        /* Force visibility */
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        /* Ensure it stays in place */
        position: relative;
        z-index: 1002;
    }
    
    /* Ensure navbar container doesn't interfere */
    .navbar .container {
        z-index: 1002;
    }
    
    /* Prevent any element from covering the hamburger */
    .nav-links,
    .menu-overlay {
        pointer-events: none;
    }
    
    .nav-links.active {
        pointer-events: auto;
    }
    
    .menu-overlay.active {
        pointer-events: auto;
    }
}

/* Additional fix for very small screens */
@media (max-width: 480px) {
    .mobile-menu-toggle {
        min-width: 40px;
        min-height: 40px;
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
    
    .nav-links {
        width: 260px;
        padding: 4rem 1.25rem 2rem;
    }
}

/* Hero Section - HIDE MOBILE IMAGE */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: 60%;
    right: -10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: 30%;
    left: 50%;
    animation-delay: 4s;
}

@media (min-width: 768px) {
    .gradient-orb {
        filter: blur(60px);
        opacity: 0.7;
    }
    
    .orb-1 {
        width: 300px;
        height: 300px;
        top: 10%;
        left: 10%;
    }
    
    .orb-2 {
        width: 200px;
        height: 200px;
        top: 60%;
        right: 20%;
    }
    
    .orb-3 {
        width: 250px;
        height: 250px;
        bottom: 20%;
        left: 60%;
    }
}

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

.hero .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
}

.hero-content {
    width: 100%;
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 600px;
    }
}

/* HIDE HERO VISUAL ON MOBILE */
.hero-visual {
    display: none;
}

@media (min-width: 768px) {
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.875rem;
        margin-bottom: 2rem;
    }
}

.hero-title {
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        margin-bottom: 1.5rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .hero-subtitle {
        margin-bottom: 3rem;
    }
}

/* HERO STATS - SIDE BY SIDE ON MOBILE */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

@media (min-width: 480px) {
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    .hero-stats {
        justify-content: flex-start;
        margin-bottom: 3rem;
    }
}

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

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: #6366f1;
    display: block;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

@media (min-width: 768px) {
    .stat-label {
        font-size: 0.875rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        align-items: flex-start;
    }
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

@media (min-width: 768px) {
    .phone-mockup {
        width: 300px;
        height: 600px;
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.app-interface {
    padding: 20px;
    height: 100%;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.app-title {
    font-size: 20px;
    font-weight: 700;
    color: #6366f1;
}

@media (min-width: 768px) {
    .app-title {
        font-size: 24px;
    }
}

.app-balance {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

@media (min-width: 768px) {
    .app-balance {
        font-size: 18px;
    }
}

.transaction-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .transaction-card {
        padding: 20px;
    }
}

.transaction-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .transaction-title {
        font-size: 16px;
    }
}

.transaction-amount {
    color: #64748b;
    font-size: 12px;
}

@media (min-width: 768px) {
    .transaction-amount {
        font-size: 14px;
    }
}

.transaction-status {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .transaction-status {
        padding: 6px 12px;
        font-size: 12px;
    }
}

.transaction-status.secured {
    background: #dcfce7;
    color: #166534;
}

.transaction-status.pending {
    background: #fef3c7;
    color: #92400e;
}

/* Countdown Section - Mobile Optimized */
.countdown-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

@media (min-width: 768px) {
    .countdown-section {
        padding: 80px 0;
    }
}

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

.countdown-title {
    margin-bottom: 2rem;
    color: #1e293b;
}

@media (min-width: 768px) {
    .countdown-title {
        margin-bottom: 3rem;
    }
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .countdown-timer {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .countdown-timer {
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.countdown-item {
    background: white;
    border-radius: 12px;
    padding: 1rem 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

@media (min-width: 480px) {
    .countdown-item {
        border-radius: 16px;
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 768px) {
    .countdown-item {
        padding: 2rem 1rem;
    }
    
    .countdown-item:hover {
        transform: translateY(-5px);
    }
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #6366f1;
    display: block;
    margin-bottom: 0.25rem;
}

@media (min-width: 480px) {
    .countdown-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
}

@media (min-width: 768px) {
    .countdown-number {
        font-size: 3rem;
    }
}

.countdown-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .countdown-label {
        font-size: 1rem;
    }
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .progress-bar {
        height: 8px;
        border-radius: 4px;
        margin-bottom: 1rem;
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: inherit;
    transition: width 0.3s ease;
}

.progress-text {
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Section Styles - Mobile First */
section {
    padding: 50px 0;
}

@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-title {
    margin-bottom: 0.75rem;
    color: #1e293b;
}

@media (min-width: 768px) {
    .section-title {
        margin-bottom: 1rem;
    }
}

.section-subtitle {
    color: #64748b;
    line-height: 1.6;
}

/* Features Section - Mobile Optimized */
.features {
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .feature-card {
        border-radius: 20px;
        padding: 2rem;
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .feature-icon {
        width: 60px;
        height: 60px;
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }
}

.feature-icon i {
    font-size: 20px;
    color: white;
}

@media (min-width: 768px) {
    .feature-icon i {
        font-size: 24px;
    }
}

.feature-title {
    margin-bottom: 0.75rem;
    color: #1e293b;
}

@media (min-width: 768px) {
    .feature-title {
        margin-bottom: 1rem;
    }
}

.feature-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .feature-description {
        margin-bottom: 1.5rem;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .feature-list li {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        font-size: 1rem;
    }
}

.feature-list i {
    color: #10b981;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .feature-list i {
        font-size: 0.875rem;
    }
}

/* How It Works Section - Mobile Optimized */
.how-it-works {
    background: white;
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .step-item {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 2rem;
        margin-bottom: 4rem;
        padding: 2rem;
        border-radius: 20px;
        text-align: left;
    }
    
    .step-item:nth-child(even) {
        grid-template-columns: auto 1fr auto;
    }
    
    .step-item:nth-child(even) .step-content {
        order: 2;
    }
    
    .step-item:nth-child(even) .step-visual {
        order: 3;
    }
    
    .step-item:nth-child(even) .step-number {
        order: 1;
    }
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.step-content {
    max-width: 500px;
}

.step-title {
    margin-bottom: 0.75rem;
    color: #1e293b;
}

@media (min-width: 768px) {
    .step-title {
        margin-bottom: 1rem;
    }
}

.step-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .step-description {
        margin-bottom: 1.5rem;
    }
}

.step-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .step-features {
        gap: 1rem;
        justify-content: flex-start;
    }
}

.step-feature {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .step-feature {
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.875rem;
    }
}

.step-visual {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .step-visual {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }
}

.step-visual i {
    font-size: 1.5rem;
    color: #6366f1;
}

@media (min-width: 768px) {
    .step-visual i {
        font-size: 2rem;
    }
}

/* Security Section - FIXED 2x2 GRID ON MOBILE */
.security {
    background: #1e293b;
    color: white;
}

.security-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .security-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        text-align: left;
    }
}

.security-text .section-title {
    color: white;
}

.security-text .section-subtitle {
    color: #94a3b8;
}

.security-features {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .security-features {
        margin-top: 2rem;
    }
}

.security-feature {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    text-align: left;
}

@media (min-width: 768px) {
    .security-feature {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
}

.security-feature i {
    color: #6366f1;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

@media (min-width: 768px) {
    .security-feature i {
        font-size: 1.5rem;
        margin-top: 0.25rem;
    }
}

.security-feature h4 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .security-feature h4 {
        margin-bottom: 0.5rem;
        font-size: 1.125rem;
    }
}

.security-feature p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .security-feature p {
        font-size: 1rem;
    }
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECURITY BADGES - 2x2 GRID ON MOBILE */
.badge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 350px;
}

@media (min-width: 768px) {
    .badge-grid {
        max-width: 400px;
        gap: 1.5rem;
    }
}

.security-badge {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .security-badge {
        border-radius: 16px;
        padding: 1.5rem;
    }
}

.security-badge i {
    font-size: 1.5rem;
    color: #6366f1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .security-badge i {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

.badge-text strong {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 0.125rem;
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .badge-text strong {
        margin-bottom: 0.25rem;
        font-size: 1rem;
    }
}

.badge-text span {
    color: #94a3b8;
    font-size: 0.625rem;
}

@media (min-width: 768px) {
    .badge-text span {
        font-size: 0.875rem;
    }
}

/* Early Access Section - FIXED BUTTON ALIGNMENT */
.early-access {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    text-align: center;
}

.early-access-content {
    max-width: 600px;
    margin: 0 auto;
}

.early-access .section-title {
    color: white;
}

.early-access .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .early-access .section-subtitle {
        margin-bottom: 3rem;
    }
}

.benefits-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .benefits-list {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .benefit-item {
        padding: 0.75rem 1.5rem;
        border-radius: 30px;
        font-size: 1rem;
    }
}

.benefit-item i {
    color: #fbbf24;
}

.email-form {
    max-width: 500px;
    margin: 0 auto;
}

/* FORM GROUP - FIXED BUTTON ALIGNMENT */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
    }
}

.form-group input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 320px;
}

@media (min-width: 768px) {
    .form-group input {
        padding: 16px 20px;
        font-size: 1rem;
        max-width: none;
    }
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.form-group .btn {
    flex-shrink: 0;
    background: white;
    color: #6366f1;
    max-width: 280px;
}

@media (min-width: 768px) {
    .form-group .btn {
        max-width: none;
    }
}

.form-group .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.form-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 768px) {
    .form-options {
        text-align: left;
        gap: 1rem;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.8rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .checkbox-label {
        justify-content: flex-start;
        gap: 0.75rem;
        font-size: 0.875rem;
    }
}

.checkbox-label input {
    width: 16px;
    height: 16px;
    margin: 0;
}

@media (min-width: 768px) {
    .checkbox-label input {
        width: 18px;
        height: 18px;
    }
}

.checkbox-label .link {
    color: white;
    text-decoration: underline;
}

.success-message {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
    .success-message {
        padding: 2rem;
    }
}

.success-message i {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .success-message i {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}

.success-message h3 {
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .success-message h3 {
        margin-bottom: 1rem;
    }
}

.success-message p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section - Mobile Optimized */
.faq {
    background: #f8fafc;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .faq-item {
        border-radius: 16px;
        margin-bottom: 1rem;
    }
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

@media (min-width: 768px) {
    .faq-question {
        padding: 1.5rem 2rem;
    }
    
    .faq-question:hover {
        background: #f8fafc;
    }
}

.faq-question h3 {
    margin: 0;
    font-size: 0.9rem;
    color: #1e293b;
}

@media (min-width: 768px) {
    .faq-question h3 {
        font-size: 1.125rem;
    }
}

.faq-question i {
    color: #6366f1;
    transition: transform 0.3s ease;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .faq-question i {
        font-size: 1rem;
    }
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .faq-answer p {
        padding: 0 2rem 1.5rem;
        font-size: 1rem;
    }
}


/* Footer - COMPLETELY REDESIGNED FOR MOBILE */
.footer {
    background: #1e293b;
    color: white;
    padding: 2rem 0 1rem;
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
}

/* MOBILE FOOTER LAYOUT */
.footer-content {
    display: block;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
        gap: 3rem;
        margin-bottom: 3rem;
    }
}

/* Brand Section - Full Width on Mobile */
.footer-brand-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .footer-brand-section {
        text-align: left;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-brand {
        justify-content: flex-start;
        gap: 0.75rem;
    }
}

.footer-logo {
    width: 32px;
    height: 32px;
}

@media (min-width: 768px) {
    .footer-logo {
        width: 40px;
        height: 40px;
    }
}

.footer-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.875rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .footer-description {
        margin-bottom: 2rem;
        font-size: 1rem;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-links {
        justify-content: flex-start;
        gap: 1rem;
    }
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .social-link {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

.social-link:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

/* Mobile Links Section - Clean 2x2 Grid */
.footer-links-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-links-section {
        display: contents; /* Remove grid on desktop, use regular layout */
    }
}

.footer-column {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-column {
        text-align: left;
    }
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .footer-title {
        margin-bottom: 1.5rem;
        font-size: 1rem;
    }
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .footer-links li {
        margin-bottom: 0.75rem;
    }
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
    display: block;
    padding: 0.25rem 0;
}

@media (min-width: 768px) {
    .footer-links a {
        font-size: 0.9rem;
        padding: 0;
    }
}

.footer-links a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        padding-top: 2rem;
    }
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright {
    color: #94a3b8;
    margin: 0;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .copyright {
        font-size: 0.875rem;
    }
}

.footer-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-badges {
        gap: 1rem;
    }
}

.footer-badge {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-badge:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .footer-badge {
        height: 30px;
    }
}

/* Mobile Specific Improvements */
@media (max-width: 767px) {
    /* Ensure proper spacing on very small screens */
    .footer-links-section {
        gap: 1rem;
    }
    
    .footer-column {
        min-height: 120px; /* Consistent height for columns */
    }
    
    .footer-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .footer-brand-section {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        max-width: 280px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-links-section {
        gap: 0.75rem;
    }
    
    .footer-column {
        min-height: 110px;
    }
    
    .footer-title {
        font-size: 0.75rem;
    }
    
    .footer-links a {
        font-size: 0.7rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .footer-badge {
        height: 20px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

@media (min-width: 768px) {
    .back-to-top {
        bottom: 2rem;
        right: 2rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Mobile menu body scroll lock */
.menu-open {
    overflow: hidden;
}

/* Loading States */
.loaded .hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.loaded .hero-visual {
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Validation States */
.form-group input.valid {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input.invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gradient-orb {
        animation: none;
    }
}

/* Focus states for accessibility */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Utility classes */
.text-center {
    text-align: center;
}

/* Ensure images scale properly */
img {
    max-width: 100%;
    height: auto;
}

/* Fix for viewport issues on mobile */
@media screen and (max-width: 767px) {
    body {
        -webkit-text-size-adjust: none;
        font-size: 16px; /* Prevent zoom on input focus */
    }
    
    /* Prevent horizontal scroll */
    * {
        max-width: 100%;
    }
    
    /* Ensure no element causes horizontal overflow */
    .hero,
    .countdown-section,
    .features,
    .how-it-works,
    .security,
    .early-access,
    .faq,
    .footer {
        overflow-x: hidden;
    }
}