/* ============================================
   Invoice Maker Website Styles
   ============================================ */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --secondary: #F59E0B;
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-light: #8888a0;
    --background: #ffffff;
    --background-alt: #f8f9fc;
    --border: #e8e8f0;
    --success: #00c853;
    --warning: #ffab00;
    --error: #ff5252;

    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
}

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

a:hover { color: var(--primary-dark); }

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

ul, ol { padding-left: 1.5em; }

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    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 var(--border);
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), #60A5FA);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    padding: 0;
}

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

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

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

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.apple-icon {
    width: 24px;
    height: 24px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #f0f5ff 0%, #ffffff 100%);
}

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content .highlight { color: var(--primary); }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons { margin-bottom: 16px; }

.hero-note {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Phone Mockup */
.phone-mockup {
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    background: #f8f9fc;
    border-radius: 30px;
    padding: 20px;
    min-height: 500px;
}

.app-preview { padding: 10px 0; }

.preview-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.preview-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.preview-badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}

.preview-invoice {
    background: white;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.invoice-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.invoice-client {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

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

.invoice-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.invoice-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.status-paid {
    background: #e6f7ed;
    color: #00873c;
}

.status-sent {
    background: #e6f0ff;
    color: var(--primary);
}

.status-overdue {
    background: #fff0f0;
    color: #cc0000;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

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

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

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

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

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

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

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

/* ============================================
   Pro Section
   ============================================ */
.pro-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #1e3a5f 100%);
    color: white;
}

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

.pro-badge {
    display: inline-block;
    background: var(--secondary);
    color: #1a1a2e;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pro-content > p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.pro-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.pro-features-list li {
    padding: 12px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-features-list li::before {
    content: "\2713";
    color: var(--secondary);
    margin-right: 12px;
    font-weight: bold;
}

.pricing {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.price-option {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 24px 32px;
    text-align: center;
    position: relative;
}

.price-option.featured {
    background: var(--primary);
    transform: scale(1.05);
}

.save-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: #1a1a2e;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.price {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
}

.period {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   Languages Section
   ============================================ */
.languages {
    padding: 80px 0;
    text-align: center;
}

.language-flags {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 2.5rem;
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: 100px 0;
    text-align: center;
    background: var(--background-alt);
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.download p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 0 40px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--primary), #60A5FA);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a { color: rgba(255, 255, 255, 0.8); }

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

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 8px;
}

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

/* ============================================
   Legal Pages
   ============================================ */
.legal-page {
    padding: 120px 0 80px;
}

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

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 48px;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
}

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

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-content li { margin-bottom: 8px; }

.contact-list { list-style: none; padding: 0; }

.contact-list li { margin-bottom: 12px; }

.company-info {
    background: var(--background-alt);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 24px;
    color: var(--text-secondary);
}

.summary-box {
    background: var(--background-alt);
    padding: 32px;
    border-radius: var(--border-radius);
    margin-top: 48px;
}

.summary-box h2 {
    border: none;
    padding-top: 0;
    margin-bottom: 24px;
}

.privacy-summary {
    width: 100%;
    border-collapse: collapse;
}

.privacy-summary td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.privacy-summary td:last-child { text-align: right; }

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-green { background: #e6f7ed; color: #00873c; }
.badge-blue { background: #e6f0ff; color: #0052cc; }
.badge-yellow { background: #fff8e1; color: #b45309; }

.warning-box {
    background: #fff8e6;
    border-left: 4px solid var(--warning);
    padding: 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    margin: 24px 0;
}

/* ============================================
   Support Page
   ============================================ */
.support-page {
    padding: 120px 0 80px;
}

.support-page h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 8px;
}

.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 48px;
}

.contact-card {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 48px;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
}

.contact-card h2 { margin-bottom: 12px; }

.contact-card p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.contact-card .btn {
    background: white;
    color: var(--primary);
}

.contact-card .btn:hover { background: var(--background-alt); }

.response-time {
    margin-top: 16px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.faq-section { margin-bottom: 60px; }

.faq-section h2 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.faq-category h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.faq-item { margin-bottom: 24px; }

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.faq-item p,
.faq-item ul,
.faq-item ol {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-request {
    text-align: center;
    padding: 60px;
    background: var(--background-alt);
    border-radius: var(--border-radius);
    margin-bottom: 60px;
}

.feature-request h2 { margin-bottom: 12px; }

.feature-request p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-item {
    background: var(--background-alt);
    padding: 24px;
    border-radius: var(--border-radius);
    text-align: center;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-item a { font-weight: 600; }

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

    .hero-subtitle { margin: 0 auto 32px; }

    .hero-image { order: -1; }

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

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

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

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

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 { font-size: 2.5rem; }

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

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

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

    .price-option.featured { transform: none; }

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

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

@media (max-width: 480px) {
    .hero { padding: 140px 0 60px; }

    .hero-content h1 { font-size: 2rem; }

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

    .btn-large {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .language-flags {
        font-size: 2rem;
        gap: 12px;
    }
}
