/* iOS-Style Design System - COM.STORE */
/* Mobile-First Responsive Design with Solid #cc9933 Gold */

/* CSS Variables - iOS Design System */
:root {
    /* Primary Brand Colors - No Gradients */
    --gold: #cc9933;
    --gold-hover: #b8860b;
    --gold-active: #996633;
    --gold-light: #e6c366;
    --gold-dark: #996633;
    
    /* iOS System Colors - Light Mode */
    --system-bg: #ffffff;
    --system-bg-secondary: #f2f2f7;
    --system-bg-tertiary: #ffffff;
    --system-grouped-bg: #f2f2f7;
    --system-grouped-bg-secondary: #ffffff;
    --system-fill: rgba(120, 120, 128, 0.2);
    --system-fill-secondary: rgba(120, 120, 128, 0.16);
    --system-fill-tertiary: rgba(118, 118, 128, 0.12);
    
    /* iOS Text Colors - Light Mode */
    --text-primary: #000000;
    --text-secondary: rgba(60, 60, 67, 0.6);
    --text-tertiary: rgba(60, 60, 67, 0.3);
    --text-quaternary: rgba(60, 60, 67, 0.18);
    
    /* iOS Separator Colors */
    --separator: rgba(60, 60, 67, 0.29);
    --separator-opaque: #c6c6c8;
    
    /* iOS Material Effects */
    --material-thick: rgba(250, 250, 250, 0.92);
    --material-regular: rgba(250, 250, 250, 0.78);
    --material-thin: rgba(250, 250, 250, 0.68);
    --material-ultrathin: rgba(250, 250, 250, 0.55);
    
    /* iOS Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 10px 32px rgba(0, 0, 0, 0.08);
    
    /* Typography - iOS System Fonts */
    --font-system: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    
    /* iOS Spacing System - Mobile First */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 20px;
    --spacing-2xl: 28px;
    --spacing-3xl: 36px;
    
    /* iOS Border Radius */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-3xl: 28px;
    --radius-pill: 100px;
    
    /* iOS Animations */
    --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --spring-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --spring-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode - iOS System Colors */
[data-theme="dark"] {
    /* iOS System Colors - Dark Mode */
    --system-bg: #000000;
    --system-bg-secondary: #1c1c1e;
    --system-bg-tertiary: #2c2c2e;
    --system-grouped-bg: #000000;
    --system-grouped-bg-secondary: #1c1c1e;
    --system-fill: rgba(120, 120, 128, 0.36);
    --system-fill-secondary: rgba(120, 120, 128, 0.32);
    --system-fill-tertiary: rgba(118, 118, 128, 0.24);
    
    /* iOS Text Colors - Dark Mode */
    --text-primary: #ffffff;
    --text-secondary: rgba(235, 235, 245, 0.6);
    --text-tertiary: rgba(235, 235, 245, 0.3);
    --text-quaternary: rgba(235, 235, 245, 0.18);
    
    /* iOS Separator Colors - Dark Mode */
    --separator: rgba(84, 84, 88, 0.6);
    --separator-opaque: #38383a;
    
    /* iOS Material Effects - Dark Mode */
    --material-thick: rgba(30, 30, 30, 0.92);
    --material-regular: rgba(30, 30, 30, 0.78);
    --material-thin: rgba(30, 30, 30, 0.68);
    --material-ultrathin: rgba(30, 30, 30, 0.55);
    
    /* Shadows - Dark Mode */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 10px 32px rgba(0, 0, 0, 0.4);
}

/* Base Reset with iOS Foundation */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    line-height: 1.47059;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-system);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
    background: var(--system-bg);
    color: var(--text-primary);
    transition: background-color 0.3s var(--ease-in-out-quint);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Container System - Mobile First */
.container {
    width: 100%;
    padding: 0 var(--spacing-lg);
    margin: 0 auto;
}

/* Navigation - iOS Style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--material-thick);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid var(--separator);
    transition: all 0.3s var(--ease-in-out-quint);
    height: 44px;
}

.navbar.scrolled {
    background: var(--material-regular);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 var(--spacing-lg);
}

.nav-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.4px;
}

.nav-logo {
    height: 20px;
    width: auto;
}

.nav-logo-light {
    display: block;
}

.nav-logo-dark {
    display: none;
}

[data-theme="dark"] .nav-logo-light {
    display: none;
}

[data-theme="dark"] .nav-logo-dark {
    display: block;
}

/* Hide desktop nav on mobile */
.nav-links {
    display: none;
}

/* iOS-Style Mobile Menu Button */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.menu-icon {
    width: 18px;
    height: 12px;
    position: relative;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    position: absolute;
    transition: all 0.25s var(--ease-in-out-quint);
    border-radius: 1px;
}

