/* =============================================
   MONELY - SITE STYLES
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --secondary: #0F766E;
    --accent: #14B8A6;

    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-dark: #111827;

    --success: #10B981;
    --error: #EF4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #10B981 0%, #0F766E 100%);
    --gradient-hero: linear-gradient(135deg, #ECFDF5 0%, #F0FDFA 100%);

    /* 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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;

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

    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:active {
    transform: translateY(0);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    padding-top: 120px;
    padding-bottom: var(--section-padding);
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 56px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-text h1 .highlight {
    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: 32px;
    max-width: 500px;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1F2937;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
}

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

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.app-preview {
    padding: 20px;
}

.app-header-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.app-logo-preview {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.app-balance {
    background: var(--gradient-primary);
    padding: 24px;
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 16px;
}

.balance-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.balance-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
}

.app-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-card {
    background: var(--bg-secondary);
    padding: 16px;
    border-radius: var(--radius-md);
}

.mini-icon {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
}

.mini-card.income .mini-icon {
    color: var(--success);
}

.mini-card.expense .mini-icon {
    color: var(--error);
}

.mini-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.mini-value {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 60px;
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* =============================================
   WAITLIST SECTION
   ============================================= */
.waitlist {
    padding: var(--section-padding) 0;
    background: var(--bg-dark);
    color: white;
}

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

.waitlist h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.waitlist > .container > .waitlist-content > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.waitlist-form {
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font-body);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: var(--transition);
}

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

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.form-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 16px;
}

.waitlist-count {
    font-size: 16px;
    color: var(--primary-light);
    margin-top: 24px;
    font-weight: 500;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-message svg {
    color: var(--primary);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.7);
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: 60px 0 30px;
    background: var(--bg-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 8px;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

/* =============================================
   PRIVACY PAGE
   ============================================= */
.privacy-page {
    padding-top: 120px;
    padding-bottom: var(--section-padding);
    min-height: 100vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.privacy-content .last-updated {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.privacy-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.privacy-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.privacy-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.privacy-content li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.privacy-content a {
    color: var(--primary);
}

.privacy-content a:hover {
    text-decoration: underline;
}

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

    .hero-text h1 {
        font-size: 44px;
    }

    .hero-description {
        max-width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 36px;
    }

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

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

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

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

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

    .form-group button {
        width: 100%;
    }

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

    .waitlist h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .badge {
        font-size: 12px;
    }

    .phone-mockup {
        width: 200px;
        height: 400px;
    }

    .balance-value {
        font-size: 22px;
    }
}
