/* WaterWorks UK Main Stylesheet */
/* New Retro Style */

/* 
* Table of Contents:
* 1. Base Styles
* 2. Typography
* 3. Layout & Grid
* 4. Header & Navigation
* 5. Hero Section
* 6. Services Section
* 7. About Section
* 8. Pricing Section
* 9. Testimonials Section
* 10. Subscribe Section
* 11. Contact Section
* 12. Footer
* 13. Buttons & Forms
* 14. Cookie Banner
* 15. Thank You Page
* 16. Legal Pages
* 17. Utility Classes
* 18. Media Queries
*/

/* ===== 1. Base Styles ===== */
:root {
    /* Primary Colors */
    --primary-color: #0075c4;
    --primary-dark: #00559b;
    --primary-light: #4ca5e8;
    
    /* Secondary Colors */
    --secondary-color: #ff7b50;
    --secondary-dark: #e65f34;
    --secondary-light: #ff9c7c;
    
    /* Neutral Colors */
    --dark: #212f3d;
    --medium: #5d6d7e;
    --light: #ecf0f1;
    --white: #ffffff;
    
    /* Accent Colors */
    --accent-teal: #00b8a2;
    --accent-purple: #9277ff;
    --accent-yellow: #ffc844;
    
    /* Font Families */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Retro Style Elements */
    --retro-shadow: 0.3rem 0.3rem 0 rgba(0, 0, 0, 0.1);
    --retro-border-radius: 0.5rem;
    --retro-pattern: repeating-linear-gradient(
        45deg,
        rgba(0, 117, 196, 0.05),
        rgba(0, 117, 196, 0.05) 10px,
        rgba(0, 117, 196, 0.08) 10px,
        rgba(0, 117, 196, 0.08) 20px
    );
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Container Width */
    --container-width: 1200px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

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

/* ===== 2. Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 2rem;
}

strong {
    font-weight: 700;
}

/* Retro Typography Elements */
.retro-heading {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--retro-border-radius);
    box-shadow: var(--retro-shadow);
    transform: rotate(-1deg);
}

.text-highlight {
    background: linear-gradient(transparent 60%, var(--accent-yellow) 40%);
    padding: 0 0.4rem;
    display: inline;
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 0.4rem;
    background-color: var(--secondary-color);
    bottom: -1rem;
    left: 20%;
    border-radius: 0.2rem;
}

.section-header p {
    font-size: 1.8rem;
    color: var(--medium);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--light);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin: 0 auto;
    max-width: 1000px;
}

