/* 
 * Wind Progression - Main Stylesheet
 * 
 * Table of Contents:
 * 1. CSS Variables and Reset
 * 2. Base Styles
 * 3. Layout & Container
 * 4. Typography
 * 5. Header & Navigation
 * 6. Buttons
 * 7. Forms
 * 8. Sections
 * 9. Footer
 * 10. Cookie Banner
 * 11. Modal
 * 12. Product Grid
 * 13. Testimonial Slider
 * 14. Blog Styles
 * 15. Article Styles
 * 16. Legal Pages
 * 17. Thank You Page
 * 18. Responsive Styles
 */

/* 1. CSS Variables and Reset */
:root {
    /* Primary colors */
    --primary: hsl(25, 85%, 55%); /* #F7821B - deep orange */
    --primary-dark: hsl(25, 85%, 45%); /* #CC6711 - darker orange */
    --primary-light: hsl(25, 85%, 65%); /* #F99D4E - lighter orange */
    
    /* Secondary colors */
    --secondary: hsl(210, 50%, 25%); /* #214466 - deep blue */
    --secondary-dark: hsl(210, 50%, 15%); /* #14293D - darker blue */
    --secondary-light: hsl(210, 50%, 35%); /* #2E5F8F - lighter blue */
    
    /* Neutral colors */
    --text: hsl(210, 20%, 20%); /* #2C3E50 - dark blue-gray */
    --text-light: hsl(210, 15%, 40%); /* #59697D - lighter text */
    --bg-light: hsl(210, 30%, 98%); /* #F8FAFC - light background */
    --bg-dark: hsl(210, 20%, 95%); /* #EDF2F7 - slightly darker background */
    --border: hsl(210, 20%, 85%); /* #D1DBE7 - light border */
    
    /* Feedback colors */
    --success: hsl(142, 70%, 45%); /* #2DCE89 - green */
    --warning: hsl(40, 95%, 55%); /* #FFBC3D - yellow */
    --error: hsl(350, 95%, 60%); /* #F56565 - red */
    
    /* Layout values */
    --container-max: 1200px;
    --header-height: 80px;
    --footer-padding: 60px;
    --section-padding: 80px;
    --card-padding: 24px;
    --gap-sm: 10px;
    --gap-md: 20px;
    --gap-lg: 40px;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadow */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset and box sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. Base Styles */
html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* 3. Layout & Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.section-header h2 {
    margin-bottom: var(--gap-sm);
    position: relative;
    display: inline-block;
}

/* 4. Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.2;
    color: var(--secondary);
    font-weight: 700;
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

small {
    font-size: 1.2rem;
}

/* 5. Header & Navigation */
header {
    height: var(--header-height);
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--gap-lg);
}

nav a {
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: var(--secondary);
    border-radius: 5px;
    transition: all var(--transition-normal);
}

/* 6. Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.4rem;
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
}

.btn:hover {
    background-color: var(--secondary);
    color: white;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
}

.btn-sm {
    padding: 0.6rem 1.6rem;
    font-size: 1.2rem;
}

/* 7. Forms */
.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background-color: white;
    font-size: 1.6rem;
    transition: border var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-inline {
    display: flex;
    gap: var(--gap-sm);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-sm);
}

.checkbox input {
    width: auto;
    margin-top: 0.4rem;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

/* 8. Sections */
/* Hero Section */
.hero {
    background-color: var(--secondary-light);
    color: white;
    padding: calc(var(--section-padding) * 1.2) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, var(--secondary-dark), transparent);
    opacity: 0.8;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: white;
    margin-bottom: var(--gap-md);
    font-size: 4.2rem;
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: var(--gap-lg);
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 350px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

/* About Section */
.about {
    background-color: var(--bg-dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: var(--gap-md);
}

/* Products Section */
.products {
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gap-lg);
}

.product-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: var(--card-padding);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--gap-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    padding: 15px;
}

.product-card h3 {
    margin-bottom: var(--gap-sm);
}

