/* Responsive Styles */

/* Extra Large Devices (1200px and up) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Devices (992px and down) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content > p {
        font-size: 1.125rem;
    }
    
    .quiz-illustration {
        max-width: 300px;
    }
    
    .result-details {
        grid-template-columns: 1fr;
    }
    
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .author-card-full {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar-large {
        margin: 0 auto;
    }
}

/* Medium Devices (768px and down) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    .disclaimer-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .disclaimer-icon {
        align-self: flex-start;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-content > p {
        font-size: 1rem;
    }
    
    .quiz-illustration {
        max-width: 250px;
    }
    
    .quiz-card {
        width: 90%;
        height: 90%;
    }
    
    .quiz-icon {
        font-size: 4rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Quiz Section */
    .quiz-section {
        padding: 3rem 0;
    }
    
    .quiz-container {
        border-radius: var(--radius-xl);
    }
    
    .quiz-header,
    .quiz-body,
    .quiz-footer {
        padding: 1.5rem;
    }
    
    .quiz-question h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .quiz-option {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .quiz-footer {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    
    .quiz-footer .btn {
        width: 100%;
    }
    
    /* Author Section */
    .author-section {
        padding: 3rem 0;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content > p {
        font-size: 1rem;
    }
    
    /* Floating CTA */
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
    }
    
    .floating-cta-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .floating-text {
        display: none;
    }
    
    .floating-icon {
        font-size: 1.25rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-disclaimer {
        padding: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Results Page */
    .results-header {
        padding: 2rem 0;
    }
    
    .results-header h1 {
        font-size: 2rem;
    }
    
    .result-main {
        padding: 2rem 0;
    }
    
    .result-card {
        padding: 2rem;
    }
    
    .result-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
    
    .result-card h2 {
        font-size: 1.5rem;
    }
    
    .result-description {
        font-size: 1rem;
    }
    
    /* Review Section */
    .review-section {
        padding: 2rem 0;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    .review-card h3 {
        font-size: 1.5rem;
    }
    
    .review-text {
        font-size: 1rem;
    }
    
    /* Ingredients Section */
    .ingredients-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .ingredients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ingredient-card {
        padding: 1.5rem;
    }
    
    .ingredient-icon {
        font-size: 2.5rem;
    }
    
    .ingredient-card h3 {
        font-size: 1.125rem;
    }
    
    .ingredient-card p {
        font-size: 0.9375rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Content Section */
    .content-section {
        padding: 3rem 0;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .content-body h2 {
        font-size: 1.5rem;
    }
    
    .content-body h3 {
        font-size: 1.25rem;
    }
    
    /* About Page */
    .mission-card,
    .story-card {
        padding: 1.5rem;
    }
    
    .mission-card h2,
    .story-card h2 {
        font-size: 1.25rem;
    }
    
    .value-card {
        padding: 1.25rem;
    }
    
    .value-icon {
        font-size: 2rem;
    }
    
    .value-card h3 {
        font-size: 1rem;
    }
    
    .author-card-full {
        padding: 1.5rem;
    }
    
    .author-avatar-large {
        width: 100px;
        height: 100px;
    }
    
    .avatar-initials-large {
        font-size: 2rem;
    }
    
    .author-info-full h2 {
        font-size: 1.5rem;
    }
    
    .commitment-card {
        padding: 1.5rem;
    }
    
    .commitment-card h2 {
        font-size: 1.25rem;
    }
    
    .contact-cta {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta h2 {
        font-size: 1.5rem;
    }
}

/* Small Devices (576px and down) */
@media (max-width: 576px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .disclaimer-content {
        font-size: 0.8125rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content > p {
        font-size: 0.9375rem;
    }
    
    .quiz-illustration {
        max-width: 200px;
    }
    
    .quiz-icon {
        font-size: 3rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Quiz Section */
    .quiz-section {
        padding: 2rem 0;
    }
    
    .quiz-header,
    .quiz-body,
    .quiz-footer {
        padding: 1.25rem;
    }
    
    .quiz-question h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .quiz-option {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Author Section */
    .author-section {
        padding: 2rem 0;
    }
    
    .author-card {
        padding: 1.25rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .avatar-initials {
        font-size: 1.375rem;
    }
    
    .author-info h3 {
        font-size: 1.25rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content > p {
        font-size: 0.9375rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-disclaimer {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }
    
    .footer-links a {
        font-size: 0.875rem;
    }
    
    .footer-copyright p {
        font-size: 0.8125rem;
    }
    
    /* Results Page */
    .results-header {
        padding: 1.5rem 0;
    }
    
    .results-header h1 {
        font-size: 1.5rem;
    }
    
    .results-badge {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .result-main {
        padding: 1.5rem 0;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    .result-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .result-card h2 {
        font-size: 1.25rem;
    }
    
    .result-description {
        font-size: 0.9375rem;
    }
    
    .result-details {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .detail-value {
        font-size: 1rem;
    }
    
    /* Review Section */
    .review-section {
        padding: 1.5rem 0;
    }
    
    .review-card {
        padding: 1.25rem;
    }
    
    .review-card h3 {
        font-size: 1.25rem;
    }
    
    .review-text {
        font-size: 0.9375rem;
    }
    
    .testimonials h4 {
        font-size: 1.125rem;
    }
    
    .testimonial-item {
        padding: 0.75rem;
    }
    
    .testimonial-icon {
        font-size: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.9375rem;
    }
    
    /* Ingredients Section */
    .ingredients-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .ingredients-grid {
        gap: 1rem;
    }
    
    .ingredient-card {
        padding: 1.25rem;
    }
    
    .ingredient-icon {
        font-size: 2rem;
    }
    
    .ingredient-card h3 {
        font-size: 1rem;
    }
    
    .ingredient-card p {
        font-size: 0.875rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 1.5rem 0;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9375rem;
    }
    
    /* Content Section */
    .content-section {
        padding: 2rem 0;
    }
    
    .content-card {
        padding: 1.5rem 1rem;
    }
    
    .content-body h2 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
    }
    
    .content-body h3 {
        font-size: 1.125rem;
        margin-top: 1.25rem;
    }
    
    .content-body p {
        font-size: 0.9375rem;
    }
    
    .content-body ul li {
        font-size: 0.9375rem;
    }
    
    .last-updated {
        font-size: 0.8125rem;
    }
    
    /* About Page */
    .about-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .mission-card,
    .story-card {
        padding: 1.25rem;
    }
    
    .mission-icon {
        font-size: 2rem;
    }
    
    .mission-card h2,
    .story-card h2 {
        font-size: 1.125rem;
    }
    
    .mission-card p,
    .story-card p {
        font-size: 0.9375rem;
    }
    
    .values-section {
        margin-bottom: 2rem;
    }
    
    .values-grid {
        gap: 1rem;
    }
    
    .value-card {
        padding: 1rem;
    }
    
    .value-icon {
        font-size: 1.75rem;
    }
    
    .value-card h3 {
        font-size: 0.9375rem;
    }
    
    .value-card p {
        font-size: 0.875rem;
    }
    
    .author-section-full {
        margin-bottom: 2rem;
    }
    
    .author-card-full {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .author-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .avatar-initials-large {
        font-size: 1.5rem;
    }
    
    .author-info-full h2 {
        font-size: 1.25rem;
    }
    
    .author-bio-full {
        font-size: 0.9375rem;
    }
    
    .author-disclaimer {
        font-size: 0.8125rem;
        padding: 0.75rem;
    }
    
    .commitment-section {
        margin-bottom: 2rem;
    }
    
    .commitment-card {
        padding: 1.25rem;
    }
    
    .commitment-card h2 {
        font-size: 1.125rem;
    }
    
    .commitment-card ul li {
        font-size: 0.9375rem;
    }
    
    .contact-cta {
        padding: 1.5rem 1rem;
    }
    
    .contact-cta h2 {
        font-size: 1.25rem;
    }
    
    .contact-cta p {
        font-size: 0.9375rem;
    }
}

/* Extra Small Devices (400px and down) */
@media (max-width: 400px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .disclaimer-content {
        font-size: 0.75rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .quiz-illustration {
        max-width: 150px;
    }
    
    .quiz-icon {
        font-size: 2.5rem;
    }
    
    .quiz-lines {
        width: 50%;
    }
    
    .quiz-line {
        height: 6px;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .quiz-option {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .option-check {
        width: 20px;
        height: 20px;
    }
    
    .result-card h2 {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .page-header h1 {
        font-size: 1.25rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 1.5rem 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content > p {
        font-size: 0.875rem;
    }
    
    .quiz-illustration {
        max-width: 150px;
    }
    
    .quiz-section {
        padding: 1.5rem 0;
    }
    
    .quiz-header,
    .quiz-body,
    .quiz-footer {
        padding: 1rem;
    }
    
    .quiz-question h2 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .quiz-option {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
}

/* Print Styles */
@media print {
    .disclaimer-banner,
    .floating-cta,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section,
    .quiz-section,
    .author-section,
    .results-header,
    .result-main,
    .review-section,
    .ingredients-section,
    .content-section {
        page-break-inside: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-light: #333333;
    }
    
    .quiz-option {
        border-width: 3px;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .quiz-card {
        animation: none;
    }
    
    .quiz-line {
        animation: none;
        opacity: 0.5;
    }
    
    .floating-cta-btn:hover {
        transform: none;
    }
    
    .ingredient-card:hover,
    .value-card:hover {
        transform: none;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --text-light: #94a3b8;
        --bg-primary: #1e293b;
        --bg-secondary: #334155;
        --bg-tertiary: #475569;
        --border-color: #475569;
    }
    
    .disclaimer-banner {
        background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
        border-bottom-color: #b45309;
    }
    
    .disclaimer-content {
        color: #fef3c7;
    }
    
    .hero-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    }
    
    .cta-section {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    }
    
    .footer-disclaimer {
        background: #451a03;
        border-left-color: #b45309;
    }
    
    .footer-disclaimer p {
        color: #fef3c7;
    }
}