.menu-icon span:first-child {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:last-child {
    bottom: 0;
}

/* iOS-Style Side Sheet */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-in-out-quint);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 75%;
    max-width: 320px;
    background: var(--system-grouped-bg);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-in-out-quint);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.mobile-menu-header {
    padding: var(--spacing-lg);
    border-bottom: 0.5px solid var(--separator);
    background: var(--material-thick);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-close {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-pill);
    background: var(--system-fill);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
    transition: all 0.2s var(--ease-out-quint);
}

.mobile-menu-close:active {
    transform: scale(0.92);
    background: var(--system-fill-secondary);
}

.mobile-menu-nav {
    padding: var(--spacing-sm) 0;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.4px;
    transition: background-color 0.2s var(--ease-out-quint);
}

.mobile-menu-nav a:active {
    background: var(--system-fill);
}

.mobile-menu-nav .nav-cta {
    margin: var(--spacing-lg);
    display: block;
    text-align: center;
    background: var(--gold);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-pill);
    font-weight: 600;
}

/* Theme Toggle - iOS Style */
.theme-toggle {
    width: 51px;
    height: 31px;
    background: var(--system-fill-secondary);
    border-radius: var(--radius-pill);
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s var(--ease-in-out-quint);
    margin: var(--spacing-lg);
}

.theme-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 27px;
    height: 27px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-in-out-quint);
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .theme-toggle {
    background: var(--gold);
}

[data-theme="dark"] .theme-toggle-thumb {
    transform: translateX(20px);
}

/* Hero Section - iOS Style */
.hero {
    padding-top: calc(44px + var(--spacing-3xl));
    padding-bottom: var(--spacing-3xl);
    background: var(--system-bg);
}

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

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.125;
    letter-spacing: -0.009em;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

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

.hero-subtitle {
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    padding: 0 var(--spacing-lg);
}

/* Domain Search - iOS Style */
.domain-search-container {
    margin: var(--spacing-2xl) 0;
}