/* ===== 4. Header & Navigation ===== */
header {
    background-color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

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

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

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

.logo h1 {
    font-size: 2.4rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.logo h1 span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

nav a {
    color: var(--dark);
    font-weight: 500;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
    border-radius: var(--retro-border-radius);
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
    background-color: rgba(0, 117, 196, 0.1);
}

nav a.active {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

nav a.active:after {
    content: '';
    position: absolute;
    width: 70%;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 15%;
    border-radius: 1.5px;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    cursor: pointer;
}

.mobile-nav-toggle span {
    width: 3rem;
    height: 0.3rem;
    background-color: var(--dark);
    border-radius: 0.15rem;
    transition: all 0.3s ease;
}

/* ===== 5. Hero Section ===== */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--retro-pattern);
    opacity: 0.5;
    z-index: 0;
}

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

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 4.8rem;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image .illustration {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider .shape-fill {
    fill: var(--white);
}

/* ===== 6. Services Section ===== */
.services {
    background-color: var(--white);
}

.service-card {
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--retro-shadow);
    border: 2px solid var(--light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0.5rem 0.5rem 0 rgba(0, 0, 0, 0.1);
}

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

.service-icon .service-illustration {
    width: 100%;
    height: auto;
}

.service-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.service-card p {
    color: var(--medium);
    font-size: 1.5rem;
}

/* ===== 7. About Section ===== */
.about {
    background-color: var(--light);
}

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

.about-image {
    flex: 1;
    position: relative;
}

.about-image .illustration {
    max-width: 400px;
    margin: 0 auto;
}

.about-text {
    flex: 1.5;
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.about-text p {
    margin-bottom: var(--spacing-sm);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    text-align: center;
}

.stat h4 {
    font-size: 3.6rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.4rem;
    color: var(--medium);
    margin-bottom: 0;
}

/* ===== 8. Pricing Section ===== */
.pricing {
    position: relative;
    background-color: var(--white);
}

.price-card {
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--retro-shadow);
    border: 2px solid var(--light);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.ribbon {
    position: absolute;
    top: 1.5rem;
    right: -1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 2rem;
    font-size: 1.4rem;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 1;
}

.plan-name {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.price {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
}

.price span {
    font-size: 1.8rem;
    color: var(--medium);
    font-weight: 400;
}

.features {
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.features li {
    padding: 1rem 0;
    border-bottom: 1px dashed var(--light);
    color: var(--medium);
    font-size: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: 700;
}

.features li:last-child {
    border-bottom: none;
}

/* ===== 9. Testimonials Section ===== */
.testimonials {
    background-color: var(--light);
    position: relative;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--retro-shadow);
    margin: 0 var(--spacing-sm);
}

.quote {
    font-size: 1.8rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.quote:before {
    content: '"';
    font-size: 6rem;
    color: rgba(0, 117, 196, 0.1);
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: Georgia, serif;
}

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

.author-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.author-info p {
    font-size: 1.4rem;
    color: var(--medium);
    margin-bottom: 0;
}

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

.prev-testimonial,
.next-testimonial {
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: var(--retro-shadow);
    transition: all 0.3s ease;
}

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

.prev-testimonial span,
.next-testimonial span {
    display: block;
    width: 1rem;
    height: 1rem;
    border-right: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.prev-testimonial span {
    transform: rotate(135deg);
}

.next-testimonial span {
    transform: rotate(-45deg);
}

.testimonial-dots {
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--light);
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

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

/* ===== 10. Blog Preview Section ===== */
.blog-preview {
    background-color: var(--white);
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    overflow: hidden;
    box-shadow: var(--retro-shadow);
    border: 2px solid var(--light);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-light);
    padding: 2rem;
}

.blog-image .blog-illustration {
    width: 100%;
    max-width: 150px;
    height: auto;
}

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

.blog-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.blog-excerpt {
    color: var(--medium);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.read-more:hover span {
    transform: translateX(5px);
}

.view-all {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.6rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--primary-dark);
}

.view-all span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.view-all:hover span {
    transform: translateX(5px);
}

/* ===== 11. Subscription Form Section ===== */
.subscription {
    background-color: var(--light);
    position: relative;
}

.subscription-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.subscription-image {
    flex: 1;
}

.subscription-image .illustration {
    max-width: 400px;
    margin: 0 auto;
}

.subscription-form {
    flex: 1.5;
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--retro-shadow);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--light);
    border-radius: var(--retro-border-radius);
    font-family: var(--body-font);
    font-size: 1.6rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.form-group.checkbox label {
    font-weight: 400;
    color: var(--medium);
    font-size: 1.4rem;
}

.form-group.checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== 12. Contact Section ===== */
.contact {
    background-color: var(--white);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.contact-card {
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--retro-shadow);
    border: 2px solid var(--light);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card .icon {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.contact-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.contact-card p {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-card .hours {
    font-size: 1.4rem;
    color: var(--medium);
    font-style: italic;
}

.social-links {
    text-align: center;
    margin-top: var(--spacing-md);
}

.social-links h3 {
    margin-bottom: var(--spacing-sm);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: var(--white);
    border-radius: 50%;
    color: var(--primary-color);
    box-shadow: var(--retro-shadow);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 2.2rem;
    height: 2.2rem;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== 13. Footer ===== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-bottom: var(--spacing-sm);
}

.footer-logo h2 {
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-logo h2 span {
    color: var(--secondary-color);
}

.footer-logo p {
    font-size: 1.4rem;
    color: var(--light);
    margin-bottom: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
    border-radius: 1.5px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column a {
    color: var(--light);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: var(--light);
    margin-bottom: 0.5rem;
}

/* ===== 14. Buttons & Forms ===== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: var(--retro-border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.6rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--retro-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0.4rem 0.4rem 0 rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

button {
    cursor: pointer;
    font-family: var(--body-font);
}

/* ===== 15. Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: var(--spacing-md);
    transition: bottom 0.5s ease;
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-content h3 {
    margin-bottom: var(--spacing-sm);
}

.cookie-content p {
    font-size: 1.5rem;
    color: var(--medium);
    margin-bottom: var(--spacing-md);
}

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

.cookie-buttons button {
    padding: 1rem 2rem;
    border-radius: var(--retro-border-radius);
    font-weight: 600;
    font-size: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

#accept-necessary {
    background-color: var(--light);
    color: var(--dark);
}

#accept-necessary:hover {
    background-color: var(--medium);
    color: var(--white);
}

#accept-all {
    background-color: var(--primary-color);
    color: var(--white);
}

#accept-all:hover {
    background-color: var(--primary-dark);
}

#customize-cookies {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

#customize-cookies:hover {
    background-color: rgba(0, 117, 196, 0.1);
}

.cookie-customization {
    margin-top: var(--spacing-md);
    border-top: 1px solid var(--light);
    padding-top: var(--spacing-md);
}

.cookie-customization.hidden {
    display: none;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--spacing-md);
}

.cookie-option label {
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cookie-option p {
    font-size: 1.4rem;
    color: var(--medium);
    margin-bottom: 0.5rem;
}

#save-preferences {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--retro-border-radius);
    font-weight: 600;
    font-size: 1.5rem;
    border: none;
    transition: all 0.3s ease;
}

#save-preferences:hover {
    background-color: var(--primary-dark);
}

/* ===== 16. Thank You Page ===== */
.thank-you {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--retro-shadow);
    border: 2px solid var(--light);
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--accent-teal);
    border-radius: 50%;
    color: var(--white);
}

.thank-you-icon svg {
    width: 40px;
    height: 40px;
}

.thank-you-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.thank-you-content p {
    font-size: 1.8rem;
    color: var(--medium);
    margin-bottom: var(--spacing-md);
}

.confirmation-details {
    background-color: var(--light);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.confirmation-details h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.detail-item {
    margin-bottom: var(--spacing-xs);
}

.detail-item strong {
    color: var(--dark);
}

.next-steps {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.next-steps h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.next-steps ol {
    list-style-type: decimal;
    padding-left: 2rem;
}

.next-steps li {
    margin-bottom: 1rem;
    color: var(--medium);
}

.thank-you-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* ===== 17. Legal Pages ===== */
.legal-content {
    padding: var(--spacing-xl) 0;
}

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

.legal-header h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.legal-header p {
    font-size: 1.6rem;
    color: var(--medium);
}

.legal-body {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--retro-border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--retro-shadow);
}

.legal-body h3 {
    color: var(--primary-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-body p {
    margin-bottom: var(--spacing-sm);
    color: var(--medium);
}

.legal-body ul, 
.legal-body ol {
    margin-bottom: var(--spacing-md);
    padding-left: 2rem;
}

.legal-body ul li, 
.legal-body ol li {
    margin-bottom: 0.5rem;
    color: var(--medium);
}

.legal-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

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

.cookie-table th {
    background-color: var(--primary-light);
    color: var(--white);
    font-weight: 600;
}

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

/* ===== 18. Utility Classes ===== */
.text-center {
    text-align: center;
}

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

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mb-5 {
    margin-bottom: var(--spacing-xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

.mt-5 {
    margin-top: var(--spacing-xl);
}

.hidden {
    display: none;
}

/* ===== 19. Media Queries ===== */
@media screen and (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .hero .container,
    .about-content,
    .subscription-content {
        flex-direction: column;
    }
    
    .hero-image,
    .about-image,
    .subscription-image {
        margin-bottom: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-logo {
        text-align: center;
        align-items: center;
        margin-bottom: var(--spacing-md);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg) 0;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    nav ul.active {
        left: 0;
    }
    
    .service-card,
    .price-card,
    .blog-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    
    .price-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .stats,
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .thank-you-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 52%;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 3.6rem;
    }
    
    .testimonial-controls {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
