/* Modal Backdrop and Modal Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-backdrop[style*="display: flex"] {
    opacity: 1 !important;
    pointer-events: auto;
}
.waitlist-modal {
    background: white;
    border-radius: 16px;
    padding: 48px;
    max-width: 500px;
    width: 90vw;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    transform: scale(1);
    transition: transform 0.3s ease;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E8B8B;
    --primary-light: #5FBFBF;
    --secondary-color: #90E0D3;
    --accent-color: #FFD700;
    --text-dark: #1A1A1A;
    --text-medium: #4A4A4A;
    --text-light: #7A7A7A;
    --background: #FFFFFF;
    --background-light: #F8FFFE;
    --border-light: #E5F3F3;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--background);
    color: var(--primary-color);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--background-light);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.nav-brand-link:hover {
    opacity: 0.8;
}

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

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 1px;
    transition: all 0.2s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(94, 191, 191, 0.05) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1A1A1A;
    border-radius: 40px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

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

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.indicators {
    display: flex;
    gap: 4px;
}

.signal, .battery {
    width: 18px;
    height: 10px;
    background: var(--text-dark);
    border-radius: 2px;
}

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

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

.app-header h2 {
    font-size: 18px;
    margin: 0;
}

.budget-overview {
    text-align: center;
    margin-bottom: 20px;
}

.total-budget {
    margin-bottom: 20px;
}

.total-budget .amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.total-budget .label {
    color: var(--text-light);
    font-size: 14px;
}

.spent-left {
    display: flex;
    justify-content: space-around;
}

.spent .amount.red {
    color: var(--error-color);
}

.left .amount.green {
    color: var(--success-color);
}

.spent .amount, .left .amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
}

.spent .label, .left .label {
    color: var(--text-light);
    font-size: 12px;
}

.progress-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--error-color), var(--warning-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.cards-list {
    margin-top: 30px;
}

.card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--background-light);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.card-name {
    display: block;
    font-weight: 500;
    font-size: 14px;
}

.card-budget {
    font-size: 12px;
    color: var(--text-light);
}

.card-amounts {
    text-align: right;
}

.card-amounts .spent {
    display: block;
    font-size: 14px;
    color: var(--error-color);
    font-weight: 500;
}

.card-amounts .left {
    font-size: 12px;
    color: var(--success-color);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: var(--background);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--background-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

.pricing-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 48px;
    background: var(--background);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-lg);
    text-align: center;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 24px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-medium);
}

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

.period {
    font-size: 1.25rem;
    color: var(--text-light);
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 8px 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 24px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 600;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 16px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

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

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: white;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto 16px;
}

.email-input {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
}

.cta-form .btn-primary {
    background: white;
    color: var(--primary-color);
}

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

/* Footer */
.footer {
    padding: 48px 0 24px;
    background: var(--text-dark);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-name {
    color: white;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        gap: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--background-light);
        text-align: center;
    }

    .nav-links .nav-link:last-child {
        border-bottom: none;
    }

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

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

    .phone-mockup {
        width: 250px;
        height: 500px;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .feature-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

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