/* ============================================
   VaultSpend Landing Page Styles
   ============================================ */

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

:root {
    /* Brand Colors */
    --primary-green: #34C759;
    --primary-blue: #007AFF;
    --accent-orange: #FF9500;
    --expense-red: #FF3B30;

    /* Neutral Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F2F2F7;
    --text-primary: #000000;
    --text-secondary: #3C3C43;
    --text-tertiary: #8E8E93;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;
    --spacing-xxxl: 64px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: var(--spacing-md) 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    font-size: 28px;
}

.logo-app-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s;
}

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

.language-select {
    border: 1px solid #d1d1d6;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    background: white;
}

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

.btn-primary {
    background: linear-gradient(90deg, var(--accent-orange), var(--expense-red));
    color: white;
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #E5E5EA;
    transform: translateY(-2px);
}

.btn-primary-small {
    padding: 10px 20px;
    font-size: 14px;
    background: var(--primary-blue);
    color: white;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 18px 36px;
    font-size: 18px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.05), rgba(0, 122, 255, 0.05));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 8px 16px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 500;
}

.badge-icon {
    font-size: 18px;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.phone-screen {
    background: #000;
    border-radius: 50px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    aspect-ratio: 9 / 19.5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-placeholder {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    height: 100%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.hero-screenshot {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border-radius: 34px;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--spacing-xxxl) 0;
    background: var(--bg-primary);
}

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.feature-card {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--spacing-xxxl) 0;
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.popular {
    border: 3px solid var(--primary-blue);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--bg-secondary);
    margin-bottom: var(--spacing-lg);
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.plan-price {
    margin: var(--spacing-md) 0;
}

.price {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-strike {
    font-size: 24px;
    text-decoration: line-through;
    color: var(--text-tertiary);
    margin-right: var(--spacing-xs);
}

.pricing-fineprint {
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

.pricing-fineprint a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.period {
    font-size: 20px;
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    font-size: 14px;
}

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

.plan-features li {
    padding: var(--spacing-sm) 0;
    color: var(--text-primary);
    font-size: 15px;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-plan:hover {
    background: #E5E5EA;
}

.btn-plan.primary {
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    color: white;
}

.btn-plan.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Privacy Section
   ============================================ */
.privacy {
    padding: var(--spacing-xxxl) 0;
    background: white;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxxl);
}

.privacy-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.privacy-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-md);
}

.privacy-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.privacy-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--spacing-xxxl) 0;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: white;
}

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

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--spacing-xxxl) 0 var(--spacing-xl);
    background: #1C1C1E;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h4 {
    margin-bottom: var(--spacing-md);
    font-size: 18px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: var(--spacing-xs);
    transition: color 0.2s;
}

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

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-top: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom p {
    margin: 4px 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

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

    .phone-mockup {
        max-width: 300px;
    }

    .section-title {
        font-size: 36px;
    }

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

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

    .nav-links {
        gap: var(--spacing-md);
    }

    .nav-links a:not(.btn-primary-small) {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 32px;
    }
}
