/* ClearLease Global Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
    color: #1e293b;
}

/* Navigation */
nav {
    background: #0f172a;
    padding: 1.0rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav .logo {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
}

nav .nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #3b82f6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 160px 5% 120px;
    text-align: center;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1 {
    font-size: 1.75rem;
    margin-bottom: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Page Hero (smaller, for interior pages) */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 140px 5% 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 5%;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #64748b;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.0rem;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.cta-button-outline {
    display: inline-block;
    background: transparent;
    color: #3b82f6;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.0rem;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #3b82f6;
}

.cta-button-outline:hover {
    background: #3b82f6;
    color: white;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* How It Works */
.how-it-works {
    padding: 100px 5%;
    background: #ffffff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #0f172a;
    font-weight: 700;
}

.step p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Value Proposition */
.value-prop {
    background: #f8fafc;
    padding: 100px 5%;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.value-card h3 {
    color: #3b82f6;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.value-card p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 5%;
    background: white;
}

.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6 0%, #1e3a8a 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    background: #f8fafc;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.timeline-content:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: 4px solid white;
}

.timeline-content h3 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.timeline-content p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* BMW Specialty Section */
.bmw-specialty {
    padding: 100px 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
}

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

.specialty-content .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.specialty-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.specialty-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.specialty-feature {
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.specialty-feature:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.specialty-feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.specialty-feature p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.specialty-note {
    text-align: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid white;
}

/* What's Included */
.whats-included {
    padding: 100px 5%;
    background: white;
}

.included-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.included-item {
    display: flex;
    align-items: start;
    padding: 1.3rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.included-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.check-icon {
    color: #10b981;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.included-item p {
    font-size: 1.1rem;
    color: #334155;
    font-weight: 500;
}

/* FAQ Section */
.faq {
    padding: 100px 5%;
    background: #f8fafc;
}

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

.faq-item {
    background: white;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.faq-item h3 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.faq-item p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Lease Guides Section */
.lease-guides {
    padding: 100px 5%;
    background: white;
}

.lease-guides .section-title {
    margin-bottom: 1.5rem;
}

.guides-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.7;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background: #f8fafc;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.guide-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.guide-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guide-icon {
    font-size: 2rem;
}

.guide-card-header h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}

.guide-card-body {
    padding: 2rem;
}

.guide-card-body p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.guide-topics {
    list-style: none;
}

.guide-topics li {
    padding: 0.6rem 0;
    color: #334155;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.guide-topics li:last-child {
    border-bottom: none;
}

.guide-topics li::before {
    content: "→";
    color: #3b82f6;
    font-weight: 700;
}

.guide-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: #f1f5f9;
    border-radius: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-cta p {
    font-size: 1.2rem;
    color: #334155;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Guide Article Styles */
.guide-article {
    padding: 80px 5%;
    background: white;
}

.guide-article-container {
    max-width: 800px;
    margin: 0 auto;
}

.guide-article h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

.guide-article h3 {
    font-size: 1.4rem;
    color: #1e293b;
    margin: 2rem 0 0.75rem;
    font-weight: 600;
}

.guide-article p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.guide-article ul, .guide-article ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.guide-article li {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.guide-article .highlight-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.guide-article .highlight-box p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}

.guide-article .formula-box {
    background: #0f172a;
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.guide-article .formula-box code {
    font-size: 1.3rem;
    font-family: 'SF Mono', Monaco, monospace;
}

.guide-article .warning-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

.guide-article .warning-box p {
    margin: 0;
    color: #92400e;
    font-weight: 500;
}

.guide-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
}

.guide-article th, .guide-article td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.guide-article th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}

.guide-article td {
    color: #475569;
}

.guide-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
    gap: 1rem;
}

.guide-nav a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-nav a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background: #0f172a;
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.submit-button {
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.submit-button:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Footer */
footer {
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 5%;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
}

footer a:hover {
    color: #3b82f6;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.footer-contact a {
    margin: 0 1rem;
    font-size: 1.1rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    margin: 0 1rem;
}

/* Hero Contact */
.hero-contact {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-contact a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hero-contact a:hover {
    text-decoration: underline;
}

/* Nav Phone */
.nav-phone {
    background: rgba(59, 130, 246, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    nav {
        padding: 0.75rem 4%;
        flex-direction: row;
    }
    
    nav .logo {
        font-size: 1rem;
    }
    
    nav .nav-links a {
        margin-left: 0.5rem;
        font-size: 0.7rem;
    }
    
    nav .nav-links .nav-phone {
        display: none;
    }
    
    .hero {
        padding: 100px 5% 50px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        word-spacing: 0.05em;
        letter-spacing: -0.01em;
    }
    
    .hero h1 br {
        display: none;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-contact {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
    
    .page-hero {
        padding: 80px 5% 30px;
    }
    
    .page-hero h1 {
        font-size: 1.5rem;
    }
    
    .page-hero p {
        font-size: 0.95rem;
    }
    
    .cta-button {
        font-size: 0.95rem;
        padding: 0.85rem 1.5rem;
        width: 100%;
        max-width: 280px;
        display: block;
        margin: 0 auto;
    }
    
    .how-it-works,
    .value-prop,
    .timeline-section,
    .bmw-specialty,
    .whats-included,
    .faq,
    .lease-guides,
    .contact {
        padding: 50px 5%;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
    }
    
    .step h3 {
        font-size: 1.3rem;
    }
    
    .step p {
        font-size: 1rem;
    }
    
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .value-card {
        padding: 1.5rem;
        min-height: 140px;
    }
    
    .value-card h3 {
        font-size: 1.6rem;
    }
    
    .value-card p {
        font-size: 0.85rem;
    }
    
    /* Timeline mobile */
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding-left: 70px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-number {
        left: 30px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* BMW Specialty mobile */
    .specialty-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .specialty-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .specialty-feature {
        padding: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .specialty-note {
        font-size: 0.95rem;
        padding: 1.25rem;
    }
    
    /* What's Included mobile */
    .included-list {
        grid-template-columns: 1fr;
    }
    
    .included-item {
        padding: 1rem;
    }
    
    .included-item p {
        font-size: 1rem;
    }
    
    /* FAQ mobile */
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }

    /* Lease Guides mobile */
    .guides-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

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

    .guide-card-header {
        padding: 1.25rem 1.5rem;
    }

    .guide-card-header h3 {
        font-size: 1.15rem;
    }

    .guide-card-body {
        padding: 1.5rem;
    }

    .guide-card-body p {
        font-size: 0.95rem;
    }

    .guide-cta {
        padding: 2rem 1.5rem;
        margin-top: 2.5rem;
    }

    .guide-cta p {
        font-size: 1rem;
    }

    /* Guide Article mobile */
    .guide-article {
        padding: 40px 5%;
    }

    .guide-article h2 {
        font-size: 1.5rem;
    }

    .guide-article h3 {
        font-size: 1.2rem;
    }

    .guide-article p {
        font-size: 1rem;
    }

    .guide-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Contact mobile */
    .contact h2 {
        font-size: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem;
        font-size: 16px;
    }
    
    .submit-button {
        width: 100%;
        font-size: 1rem;
    }

    /* Footer mobile */
    footer {
        padding: 1.5rem 5%;
    }

    footer p {
        font-size: 0.8rem;
    }

    .footer-logo {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-contact {
        margin-bottom: 1rem;
    }

    .footer-contact a {
        display: block;
        margin: 0.4rem 0;
        font-size: 0.9rem;
    }

    .footer-links {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        margin: 0 0.5rem;
        font-size: 0.85rem;
    }
}
