/* TomYaYa Website - Modern CSS Framework */
/* Version 1.0 */

/* ========================================
   CSS Variables / Design Tokens
======================================== */
:root {
    /* Colors - Primary Blue Palette (from logo) */
    --primary-50: #e6f4ff;
    --primary-100: #bae3ff;
    --primary-200: #7cc4fa;
    --primary-300: #47a3f3;
    --primary-400: #2186eb;
    --primary-500: #0967d2;
    --primary-600: #0552b5;
    --primary-700: #03449e;
    --primary-800: #01337d;
    --primary-900: #002159;

    /* Accent Orange (from logo smile) */
    --accent-400: #f59e0b;
    --accent-500: #f97316;
    --accent-600: #ea580c;

    /* Neutral Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Typography - Using Roboto, the most popular Google Font */
    --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --font-mono: 'Fira Code', 'SF Mono', Consolas, monospace;

    /* Font Sizes - Accessible, readable scale */
    --text-xs: 0.8125rem;    /* 13px */
    --text-sm: 0.9375rem;    /* 15px */
    --text-base: 1.0625rem;  /* 17px */
    --text-lg: 1.1875rem;    /* 19px */
    --text-xl: 1.375rem;     /* 22px */
    --text-2xl: 1.625rem;    /* 26px */
    --text-3xl: 2rem;        /* 32px */
    --text-4xl: 2.5rem;      /* 40px */
    --text-5xl: 3.25rem;     /* 52px */

    /* Line heights for better readability */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;

    /* Letter spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

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

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

    /* Container */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

/* ========================================
   WCAG 2.1 Accessibility - Skip Link
======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-3) var(--space-6);
    background: var(--primary-600);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top 0.2s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--accent-500);
    outline-offset: 2px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--gray-700);
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: var(--tracking-normal);
    font-weight: 400;
}

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

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

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

/* WCAG 2.1 - Focus visible states for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-500);
    outline-offset: 2px;
}

/* High contrast focus for light backgrounds */
.btn-primary:focus-visible {
    outline-color: var(--gray-900);
}

/* High contrast focus for dark backgrounds */
.footer a:focus-visible,
.tech-section a:focus-visible,
.cta-section a:focus-visible,
.stats-section a:focus-visible {
    outline-color: white;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ========================================
   Typography - Elegant & Refined
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--leading-tight);
    color: var(--gray-900);
    letter-spacing: var(--tracking-tight);
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 600;
}
h2 {
    font-size: var(--text-3xl);
    font-weight: 600;
}
h3 {
    font-size: var(--text-xl);
    font-weight: 600;
}
h4 {
    font-size: var(--text-lg);
    font-weight: 600;
}
h5 {
    font-size: var(--text-base);
    font-weight: 600;
}
h6 {
    font-size: var(--text-sm);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.text-center { text-align: center; }
/* WCAG AA requires 4.5:1 contrast - gray-600 provides 5.74:1 on white */
.text-muted { color: var(--gray-600); }

/* ========================================
   Layout
======================================== */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--space-8);
    }
}

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

@media (min-width: 768px) {
    section {
        padding: var(--space-20) 0;
    }
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--primary-600);
}

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

.nav-menu {
    display: none;
    list-style: none;
    gap: var(--space-1);
}

