/* ============================================
   HERO: Smooth "Breathing" Gradient
   ============================================ */

.hero {
    /* 1. The Gradient: Deep Blue -> Teal -> Deep Blue */
    background: linear-gradient(
        120deg, 
        #1e3a8a, /* Deep Trust Blue */
        #0f766e, /* Calm Teal */
        #1e40af  /* Your Brand Blue */
    );

    /* 2. Make it larger so we can move it */
    background-size: 200% 200%;

    /* 3. The Animation: 8 seconds, smooth ease */
    animation: calmFlow 8s ease infinite;

    color: #ffffff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

@keyframes calmFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero h1 {
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero-description {
    font-size: 1.15rem;
    color: #dbeafe;
    max-width: 85%;
    margin: 0 auto;
    line-height: 1.8;
}


/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    margin-bottom: 1.25rem;
    text-align: center;
    color: #111827;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: #4b5563;
    font-size: 1.05rem;
}

/* Calculator Cards */
.calculator-cards {
    background-color: #f9fafb;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.card {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #1d4ed8;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.15);
    transform: translateY(-2px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    color: #111827;
}

.card p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Size Chart Preview */
.size-chart-preview {
    background-color: #ffffff;
    text-align: center;
}

/* Sizing Systems */
.sizing-systems {
    background-color: #f9fafb;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.system-item {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.system-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.system-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.system-item p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Measurement Guidance */
.measurement-guidance {
    background-color: #ffffff;
}

.measurement-steps {
    max-width: 650px;
    margin: 2rem auto;
    text-align: left;
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.measurement-steps li {
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.7;
}

/* Brand & Fit Awareness */
.brand-fit-awareness {
    background-color: #fffbeb;
}

.fit-factors {
    max-width: 650px;
    margin: 1.5rem auto;
    color: #92400e;
}

.disclaimer-text {
    font-size: 0.9rem;
    color: #78716c;
    font-style: italic;
    text-align: center;
    margin-top: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
    background-color: #ffffff;
}

.faq-item {
    max-width: 750px;
    margin: 0 auto 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1d4ed8;
    font-weight: 700;
}

.faq-item p {
    color: #4b5563;
    line-height: 1.7;
}

/* Trust & Accuracy */
.trust-accuracy {
    background-color: #f0f9ff;
    text-align: center;
}

.trust-accuracy p {
    max-width: 800px;
    margin: 0 auto 1.25rem;
    color: #1e3a8a;
    line-height: 1.8;
}

/* Mobile Responsive - Homepage */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .system-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    .system-item {
        padding: 1.5rem;
    }
}