/* Premium Investor Theme */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --accent: #f59e0b;
    --bg-deep: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --glass: rgba(255, 255, 255, 0.05);
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --gold: #fbbf24;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Glassmorphism Header */
header {
    padding: 2rem 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(14, 165, 233, 0.1), transparent);
    margin-bottom: 3rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #0ea5e9, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Stats Dashboard */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.05), transparent 70%);
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-accent { color: var(--accent); }
.stat-primary { color: var(--primary); }

/* Featured Domains Grid */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.premium-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.premium-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.crown-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--gold);
    font-size: 1.2rem;
}

.domain-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

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

.domain-tag {
    background: rgba(14, 165, 233, 0.15);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.domain-value {
    font-weight: 600;
    color: var(--accent);
}

/* Data Table */
.data-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
}

.table-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.search-bar {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: white;
    width: 300px;
    outline: none;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 1rem 2rem;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(0,0,0,0.1);
}

td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
}

tr:hover td {
    background: rgba(255,255,255,0.02);
}

.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-ionos { background: rgba(0, 50, 160, 0.3); color: #60a5fa; }
.badge-sav { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.badge-hostinger { background: rgba(103, 58, 183, 0.2); color: #a78bfa; }

/* Contact CTA */
.cta-section {
    margin: 6rem 0;
    padding: 4rem;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.cta-title { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-text { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.btn-primary {
    background: white;
    color: #0369a1;
    padding: 1.25rem 3rem;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #f8fafc;
}

footer {
    text-align: center;
    padding-bottom: 4rem;
    color: var(--text-dim);
    font-size: 0.875rem;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .navbar {
        padding: 1rem 1.5rem !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-deep);
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        z-index: 9999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-value {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem;
    }

    .table-header {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 1rem;
    }

    .search-bar {
        width: 100% !important;
    }

    .inventory-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
        border-radius: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        flex: none;
    }

    /* Fixed Table Scrolling */
    .data-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 800px; /* Force scroll on mobile for better readability */
    }

    th, td {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 2.5rem 1.5rem;
        margin: 4rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .btn-primary {
        width: 100%;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .stat-value {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}

/* Mobile Menu Button Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.mobile-menu-btn span {
    width: 2rem;
    height: 0.2rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
