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

:root {
    /* CashAI Color Palette - Clean Dark Theme */
    --primary-blue: #3B82F6;
    --primary-purple: #8B5CF6;
    --primary-green: #10B981;
    --primary-orange: #F59E0B;
    --primary-red: #EF4444;
    
    /* Clean Dark Colors */
    --dark-bg: #000000;
    --card-bg: #111111;
    --surface-bg: #1A1A1A;
    --border-color: #333333;
    --text-primary: #FFFFFF;
    --text-secondary: #A1A1AA;
    --text-tertiary: #71717A;
    
    /* Clean Gradients */
    --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #3B82F6 100%);
    --gradient-splash: linear-gradient(135deg, #000000 0%, #1A1A1A 50%, #000000 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 122, 255, 0.3);
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Splash Screen - Liquid Purple Gradient Flow */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
    animation: splashFadeOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) 2.2s forwards;
}

/* Liquid Gradient Flow Layers */
.gradient-flow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(139, 92, 246, 0.4) 0%,
        rgba(168, 85, 247, 0.3) 25%,
        rgba(217, 70, 239, 0.2) 50%,
        transparent 70%
    );
    animation: liquidFlow1 8s ease-in-out infinite;
    filter: blur(60px);
}

.gradient-flow-2 {
    background: radial-gradient(
        ellipse at center,
        rgba(168, 85, 247, 0.5) 0%,
        rgba(217, 70, 239, 0.3) 30%,
        rgba(139, 92, 246, 0.2) 60%,
        transparent 75%
    );
    animation: liquidFlow2 10s ease-in-out infinite;
    animation-delay: -2s;
}

.gradient-flow-3 {
    background: radial-gradient(
        ellipse at center,
        rgba(217, 70, 239, 0.3) 0%,
        rgba(168, 85, 247, 0.2) 40%,
        transparent 70%
    );
    animation: liquidFlow3 12s ease-in-out infinite;
    animation-delay: -4s;
}

.splash-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: contentFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.splash-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.splash-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: logoScale 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both,
               logoGlow 2s ease-in-out 1.5s infinite;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.8))
            drop-shadow(0 0 80px rgba(168, 85, 247, 0.6));
}

.nav-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-right: 0px;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-right: var(--spacing-sm);
}

.splash-title {
    font-size: 56px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    animation: letterSpacing 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
    text-shadow: 0 0 60px rgba(168, 85, 247, 0.5);
}

.splash-loading-bar {
    width: 240px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        rgba(139, 92, 246, 0.8) 0%,
        rgba(168, 85, 247, 1) 50%,
        rgba(217, 70, 239, 0.8) 100%
    );
    border-radius: 10px;
    animation: progressGrow 2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.8),
                0 0 40px rgba(168, 85, 247, 0.4);
}

/* Splash Screen Animations */
@keyframes liquidFlow1 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(-48%, -52%) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-52%, -48%) scale(0.95) rotate(240deg);
    }
}

@keyframes liquidFlow2 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1.05) rotate(360deg);
    }
    33% {
        transform: translate(-52%, -48%) scale(0.95) rotate(240deg);
    }
    66% {
        transform: translate(-48%, -52%) scale(1.15) rotate(120deg);
    }
}

@keyframes liquidFlow3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.95) rotate(180deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(540deg);
    }
}

@keyframes contentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes logoScale {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.8))
                drop-shadow(0 0 80px rgba(168, 85, 247, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(168, 85, 247, 1))
                drop-shadow(0 0 100px rgba(217, 70, 239, 0.8));
    }
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes letterSpacing {
    0% {
        letter-spacing: -0.05em;
        opacity: 0;
    }
    100% {
        letter-spacing: normal;
        opacity: 1;
    }
}