@media (min-width: 1024px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    display: block;
    padding: var(--space-2) var(--space-4);
    color: var(--gray-600);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-600);
    background: var(--primary-50);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-dropdown > a::after {
    content: '';
    border: 4px solid transparent;
    border-top-color: currentColor;
    margin-top: 2px;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
    list-style: none;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--gray-700);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-dropdown .dropdown-menu a:hover {
    background: var(--primary-50);
    color: var(--primary-600);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    background: none;
    border: none;
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

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

.nav-cta {
    display: none;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: inline-flex;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: var(--space-4);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-current:hover {
    background: var(--gray-200);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-2);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    min-width: 140px;
    z-index: var(--z-dropdown);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown,
.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    color: var(--gray-700);
    font-size: var(--text-sm);
    transition: background var(--transition-fast);
}

.lang-dropdown a:hover {
    background: var(--gray-100);
}

.lang-dropdown a.active {
    background: var(--primary-50);
    color: var(--primary-600);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-fixed);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: var(--space-4);
    font-size: var(--text-lg);
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

/* ========================================
   Buttons - Clean & Modern
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0;
}

.btn svg {
    width: 16px;
    height: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-700);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(9, 103, 210, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary-500);
    color: var(--primary-600);
}

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

.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-700);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    padding-top: calc(70px + var(--space-16));
    padding-bottom: var(--space-16);
    background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: calc(70px + var(--space-20));
        padding-bottom: var(--space-20);
    }
}

.hero .container {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

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

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

.hero h1 {
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--leading-relaxed);
    font-weight: 400;
}

/* Page Hero - Internal Pages */
.page-hero {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: white;
    padding: calc(70px + var(--space-12)) 0 var(--space-12);
    text-align: center;
}

.page-hero h1 {
    color: white;
    margin-bottom: var(--space-4);
}

.page-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: var(--text-xl);
    }

    /* Homepage hero - left align on desktop */
    .hero .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
    margin-bottom: var(--space-10);
}

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

.hero-stats {
    display: flex;
    gap: var(--space-8);
    justify-content: center;
}

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

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

.hero-stats strong {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--primary-600);
}

.hero-stats span {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

.hero-image {
    position: relative;
}

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

/* ========================================
   Problem Section
======================================== */
.problem-section {
    background: white;
}

.problem-grid {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-12);
}

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

.problem-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

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

.problem-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: var(--radius-xl);
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    color: var(--error);
}

.problem-card h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    font-weight: 600;
}

.problem-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.problem-solution {
    text-align: center;
    margin-top: var(--space-10);
    padding: var(--space-5);
    background: var(--primary-600);
    border-radius: var(--radius-xl);
    color: white;
    font-size: var(--text-base);
    font-weight: 500;
}

/* ========================================
   Features Section
======================================== */
.features-section {
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-4);
    font-size: var(--text-2xl);
    font-weight: 600;
    letter-spacing: var(--tracking-tight);
}

.section-subtitle {
    text-align: center;
    /* WCAG AA contrast - gray-600 for refined look */
    color: var(--gray-600);
    font-size: var(--text-base);
    max-width: 560px;
    margin: 0 auto var(--space-12);
    line-height: var(--leading-relaxed);
}

.features-grid {
    display: grid;
    gap: var(--space-6);
}

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

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.feature-card:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-4);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
}

.feature-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.feature-card p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ========================================
   How It Works Section
======================================== */
.how-section {
    background: white;
}

.steps {
    display: grid;
    gap: var(--space-8);
    margin-top: var(--space-12);
    position: relative;
}

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

    .steps::before {
        content: '';
        position: absolute;
        top: 50px;
        left: 16.67%;
        right: 16.67%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-200), var(--primary-400), var(--primary-200));
        z-index: 0;
    }
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-600);
    color: white;
    font-size: var(--text-xl);
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.step h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.step p {
    color: var(--gray-600);
    max-width: 280px;
    margin: 0 auto;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ========================================
   Tech Section
======================================== */
.tech-section {
    background: var(--gray-900);
    color: white;
}

.tech-section .section-title {
    color: white;
}

.tech-section .section-subtitle {
    color: var(--gray-400);
}

.tech-grid {
    display: grid;
    gap: var(--space-8);
}

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

.tech-card {
    padding: var(--space-8);
    background: var(--gray-800);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-700);
}

