/* Curb Appeal Unlimited - Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --asphalt: #1a1a2e;
    --stripe-yellow: #F5C518;
    --stripe-white: #f0f0f0;
    --concrete: #e8e4df;
    --warm-gray: #6b6570;
    --desert-orange: #D4724E;
    --sky: #87CEEB;
    --success-green: #2ecc71;
    --error-red: #e74c3c;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--asphalt);
    background: #faf9f7;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

a { text-decoration: none; color: inherit; }

/* ==================== NAVIGATION ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(245, 197, 24, 0.1);
    transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--stripe-yellow);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.nav-cta {
    padding: 10px 24px !important;
    background: var(--stripe-yellow) !important;
    color: var(--asphalt) !important;
    font-weight: 700 !important;
    border-radius: 100px !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 197, 24, 0.4);
    background: var(--stripe-yellow) !important;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(26, 26, 46, 0.98);
        padding: 16px 24px;
        gap: 4px;
        display: none;
        border-bottom: 1px solid rgba(245, 197, 24, 0.1);
    }

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

    .nav-links a {
        display: block;
        padding: 12px 16px;
        width: 100%;
    }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

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

.btn-primary {
    background: var(--stripe-yellow);
    color: var(--asphalt);
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}

.btn-dark {
    background: var(--asphalt);
    color: #fff;
}

.btn-dark:hover {
    box-shadow: 0 8px 24px rgba(26, 26, 46, 0.4);
}

.btn-orange {
    background: var(--desert-orange);
    color: #fff;
}

.btn-orange:hover {
    box-shadow: 0 8px 24px rgba(212, 114, 78, 0.35);
}

/* ==================== STRIPE DIVIDER ==================== */
.stripe-divider {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--stripe-yellow) 0px,
        var(--stripe-yellow) 40px,
        transparent 40px,
        transparent 60px
    );
}

/* ==================== SECTION HELPERS ==================== */
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--desert-orange);
    margin-bottom: 16px;
}

.section-label.light { color: var(--stripe-yellow); }

/* ==================== PAGE HERO ==================== */
.page-hero {
    padding: 140px 24px 80px;
    background: var(--asphalt);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 48px,
            rgba(245, 197, 24, 0.06) 48px,
            rgba(245, 197, 24, 0.06) 50px
        );
    pointer-events: none;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero h1 .yellow { color: var(--stripe-yellow); }

.page-hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    line-height: 1.6;
}

/* ==================== CONTENT SECTIONS ==================== */
.content-section {
    padding: 80px 24px;
}

.content-section.alt { background: var(--concrete); }
.content-section.dark { background: var(--asphalt); color: #fff; }

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==================== FEATURE LIST ==================== */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1.05rem;
    line-height: 1.5;
}

.dark .feature-list li {
    border-bottom-color: rgba(255,255,255,0.1);
}

.feature-list .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--stripe-yellow);
    color: var(--asphalt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 2px;
}

/* ==================== PRICING HINT ==================== */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pricing-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--stripe-yellow);
    margin-bottom: 12px;
}

.pricing-card p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.5;
}

/* ==================== FOOTER ==================== */
.site-footer {
    padding: 60px 24px 40px;
    background: var(--asphalt);
    color: #fff;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--stripe-yellow);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 340px;
}

.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

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

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

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

.footer-location {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ==================== FORM STYLES ==================== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--asphalt);
}

.form-group label .required {
    color: var(--desert-orange);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: #fff;
    color: var(--asphalt);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--stripe-yellow);
    box-shadow: 0 0 0 4px rgba(245, 197, 24, 0.15);
}

.form-input::placeholder {
    color: rgba(107, 101, 112, 0.5);
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6570' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Form card wrapper */
.form-card {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
    .form-card { padding: 28px 20px; }
}

/* ==================== TOAST / ALERTS ==================== */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 24px;
    display: none;
}

.alert.success {
    background: rgba(46, 204, 113, 0.1);
    color: #1a8a4a;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.alert.visible { display: block; }

/* ==================== CTA BANNER ==================== */
.cta-banner {
    padding: 80px 24px;
    background: var(--asphalt);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 48px,
            rgba(245, 197, 24, 0.04) 48px,
            rgba(245, 197, 24, 0.04) 50px
        );
    pointer-events: none;
}

.cta-banner-inner {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.cta-banner h2 .yellow { color: var(--stripe-yellow); }

.cta-banner p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ==================== LOADING SPINNER ==================== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(26, 26, 46, 0.2);
    border-top-color: var(--asphalt);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

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