.product-card p {
    margin-bottom: var(--gap-md);
    color: var(--text-light);
}

/* Services Section */
.services {
    background-color: var(--bg-dark);
}

.services-content {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.services-text {
    flex: 1.2;
}

.services-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.service-list {
    list-style: none;
    margin-top: var(--gap-md);
}

.service-list li {
    display: flex;
    margin-bottom: var(--gap-md);
    gap: var(--gap-md);
}

.service-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background-color: var(--primary-light);
    border-radius: 50%;
    padding: 10px;
}

.service-list h4 {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    animation: fade 1s;
}

.testimonial-item.active {
    display: block;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.testimonial-content {
    text-align: center;
    padding: var(--gap-lg);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: var(--gap-md);
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
}

.testimonial-author p {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--gap-md);
    gap: var(--gap-md);
}

.prev-btn, .next-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-dark);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.dot.active, .dot:hover {
    background-color: var(--primary);
}

/* Blog Preview Section */
.blog-preview {
    background-color: var(--bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap-lg);
}

.blog-grid.large {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.blog-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.blog-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 180px;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-image img {
    width: 80%;
    height: auto;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: var(--card-padding);
}

.blog-date {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: var(--gap-sm);
}

.blog-content h3 {
    margin-bottom: var(--gap-sm);
    font-size: 1.8rem;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: var(--gap-md);
    font-size: 1.5rem;
}

.blog-cta {
    text-align: center;
    margin-top: var(--gap-lg);
}

/* Contact & Subscription Section */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    gap: var(--gap-lg);
}

.contact-info {
    flex: 1;
}

.info-items {
    margin-top: var(--gap-lg);
}

.info-item {
    display: flex;
    gap: var(--gap-md);
    margin-bottom: var(--gap-md);
}

.info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background-color: var(--primary-light);
    border-radius: 50%;
    padding: 10px;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: var(--gap-md);
    margin-top: var(--gap-lg);
}

.social-links a {
    color: var(--secondary);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: var(--primary);
}