.tech-card h3 {
    color: var(--primary-400);
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.tech-card p {
    color: var(--gray-400);
    margin-bottom: 0;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

/* ========================================
   Stats / Comparison Section
======================================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    gap: var(--space-6);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    text-align: center;
}

.stat-card h3 {
    color: white;
    font-size: var(--text-base);
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.comparison {
    margin: var(--space-4) 0;
}

.bar-container {
    margin-bottom: var(--space-2);
}

.bar {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
}

.bar-old {
    background: rgba(255, 255, 255, 0.2);
}

.bar-new {
    background: var(--success);
}

.savings {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--accent-400);
    margin: 0;
}

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

.pricing-grid {
    display: grid;
    gap: var(--space-8);
    max-width: 900px;
    margin: 0 auto;
}

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

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

.pricing-card.featured {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    padding: var(--space-1) var(--space-4);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
}

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

.pricing-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.pricing-price {
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--gray-900);
}

.pricing-period {
    color: var(--gray-500);
    font-size: var(--text-sm);
    display: block;
    margin-top: var(--space-1);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-8);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--gray-700);
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ========================================
   Calculator Section
======================================== */
.calculator-section {
    background: white;
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
}

.calc-field {
    margin-bottom: var(--space-6);
}

.calc-field label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

.calc-field input,
.calc-field select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--primary-500);
}

.calc-result {
    text-align: center;
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    border-radius: var(--radius-xl);
    color: white;
}

.calc-result-label {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-bottom: var(--space-2);
}

.calc-result-value {
    font-size: var(--text-4xl);
    font-weight: 800;
}

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

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-4);
    font-size: var(--text-2xl);
    font-weight: 600;
}

.cta-section p {
    font-size: var(--text-base);
    opacity: 0.9;
    margin-bottom: var(--space-8);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--leading-relaxed);
}

/* ========================================
   Blog Section
======================================== */
.blog-grid {
    display: grid;
    gap: var(--space-6);
}

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

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--gray-300);
}

.blog-image {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

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

.blog-category {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.blog-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
    font-weight: 600;
    line-height: var(--leading-snug);
}

.blog-card h3 a {
    color: var(--gray-900);
    transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
    color: var(--primary-600);
}

.blog-card p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: var(--space-3);
    line-height: var(--leading-relaxed);
}

