/*
Theme Name: Justsigncars
Theme URI: https://justsigncars.com
Author: Adam Huber
Author URI: https://justsigncars.com
Description: Custom theme for Justsigncars concierge car-buying service. HTML/CSS-first design with WordPress integration for SEO and content management.
Version: 1.0
License: All Rights Reserved
Text Domain: justsigncars
*/

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

:root {
    --primary: #0F2847;
    --accent: #22C55E;
    --accent-dark: #16A34A;
    --text: #1F2937;
    --text-light: #6B7280;
    --bg-light: #FAFBFC;
    --border: #E5E7EB;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: white;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 60px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 50px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.main-nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    padding: 120px 60px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-body {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 550px;
}

.price-box {
    background: var(--primary);
    color: white;
    padding: 32px 40px;
    display: inline-block;
    margin-bottom: 50px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    transform: skewX(-2deg);
    box-shadow: 0 20px 40px rgba(15, 40, 71, 0.15);
}

.cta-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.5px;
}

.cta-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.3);
}

/* Pain Section */
.pain-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 70px;
    letter-spacing: -0.5px;
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.pain-card {
    padding: 50px 40px;
    border-left: 4px solid var(--accent);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pain-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.pain-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* How It Works */
.how-section {
    padding: 100px 60px;
    background: white;
}

.steps-container {
    max-width: 1100px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.step {
    animation: fadeInUp 0.6s ease;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 28px;
    margin-bottom: 24px;
}

.step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.step p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

.how-graphic {
    text-align: center;
    margin-top: 60px;
}

.how-graphic img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Why Us */
.why-section {
    padding: 100px 60px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.why-container {
    max-width: 850px;
    margin: 0 auto;
}

.why-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.why-content p {
    margin-bottom: 24px;
}

.credentials {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--accent);
}

/* Pricing Section (Homepage) */
.pricing-section {
    padding: 100px 60px;
    background: white;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}

.price-headline {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.price-subline {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 60px;
    max-width: 600px;
}

.pricing-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.pricing-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.pricing-col ul {
    list-style: none;
}

.pricing-col li {
    padding: 12px 0;
    color: var(--text-light);
    font-size: 14px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.pricing-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
}

/* Service Area */
.area-section {
    padding: 100px 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
    color: white;
}

.area-container {
    max-width: 1100px;
    margin: 0 auto;
}

.area-section .section-header {
    color: white;
    margin-bottom: 60px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.city {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.city:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.area-subline {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 30px;
}

/* FAQ */
.faq-section {
    padding: 100px 60px;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 28px 0;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease;
    font-size: 16px;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-toggle {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0.0, 0.2, 1), padding 0.4s ease;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 0 28px 0;
    max-height: 500px;
}

/* Form Section */
.form-section {
    padding: 100px 60px;
    background: var(--primary);
    color: white;
    text-align: center;
}

.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.form-subline {
    font-size: 16px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    color: var(--text);
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

.form-submit {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 0.5px;
}

.form-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

/* Pricing Page Specific */
.pricing-hero {
    padding: 120px 60px;
    text-align: center;
    background: var(--bg-light);
    animation: fadeInUp 0.8s ease;
}

.pricing-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--primary);
}

.pricing-hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-page section {
    padding: 100px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-display {
    text-align: center;
    margin-bottom: 100px;
    padding: 60px;
    background: linear-gradient(135deg, #f0fdf4 0%, #f7f9f3 100%);
    border-left: 4px solid var(--accent);
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 96px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.price-subtext {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.price-promise {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 100px;
}

.pricing-box {
    padding: 40px;
}

.pricing-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.pricing-box.included {
    background: #f0fdf4;
    border-left: 4px solid var(--accent);
}

.pricing-box.not-included {
    background: #f9fafb;
    border-left: 4px solid var(--border);
}

.pricing-list {
    list-style: none;
}

.pricing-list li {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.pricing-list li::before {
    display: inline-block;
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

.pricing-box.included li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.pricing-box.not-included li::before {
    content: '—';
    color: var(--text-light);
}

.responsibility-section {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 40px;
    margin-bottom: 100px;
}

.responsibility-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #92400e;
    letter-spacing: -0.5px;
}

.responsibility-section p {
    font-size: 15px;
    color: #78350f;
    line-height: 1.8;
    margin-bottom: 16px;
}

.responsibility-list {
    list-style: none;
    margin-top: 20px;
}

.responsibility-list li {
    padding: 8px 0;
    font-size: 15px;
    color: #78350f;
    padding-left: 20px;
    position: relative;
}

.responsibility-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    margin-top: 60px;
    padding: 16px 48px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
}

.cta-button:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

/* Footer */
.site-footer {
    background: #0a1828;
    color: #9CA3AF;
    padding: 60px;
    text-align: center;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    text-align: left;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
}

.footer-col p {
    color: #9CA3AF;
    font-size: 13px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: #6B7280;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }

    .main-nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero, .pricing-hero {
        padding: 60px 30px;
    }

    .hero h1, .pricing-hero h1 {
        font-size: 42px;
    }

    .price-amount {
        font-size: 64px;
    }

    .section-header {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .pain-grid,
    .steps-grid,
    .pricing-details,
    .cities-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    section, .pricing-page section {
        padding: 60px 30px;
    }
}