.subscription-form {
    flex: 1;
    background-color: var(--bg-light);
    padding: var(--gap-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.subscription-form h3 {
    margin-bottom: var(--gap-sm);
}

.subscription-form p {
    margin-bottom: var(--gap-md);
}

/* 9. Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: var(--footer-padding) 0 var(--gap-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--gap-lg);
    gap: var(--gap-lg);
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 40px;
    margin-bottom: var(--gap-sm);
}

.footer-logo p {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.slogan {
    font-size: 1.4rem;
    opacity: 0.7;
}

.footer-links {
    flex: 2;
    display: flex;
    gap: var(--gap-lg);
}

.link-column {
    flex: 1;
}

.link-column h4 {
    color: white;
    margin-bottom: var(--gap-md);
    font-size: 1.6rem;
}

.link-column ul {
    list-style: none;
}

.link-column li {
    margin-bottom: 0.8rem;
}

.link-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    transition: color var(--transition-fast);
}

.link-column a:hover, .link-column a.active {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--gap-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 1.4rem;
    opacity: 0.7;
}

.payment-icons {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.payment-icons span {
    font-size: 1.4rem;
    opacity: 0.7;
}

.payment-icons .icons {
    display: flex;
    gap: var(--gap-sm);
}

/* 10. Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary);
    color: white;
    padding: var(--gap-md);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slide-up 0.5s ease;
}

@keyframes slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content h3 {
    color: white;
    margin-bottom: var(--gap-sm);
}

.cookie-content p {
    margin-bottom: var(--gap-md);
    opacity: 0.9;
}

.cookie-buttons {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* 11. Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-md);
    max-width: 600px;
    width: 90%;
    padding: var(--gap-lg);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2.4rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.close:hover {
    color: var(--error);
}

.cookie-options {
    margin: var(--gap-md) 0;
}

.cookie-option {
    margin-bottom: var(--gap-md);
    padding-bottom: var(--gap-md);
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option label {
    display: inline-block;
    margin-left: var(--gap-sm);
    font-weight: 600;
}

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 30px;
    color: var(--text-light);
    font-size: 1.4rem;
}

/* 12. Product Grid (Extended) */
.product-grid.small {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.featured-products {
    background-color: var(--bg-light);
    padding: var(--gap-lg) 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

/* 13. Testimonial Slider (Extended) */
/* Handled in main testimonial styles */

/* 14. Blog Styles (Extended) */
.blog-content {
    padding-top: 0;
}

.blog-subscription {
    margin-top: var(--gap-lg);
    background-color: var(--secondary-light);
    padding: var(--gap-lg);
    border-radius: var(--radius-md);
    color: white;
}

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

.subscription-content h3 {
    color: white;
    margin-bottom: var(--gap-sm);
}

.subscription-content p {
    margin-bottom: var(--gap-md);
    opacity: 0.9;
}

.page-banner {
    background-color: var(--secondary);
    color: white;
    padding: var(--gap-lg) 0;
    text-align: center;
}

.page-banner h1 {
    color: white;
    margin-bottom: var(--gap-sm);
}

.page-banner p {
    opacity: 0.9;
    margin-bottom: 0;
}

/* 15. Article Styles */
.article-container {
    padding: var(--gap-lg) 0;
}

.article-header {
    margin-bottom: var(--gap-lg);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-sm);
    margin-bottom: var(--gap-md);
    color: var(--secondary);
}

.back-link:hover {
    color: var(--primary);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-md);
    color: var(--text-light);
    margin-top: var(--gap-sm);
    font-size: 1.4rem;
}

.article-featured-image {
    margin-bottom: var(--gap-lg);
    max-height: 400px;
    overflow: hidden;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
}

.article-featured-image img {
    max-width: 100%;
    max-height: 350px;
}

.article-content {
    line-height: 1.7;
}

.article-content h2 {
    margin-top: var(--gap-lg);
    margin-bottom: var(--gap-md);
}

.article-content h3 {
    margin-top: var(--gap-md);
    margin-bottom: var(--gap-sm);
}

.article-content ul, .article-content ol {
    margin-bottom: var(--gap-md);
}

.article-content li {
    margin-bottom: 0.8rem;
}

.article-image {
    margin: var(--gap-lg) 0;
    text-align: center;
    background-color: var(--bg-dark);
    padding: var(--gap-md);
    border-radius: var(--radius-md);
}

.article-image img {
    max-height: 300px;
    margin: 0 auto;
}

.article-cta {
    margin-top: var(--gap-lg);
    background-color: var(--primary-light);
    padding: var(--gap-md);
    border-radius: var(--radius-md);
    text-align: center;
}

.article-cta h3 {
    color: var(--secondary);
    margin-bottom: var(--gap-sm);
}

.article-cta p {
    margin-bottom: var(--gap-md);
}

.article-share {
    margin-top: var(--gap-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-md);
    padding-top: var(--gap-md);
    border-top: 1px solid var(--border);
}

.article-share span {
    font-weight: 500;
}

.social-share {
    display: flex;
    gap: var(--gap-sm);
}

.related-articles {
    background-color: var(--bg-dark);
    padding: var(--gap-lg) 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: var(--gap-lg);
}

.article-subscription {
    background-color: var(--secondary-light);
    color: white;
    padding: var(--gap-lg) 0;
}

.subscription-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.article-subscription h3 {
    color: white;
    margin-bottom: var(--gap-sm);
}

.article-subscription p {
    opacity: 0.9;
    margin-bottom: var(--gap-md);
}

/* 16. Legal Pages */
.legal-banner {
    background-color: var(--secondary-dark);
}

.legal-content {
    padding: var(--gap-lg) 0;
    display: flex;
    gap: var(--gap-lg);
}

.legal-nav {
    flex: 0.3;
    position: sticky;
    top: calc(var(--header-height) + var(--gap-md));
    height: fit-content;
    background-color: var(--bg-light);
    padding: var(--gap-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.legal-nav h3 {
    margin-bottom: var(--gap-md);
    padding-bottom: var(--gap-sm);
    border-bottom: 1px solid var(--border);
}

.legal-nav ul {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.8rem;
}

.legal-nav a {
    color: var(--text);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.legal-nav a:hover {
    color: var(--primary);
}

.legal-text {
    flex: 0.7;
}

.legal-text article {
    margin-bottom: var(--gap-lg);
    padding-bottom: var(--gap-md);
    border-bottom: 1px solid var(--border);
}

.legal-text article:last-child {
    border-bottom: none;
}

.legal-updated {
    margin-top: var(--gap-lg);
    padding-top: var(--gap-md);
    border-top: 1px solid var(--border);
    font-style: italic;
    color: var(--text-light);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--gap-md) 0;
}

.cookie-table th, .cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cookie-table th {
    background-color: var(--bg-dark);
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* 17. Thank You Page */
.thanks-container {
    padding: var(--gap-lg) 0;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--gap-lg);
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--gap-md);
    color: var(--success);
}

.thanks-content h1 {
    margin-bottom: var(--gap-sm);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: var(--gap-lg);
}

.thanks-details {
    text-align: left;
    margin: var(--gap-lg) 0;
}

.thanks-details ul {
    margin: var(--gap-md) 0;
    padding-left: var(--gap-md);
}

.thanks-details li {
    margin-bottom: 0.8rem;
}

.notes {
    background-color: var(--bg-light);
    padding: var(--gap-md);
    border-radius: var(--radius-md);
    margin-top: var(--gap-md);
}

.notes p:last-child {
    margin-bottom: 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: var(--gap-md);
    margin: var(--gap-lg) 0;
}

.follow-us {
    margin-top: var(--gap-lg);
}

.follow-us p {
    margin-bottom: var(--gap-sm);
}

/* 18. Responsive Styles */
@media (max-width: 1024px) {
    /* Adjust font sizes */
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    h3 {
        font-size: 2.2rem;
    }

    /* Adjust section padding */
    :root {
        --section-padding: 60px;
    }

    /* Adjust layout for about and services sections */
    .about-content, .services-content {
        flex-direction: column;
    }
    
    .services-image {
        order: -1;
        margin-bottom: var(--gap-lg);
    }
}

@media (max-width: 768px) {
    /* Adjust font sizes */
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    /* Adjust section padding */
    :root {
        --section-padding: 50px;
        --gap-lg: 30px;
    }
    
    /* Adjust hero section */
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    /* Adjust navigation */
    nav {
        display: none; /* Will be shown via JavaScript in mobile menu */
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: white;
        padding: var(--gap-md);
        box-shadow: var(--shadow-md);
    }
    
    nav.show {
        display: block;
        animation: slide-down 0.3s ease;
    }
    
    @keyframes slide-down {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    nav ul {
        flex-direction: column;
        gap: var(--gap-md);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Adjust contact section */
    .contact-content {
        flex-direction: column;
    }
    
    /* Adjust footer */
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-wrap: wrap;
    }
    
    .link-column {
        flex-basis: 50%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--gap-md);
        text-align: center;
    }
    
    /* Adjust legal pages */
    .legal-content {
        flex-direction: column;
    }
    
    .legal-nav {
        position: static;
        margin-bottom: var(--gap-md);
    }
}

@media (max-width: 480px) {
    /* Adjust font sizes */
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    /* Adjust section padding */
    :root {
        --section-padding: 40px;
        --gap-lg: 20px;
        --card-padding: 16px;
    }
    
    /* Adjust grid layouts */
    .product-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust form layouts */
    .form-inline {
        flex-direction: column;
    }
    
    /* Adjust testimonial controls */
    .testimonial-controls {
        flex-wrap: wrap;
    }
    
    /* Adjust footer links */
    .footer-links {
        flex-direction: column;
    }
    
    .link-column {
        flex-basis: 100%;
    }
    
    /* Adjust action buttons */
    .action-buttons {
        flex-direction: column;
    }
}