.blog-card time {
    /* WCAG AA contrast */
    color: var(--gray-500);
    font-size: var(--text-xs);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

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

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

.footer-brand img {
    height: 50px;
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: var(--space-4);
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

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

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

.footer-links h4 {
    color: var(--gray-300);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

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

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

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

.footer-newsletter h4 {
    color: var(--gray-300);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.footer-newsletter p {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.newsletter-form {
    display: flex;
    gap: var(--space-2);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    background: var(--gray-800);
    color: white;
    font-size: var(--text-sm);
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-500);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid var(--gray-800);
    text-align: center;
    color: var(--gray-500);
    font-size: var(--text-sm);
}

/* ========================================
   Form Elements
======================================== */
.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px var(--primary-100);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   Ads Container - Non-intrusive ad placements
======================================== */
.ad-container {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-2);
    text-align: center;
    margin: var(--space-6) 0;
    overflow: hidden;
    clear: both;
}

/* Remove placeholder styling when ads load */
.ad-container ins.adsbygoogle[data-ad-status="filled"] {
    background: transparent;
}

/* Banner ads - horizontal, full width */
.ad-banner {
    max-width: 100%;
    min-height: 90px;
}

/* Rectangle ads - sidebar style */
.ad-rectangle {
    max-width: 336px;
    min-height: 280px;
    margin-left: auto;
    margin-right: auto;
}

/* In-article ads - blend with content */
.ad-in-article {
    max-width: 100%;
    margin: var(--space-8) auto;
    padding: var(--space-4) 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
}

/* Multiplex/feed ads */
.ad-multiplex {
    max-width: 100%;
    min-height: 250px;
    margin: var(--space-8) 0;
}

/* Sidebar ads - sticky capable */
.ad-sidebar {
    max-width: 300px;
    min-height: 250px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ad-container {
        margin: var(--space-4) calc(-1 * var(--space-4));
        border-radius: 0;
    }

    .ad-rectangle {
        max-width: 100%;
    }

    .ad-sidebar {
        max-width: 100%;
    }
}

/* Hide ads in print and reduce motion preference */
@media print {
    .ad-container {
        display: none !important;
    }
}

.ad-label {
    font-size: var(--text-xs);
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

/* ========================================
   Utilities
======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hidden {
    display: none !important;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none !important;
    }
}

/* ========================================
   Page Specific: Download
======================================== */
.download-grid {
    display: grid;
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}

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

.download-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    text-align: center;
    transition: all var(--transition-base);
}

.download-card:hover {
    border-color: var(--primary-400);
    box-shadow: var(--shadow-lg);
}

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

.download-card h3 {
    margin-bottom: var(--space-2);
}

.download-version {
    color: var(--gray-500);
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
}

/* ========================================
   Page Specific: Contact
======================================== */
.contact-grid {
    display: grid;
    gap: var(--space-8);
}

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

.contact-info {
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    flex-shrink: 0;
}

.contact-form {
    background: white;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
}

/* ========================================
   Animations
======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   Hero Enhancements
======================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite;
}

.card-savings {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.card-storage {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

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

.floating-icon {
    font-size: 2rem;
}

.floating-text strong {
    display: block;
    font-size: var(--text-lg);
    color: var(--primary-600);
}

.floating-text span {
    font-size: var(--text-xs);
    color: var(--gray-500);
}

@media (max-width: 1023px) {
    .hero-floating-card {
        display: none;
    }
}

/* ========================================
   Green Computing Section
======================================== */
.green-section {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    overflow: hidden;
}

.green-grid {
    display: grid;
    gap: var(--space-12);
    align-items: center;
}

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

.green-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: #065f46;
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.green-content h2 {
    margin-bottom: var(--space-4);
    color: #064e3b;
}

.green-content p {
    color: #065f46;
    margin-bottom: var(--space-6);
}

.green-stats {
    display: flex;
    gap: var(--space-8);
    margin: var(--space-8) 0;
}

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

.green-stat strong {
    display: block;
    font-size: var(--text-2xl);
    color: #059669;
}

.green-stat span {
    font-size: var(--text-sm);
    color: #065f46;
}

.green-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.earth-icon {
    font-size: 150px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.green-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    border: 3px dashed #059669;
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

/* ========================================
   Timeline Section
======================================== */
.timeline-section {
    background: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-200), var(--primary-500), var(--primary-200));
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .timeline::before {
        left: 20px;
    }
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-8);
}

@media (max-width: 767px) {
    .timeline-item {
        padding-left: 50px;
    }
}

.timeline-year {
    flex: 0 0 120px;
    text-align: right;
    padding-right: var(--space-8);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--primary-600);
}

@media (max-width: 767px) {
    .timeline-year {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        text-align: center;
        padding-right: 0;
        font-size: var(--text-sm);
        background: var(--primary-600);
        color: white;
        border-radius: var(--radius-md);
        padding: var(--space-1);
    }
}

.timeline-content {
    flex: 1;
    padding: var(--space-6);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    margin-left: var(--space-8);
    position: relative;
}

@media (max-width: 767px) {
    .timeline-content {
        margin-left: 0;
    }
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-500);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

@media (max-width: 767px) {
    .timeline-content::before {
        left: -42px;
    }
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border: 2px solid var(--primary-300);
}

.timeline-item.highlight .timeline-content::before {
    background: var(--accent-500);
    width: 20px;
    height: 20px;
}

.timeline-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.timeline-content p {
    color: var(--gray-600);
    font-size: var(--text-sm);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========================================
   Feature Card Enhancements
======================================== */
.feature-card.featured {
    border: 2px solid var(--primary-400);
    background: linear-gradient(135deg, var(--primary-50) 0%, white 100%);
}

.feature-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-2);
    background: var(--accent-500);
    color: white;
    font-size: var(--text-xs);
    font-weight: 700;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.feature-link {
    display: inline-block;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--primary-600);
    transition: color var(--transition-fast);
}

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

