/* Wintercraft Mobile - Shared Styles */

:root {
    --ice-blue: #0ea5e9;
    --frost: #22d3ee;
    --deep-navy: #0b1829;
    --slate: #475569;
    --light-bg: #f8fafc;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    color: var(--deep-navy);
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 0 !important;
    }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
}

.navbar.is-fixed-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 30;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-svg {
    width: 45px;
    height: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--deep-navy);
}

/* Hero Section */
.hero-modern {
    min-height: auto;
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: clamp(24px, 5vw, 56px);
}

.hero-modern .columns {
    align-items: center;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 3rem 1.5rem;
}

.hero-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary-large {
    background: white;
    color: var(--ice-blue);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    color: var(--ice-blue);
}

.location-highlight {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

/* Stats Section */
.stats-section {
    background: white;
    transform: translateY(-60px);
    margin-bottom: -60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 1.5rem;
}

@media (max-width: 768px) {
    .stats-section {
        transform: translateY(-30px);
        margin-bottom: -30px;
        padding: 1.5rem 1rem;
    }
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

.stat-label {
    color: var(--slate);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 480px) {
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 3rem 0;
    }
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--ice-blue);
}

@media (max-width: 768px) {
    .benefit-card {
        margin-bottom: 1rem;
    }
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: white;
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 3rem 0;
    }
}

.timeline-step {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 3rem;
    width: 2px;
    height: calc(100% + 3rem);
    background: linear-gradient(180deg, var(--ice-blue), transparent);
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

/* ZIP Checker */
.zip-checker-card {
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    border-radius: 20px;
    padding: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.zip-checker-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.zip-input-wrapper {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.zip-input {
    background: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
    width: 100%;
}

.zip-btn {
    background: var(--deep-navy);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zip-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-icon {
    transition: transform 0.3s ease;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--deep-navy), #1e293b);
    padding: 5rem 0;
    color: white;
    text-align: center;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 1rem;
    }
}

/* Modal */
.modal-card {
    border-radius: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-card-head {
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    color: white;
    border: none;
}

.modal-card-title {
    color: white;
}

.delete {
    background: rgba(255, 255, 255, 0.3);
}

.delete::before,
.delete::after {
    background-color: white;
}

/* PWC Fieldset */
.pwc-fieldset {
    background: var(--light-bg);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.pwc-legend {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.remove-btn {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.service-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.service-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-check input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    accent-color: var(--ice-blue);
}

/* Honeypot */
.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Bulma Overrides */
.button.is-primary {
    background: linear-gradient(135deg, var(--ice-blue), var(--frost));
    border: none;
    font-weight: 700;
}

.input:focus,
.textarea:focus,
.select select:focus {
    border-color: var(--ice-blue);
    box-shadow: 0 0 0 0.125em rgba(14, 165, 233, 0.25);
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--ice-blue);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-modern {
        min-height: auto;
        padding-top: 70px;
    }

    .hero-content-wrapper {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .btn-primary-large {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .timeline-step {
        padding-left: 3rem;
    }

    .zip-checker-card {
        padding: 2rem 1rem;
    }

    .zip-input-wrapper {
        max-width: 100%;
    }

    .zip-input {
        font-size: 1rem;
    }

    .zip-btn {
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
    }

    .title.is-size-2 {
        font-size: 1.75rem !important;
    }

    .title.is-size-3 {
        font-size: 1.5rem !important;
    }
}