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

:root {
    /* Nudge App Neobrutalism Color Palette */
    /* Base Colors */
    --background: #FFFFF8; /* Slightly warm white */
    --surface: #FFFFFF;
    --surface-variant: #F8F8F8;

    /* Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --text-tertiary: #999999;

    /* Strategic Bright Pops */
    --primary: #6366F1; /* Indigo */
    --primary-dark: #4F46E5;
    --accent: #6366F1; /* Use primary indigo for accents */
    --accent-dark: #4F46E5;

    /* Status Colors */
    --success: #10B981; /* Emerald */
    --success-dark: #059669;
    --warning: #F59E0B; /* Amber */
    --warning-dark: #D97706;
    --error: #EF4444; /* Red */
    --error-dark: #DC2626;

    /* Fundability Score Tier Colors */
    --diamond: #8B5CF6; /* Purple */
    --gold: #F59E0B; /* Gold/Amber */
    --silver: #6B7280; /* Gray */
    --bronze: #D97706; /* Orange */

    /* Reminder Theme (Yellow) */
    --reminder-bg: #FFFBEB; /* Very light yellow */
    --reminder-surface: #FEF3C7; /* Light yellow */
    --reminder-primary: #FBBF24; /* Bright yellow */
    --reminder-accent: #FFD93D; /* Vivid yellow */

    /* Neutral Grays */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;

    /* Neobrutalism Specific */
    --black: #000000;
    --white: #FFFFFF;
    --border: 3px solid var(--black);
    --shadow: 6px 6px 0 var(--black);
    --shadow-sm: 3px 3px 0 var(--black);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--white);
    border-bottom: var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 24px;
}

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

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

.nav a:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border: var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--black);
}

/* Hero Section */
.hero {
    background: var(--surface);
    padding: 80px 0;
    border-bottom: var(--border);
}

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

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.highlight {
    color: var(--text-primary);
    background: var(--reminder-primary);
    padding: 0 12px;
    border: var(--border);
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.btn-hero {
    background: var(--accent);
    color: var(--white);
    padding: 18px 36px;
    border: var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-hero:hover {
    background: var(--accent-dark);
    transform: translate(4px, 4px);
    box-shadow: 3px 3px 0 var(--black);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    padding: 18px 36px;
    border: var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translate(4px, 4px);
    box-shadow: 3px 3px 0 var(--black);
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Phone Mockup */
.phone-mockup {
    background: var(--text-primary);
    border: var(--border);
    border-radius: 40px;
    padding: 16px;
    box-shadow: var(--shadow);
    max-width: 350px;
    margin: 0 auto;
}

.phone-screen {
    background: var(--background);
    border-radius: 28px;
    overflow: hidden;
    height: 600px;
}

.app-preview {
    padding: 20px;
}

.preview-header {
    margin-bottom: 24px;
}

.score-badge {
    background: var(--primary);
    color: var(--white);
    border: 3px solid var(--black);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.score-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0.9;
}

.score-value {
    display: block;
    font-size: 48px;
    font-weight: 900;
}

.preview-reminders {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reminder-card {
    background: var(--surface);
    border: 3px solid var(--black);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reminder-info {
    flex: 1;
}

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

.reminder-amount {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
}

.reminder-status {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Problem Section */
.problem {
    background: var(--gray-50);
    padding: 80px 0;
    border-bottom: var(--border);
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--surface);
    border: var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--black);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary);
}

.problem-icon i {
    display: block;
}

.problem-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    background: var(--surface);
    padding: 80px 0;
    border-bottom: var(--border);
}

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

.feature-card {
    background: var(--surface);
    border: var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    border-left: 8px solid var(--primary);
}

.feature-card:nth-child(1) {
    border-left-color: var(--warning);
}

.feature-card:nth-child(2) {
    border-left-color: var(--primary);
}

.feature-card:nth-child(3) {
    border-left-color: var(--primary);
}

.feature-card:nth-child(4) {
    border-left-color: var(--diamond);
}

.feature-card:nth-child(5) {
    border-left-color: var(--bronze);
}

.feature-card:nth-child(6) {
    border-left-color: var(--primary);
}

.feature-card:nth-child(7) {
    border-left-color: var(--warning);
}

.feature-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0 var(--black);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-icon i {
    display: block;
}

/* Color icons to match border */
.feature-card:nth-child(1) .feature-icon {
    color: var(--warning);
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--primary);
}

.feature-card:nth-child(3) .feature-icon {
    color: var(--primary);
}

.feature-card:nth-child(4) .feature-icon {
    color: var(--diamond);
}

.feature-card:nth-child(5) .feature-icon {
    color: var(--bronze);
}

.feature-card:nth-child(6) .feature-icon {
    color: var(--primary);
}

.feature-card:nth-child(7) .feature-icon {
    color: var(--warning);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.feature-tag {
    display: inline-block;
    background: var(--text-primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* How It Works */
.how-it-works {
    background: var(--gray-50);
    padding: 80px 0;
    border-bottom: var(--border);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: var(--surface);
    border: var(--border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow);
    max-width: 280px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border: var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
}

/* Fundability Section */
.fundability {
    background: var(--surface);
    padding: 80px 0;
    border-bottom: var(--border);
}

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

.score-meter {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: var(--border);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.score-display {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
}

.score-label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
    opacity: 0.95;
}

.score-bar {
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid var(--black);
    height: 24px;
    margin-bottom: 16px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.score-fill {
    background: var(--warning);
    height: 100%;
    border-right: 3px solid var(--black);
    transition: width 1s ease;
}

.score-tiers {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    opacity: 0.9;
}

.score-tiers .active {
    color: var(--reminder-primary);
    font-size: 14px;
}

.fundability-text h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.fundability-text p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.fundability-benefits {
    list-style: none;
    margin-bottom: 24px;
}

.fundability-benefits li {
    font-size: 18px;
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-primary);
    position: relative;
}

.fundability-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 24px;
    font-weight: 900;
}

.fundability-note {
    background: var(--reminder-surface);
    border: 3px solid var(--black);
    border-radius: 12px;
    padding: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* CTA Section */
.cta {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0;
    border-bottom: var(--border);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 16px;
}

.btn-cta {
    background: var(--white);
    color: var(--text-primary);
    padding: 18px 36px;
    border: var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.btn-cta:hover {
    background: var(--gray-50);
    transform: translate(4px, 4px);
    box-shadow: 3px 3px 0 var(--black);
}

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

.cta-note {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-weight: 500;
    opacity: 0.8;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.2s;
}

.footer-column a:hover {
    opacity: 1;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content,
    .fundability-content {
        grid-template-columns: 1fr;
    }

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

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

    .nav {
        gap: 15px;
    }

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

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
