/* ==========================================================================
   Libriana Book Club - Main Stylesheet
   Modern, responsive design for US market
   ========================================================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #e94560;
    --accent-hover: #d63d56;
    --secondary: #0f3460;
    --gold: #f4d03f;
    --cream: #faf8f5;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --text: #1a1a1a;
    --text-light: #666666;
    --success: #10b981;
    --error: #ef4444;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1280px;
    --container-narrow: 720px;
}

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

html {
    font-size: 16px;
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-padding-top: 0;
    scroll-margin-top: 0;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    margin-top: 0;
    scroll-margin-top: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

/* ==========================================================================
   Cookie Consent Popup
   ========================================================================== */
.cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.cookie-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.cookie-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    overflow: hidden;
}

.cookie-popup.active {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cookie-popup-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
}

.cookie-popup-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cookie-popup-header p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.cookie-popup-body {
    padding: var(--space-xl);
    max-height: 400px;
    overflow-y: auto;
}

.cookie-category {
    padding: var(--space-lg);
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.cookie-category-header h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
}

.cookie-category p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
    background-color: var(--gray-400);
    cursor: not-allowed;
}

.cookie-popup-footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: space-between;
}

.cookie-popup-footer .btn {
    flex: 1;
    min-width: 140px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

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

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

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

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

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: var(--space-xl);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 73px;
    min-height: auto;
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-top: 16px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    padding: 0 0 var(--space-4xl) 0;
    margin-top: 0;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--primary);
}

.hero-title span {
    color: var(--accent);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
}

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

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Hero Video Player */
.hero-media {
    position: relative;
}

.video-player {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--primary);
    aspect-ratio: 16 / 10;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-left: 4px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    pointer-events: none;
}

/* Floating elements */
.hero-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.hero-float-1 {
    top: 20%;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 20%;
    left: -20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

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

.hero-float-icon {
    width: 40px;
    height: 40px;
    background: var(--cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-text {
    font-size: 0.875rem;
}

.hero-float-text strong {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

.hero-float-text span {
    color: var(--text-light);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    color: var(--text-light);
    font-size: 1.125rem;
}

.how-it-works {
    background: var(--gray-100);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--space-lg);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-title {
    margin-bottom: var(--space-md);
}

.step-description {
    color: var(--text-light);
    margin: 0;
}

/* ==========================================================================
   Current Box / Featured Section
   ========================================================================== */
.featured-box {
    background: var(--primary);
    color: var(--white);
}

.featured-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.featured-content {
    padding: var(--space-2xl) 0;
}

.featured-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.featured-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.featured-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.featured-list {
    margin-bottom: var(--space-xl);
}

.featured-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.9);
}

.featured-list li svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.featured-image {
    position: relative;
}

.featured-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

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

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.pricing-toggle span {
    font-weight: 500;
    color: var(--text-light);
}

.pricing-toggle span.active {
    color: var(--text);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-xl);
}

.pricing-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.pricing-features {
    margin-bottom: var(--space-xl);
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.pricing-feature svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-feature span {
    font-size: 0.9375rem;
    color: var(--gray-700);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.testimonial-rating svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    fill: var(--gold);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--gray-700);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    color: var(--gray-900);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: var(--space-lg);
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--space-4xl) 0;
}

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.cta-note {
    margin-top: var(--space-lg);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

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

.footer-description {
    color: var(--gray-400);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
}

.footer-social a:hover svg {
    color: var(--white);
}

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
}

.footer-copyright {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

/* ==========================================================================
   Video Modal
   ========================================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: var(--gray-900);
    border-radius: var(--radius-lg);
    position: relative;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-light); }

.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-cream { background-color: var(--cream); }
.bg-gray { background-color: var(--gray-100); }

.mt-1 { margin-top: var(--space-md); }
.mt-2 { margin-top: var(--space-xl); }
.mt-3 { margin-top: var(--space-2xl); }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mb-3 { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-media {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-float {
        display: none;
    }

    .featured-container {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-container {
        padding: var(--space-2xl) 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: center;
    }

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

    .section {
        padding: var(--space-2xl) 0;
    }

    .cookie-popup-footer {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    .video-play-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    padding: 7rem 0 4rem 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Devices Grid
   ========================================================================== */
.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
}

.device-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base);
}

.device-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.device-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg) auto;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-icon svg {
    width: 64px;
    height: 64px;
}

.device-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--primary);
}

.device-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.device-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--gray-200);
}

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

/* ==========================================================================
   Browser Grid
   ========================================================================== */
.browsers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.browser-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.browser-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--primary);
}

.browser-item p {
    color: var(--text-light);
}

/* Print styles */
@media print {
    .header,
    .cookie-popup,
    .cookie-overlay,
    .video-modal {
        display: none !important;
    }

    .hero {
        padding-top: 0;
    }
}


/* Cookie Consent Popup */
.cookie-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 9998 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all var(--transition-base) !important;
}

.cookie-overlay.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.cookie-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.9) !important;
    width: 90% !important;
    max-width: 600px !important;
    max-height: 90vh !important;
    background: var(--white) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-xl) !important;
    z-index: 9999 !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all var(--transition-base) !important;
    overflow: hidden !important;
}

.cookie-popup.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

.cookie-popup-header {
    padding: var(--space-xl) !important;
    border-bottom: 1px solid var(--gray-200) !important;
}

.cookie-popup-header h3 {
    font-size: 1.5rem !important;
    margin-bottom: var(--space-sm) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-sm) !important;
}

.cookie-popup-header p {
    color: var(--text-light) !important;
    font-size: 0.9375rem !important;
    margin: 0 !important;
}

.cookie-popup-body {
    padding: var(--space-xl) !important;
    max-height: 400px !important;
    overflow-y: auto !important;
}

.cookie-popup-footer {
    padding: var(--space-xl) !important;
    border-top: 1px solid var(--gray-200) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--space-md) !important;
    justify-content: space-between !important;
}

.cookie-popup-footer .btn {
    flex: 1 !important;
    min-width: 140px !important;
}

@media (max-width: 768px) {
    .cookie-popup-footer {
        flex-direction: column !important;
    }
}