@keyframes progressGrow {
    0% {
        width: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes splashFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    99% {
        opacity: 0;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Money Rain Animations */
.money-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    animation: moneyRainAppear 0.5s ease-in-out 2.2s forwards;
}

.dollar-bill {
    position: absolute;
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(135deg, #6366F1, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
    animation: moneyFall 4s linear infinite;
    opacity: 0;
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
}

.dollar-bill:nth-child(1) { left: 10%; animation-delay: 0s; }
.dollar-bill:nth-child(2) { left: 20%; animation-delay: 0.2s; }
.dollar-bill:nth-child(3) { left: 30%; animation-delay: 0.4s; }
.dollar-bill:nth-child(4) { left: 40%; animation-delay: 0.6s; }
.dollar-bill:nth-child(5) { left: 50%; animation-delay: 0.8s; }
.dollar-bill:nth-child(6) { left: 60%; animation-delay: 1s; }
.dollar-bill:nth-child(7) { left: 70%; animation-delay: 1.2s; }
.dollar-bill:nth-child(8) { left: 80%; animation-delay: 1.4s; }
.dollar-bill:nth-child(9) { left: 90%; animation-delay: 1.6s; }
.dollar-bill:nth-child(10) { left: 15%; animation-delay: 1.8s; }
.dollar-bill:nth-child(11) { left: 25%; animation-delay: 2s; }
.dollar-bill:nth-child(12) { left: 35%; animation-delay: 2.2s; }
.dollar-bill:nth-child(13) { left: 45%; animation-delay: 2.4s; }
.dollar-bill:nth-child(14) { left: 55%; animation-delay: 2.6s; }
.dollar-bill:nth-child(15) { left: 65%; animation-delay: 2.8s; }
.dollar-bill:nth-child(16) { left: 75%; animation-delay: 3s; }
.dollar-bill:nth-child(17) { left: 85%; animation-delay: 3.2s; }
.dollar-bill:nth-child(18) { left: 95%; animation-delay: 3.4s; }
.dollar-bill:nth-child(19) { left: 5%; animation-delay: 3.6s; }
.dollar-bill:nth-child(20) { left: 12%; animation-delay: 3.8s; }

/* Logo Spin Animations */
@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes purpleGlow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes logoSpinFast {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.3); }
}

@keyframes logoTransform {
    0% { 
        transform: rotate(0deg) scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    50% { 
        transform: rotate(180deg) scale(1.5);
        filter: drop-shadow(0 0 40px rgba(16, 185, 129, 0.8));
    }
    100% { 
        transform: rotate(360deg) scale(0);
        filter: drop-shadow(0 0 60px rgba(16, 185, 129, 1));
        opacity: 0;
    }
}

@keyframes moneyRainAppear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes moneyFall {
    0% { 
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    10% { 
        transform: translateY(0px) rotate(45deg);
        opacity: 1;
    }
    90% { 
        transform: translateY(calc(100vh + 50px)) rotate(360deg);
        opacity: 0.8;
    }
    100% { 
        transform: translateY(calc(100vh + 100px)) rotate(450deg);
        opacity: 0;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* State-of-the-Art Page Transitions */
* {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Advanced Hover Effects */
.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Advanced Card Animations */
.feature-card, .download-card, .pricing-card {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-card::before, .download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before, .download-card:hover::before {
    opacity: 1;
}

.feature-card:hover, .download-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(99, 102, 241, 0.3);
}

/* Advanced Phone Mockup */
.phone-mockup {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Advanced Navigation */
.navbar {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Advanced Scroll Animations */
.hero-title {
    animation: titleSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.hero-description {
    animation: descriptionSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.hero-actions {
    animation: actionsSlideIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.1s both;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes descriptionSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation - Cal AI Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: none;
    transition: all 0.3s ease;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    justify-self: start;
}

.nav-links {
    justify-self: center;
}

.nav-actions {
    justify-self: end;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    color: #ffffff;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #a1a1aa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* App Store Image Button */
.nav-actions .app-store-image-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-actions .app-store-image-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.nav-actions .app-store-image-btn img {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* App Store Wrapper with Coming Soon Badge */
.app-store-wrapper {
    position: relative;
    display: inline-block;
}

.coming-soon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(139, 92, 246, 0.7);
    }
}

/* Waitlist Modal */
.waitlist-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.waitlist-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.waitlist-modal-content {
    background: #111111;
    border: 1px solid #333333;
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.waitlist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.waitlist-title-section {
    text-align: center;
    flex: 1;
}

.waitlist-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

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

.waitlist-header h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.waitlist-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.waitlist-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.benefit-icon {
    font-size: 1.2rem;
    width: 24px;
    min-width: 24px;
    flex-shrink: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none;
    font-style: normal;
    line-height: 1;
}

.close-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #333333;
    color: #ffffff;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: rgba(139, 92, 246, 0.8);
    font-size: 0.85rem;
}

.waitlist-privacy {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.form-group input,
.form-group select {
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

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

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

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: 2s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 4s;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px var(--spacing-lg) 0;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #8B5CF6;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.hero-actions .btn-primary {
    padding: 1.5rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    min-width: 320px;
    max-width: 380px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.phone-mockup-image:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border-radius: 40px;
    padding: 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: phoneFloat 3s ease-in-out infinite;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 40px;
    transition: transform 0.3s ease;
    background: #ffffff;
    padding: 0;
    box-sizing: border-box;
}

.app-screenshot:hover {
    transform: scale(1.02);
}

.app-interface {
    padding: var(--spacing-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.app-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.app-title {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

.app-balance {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
}

.app-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 80px;
}

.bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-out;
}

@keyframes barGrow {
    from { height: 0; }
    to { height: var(--height, 50%); }
}

.app-categories {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.category-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon.food {
    background: var(--primary-orange);
}

.category-icon.transport {
    background: var(--primary-blue);
}

.category-info {
    flex: 1;
}

.category-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.category-amount {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 50px;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section - New Cal AI Style Layout */
.features {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.features-container-new {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Features Layout - Phone on Left, Boxes on Right */
.features-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Phone Carousel Container */
.phone-carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.phone-screen-image-direct {
    max-width: 350px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.4s ease, transform 0.3s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.phone-screen-image-direct:hover {
    transform: scale(1.02);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
}

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

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: var(--gradient-primary);
    width: 32px;
    border-radius: 5px;
}

/* Feature Boxes */
.features-boxes {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-box:hover {
    transform: translateX(10px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box.active {
    border-color: var(--primary-blue);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.feature-box > * {
    position: relative;
    z-index: 1;
}

.feature-box-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-box-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* Why Choose CashAI Section */
.why-choose {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.why-choose-header {
    text-align: center;
    margin-bottom: 80px;
}

.why-choose-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.why-choose-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Benefits Grid - 3 Horizontal Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(99, 102, 241, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.benefit-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.benefit-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

/* Download Section */
.download {
    padding: var(--spacing-2xl) 0;
    background: var(--dark-bg);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-size: 32px;
    color: white;
}

.download-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.download-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(0, 122, 255, 0.3);
    border-radius: 20px;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: var(--spacing-md);
}

.download-features {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin-top: var(--spacing-xl);
}

/* Apple App Store Button */
.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 24px 60px;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.4);
    border: none;
    min-width: 400px;
    justify-content: center;
}

.app-store-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #7C3AED 0%, #DB2777 100%);
}

.app-store-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: white;
    box-shadow: none;
}

.app-store-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.app-store-text {
    display: flex;
    align-items: center;
    line-height: 1;
}

.app-store-text-large {
    font-size: 26px;
    font-weight: 600;
    color: white;
}


.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 16px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 0 30px rgba(0, 122, 255, 0.2);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.pricing-header {
    margin-bottom: var(--spacing-lg);
}

.pricing-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.price-currency {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--primary-green);
    font-size: 14px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.testimonials-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.testimonial-card {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:nth-child(4) {
    grid-column: 2 / 4;
}

.testimonial-card:nth-child(5) {
    grid-column: 4 / 6;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(99, 102, 241, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card > * {
    position: relative;
    z-index: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Footer - Cal AI Style */
.footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0 24px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-download-text {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 6px 0;
}

.footer-download-buttons {
    display: flex;
    gap: 12px;
}

.footer-app-store-btn {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-app-store-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-app-store-btn img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.footer-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 var(--spacing-2xl);
    background: var(--dark-bg);
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.legal-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h2 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0, 122, 255, 0.3);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.legal-section ul {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Disable splash screen on mobile - prevents crashes */
    .splash-screen {
        display: none !important;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: flex;
        align-items: center;
        margin-left: auto;
        padding-left: 20px;
    }
    
    /* Coming Soon Badge - Mobile Fix */
    .coming-soon-badge {
        top: -4px;
        right: -4px;
        font-size: 8px;
        padding: 2px 6px;
        border-radius: 8px;
    }
    
    /* App Store Button Wrapper - Mobile */
    .app-store-wrapper {
        display: inline-block;
    }
    
    .nav-actions .app-store-image-btn {
        margin-left: auto;
    }
    
    .nav-actions .app-store-image-btn img {
        height: 32px;
    }
    
    .nav-container {
        gap: 12px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .features-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .phone-frame {
        width: 280px;
        height: 570px;
    }
    
    /* Feature Boxes - Full Width on Mobile */
    .features-container-new {
        padding: 0 20px;
    }
    
    .features-boxes {
        width: 100%;
        padding: 0;
    }
    
    .feature-box {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .feature-box-title {
        font-size: 20px;
    }
    
    .feature-box-description {
        font-size: 15px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .benefit-card {
        padding: 32px 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        grid-column: span 1 !important;
    }
    
    .testimonials-title {
        font-size: 36px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .waitlist-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .waitlist-header h2 {
        font-size: 1.5rem;
    }
    
    .waitlist-icon {
        font-size: 2.5rem;
    }
    
    .waitlist-benefits {
        padding: 0.75rem;
    }
    
    .benefit-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .cta-title {
        font-size: var(--font-size-3xl);
    }
}
