/* VPSCoupons Production Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #ff6b00;
    --primary-hover: #e05e00;
    --primary-light: rgba(255, 107, 0, 0.12);
    --secondary: #111625;
    --bg-dark: #0a0d14;
    --card-bg: rgba(18, 24, 38, 0.7);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --container-max: 1320px;
}

body.light-mode {
    --bg-dark: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.logo-brand img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
}

.search-hero {
    max-width: 640px;
    margin: 0 auto 40px;
    position: relative;
}

.search-hero input {
    width: 100%;
    padding: 16px 24px;
    padding-right: 140px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    font-size: 16px;
    outline: none;
}

.search-hero button {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    border-radius: 40px;
    padding: 0 24px;
}

/* Mega Comparison Table */
.mega-table-wrapper {
    margin: 40px 0;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.mega-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
    background: var(--card-bg);
}

.mega-table th {
    background: rgba(15, 23, 42, 0.95);
    padding: 18px 16px;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    position: sticky;
    top: 76px;
    z-index: 10;
    border-bottom: 1px solid var(--border-color);
}

.mega-table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    vertical-align: middle;
}

.provider-cell {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
}

.provider-logo {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,0,0,0.1);
}

.provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.price-tag {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.coupon-box {
    background: var(--primary-light);
    border: 1px dashed var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    cursor: pointer;
}

/* Star Rating */
.star-rating {
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.star-rating .rating-number {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 4px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.faq-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.faq-card h3 {
    font-size: 18px;
    color: var(--primary);
}

/* Mega Footer */
.footer-mega {
    background: rgba(5, 7, 12, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-main);
}

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

.footer-links li {
    margin-bottom: 12px;
}

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
