/* ============================================================
   1 Day Websites — Global Theme
   Color: Cloud Dancer + Warm Grey (Stark/Minimal)
   Base: Pico CSS v2
   ============================================================ */

:root {
    /* Brand Colors */
    --brand-bg: #f0efeb;
    --brand-accent: #4a6275;
    --brand-accent-hover: #3b5060;
    --brand-accent-focus: rgba(74, 98, 117, 0.2);
    --brand-navy: #1a2a3a;
    --brand-green: #5a7a64;
    --brand-red: #a85454;

    /* Surface Colors */
    --surface-light: #f0efeb;
    --surface-white: #ffffff;
    --surface-border: #ddd9d3;
    --surface-border-dark: #c5c0b9;

    /* Text Colors */
    --text-dark: #4a4540;
    --text-heading: #3a3530;
    --text-muted: #6e6862;
    --text-light: #ffffff;
    --text-light-muted: #c5c0b9;

    /* Pico CSS Overrides */
    --pico-primary: var(--brand-accent);
    --pico-primary-hover: var(--brand-accent-hover);
    --pico-primary-focus: var(--brand-accent-focus);
    --pico-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pico-border-radius: 0.5rem;
}

/* ============================================================
   Base Overrides
   ============================================================ */
body {
    font-family: var(--pico-font-family);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--surface-white);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Electrolize', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

input, textarea, select {
    color: var(--text-dark) !important;
}

input::placeholder, textarea::placeholder {
    color: var(--text-muted) !important;
    opacity: 1;
}

a {
    color: var(--brand-accent);
    text-decoration: none;
}

a:hover {
    color: var(--brand-accent-hover);
}

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

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
    background: var(--surface-white);
    padding: 0.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--surface-border);
}

main {
    padding: 0;
    margin: 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 1.15rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    background: var(--brand-accent);
    color: white;
    font-weight: 800;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.brand-text {
    color: var(--text-heading);
}

.brand-logo {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

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

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

.nav-btn-secondary {
    padding: 0.4rem 1rem;
    border: 1px solid var(--surface-border);
    border-radius: 0.375rem;
    transition: all 0.2s;
}

.nav-btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text-heading) !important;
}

.nav-btn-primary {
    padding: 0.4rem 1.25rem !important;
    background: var(--brand-accent) !important;
    color: white !important;
    border-radius: 0.375rem;
    font-weight: 600 !important;
    transition: background 0.2s;
}

.nav-btn-primary:hover {
    background: var(--brand-accent-hover) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-heading);
    transition: all 0.3s;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--brand-accent);
    color: white !important;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--brand-accent-hover);
    color: white !important;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: transparent;
    color: var(--text-heading) !important;
    border: 2px solid var(--surface-border);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--text-muted);
    color: var(--text-heading) !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--surface-border);
    color: var(--text-heading) !important;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--surface-border-dark);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--surface-white);
}

.section-dark {
    background: var(--surface-light);
    color: var(--text-dark);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.section-header-light h2 {
    color: var(--text-heading);
}

.section-header-light p {
    color: var(--text-muted);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    background: var(--surface-light);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(74, 98, 117, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-heading);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.text-accent {
    color: var(--brand-accent);
}

.text-accent-sm {
    color: var(--brand-accent);
    font-size: 0.5em;
    display: block;
    margin-top: -0.2em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-item svg {
    fill: var(--brand-accent) !important;
}

/* ============================================================
   Steps / How It Works
   ============================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--brand-accent);
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

/* ============================================================
   Features Grid
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--surface-white);
    border: 1px solid var(--surface-border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--brand-accent);
}

.feature-icon {
    color: var(--brand-accent);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   Pages Grid
   ============================================================ */
.pages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--surface-light);
    border: 1px solid var(--surface-border);
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.page-tag svg {
    color: var(--brand-accent);
    flex-shrink: 0;
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-card-wrapper {
    max-width: 520px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--surface-border);
}

.pricing-header {
    text-align: center;
    padding: 2.5rem 2rem 2rem;
}

.pricing-label {
    display: inline-block;
    background: var(--brand-accent);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.pricing-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-features {
    padding: 0 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--surface-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    flex-shrink: 0;
}

.pricing-footer {
    padding: 2rem;
    text-align: center;
}

.pricing-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.pricing-addon {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.pricing-addon h3 {
    color: var(--text-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pricing-addon p {
    font-size: 0.95rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--surface-border);
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: var(--surface-light);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
    color: var(--brand-accent) !important;
}

.faq-item summary:hover {
    background: var(--surface-white);
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
    display: none;
    content: '';
}

.faq-item summary::after {
    content: '›' !important;
    background-image: none !important;
    font-size: 1.5rem;
    font-weight: 300;
    width: auto !important;
    height: auto !important;
    color: var(--text-muted);
    transition: transform 0.2s;
    transform: rotate(0deg) !important;
    float: none !important;
}

.faq-item[open] summary::after {
    content: '›' !important;
    background-image: none !important;
    transform: rotate(90deg) !important;
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ============================================================
   CTA Section
   ============================================================ */
.section-cta {
    background: var(--surface-light);
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid var(--surface-border);
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* ============================================================
   Flash Messages
   ============================================================ */
.flash {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.flash-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0 0.25rem;
}

.flash-close:hover {
    opacity: 1;
}

/* ============================================================
   Error Pages
   ============================================================ */
.error-page {
    text-align: center;
    padding: 6rem 0;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
}

.error-page p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: var(--surface-light);
    color: var(--text-muted);
    padding: 4rem 0 0;
    border-top: 1px solid var(--surface-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--surface-border);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--text-heading);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

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

.footer-contact p {
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--brand-accent);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-white);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0.75rem;
        border-top: 1px solid var(--surface-border);
    }

    .site-nav.open .nav-links {
        display: flex;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

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

    .section {
        padding: 3.5rem 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .pricing-number {
        font-size: 3rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}
