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

:root {
    /* Color System */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    --coral-50: #fef2f2;
    --coral-100: #fee2e2;
    --coral-200: #fecaca;
    --coral-300: #fca5a5;
    --coral-400: #f87171;
    --coral-500: #ef4444;
    --coral-600: #dc2626;
    --coral-700: #b91c1c;
    --coral-800: #991b1b;
    --coral-900: #7f1d1d;
    
    --neutral-50: #f9fafb;
    --neutral-100: #f3f4f6;
    --neutral-200: #e5e7eb;
    --neutral-300: #d1d5db;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    
    /* Spacing System (8px base) */
    --space-1: 0.5rem;   /* 8px */
    --space-2: 1rem;     /* 16px */
    --space-3: 1.5rem;   /* 24px */
    --space-4: 2rem;     /* 32px */
    --space-5: 2.5rem;   /* 40px */
    --space-6: 3rem;     /* 48px */
    --space-8: 4rem;     /* 64px */
    --space-10: 5rem;    /* 80px */
    --space-12: 6rem;    /* 96px */
    --space-16: 8rem;    /* 128px */
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --line-height-body: 1.5;
    --line-height-heading: 1.2;
    
    /* 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);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-body);
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    font-size: 16px;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-weight: 700;
    color: var(--neutral-900);
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.875rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1.125rem; font-weight: 500; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-300);
}

.btn-full {
    width: 100%;
}

.btn-small {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--neutral-900);
    color: white;
    padding: var(--space-4);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--space-4);
}

.cookie-actions {
    display: flex;
    gap: var(--space-2);
}

.btn-accept {
    background: var(--coral-600);
    color: white;
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.btn-policy {
    color: var(--neutral-300);
    text-decoration: underline;
    padding: var(--space-2) var(--space-4);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

.domain-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
}

.nav {
    display: flex;
    gap: var(--space-6);
}

.nav-link {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

/* Hero Section */
.hero {
    padding: var(--space-16) 0 var(--space-12);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--coral-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--coral-500), var(--coral-600));
    color: white;
    padding: var(--space-2) var(--space-4);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    animation: pulse 2s infinite;
}

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

.hero-title {
    margin-bottom: var(--space-4);
    color: var(--neutral-900);
}

.highlight {
    background: linear-gradient(135deg, var(--primary-600), var(--coral-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.urgency-counter {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-4);
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-600);
}

.counter-label {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.crystal-ball {
    width: 300px;
    height: 300px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-100), var(--coral-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

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

.circuit-lines {
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="none" stroke="%233b82f6" stroke-width="2"/><circle cx="30" cy="30" r="3" fill="%23ef4444"/><circle cx="70" cy="70" r="3" fill="%23ef4444"/></svg>');
    opacity: 0.6;
}

.glow-effect {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* Value Section */
.value-section {
    padding: var(--space-12) 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--neutral-900);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
}

.value-card {
    padding: var(--space-6);
    background: var(--neutral-50);
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.value-icon {
    font-size: 2rem;
    margin-bottom: var(--space-3);
}

.value-card h3 {
    margin-bottom: var(--space-2);
    color: var(--neutral-800);
}

.value-card p {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* Examples Section */
.examples-section {
    padding: var(--space-12) 0;
    background: var(--neutral-50);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-6);
}

.example-card {
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

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

.example-tag {
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.example-metrics {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--neutral-200);
}

.metric {
    background: var(--coral-100);
    color: var(--coral-700);
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Social Proof */
.social-proof {
    padding: var(--space-8) 0;
    background: var(--primary-900);
    color: white;
    text-align: center;
}

.testimonial blockquote {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: var(--space-2);
    color: var(--primary-100);
}

.testimonial cite {
    color: var(--primary-300);
    font-size: 1rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    margin-top: var(--space-6);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--primary-300);
    margin-bottom: var(--space-1);
}

.trust-value {
    font-weight: 600;
    color: white;
}

/* Stats Section */
.stats-section {
    padding: var(--space-12) 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.stat-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--neutral-50);
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-600);
    margin-bottom: var(--space-2);
}

.stat-label {
    color: var(--neutral-600);
    font-weight: 500;
}

.comparable-sales {
    background: var(--neutral-50);
    padding: var(--space-6);
    border-radius: 16px;
}

.comparable-sales h3 {
    margin-bottom: var(--space-4);
    text-align: center;
}

.sales-table {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2);
}

.table-header {
    display: contents;
    font-weight: 600;
    color: var(--neutral-700);
}

.table-header > span {
    padding: var(--space-3);
    background: var(--neutral-200);
    border-radius: 8px;
}

.table-row {
    display: contents;
}

.table-row > span {
    padding: var(--space-3);
    background: white;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
}

/* Contact Section */
.contact-section {
    padding: var(--space-12) 0;
    background: var(--neutral-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.contact-info h2 {
    margin-bottom: var(--space-4);
}

.contact-info p {
    color: var(--neutral-600);
    margin-bottom: var(--space-6);
    font-size: 1.125rem;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

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

.feature-icon {
    color: var(--primary-600);
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: var(--space-6);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-4);
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--neutral-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-400);
    box-shadow: 0 0 0 3px var(--primary-100);
}

/* Newsletter */
.newsletter-section {
    padding: var(--space-8) 0;
    background: var(--primary-600);
    color: white;
    text-align: center;
}

.newsletter-content h3 {
    color: white;
    margin-bottom: var(--space-2);
}

.newsletter-content p {
    color: var(--primary-100);
    margin-bottom: var(--space-6);
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: var(--space-2);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-3);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

/* Footer */
.footer {
    padding: var(--space-6) 0;
    background: var(--neutral-900);
    color: var(--neutral-300);
}

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

.footer-info p {
    margin-bottom: var(--space-1);
}

.footer-info a {
    color: var(--primary-400);
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: var(--space-4);
}

.footer-links a {
    color: var(--neutral-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: var(--space-4);
    right: var(--space-4);
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--coral-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.chat-button:hover {
    transform: scale(1.1);
    background: var(--coral-700);
}

.chat-icon {
    font-size: 1.5rem;
}

.chat-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform var(--transition-normal);
}

.chat-popup.show {
    transform: scale(1);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--neutral-200);
}

.chat-header h4 {
    margin: 0;
    color: var(--neutral-800);
}

.chat-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--neutral-500);
}

.chat-content {
    padding: var(--space-4);
}

.chat-content p {
    margin-bottom: var(--space-4);
    color: var(--neutral-600);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-2);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .urgency-counter {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .crystal-ball {
        width: 200px;
        height: 200px;
    }
    
    .value-grid,
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .sales-table {
        grid-template-columns: 1fr;
        gap: var(--space-1);
    }
    
    .table-header,
    .table-row {
        display: block;
    }
    
    .table-header > span,
    .table-row > span {
        display: block;
        margin-bottom: var(--space-1);
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .nav {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    
    .hero {
        padding: var(--space-12) 0 var(--space-8);
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: 0.875rem;
    }
    
    .crystal-ball {
        width: 150px;
        height: 150px;
    }
    
    .chat-popup {
        width: 280px;
        right: -10px;
    }
}