/* Static Pages CSS - Matching React styling */

/* ================================================
   CSS ANIMATIONS (matching React motion)
   ================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Staggered delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 3rem 1.5rem 5rem;
    max-width: 80rem;
    margin: 0 auto;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 8rem;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-blob-1 {
    top: 5rem;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(191, 219, 254, 0.5);
}

.hero-blob-2 {
    bottom: 0;
    left: -100px;
    width: 600px;
    height: 600px;
    background: rgba(207, 250, 254, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    text-align: center;
    order: 2;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
        order: 1;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    margin-bottom: 1.5rem;
    color: #1d4ed8;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-gray-900);
    text-wrap: balance;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-block {
    display: block;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: flex-start;
    }
}

.hero-trust {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: var(--color-gray-400);
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.7;
}

@media (min-width: 1024px) {
    .hero-trust {
        justify-content: flex-start;
    }
}

/* Hero Visual */
.hero-visual {
    position: relative;
    margin-top: 2rem;
    order: 1;
    /* Animation */
    animation: fadeInRight 0.8s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@media (min-width: 1024px) {
    .hero-visual {
        margin-top: 0;
        order: 2;
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 4px solid white;
    background: var(--color-gray-900);
}

@media (min-width: 768px) {
    .hero-image-wrapper {
        border-width: 6px;
    }
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    display: none;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-gray-100);
    align-items: center;
    gap: 0.75rem;
    /* Float animation */
    animation: float 4s ease-in-out infinite;
}

.hero-float-left {
    animation-delay: 0s;
}

.hero-float-right {
    animation-delay: 2s;
    /* Offset for organic effect */
}

@media (min-width: 768px) {
    .hero-float-card {
        display: flex;
    }
}

.hero-float-left {
    left: -1rem;
    top: 1.5rem;
}

.hero-float-right {
    right: -1rem;
    bottom: 3rem;
}

.hero-float-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-icon-green {
    background: #dcfce7;
    color: #16a34a;
}

.hero-float-icon-blue {
    background: #dbeafe;
    color: #2563eb;
}

.hero-float-label {
    font-size: 0.625rem;
    color: var(--color-gray-500);
    font-weight: 600;
}

@media (min-width: 768px) {
    .hero-float-label {
        font-size: 0.75rem;
    }
}

.hero-float-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-gray-900);
}

@media (min-width: 768px) {
    .hero-float-value {
        font-size: 1rem;
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: linear-gradient(to top right, rgba(191, 219, 254, 0.4), rgba(207, 250, 254, 0.4));
    filter: blur(48px);
    border-radius: 50%;
    z-index: -1;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-gray-100);
}

