:root {
    --primary: #0066FF;
    --primary-hover: #0052CC;
    --secondary: #6366f1;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --error: #ef4444;
    --error-bg: #fef2f2;
    --warning: #f59e0b;
    --warning-bg: #fffbeb;
    --dark: #0f172a;
    --dark-muted: #334155;
    --light: #ffffff;
    --bg-page: #f8fafc;
    --border: #e2e8f0;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. Header Ticker for Domain Sales */
.sales-ticker-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%);
    color: #e2e8f0;
    font-size: 0.85rem;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 40px;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ticker-content {
    display: inline-block;
    padding-left: 20px;
    animation: ticker 35s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 32px;
}

.ticker-domain {
    font-weight: 600;
    color: #38bdf8;
    margin-right: 6px;
}

.ticker-price {
    font-weight: 700;
    color: #4ade80;
    margin-right: 6px;
}

.ticker-venue {
    color: #94a3b8;
    font-size: 0.75rem;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 2. Navigation */
.navbar {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

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

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
}

.logo-badge {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--dark-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.btn-pro-pill {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pro-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

/* 3. Hero Section */
.hero {
    text-align: center;
    padding: 48px 0 32px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--dark-muted);
    max-width: 680px;
    margin: 0 auto 32px;
}

/* 4. Checker Tool Card */
.tool-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px;
    margin-bottom: 48px;
}

.mode-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.mode-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-muted);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mode-btn.active {
    background: #eff6ff;
    color: var(--primary);
}

.input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.bulk-textarea {
    width: 100%;
    min-height: 140px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bulk-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* Combiner Form */
.combiner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.combiner-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    outline: none;
}

.combiner-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* TLD Selector */
.tld-section {
    margin-top: 24px;
}

.tld-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.preset-chip {
    background: #f1f5f9;
    color: var(--dark-muted);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-chip:hover, .preset-chip.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.tld-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tld-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.tld-chip.selected {
    background: #eff6ff;
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}

.btn-check {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3);
    transition: all 0.2s;
}

.btn-check:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.quota-indicator {
    font-size: 0.88rem;
    color: var(--dark-muted);
}

/* 5. Results Section */
.results-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 48px;
    display: none;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.stats-badges {
    display: flex;
    gap: 10px;
}

.stat-badge {
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.stat-badge.available {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid #a7f3d0;
}

.stat-badge.taken {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid #fecaca;
}

.filter-btn-group {
    display: flex;
    gap: 6px;
}

.filter-btn {
    padding: 6px 14px;
    border: 1px solid var(--border);
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

.results-table th {
    text-align: left;
    padding: 12px 16px;
    background: #f8fafc;
    color: var(--dark-muted);
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.results-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.domain-cell {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-status.available {
    background: var(--success-bg);
    color: var(--success);
}

.badge-status.taken {
    background: var(--error-bg);
    color: var(--error);
}

.badge-val {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 6px;
}

.btn-register-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-reg {
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-reg.namecheap {
    background: #ff5722;
    color: white;
}

.btn-reg.namecheap:hover {
    background: #e64a19;
}

.btn-reg.dynadot {
    background: #0284c7;
    color: white;
}

.btn-reg.dynadot:hover {
    background: #0369a1;
}

.btn-reg.godaddy {
    background: #008289;
    color: white;
}

.btn-reg.godaddy:hover {
    background: #006b70;
}

/* 6. Trending Brand Drops & Sales Grid */
.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-sub {
    color: var(--dark-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}

.brand-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.brand-card-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.brand-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--dark-muted);
    margin-bottom: 16px;
}

/* 7. Payhip Pro Banner */
.pro-banner {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-banner-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.pro-banner-content p {
    color: #cbd5e1;
    max-width: 550px;
    font-size: 0.95rem;
}

.pro-banner-perks {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #38bdf8;
    font-weight: 600;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-muted);
}

/* Footer */
.site-footer {
    background: var(--light);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    color: var(--dark-muted);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .combiner-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}