.domain-search-box {
    background: var(--system-grouped-bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.search-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Input with suffix container */
.input-with-suffix {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.domain-input {
    width: 100%;
    padding: var(--spacing-md) calc(var(--spacing-lg) + 100px) var(--spacing-md) var(--spacing-lg);
    background: var(--system-bg);
    border: 1px solid var(--gold);
    border-radius: var(--radius-pill);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.4px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s var(--ease-out-quint);
}

.domain-input:focus {
    background: var(--system-bg);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(204, 153, 51, 0.15);
}

/* Suffix inside input field */
.domain-suffix-inline {
    position: absolute;
    right: var(--spacing-lg);
    color: var(--gold);
    font-weight: 600;
    font-size: 17px;
    pointer-events: none;
    user-select: none;
}

.search-btn {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--gold);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.4px;
    cursor: pointer;
    transition: all 0.2s var(--ease-out-quint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    min-height: 50px;
}

.search-btn:active {
    transform: scale(0.97);
    background: var(--gold-hover);
}

/* Suggestion Buttons */
.suggestion-btn {
    background: var(--system-fill);
    border: 1px solid var(--separator);
    border-radius: var(--radius-pill);
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease-out-quint);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
}

.suggestion-btn:hover {
    background: var(--system-fill-secondary);
    border-color: var(--gold);
    transform: scale(1.05);
}

.suggestion-btn:active {
    transform: scale(0.97);
    background: var(--system-fill-tertiary);
}

.suggestion-btn svg {
    flex-shrink: 0;
}

/* iOS-Style Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-pill);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-out-quint);
    min-height: 44px;
    position: relative;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--system-bg);
}

.btn-primary:active {
    transform: scale(0.97);
    opacity: 0.8;
}

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

.btn-secondary:active {
    transform: scale(0.97);
    background: var(--gold-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-ghost:active {
    background: rgba(204, 153, 51, 0.1);
    transform: scale(0.97);
}

/* Section Headers - Centered */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.125;
    letter-spacing: -0.009em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.47059;
    letter-spacing: -0.022em;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid - iOS Style */
.features {
    padding: var(--spacing-3xl) 0;
    background: var(--system-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

/* Small screens (480px+) - 2 columns */
@media (min-width: 480px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--system-grouped-bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    transition: all 0.3s var(--ease-in-out-quint);
}

.feature-card:active {
    transform: scale(0.98);
    background: var(--system-fill);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.45px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.feature-description {
    font-size: 15px;
    line-height: 1.43;
    letter-spacing: -0.23px;
    color: var(--text-secondary);
}

/* Pricing Cards - iOS Style */
.pricing {
    padding: var(--spacing-3xl) 0;
    background: var(--system-grouped-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

/* 8-Tier Pricing Layout - Mobile First */
.pricing-tiers {
    margin-top: var(--spacing-2xl);
    padding: 0 var(--spacing-lg);
}

/* Mobile First - 1 column stacked */
.tier-scroll-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

/* Tablet - 2 columns (4 rows) */
@media (min-width: 768px) {
    .tier-scroll-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Desktop - 4 columns (2 rows) */
@media (min-width: 1024px) {
    .tier-scroll-container {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }
}

.pricing-card {
    background: var(--system-grouped-bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    border: 1px solid var(--separator);
    position: relative;
    transition: all 0.3s var(--ease-in-out-quint);
}

.pricing-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(204, 153, 51, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-name {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.plan-price {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--gold);
    margin-bottom: var(--spacing-lg);
}

.plan-price span {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 15px;
    line-height: 1.43;
    letter-spacing: -0.23px;
    color: var(--text-secondary);
}

.plan-features li::before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
    margin-top: 1px;
}

.plan-features li svg {
    flex-shrink: 0;
    margin-right: 6px;
}

/* Tier-specific styles */
.plan-renewal {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 4px 0;
}

.plan-example {
    font-size: 12px;
    color: var(--gold);
    font-family: var(--font-mono);
    margin: 8px 0 0 0;
}

.pricing-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

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

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

/* Tier color variations */
.tier-basic.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(204, 153, 51, 0.15);
    transform: scale(1.02);
}

.tier-gold.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(204, 153, 51, 0.15);
}

.tier-ultra .plan-badge {
    background: #9333ea;
}

.tier-premium .plan-badge {
    background: #3b82f6;
}

.tier-gold .plan-badge {
    background: var(--gold);
}

.tier-silver .plan-badge {
    background: #94a3b8;
}

.tier-bronze .plan-badge {
    background: #a16207;
}

.tier-standard .plan-badge {
    background: #059669;
}

.tier-value .plan-badge {
    background: #0891b2;
}

.tier-basic .plan-badge {
    background: #6b7280;
}

/* Footer - iOS Style */
.footer-compact {
    margin-top: var(--spacing-3xl);
    background: var(--system-grouped-bg);
    border-top: 0.5px solid var(--separator);
    padding: var(--spacing-xl) 0;
}

.footer-content {
    text-align: center;
    padding: 0 var(--spacing-lg);
}

/* Footer Desktop Layout */
.footer-desktop {
    display: none;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: -0.23px;
    transition: color 0.2s var(--ease-out-quint);
}

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

.footer-links .separator {
    color: var(--text-tertiary);
    font-size: 14px;
}

.footer-logo {
    height: 24px;
    width: auto;
    margin-right: var(--spacing-sm);
}

.footer-logo-light {
    display: block;
}

.footer-logo-dark {
    display: none;
}

[data-theme="dark"] .footer-logo-light {
    display: none;
}

[data-theme="dark"] .footer-logo-dark {
    display: block;
}

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

.footer-social-inline a {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out-quint);
}

.footer-social-inline a:hover {
    color: var(--gold);
}

.footer-social-inline svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.footer-tagline {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: var(--spacing-md);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 13px;
    letter-spacing: -0.08px;
    line-height: 1.38;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--gold);
    text-decoration: none;
}

.footer-legal .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 4px;
}

/* Footer Mobile Layout */
.footer-mobile {
    display: block;
}

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

.footer-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: var(--spacing-xs);
}

.footer-links-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    line-height: 1.4;
}

.footer-links-horizontal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    padding: var(--spacing-xs) 0;
    transition: color 0.2s var(--ease-out-quint);
    white-space: nowrap;
}

.footer-links-horizontal a:active {
    color: var(--gold);
}

.footer-links-horizontal .separator {
    color: var(--text-tertiary);
    font-size: 14px;
    user-select: none;
}

.footer-legal-mobile {
    text-align: center;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.footer-legal-mobile a {
    color: var(--gold);
    text-decoration: none;
}

.copyright-break {
    display: block;
    margin-top: var(--spacing-xs);
}

/* Tablet Styles (iPad) */
@media (min-width: 768px) {
    /* Spacing adjustments for tablets */
    :root {
        --spacing-xs: 6px;
        --spacing-sm: 10px;
        --spacing-md: 16px;
        --spacing-lg: 20px;
        --spacing-xl: 28px;
        --spacing-2xl: 40px;
        --spacing-3xl: 56px;
    }
    
    /* Footer responsive behavior */
    .footer-mobile {
        display: none;
    }
    
    .footer-desktop {
        display: block;
    }
    
    .footer-links-horizontal {
        gap: var(--spacing-sm);
    }
    
    .container {
        max-width: 768px;
        padding: 0 var(--spacing-xl);
    }
    
    .navbar {
        height: 48px;
    }
    
    .nav-container {
        height: 48px;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 1.08;
    }
    
    .hero-subtitle {
        font-size: 21px;
        line-height: 1.38;
    }
    
    .section-title {
        font-size: 40px;
        line-height: 1.1;
    }
    
    .section-subtitle {
        font-size: 19px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    .search-input-group {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
    }
    
    .input-with-suffix {
        border: 1px solid var(--gold);
        border-radius: var(--radius-pill) 0 0 var(--radius-pill);
        overflow: hidden;
        background: var(--system-bg);
    }
    
    .domain-input {
        border: none;
        border-radius: var(--radius-pill) 0 0 var(--radius-pill);
        padding: var(--spacing-md) calc(var(--spacing-lg) + 100px) var(--spacing-md) var(--spacing-lg);
    }
    
    .domain-suffix-inline {
        right: var(--spacing-xl);
    }
    
    .search-btn {
        border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
        min-width: 120px;
        border: 1px solid var(--gold);
        border-left: none;
    }
}

/* Intermediate breakpoint fix for 800-900px range */
@media (min-width: 800px) and (max-width: 1023px) {
    .search-input-group {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .input-with-suffix {
        border: 1px solid var(--gold);
        border-radius: var(--radius-pill);
        background: var(--system-bg);
        overflow: visible;
    }
    
    .domain-input {
        border: none;
        border-radius: var(--radius-pill);
        padding: var(--spacing-md) calc(var(--spacing-lg) + 100px) var(--spacing-md) var(--spacing-lg);
        width: 100%;
    }
    
    .domain-suffix-inline {
        right: var(--spacing-lg);
    }
    
    .search-btn {
        border-radius: var(--radius-pill);
        min-width: auto;
        width: 100%;
        border: 1px solid var(--gold);
        border-left: 1px solid var(--gold);
        margin-top: var(--spacing-md);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    /* Spacing adjustments for desktop */
    :root {
        --spacing-xs: 8px;
        --spacing-sm: 12px;
        --spacing-md: 20px;
        --spacing-lg: 24px;
        --spacing-xl: 32px;
        --spacing-2xl: 48px;
        --spacing-3xl: 64px;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .navbar {
        height: 52px;
    }
    
    .nav-container {
        height: 52px;
    }
    
    /* Show desktop navigation */
    .nav-links {
        display: flex;
        align-items: center;
        gap: var(--spacing-xl);
    }
    
    .nav-links a {
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 15px;
        font-weight: 400;
        letter-spacing: -0.23px;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-pill);
        transition: all 0.2s var(--ease-out-quint);
    }
    
    .nav-links a:hover {
        background: var(--system-fill);
        color: var(--text-primary);
    }
    
    .nav-cta {
        background: var(--gold) !important;
        color: white !important;
        padding: var(--spacing-sm) var(--spacing-lg) !important;
        font-weight: 600 !important;
    }
    
    .nav-cta:hover {
        background: var(--gold-hover) !important;
    }
    
    /* Hide mobile menu on desktop */
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 64px;
        line-height: 1.05;
    }
    
    .hero-subtitle {
        font-size: 24px;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title {
        font-size: 48px;
        line-height: 1.05;
    }
    
    .section-subtitle {
        font-size: 21px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .domain-search-container {
        max-width: 680px;
        margin: var(--spacing-3xl) auto;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .feature-card,
    .pricing-card {
        border: 2px solid var(--separator-opaque);
    }
}

/* Animated Domain Showcase - Centered with Typing Effect */
.search-suggestions {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.animated-domains-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.animated-domain-container {
    display: inline-flex;
    align-items: baseline;
    font-family: var(--font-mono);
    justify-content: center;
    font-size: 18px;
}

.animated-domain {
    color: var(--gold);
    font-weight: 600;
    display: inline-block;
    position: relative;
    text-align: center;
}

.animated-domain.typing::after {
    content: '|';
    position: absolute;
    right: -3px;
    top: 0;
    color: var(--gold);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.domain-suffix-showcase {
    color: var(--text-primary);
    font-weight: 600;
}

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

/* Loading and animation classes */
.fade-in {
    animation: fadeIn 0.6s var(--ease-out-quint) both;
}

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

/* Pulse animation for CTAs */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(204, 153, 51, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(204, 153, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(204, 153, 51, 0);
    }
}

/* iOS-style activity indicator */
.loading {
    position: relative;
    color: transparent !important;
}

.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--system-fill);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spinner 0.6s linear infinite;
}

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