@media (min-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    background: linear-gradient(to bottom right, var(--color-gray-900), var(--color-gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* Section Styles */
.section {
    padding: 5rem 1.5rem;
}

.section-gray {
    background: linear-gradient(to bottom, var(--color-gray-50), white);
}

.section-dark {
    background: var(--color-gray-900);
    color: white;
    overflow: hidden;
    position: relative;
}

.section-blue {
    background: linear-gradient(to bottom right, #eff6ff, #ecfeff);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gray-900);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.section-dark .section-header h2 {
    color: white;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    max-width: 48rem;
    margin: 0 auto;
}

/* Step Cards */
.step-card {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--color-gray-200);
    transition: all 0.2s;
}

.step-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(to top right, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.step-icon {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-gray-900);
}

.step-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.step-arrow {
    display: none;
    position: absolute;
    top: 50%;
    right: -1rem;
    transform: translateY(-50%);
    color: var(--color-gray-300);
}

@media (min-width: 1024px) {
    .step-arrow {
        display: block;
    }
}

/* Two Column Layout */
.two-col {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .two-col {
        grid-template-columns: 1fr 1fr;
    }
}

.two-col-reverse>*:first-child {
    order: 1;
}

@media (min-width: 1024px) {
    .two-col-reverse>*:first-child {
        order: 0;
    }
}

/* Deep Dive Section */
.deep-dive-image {
    /* Animation */
    animation: fadeInLeft 0.8s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.deep-dive-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.deep-dive-image:hover img {
    transform: scale(1.02);
}

.deep-dive-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
    color: #93c5fd;
    font-size: 0.875rem;
    font-weight: 500;
}

.deep-dive-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .deep-dive-content h2 {
        font-size: 3rem;
    }
}

.deep-dive-content p {
    font-size: 1.125rem;
    color: var(--color-gray-400);
    line-height: 1.75;
}

.deep-dive-list {
    list-style: none;
    margin-top: 2rem;
}

.deep-dive-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-gray-400);
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-green {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.check-blue {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.check-cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

/* Feature Cards */
.feature-card {
    cursor: pointer;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-gray-900);
    transition: color 0.2s;
}

.feature-card:hover h3 {
    color: var(--color-primary);
}

.feature-card p {
    color: var(--color-gray-600);
    line-height: 1.6;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    transition: transform 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon-orange {
    background: linear-gradient(to top right, #f97316, #ef4444);
}

.feature-icon-blue {
    background: linear-gradient(to top right, #3b82f6, #06b6d4);
}

.feature-icon-green {
    background: linear-gradient(to top right, #22c55e, #10b981);
}

.feature-icon-indigo {
    background: linear-gradient(to top right, #6366f1, #3b82f6);
}

.feature-icon-yellow {
    background: linear-gradient(to top right, #eab308, #f97316);
}

/* Scorecard Preview */
.scorecard-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: #dbeafe;
    margin-bottom: 1.5rem;
    color: #1e40af;
    font-size: 0.875rem;
    font-weight: 700;
}

.scorecard-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-gray-900);
}

@media (min-width: 768px) {
    .scorecard-content h2 {
        font-size: 3rem;
    }
}

.scorecard-content p {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

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

.scorecard-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-gray-700);
}

.scorecard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 1.5rem;
    border: 1px solid var(--color-gray-200);
    position: relative;
    /* Animation */
    animation: scaleIn 0.7s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scorecard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.scorecard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-100);
}

.scorecard-header h4 {
    font-weight: 700;
    font-size: 1.125rem;
}

.scorecard-header span {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.scorecard-match {
    padding: 0.25rem 0.75rem;
    background: #dcfce7;
    color: #15803d;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
}

.scorecard-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scorecard-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.scorecard-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.scorecard-bar-header span {
    color: var(--color-gray-700);
    font-weight: 500;
}

.scorecard-bar-header strong {
    color: var(--color-gray-900);
}

.scorecard-bar-bg {
    height: 0.5rem;
    background: var(--color-gray-100);
    border-radius: 9999px;
    overflow: hidden;
}

.scorecard-bar {
    height: 100%;
    border-radius: 9999px;
    /* Animate width from 0 to actual value */
    animation: barGrow 1s ease-out forwards;
    transform-origin: left;
}

/* Bar grow animation */
@keyframes barGrow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.scorecard-bar-blue {
    background: #3b82f6;
    animation-delay: 0.5s;
    transform: scaleX(0);
}

.scorecard-bar-cyan {
    background: #06b6d4;
    animation-delay: 0.65s;
    transform: scaleX(0);
}

.scorecard-bar-indigo {
    background: #6366f1;
    animation-delay: 0.8s;
    transform: scaleX(0);
}

.scorecard-bar-green {
    background: #10b981;
    animation-delay: 0.95s;
    transform: scaleX(0);
}

/* Why Matters / Prose */
.container-narrow {
    max-width: 56rem;
}

.container-medium {
    max-width: 64rem;
}

.prose {
    color: var(--color-gray-600);
    font-size: 1.125rem;
    line-height: 1.75;
}

.prose p {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

/* Benefits Section */
.benefits-box {
    background: white;
    padding: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 2px solid #bfdbfe;
    overflow: hidden;
    /* Prevent child overflow on mobile */
}

@media (min-width: 768px) {
    .benefits-box {
        padding: 4rem;
    }
}

.benefits-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.benefits-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-gray-900);
}

@media (min-width: 768px) {
    .benefits-content h2 {
        font-size: 3rem;
    }
}

.benefits-content p {
    color: var(--color-gray-600);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: var(--color-gray-50);
    border: 2px solid var(--color-gray-200);
    transition: all 0.2s;
}

@media (min-width: 768px) {
    .benefit-item {
        gap: 1rem;
        padding: 1.25rem;
    }
}

.benefit-item:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.benefit-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-900);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .benefit-item span {
        font-size: 1.125rem;
    }
}

.benefit-icon {
    flex-shrink: 0;
}

.benefit-icon-blue {
    color: var(--color-primary);
}

.benefit-icon-green {
    color: #16a34a;
}

.benefit-icon-cyan {
    color: #0891b2;
}

.benefit-icon-orange {
    color: #ea580c;
}

/* Testimonials */
.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-quote {
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(to top right, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-gray-900);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid var(--color-gray-200);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    border-color: #93c5fd;
}

.faq-item[open] {
    border-color: var(--color-primary);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-gray-400);
    transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* CTA Section - Matches React gradient box */
.cta-wrapper {
    padding: 3rem 1.5rem 5rem;
}

.cta-box {
    text-align: center;
    background: linear-gradient(to bottom right, #2563eb, #06b6d4);
    padding: 4rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    color: white;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 5rem 3rem;
        border-radius: 2rem;
    }
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

@media (min-width: 768px) {
    .cta-box h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .cta-box h2 {
        font-size: 3.75rem;
    }
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .cta-box p {
        font-size: 1.25rem;
    }
}

.cta-disclaimer-inline {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
}

.cta-btn-white {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: #2563eb;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
}

.cta-btn-white:hover {
    background: #f9fafb;
    transform: scale(1.05);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .cta-btn-white {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}

/* ================================================
   MOBILE-SPECIFIC IMPROVEMENTS
   ================================================ */

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {

    /* Hero adjustments */
    .hero {
        padding: 2rem 1rem 3rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        width: 100%;
    }

    /* Stats for small screens */
    .stats-row {
        gap: 1rem;
        margin-top: 3rem;
        padding-top: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Section padding */
    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Step cards */
    .step-card {
        padding: 1.5rem;
    }

    .step-card h3 {
        font-size: 1.125rem;
    }

    /* Feature cards */
    .feature-card h3 {
        font-size: 1.25rem;
    }

    /* Benefits box */
    .benefits-box {
        padding: 1.5rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.875rem;
    }

    /* Two column with gap */
    .two-col {
        gap: 2rem;
    }

    /* Scorecard preview */
    .scorecard-content h2 {
        font-size: 1.75rem;
    }

    .scorecard-card {
        padding: 1rem;
    }

    /* Deep dive */
    .deep-dive-content h2 {
        font-size: 1.5rem;
    }

    /* Prose */
    .prose {
        font-size: 1rem;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {

    a,
    button {
        min-height: 44px;
    }

    .faq-question {
        min-height: 48px;
    }

    /* Ensure buttons stack nicely */
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-actions button {
        width: 100%;
    }
}