/* ========================================
   Nav Actions
======================================== */
.nav-actions {
    display: none;
    align-items: center;
    gap: var(--space-4);
}

@media (min-width: 1024px) {
    .nav-actions {
        display: flex;
    }
}

/* ========================================
   Navbar Scrolled State
======================================== */
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

/* ========================================
   Mobile Lang Switcher
======================================== */
.mobile-lang {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    padding: var(--space-6);
    border-top: 1px solid var(--gray-200);
}

/* ========================================
   Notification Toast
======================================== */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: var(--space-4) var(--space-6);
    background: var(--gray-800);
    color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 9999;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success {
    background: var(--success);
}

.notification-error {
    background: var(--error);
}

/* ========================================
   Calculator Enhancements
======================================== */
.calc-result-storage {
    font-size: var(--text-sm);
    opacity: 0.9;
    margin-top: var(--space-2);
}

/* ========================================
   Problem Section Enhancements
======================================== */
.solution-arrow {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ========================================
   Stat Icon in Stats Section
======================================== */
.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

.stat-icon svg {
    color: white;
}

/* ========================================
   Image Placeholders
======================================== */
.img-placeholder {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: var(--text-4xl);
}

/* ========================================
   Tech Cards (for Learn pages)
======================================== */
.tech-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

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

.tech-card-image {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
    background: var(--gray-100);
}

.tech-card-content {
    padding: var(--space-6);
}

.tech-card h3 {
    margin-bottom: var(--space-2);
}

.tech-card p {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* ========================================
   Learn Page Sections
======================================== */
.learn-hero {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: white;
    padding: calc(70px + var(--space-16)) 0 var(--space-16);
}

.learn-hero h1 {
    color: white;
}

.learn-hero p {
    color: var(--gray-300);
    font-size: var(--text-xl);
}

.learn-content {
    max-width: 800px;
    margin: 0 auto;
}

.learn-content h2 {
    margin-top: var(--space-12);
    margin-bottom: var(--space-4);
}

.learn-content p {
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.learn-content img {
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
}

.learn-content pre {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    margin: var(--space-6) 0;
}

.learn-content code {
    background: var(--gray-100);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.learn-content pre code {
    background: none;
    padding: 0;
}

.learn-sidebar {
    position: sticky;
    top: 90px;
}

.learn-toc {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
}

.learn-toc h4 {
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

.learn-toc ul {
    list-style: none;
}

.learn-toc li {
    margin-bottom: var(--space-2);
}

.learn-toc a {
    color: var(--gray-600);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.learn-toc a:hover,
.learn-toc a.active {
    color: var(--primary-600);
}

/* ========================================
   Comparison Table
======================================== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--gray-50);
    font-weight: 600;
    font-size: var(--text-sm);
}

.comparison-table tr:hover {
    background: var(--gray-50);
}

/* ========================================
   Print Styles
======================================== */
@media print {
    .navbar,
    .footer,
    .ad-container,
    .btn,
    .hero-floating-card {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    .hero {
        padding-top: 0;
    }
}

/* ========================================
   Accessibility - High Contrast Mode
======================================== */
@media (prefers-contrast: more) {
    :root {
        --gray-600: #374151;
        --gray-700: #1f2937;
    }

    body {
        color: #000;
    }

    a {
        text-decoration: underline;
    }

    .btn {
        border-width: 2px;
    }

    .blog-card,
    .feature-card,
    .pricing-card {
        border-width: 2px;
        border-color: #000;
    }
}

/* ========================================
   Accessibility - Large Text Preference
======================================== */
@media (prefers-reduced-data: reduce) {
    /* Skip loading web fonts on slow connections */
    body {
        font-family: system-ui, -apple-system, sans-serif;
    }
}

/* Text selection styling */
::selection {
    background: var(--primary-200);
    color: var(--gray-900);
}

/* Ensure minimum touch target size (44x44px) for mobile */
@media (pointer: coarse) {
    .btn,
    .nav-menu a,
    .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}
