/* ============================================================
   pricing.css — Airditors Media Pricing Page
   Design system matches AIRO page aesthetic
   Navbar styles live in navbar.css (linked separately)
   ============================================================ */

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

:root {
    --gold: #f4b400;
    --orange: #ff8a00;
    --bg: #0a0a0a;
    --bg-2: #0d0d0d;
    --border: rgba(255,255,255,0.07);
    --border-gold: rgba(244,180,0,0.2);
    --text-dim: #888;
    --text-mid: #ccc;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: #fff;
    overflow-x: hidden;
}

/* ============================================================
   PRICING HERO HEADER
   ============================================================ */
.pricing-hero {
    position: relative;
    padding: 160px 10% 80px;
    text-align: center;
    overflow: hidden;
    background: var(--bg);
}

.pricing-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.55) 1.2px, transparent 1px),
        radial-gradient(ellipse at 50% 0%, rgba(244,180,0,0.18) 0%, rgba(255,138,0,0.08) 20%, transparent 55%);
    background-size: 5px 5px, auto;
    pointer-events: none;
    z-index: 0;
}

.pricing-hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244,180,0,0.06) 0%, transparent 70%);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 0;
}

.pricing-hero > * { position: relative; z-index: 1; }

.pricing-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pricing-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 200;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.pricing-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.75;
}

/* ============================================================
   LAYOUT — sidebar + content
   ============================================================ */
.pricing-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar */
.pricing-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--border);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-heading {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.sidebar-link {
    display: block;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-dim);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--gold);
    background: rgba(244,180,0,0.06);
    border-color: var(--border-gold);
}

/* Content */
.pricing-content {
    flex: 1;
    padding: 60px 6% 100px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.pricing-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, rgba(0,0,0,0.5) 1.2px, transparent 1px),
        radial-gradient(ellipse at 50% 0%, rgba(244,180,0,0.10) 0%, transparent 40%);
    background-size: 5px 5px, auto;
    pointer-events: none;
    z-index: 0;
}

.pricing-content > * { position: relative; z-index: 1; }

/* ============================================================
   SERVICE SECTION
   ============================================================ */
.price-section {
    margin-bottom: 100px;
    scroll-margin-top: 100px;
}

.price-section-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.price-section-eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 8px;
}

.price-section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 300;
    color: #fff;
    margin-bottom: 8px;
}

.price-section-sub {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ============================================================
   PRICING CARDS GRID
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.price-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.price-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.price-card:hover::before { transform: scaleX(1); }

.price-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
}

/* Featured card */
.price-card.featured {
    background: linear-gradient(145deg, rgba(80,80,80,0.15), rgba(0,0,0,0.8));
    border-color: rgba(255,140,0,0.25);
}

.price-card.featured::before { transform: scaleX(1); }

/* Elite card */
.price-card.elite {
    background: linear-gradient(145deg, rgba(244,180,0,0.07), rgba(0,0,0,0.85));
    border-color: rgba(244,180,0,0.25);
}

.price-card.elite::before { transform: scaleX(1); }

/* Card tier badge */
.price-tier {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.price-tier-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.price-tier img {
    width: 26px;
    height: 26px;
}

.price-amount {
    font-size: 44px;
    font-weight: 200;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.price-period {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.5;
}

.price-features li::before {
    content: "✦";
    color: var(--gold);
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* ============================================================
   MOBILE SIDEBAR TOGGLE
   ============================================================ */
.sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    background: linear-gradient(45deg, var(--gold), var(--orange));
    color: #000;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(244,180,0,0.4);
    letter-spacing: 1px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1400;
}

.sidebar-overlay.open { display: block; }

/* ============================================================
   MOBILE — 900px (sidebar collapses earlier due to its width)
   ============================================================ */
@media (max-width: 900px) {

    /* Hide sidebar, show floating toggle */
    .pricing-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        z-index: 1500;
        padding: 100px 28px 40px;
        background: #111;
        border-right: 1px solid var(--border-gold);
        box-shadow: 4px 0 30px rgba(0,0,0,0.7);
        animation: slideInLeft 0.3s ease forwards;
    }

    .pricing-sidebar.open { display: flex; }

    @keyframes slideInLeft {
        from { transform: translateX(-100%); }
        to { transform: translateX(0); }
    }

    .sidebar-toggle { display: block; }

    .pricing-content { padding: 40px 5% 80px; }
    .pricing-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ============================================================
   MOBILE — 768px
   ============================================================ */
@media (max-width: 768px) {

    .pricing-hero { padding: 120px 6% 60px; }
    .pricing-title { font-size: clamp(36px, 10vw, 56px); letter-spacing: -1px; }
    .pricing-desc { font-size: 15px; }

    .pricing-content { padding: 30px 5% 80px; }

    .price-section { margin-bottom: 70px; }
    .price-section-title { font-size: 22px; }

    .pricing-grid { grid-template-columns: 1fr; gap: 16px; }

    .price-card { padding: 26px 22px; }
    .price-amount { font-size: 36px; }
}

/* ============================================================
   TABLET — 481px to 900px
   ============================================================ */
@media (min-width: 481px) and (max-width: 900px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SMALL MOBILE — 420px
   ============================================================ */
@media (max-width: 420px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-title { letter-spacing: -0.5px; }
}
