/* ===================================
   CSS Variables & Root Styles
   =================================== */
:root {
    /* Colors - Light Mode */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #7c3aed;
    --accent: #06b6d4;

    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #64748b;

    --border-color: #e2e8f0;
    /* Improved shadow system - more prominent for better depth */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.15);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.2);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.25);

    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;

    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Standardized spacing system */
    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 60px;
    --spacing-xl: 80px;

    /* Standardized border-radius system */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;

    --border-color: #334155;
    /* Stronger shadows for dark mode */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.6);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.7);
}

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

html {
    scroll-behavior: smooth;
}

/* Respect user's motion preferences - Accessibility */
@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: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* Improved focus states for accessibility - WCAG AA compliance */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) 0;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: sticky;
    top: 0;
    /* Solid background for better performance - removed backdrop-filter */
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

body.dark-mode .header {
    background-color: var(--bg-primary);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-primary);
}

.logo {
    /* Increased logo size on desktop */
    width: 48px;
    height: 48px;
}

.logo-text {
    font-size: 22px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.nav-link-cta {
    background: var(--gradient-primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    /* Min touch target for mobile - Accessibility */
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: rotate(15deg);
}

.theme-icon {
    font-size: 20px;
}

.language-switch {
    display: flex;
    gap: 5px;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    /* Min touch target for mobile */
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
}

/* Improved hamburger menu animation - transforms to X shape when active */
.mobile-menu-toggle span:nth-child(1) {
    top: 14px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 21px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 28px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    /* Consistent spacing system */
    padding: var(--spacing-xl) 0 100px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-title {
    /* Improved typography hierarchy */
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.65;
}

/* Domain Search */
.domain-search {
    position: relative;
}

.search-form {
    background: var(--bg-primary);
    padding: 30px;
    /* Standardized border-radius */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.search-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 18px;
    border: 2px solid var(--border-color);
    /* Standardized border-radius */
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    /* Improved contrast with glow effect */
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), 0 0 20px rgba(37, 99, 235, 0.2);
    background: var(--bg-primary);
}

.search-btn {
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    /* Standardized border-radius */
    border-radius: var(--radius-md);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    /* Min touch target */
    min-height: 44px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon svg {
    stroke-width: 2.5;
}

.popular-extensions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.extension-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    /* Standardized border-radius */
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    /* Min touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.extension-tag:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Search Results */
.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    /* Standardized border-radius */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-height: 500px;
    overflow-y: auto;
    z-index: 10;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.results-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.close-results {
    /* Min touch target */
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    font-size: 24px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.results-list {
    padding: 12px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    /* Standardized border-radius */
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.result-item:hover {
    background: var(--bg-secondary);
}

.result-domain {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.result-status.available {
    background: var(--success);
    /* Add box-shadow for better visibility */
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.result-status.taken {
    background: var(--error);
    /* Add box-shadow for better visibility */
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Status text label for accessibility - no color-only information */
.result-status-text {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
}

.result-status-text.available {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.result-status-text.taken {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.result-name {
    font-size: 18px;
    font-weight: 600;
}

.result-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.result-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    /* Standardized border-radius */
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    /* Min touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

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

.result-btn:disabled {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-domains {
    position: relative;
    width: 100%;
    height: 100%;
}

.domain-bubble {
    position: absolute;
    padding: 20px 30px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    /* Standardized border-radius */
    border-radius: var(--radius-xl);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.domain-bubble:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.domain-bubble:nth-child(2) {
    top: 50%;
    left: 5%;
    animation-delay: 1s;
}

.domain-bubble:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

.domain-bubble:nth-child(4) {
    top: 20%;
    right: 10%;
    animation-delay: 3s;
}

.domain-bubble:nth-child(5) {
    top: 60%;
    right: 5%;
    animation-delay: 4s;
}

.domain-bubble:nth-child(6) {
    top: 85%;
    right: 25%;
    animation-delay: 5s;
}

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

/* ===================================
   Features Section
   =================================== */
.features {
    /* Consistent spacing system */
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.section-title {
    text-align: center;
    /* Improved typography hierarchy */
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: calc(var(--spacing-md) * -1);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: var(--spacing-md) 30px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    /* Standardized border-radius */
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    /* More prominent shadows for better depth */
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: block;
    stroke: var(--primary);
    stroke-width: 2;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    stroke: var(--primary-dark);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-preview {
    /* Consistent spacing system */
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    /* Standardized border-radius */
    border-radius: var(--radius-xl);
    padding: var(--spacing-md) 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

/* Featured pricing card - more prominent */
.pricing-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 24px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 700;
    /* More prominent shadow */
    box-shadow: var(--shadow-lg);
    letter-spacing: 0.5px;
}

.pricing-extension {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
}

.price-period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    flex-shrink: 0;
    stroke: var(--success);
    stroke-width: 3;
}

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

.pricing-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    /* Standardized border-radius */
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    /* Min touch target */
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.pricing-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    /* Consistent spacing system */
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

.cta-title {
    /* Improved typography hierarchy */
    font-size: 48px;
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 21px;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 40px;
    background: white;
    color: var(--primary);
    /* Standardized border-radius */
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    /* Min touch target */
    min-height: 44px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    /* Standardized border-radius */
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    /* Min touch target */
    min-height: 44px;
}

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

.btn-large {
    padding: 18px 48px;
    font-size: 20px;
    min-height: 56px;
}

/* Icon styles */
.arrow-icon,
.btn-arrow-icon {
    flex-shrink: 0;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.btn-primary:hover .arrow-icon,
.btn-secondary:hover .btn-arrow-icon,
.pricing-btn:hover .btn-arrow-icon {
    transform: translateX(4px);
}

.contact-icon {
    flex-shrink: 0;
    stroke-width: 2;
    vertical-align: middle;
    margin-right: 8px;
}

/* ===================================
   Trust Signals & Cart Counter
   =================================== */
/* Floating cart counter - always visible */
.cart-counter-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.cart-icon-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid var(--bg-primary);
}

.cart-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

/* Trust signal counter */
.trust-signals {
    padding: var(--spacing-lg) 0;
    background: var(--bg-primary);
    text-align: center;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.trust-stat {
    text-align: center;
    padding: var(--spacing-sm);
}

.trust-stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
}

.trust-stat-label {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Period selector for pricing */
.period-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: var(--spacing-md);
}

.period-btn {
    padding: 10px 24px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    min-height: 44px;
}

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

.period-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Price disclaimer */
.price-disclaimer {
    font-size: 13px;
    color: var(--text-tertiary);
    font-style: italic;
    margin-top: 8px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--spacing-lg) 0 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.footer-links-inline {
    display: flex;
    gap: 20px;
}

.footer-links-inline a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

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

    .hero-visual {
        display: none;
    }

    /* Adjust logo size on tablet */
    .logo {
        width: 44px;
        height: 44px;
    }

    /* Improve section spacing on tablet */
    .hero,
    .features,
    .pricing-preview,
    .cta {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-primary);
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    /* Mobile typography improvements */
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .search-input-group {
        flex-direction: column;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-title {
        font-size: 36px;
    }

    /* Mobile logo size */
    .logo {
        width: 40px;
        height: 40px;
    }

    /* Adjust spacing for mobile */
    .hero,
    .features,
    .pricing-preview,
    .cta {
        padding: var(--spacing-md) 0;
    }

    /* Hide language switcher on mobile if needed */
    .language-switch {
        display: none;
    }

    /* Adjust cart counter position on mobile */
    .cart-counter-wrapper {
        bottom: 15px;
        right: 15px;
    }

    .cart-icon-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    /* Trust stats on mobile */
    .trust-stats {
        gap: var(--spacing-md);
    }

    .trust-stat-number {
        font-size: 32px;
    }

    /* Featured card scale adjustment on mobile */
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }

    .pricing-extension {
        font-size: 36px;
    }

    .price-amount {
        font-size: 32px;
    }

    /* Smaller spacing on small mobile */
    .hero,
    .features,
    .pricing-preview,
    .cta {
        padding: var(--spacing-sm) 0;
    }

    .trust-stat-number {
        font-size: 28px;
    }
}

/* ===================================
   Language Switcher with Flags
   =================================== */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-flag-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.lang-flag-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.lang-flag-link.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.flag-icon {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 768px) {
    .language-switcher {
        gap: 4px;
    }
    
    .lang-flag-link {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .flag-icon {
        font-size: 16px;
    }
}
