/* Serva — Public Website Styles */

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --dark2: #222222;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #cccccc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Navigation ─────────────────────────────── */

.navbar {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    z-index: 100;
    padding: 16px 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo .flame {
    font-size: 24px;
}

.logo-text {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--black) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--gold-light);
}

@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }
}

/* ── Hero Section ───────────────────────────── */

.hero {
    padding: 80px 24px 100px;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark) 100%);
    overflow: hidden;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .gold {
    color: var(--gold);
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 36px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-light);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--gold);
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-large {
    padding: 20px 48px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-value {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Phone Mockup ───────────────────────────── */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark2);
    border-radius: 40px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2), 0 0 0 8px #1a1a1a;
    position: relative;
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: var(--black);
    border-radius: 10px;
}

.phone-screen {
    background: var(--black);
    width: 100%;
    height: 100%;
    border-radius: 28px;
    padding: 40px 16px 16px;
    overflow: hidden;
}

.phone-header {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gold);
    margin-bottom: 16px;
}

.phone-flame {
    font-size: 20px;
}

.phone-title {
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 1px;
    margin: 4px 0;
}

.phone-subtitle {
    font-size: 11px;
    color: var(--gray);
}

.phone-menu-item {
    background: var(--dark);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    border-left: 3px solid var(--gold);
}

.phone-item-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 2px;
}

.phone-item-price {
    font-size: 14px;
    color: var(--white);
    font-weight: 900;
}

/* ── Sections ───────────────────────────────── */

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
}

@media (max-width: 600px) {
    .section-title {
        font-size: 32px;
    }
}

/* ── Features ───────────────────────────────── */

.features {
    padding: 100px 0;
    background: var(--black);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--dark);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--gold);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: Georgia, serif;
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ── How It Works ───────────────────────────── */

.how-it-works {
    padding: 100px 0;
    background: var(--dark);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--black);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    font-family: Georgia, serif;
}

.step-content h3 {
    font-family: Georgia, serif;
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 6px;
}

.step-content p {
    color: var(--gray-light);
    font-size: 15px;
}

/* ── Video Section ──────────────────────────── */

.video-section {
    padding: 100px 0;
    background: var(--black);
}

.video-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    border: 2px solid var(--gold);
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.video-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.play-button {
    font-size: 64px;
    color: var(--gold);
    margin-bottom: 12px;
    transition: transform 0.3s;
}

.video-preview:hover .play-button {
    transform: scale(1.15);
}

.video-label {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
}

/* ── Pricing ────────────────────────────────── */

.pricing {
    padding: 100px 0;
    background: var(--dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--black);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
}

.pricing-card.popular {
    border: 2px solid var(--gold);
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--black);
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
}

.pricing-name {
    font-family: Georgia, serif;
    color: var(--gold);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.price-amount {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--white);
}

.price-unit {
    font-size: 20px;
    color: var(--gray);
}

.pricing-period {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-features li {
    color: var(--gray-light);
    font-size: 15px;
    padding: 8px 0;
}

.pricing-monthly {
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
    padding-top: 16px;
    border-top: 1px solid #333;
    text-align: center;
}

/* ── CTA Section ────────────────────────────── */

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--black);
    text-align: center;
}

.cta-section h2 {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: var(--black);
    color: var(--gold);
}

.cta-section .btn-primary:hover {
    background: var(--dark);
}

/* ── Footer ─────────────────────────────────── */

.footer {
    background: var(--black);
    border-top: 1px solid #222;
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 14px;
}

.footer-right a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--gold);
}

/* ── Animations ─────────────────────────────── */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .step, .pricing-card {
    animation: fadeInUp 0.6s ease-out;
}