/* ============================================================
   BINAREX CONTENT PAGES — pages.css
   Separate stylesheet for About, Services, Agency, Dragon,
   CEO, FAQ & Contact pages. Pairs with main.css variables.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --bg-primary: #04081a;
    --bg-secondary: #080f24;
    --bg-card: #0c1530;
    --bg-card-hover: #111e3a;
    --border: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 102, 255, 0.35);
    --blue: #0066ff;
    --blue-dark: #004ecc;
    --blue-light: #4d94ff;
    --blue-glow: rgba(0, 102, 255, 0.18);
    --red: #e63030;
    --red-dark: #c42020;
    --red-light: #ff6060;
    --red-glow: rgba(230, 48, 48, 0.18);
    --teal: #00d4aa;
    --teal-dark: #00a884;
    --purple: #6d28d9;
    --purple-light: #a78bfa;
    --gold: #f59e0b;
    --green: #10b981;
    --text-primary: #f0f4ff;
    --text-secondary: #8da0c0;
    --text-muted: #556080;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #e63030 100%);
    --gradient-blue: linear-gradient(135deg, #0066ff 0%, #004ecc 100%);
    --gradient-red: linear-gradient(135deg, #e63030 0%, #c42020 100%);
    --gradient-hero: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0, 102, 255, 0.14) 0%, rgba(230, 48, 48, 0.08) 50%, transparent 70%);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-teal {
    color: var(--teal);
}

.text-gold {
    color: var(--gold);
}

.text-red {
    color: var(--red-light);
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
    color: #fff;
}

.btn-secondary {
    background: rgba(0, 102, 255, 0.12);
    color: var(--blue-light);
    border: 1px solid rgba(0, 102, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.22);
    color: var(--blue-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-teal {
    background: linear-gradient(135deg, #00d4aa, #00a884);
    color: #fff;
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
    color: #fff;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-blue {
    background: rgba(0, 102, 255, 0.15);
    color: var(--blue-light);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.badge-red {
    background: rgba(230, 48, 48, 0.12);
    color: var(--red-light);
    border: 1px solid rgba(230, 48, 48, 0.3);
}

.badge-teal {
    background: rgba(0, 212, 170, 0.12);
    color: var(--teal);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.badge-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.12);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-purple {
    background: rgba(109, 40, 217, 0.15);
    color: var(--purple-light);
    border: 1px solid rgba(109, 40, 217, 0.3);
}

.badge-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    height: 70px;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(4, 8, 26, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 16px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.navbar-logo .logo-accent {
    color: var(--red-light);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.navbar-nav a {
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 26, 0.99);
    z-index: 999;
    flex-direction: column;
    padding: 84px 28px 28px;
    gap: 4px;
    overflow-y: auto;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.mobile-nav a:hover {
    color: var(--blue-light);
}

.mobile-nav-close {
    position: absolute;
    top: 22px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
}

/* ── PAGE HERO (content pages) ──────────────────────────────── */
.page-hero {
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 10% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 80%, rgba(230, 48, 48, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero .badge {
    margin-bottom: 18px;
}

.page-hero h1 {
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 640px;
    margin-bottom: 32px;
}

.page-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Decorative grid lines */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--blue-light);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 56px;
}

.section-header .badge {
    margin-bottom: 14px;
}

.section-header h2 {
    margin-bottom: 14px;
}

.section-header p {
    max-width: 580px;
}

.section-header.center {
    text-align: center;
}

.section-header.center p {
    margin: 0 auto;
}

/* ── PROSE / ARTICLE ─────────────────────────────────────────── */
.prose {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.prose h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    margin: 52px 0 18px;
    color: var(--text-primary);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.prose h3 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin: 36px 0 12px;
    color: var(--text-primary);
}

.prose h4 {
    font-size: 1rem;
    margin: 24px 0 8px;
    color: var(--blue-light);
    font-weight: 700;
}

.prose p {
    margin-bottom: 18px;
}

.prose ul {
    margin-bottom: 20px;
    padding-left: 0;
}

.prose ul li {
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.prose ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--blue-light);
    font-size: 0.85rem;
    top: 9px;
}

.prose ol {
    counter-reset: ol-counter;
    padding-left: 0;
    margin-bottom: 20px;
}

.prose ol li {
    counter-increment: ol-counter;
    padding: 10px 0 10px 36px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.prose ol li::before {
    content: counter(ol-counter);
    position: absolute;
    left: 0;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.prose blockquote {
    border-left: 3px solid var(--blue);
    padding: 16px 24px;
    background: rgba(0, 102, 255, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 24px 0;
    font-style: italic;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.card-glow {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.08);
}

.card-highlight {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.06), rgba(230, 48, 48, 0.04));
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
}

/* ── GRIDS ──────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.grid-1-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

/* ── FEATURE ICON ────────────────────────────────────────────── */
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.fi-blue {
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.fi-red {
    background: rgba(230, 48, 48, 0.12);
    border: 1px solid rgba(230, 48, 48, 0.2);
}

.fi-teal {
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.fi-green {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.fi-gold {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.fi-purple {
    background: rgba(109, 40, 217, 0.15);
    border: 1px solid rgba(109, 40, 217, 0.2);
}

/* ── RANK / PRICING CARDS ───────────────────────────────────── */
.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    position: relative;
}

.rank-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.rank-card.featured {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.04);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.1);
}

.rank-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.rank-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.rank-commission {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 4px;
}

.rank-list {
    margin-top: 20px;
}

.rank-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.rank-list li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── CONDUCT / RULE ITEMS ────────────────────────────────────── */
.rule-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px 28px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.rule-item:hover {
    border-left-color: var(--teal);
    background: var(--bg-card-hover);
}

.rule-item h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.rule-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* ── STATS ROW ──────────────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.stat-item {
    background: var(--bg-card);
    padding: 28px 20px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
}

/* ── TEAM CARD ──────────────────────────────────────────────── */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-4px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.team-name {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.team-title {
    color: var(--blue-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.team-bio {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── CEO PROFILE ─────────────────────────────────────────────── */
.ceo-photo-box {
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    padding: 3px;
    width: 100%;
    max-width: 340px;
}

.ceo-photo-inner {
    background: var(--bg-card);
    border-radius: calc(var(--radius-xl) - 3px);
    padding: 40px 30px;
    text-align: center;
}

.ceo-initials {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.ceo-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.ceo-meta-item:last-child {
    border-bottom: none;
}

.ceo-meta-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ceo-meta-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ceo-meta-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ── TOOLS GRID ─────────────────────────────────────────────── */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.tool-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-item:hover {
    border-color: rgba(0, 212, 170, 0.4);
    color: var(--teal);
    background: rgba(0, 212, 170, 0.06);
    transform: translateY(-2px);
}

.tool-item::before {
    content: '⚡';
    font-size: 0.9rem;
}

/* ── EARNINGS TABLE ─────────────────────────────────────────── */
.earnings-table {
    width: 100%;
    border-collapse: collapse;
}

.earnings-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
    background: var(--bg-secondary);
}

.earnings-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.earnings-table tbody tr:hover {
    background: rgba(0, 102, 255, 0.03);
}

.earnings-table .amount {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal);
}

.earnings-table .equity {
    font-weight: 700;
    color: var(--text-primary);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.faq-question:hover {
    color: var(--blue-light);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--blue-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.8;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(0, 102, 255, 0.2);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* ── STEPS ──────────────────────────────────────────────────── */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-row {
    display: flex;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.step-row:last-child {
    border-bottom: none;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-content h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.92rem;
    margin: 0;
}

/* ── HIGHLIGHT BOX ──────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(230, 48, 48, 0.05));
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
}

.highlight-box.gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.04));
    border-color: rgba(245, 158, 11, 0.25);
}

.highlight-box.teal {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.04));
    border-color: rgba(0, 212, 170, 0.25);
}

.highlight-box.red {
    background: linear-gradient(135deg, rgba(230, 48, 48, 0.08), rgba(230, 48, 48, 0.04));
    border-color: rgba(230, 48, 48, 0.25);
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(230, 48, 48, 0.06));
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 102, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
}

.cta-section>* {
    position: relative;
    z-index: 1;
}

.cta-section .badge {
    margin-bottom: 20px;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 560px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin: 16px 0 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 11px;
}

.footer-col a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── REVEAL ANIMATION ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── SCROLL PROGRESS ─────────────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s;
    width: 0%;
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ── NOTICE / DISCLAIMER ─────────────────────────────────────── */
.notice {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.notice strong {
    color: var(--gold);
}

.notice-danger {
    background: rgba(230, 48, 48, 0.08);
    border-color: rgba(230, 48, 48, 0.25);
}

.notice-danger strong {
    color: var(--red-light);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2-1,
    .grid-1-2 {
        grid-template-columns: 1fr;
    }

    .ceo-photo-box {
        max-width: 100%;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar-toggle {
        display: block;
        margin-left: auto;
    }

    .navbar-actions .btn-ghost {
        display: none;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .page-hero {
        padding: 110px 0 60px;
    }

    .cta-section {
        padding: 48px 24px;
    }

    .prose h2 {
        margin-top: 36px;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .page-hero-actions {
        flex-direction: column;
    }

    .btn-lg {
        padding: 13px 28px;
    }

    .step-row {
        flex-direction: column;
        gap: 16px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.float {
    animation: float 5s ease-in-out infinite;
}

.pulse {
    animation: pulse 2.5s ease-in-out infinite;
}

/* ============================================================
   BINAREX CONTENT PAGES — pages.css
   Separate stylesheet for About, Services, Agency, Dragon,
   CEO, FAQ & Contact pages. Pairs with main.css variables.
   FULLY RESPONSIVE - FIXED MOBILE ISSUES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --bg-primary: #04081a;
    --bg-secondary: #080f24;
    --bg-card: #0c1530;
    --bg-card-hover: #111e3a;
    --border: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 102, 255, 0.35);
    --blue: #0066ff;
    --blue-dark: #004ecc;
    --blue-light: #4d94ff;
    --blue-glow: rgba(0, 102, 255, 0.18);
    --red: #e63030;
    --red-dark: #c42020;
    --red-light: #ff6060;
    --red-glow: rgba(230, 48, 48, 0.18);
    --teal: #00d4aa;
    --teal-dark: #00a884;
    --purple: #6d28d9;
    --purple-light: #a78bfa;
    --gold: #f59e0b;
    --green: #10b981;
    --text-primary: #f0f4ff;
    --text-secondary: #8da0c0;
    --text-muted: #556080;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #e63030 100%);
    --gradient-blue: linear-gradient(135deg, #0066ff 0%, #004ecc 100%);
    --gradient-red: linear-gradient(135deg, #e63030 0%, #c42020 100%);
    --gradient-hero: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0, 102, 255, 0.14) 0%, rgba(230, 48, 48, 0.08) 50%, transparent 70%);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.45);
    color: #fff;
}

.btn-secondary {
    background: rgba(0, 102, 255, 0.12);
    color: var(--blue-light);
    border: 1px solid rgba(0, 102, 255, 0.25);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.22);
    color: var(--blue-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-blue {
    background: rgba(0, 102, 255, 0.15);
    color: var(--blue-light);
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.badge-red {
    background: rgba(230, 48, 48, 0.12);
    color: var(--red-light);
    border: 1px solid rgba(230, 48, 48, 0.3);
}

.badge-teal {
    background: rgba(0, 212, 170, 0.12);
    color: var(--teal);
    border: 1px solid rgba(0, 212, 170, 0.3);
}

.badge-green {
    background: rgba(16, 185, 129, 0.12);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.12);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-purple {
    background: rgba(109, 40, 217, 0.15);
    color: var(--purple-light);
    border: 1px solid rgba(109, 40, 217, 0.3);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    height: 70px;
    transition: var(--transition);
    background: rgba(4, 8, 26, 0.85);
    backdrop-filter: blur(12px);
}

.navbar.scrolled {
    background: rgba(4, 8, 26, 0.98);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 16px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.navbar-logo .logo-accent {
    color: var(--red-light);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.navbar-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

/* Hamburger Menu Button */
.navbar-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    transition: var(--transition);
}

.navbar-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 8, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: rgba(0, 102, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--blue-light);
    padding-left: 8px;
}

.mobile-nav .btn {
    margin-top: 12px;
    justify-content: center;
}

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 640px;
    margin-bottom: 32px;
}

.page-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 56px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header p {
    max-width: 580px;
    margin: 0 auto;
}

/* ── GRIDS ──────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.card-glow {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.08);
}

/* ── FEATURE ICON ────────────────────────────────────────────── */
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.fi-blue {
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.fi-red {
    background: rgba(230, 48, 48, 0.12);
    border: 1px solid rgba(230, 48, 48, 0.2);
}

.fi-teal {
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.fi-green {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.fi-gold {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.fi-purple {
    background: rgba(109, 40, 217, 0.15);
    border: 1px solid rgba(109, 40, 217, 0.2);
}

/* ── RANK / PRICING CARDS ───────────────────────────────────── */
.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    position: relative;
}

.rank-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.rank-card.featured {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.04);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.1);
}

.rank-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.rank-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.rank-commission {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 4px;
}

.rank-features {
    margin-top: 16px;
}

.rank-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.rank-features li::before {
    content: '✓';
    color: var(--teal);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── STEP CARD ──────────────────────────────────────────────── */
.step-card {
    text-align: center;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 auto 16px;
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.faq-question:hover {
    color: var(--blue-light);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--blue-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(230, 48, 48, 0.06));
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 56px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 560px;
    margin: 0 auto 28px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── HIGHLIGHT BOX ──────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(230, 48, 48, 0.05));
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.highlight-box.teal {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(0, 212, 170, 0.04));
    border-color: rgba(0, 212, 170, 0.25);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.85rem;
    margin: 16px 0 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── EARNINGS TABLE ─────────────────────────────────────────── */
.earnings-table {
    width: 100%;
    border-collapse: collapse;
}

.earnings-table th {
    padding: 12px 12px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.earnings-table td {
    padding: 12px 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.earnings-table .amount {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal);
}

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s;
    width: 0%;
}

/* ── REVEAL ANIMATION ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 5s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .grid-4, .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .page-hero {
        padding: 100px 0 60px;
    }
}

/* Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
    /* Hide desktop nav, show hamburger */
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-actions .btn-ghost {
        display: none;
    }
    
    .navbar-actions .btn-primary {
        display: none;
    }
    
    /* Grid conversions - single column for mobile */
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Agency ranks - stack vertically */
    .rank-cards-container {
        display: flex;
        flex-direction: column;
    }
    
    .rank-card {
        margin-bottom: 16px;
    }
    
    /* Hero section adjustments */
    .page-hero-actions {
        flex-direction: column;
    }
    
    .page-hero-actions .btn {
        width: 100%;
    }
    
    /* CTA section */
    .cta-section {
        padding: 40px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Section spacing */
    .section {
        padding: 48px 0;
    }
    
    .section-header {
        margin-bottom: 32px;
    }
    
    /* Hero stats */
    .hero-stats-group {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* Tables - horizontal scroll */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .earnings-table {
        min-width: 500px;
    }
    
    /* Step cards */
    .step-card {
        padding: 0;
    }
    
    /* Testimonial cards */
    .testimonial-card {
        padding: 24px;
    }
}

/* Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        padding: 0 16px;
    }
    
    .navbar-logo {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .navbar-toggle {
        width: 38px;
        height: 38px;
    }
    
    .navbar-toggle span {
        width: 18px;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .card {
        padding: 20px;
    }
    
    .rank-card {
        padding: 20px;
    }
    
    .rank-commission {
        font-size: 1.4rem;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .faq-question {
        font-size: 0.85rem;
        padding: 14px 0;
    }
    
    .highlight-box {
        padding: 20px;
    }
    
    .footer {
        padding: 48px 0 24px;
    }
}

/* Fix for agency program cards on mobile */
@media (max-width: 768px) {
    /* Target any container that has multiple rank cards */
    [class*="rank-card"],
    .rank-card {
        width: 100%;
    }
    
    /* Ensure the agency grid becomes single column */
    .agency-grid,
    .ranks-grid,
    div[style*="grid-template-columns: repeat(5"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   BINAREX CONTENT PAGES — pages.css
   Separate stylesheet for About, Services, Agency, Dragon,
   CEO, FAQ & Contact pages. Pairs with main.css variables.
   WHITE BACKGROUND THEME
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── CSS VARIABLES - WHITE THEME ─────────────────────────────────────────── */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --border: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(0, 102, 255, 0.2);
    --blue: #0066ff;
    --blue-dark: #0052cc;
    --blue-light: #3385ff;
    --blue-glow: rgba(0, 102, 255, 0.1);
    --red: #e63030;
    --red-dark: #cc2929;
    --red-light: #ff4d4d;
    --red-glow: rgba(230, 48, 48, 0.1);
    --teal: #00d4aa;
    --teal-dark: #00b894;
    --purple: #6d28d9;
    --purple-light: #8b5cf6;
    --gold: #f59e0b;
    --green: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #e63030 100%);
    --gradient-blue: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    --gradient-red: linear-gradient(135deg, #e63030 0%, #cc2929 100%);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--blue-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

h3 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
    color: var(--text-secondary);
    font-weight: 400;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-teal {
    color: var(--teal);
}

.text-gold {
    color: var(--gold);
}

.text-red {
    color: var(--red);
}

/* ── CONTAINER ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.3);
    color: #fff;
}

.btn-secondary {
    background: rgba(0, 102, 255, 0.08);
    color: var(--blue);
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.12);
    color: var(--blue-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-primary);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-blue {
    background: rgba(0, 102, 255, 0.08);
    color: var(--blue);
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.badge-red {
    background: rgba(230, 48, 48, 0.08);
    color: var(--red);
    border: 1px solid rgba(230, 48, 48, 0.15);
}

.badge-teal {
    background: rgba(0, 212, 170, 0.08);
    color: var(--teal);
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.badge-green {
    background: rgba(16, 185, 129, 0.08);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.badge-gold {
    background: rgba(245, 158, 11, 0.08);
    color: var(--gold);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.badge-purple {
    background: rgba(109, 40, 217, 0.08);
    color: var(--purple);
    border: 1px solid rgba(109, 40, 217, 0.15);
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 20px;
    height: 70px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 16px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
}

.navbar-logo .logo-accent {
    color: var(--red);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}

.navbar-nav a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--blue);
    background: rgba(0, 102, 255, 0.05);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
}

/* Hamburger Menu Button */
.navbar-toggle {
    display: none;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    transition: var(--transition);
}

.navbar-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggle:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.3);
}

/* Mobile Navigation Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 80px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-nav-close:hover {
    background: rgba(0, 102, 255, 0.08);
    transform: rotate(90deg);
}

.mobile-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--blue);
    padding-left: 8px;
}

.mobile-nav .btn {
    margin-top: 12px;
    justify-content: center;
}

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 18px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 640px;
    margin-bottom: 32px;
}

.page-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

/* ── SECTIONS ───────────────────────────────────────────────── */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 56px 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 48px;
}

.section-header.center {
    text-align: center;
}

.section-header p {
    max-width: 580px;
    margin: 0 auto;
}

/* ── GRIDS ──────────────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.card-glow {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-glow);
}

/* ── FEATURE ICON ────────────────────────────────────────────── */
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.fi-blue {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.fi-red {
    background: rgba(230, 48, 48, 0.08);
    border: 1px solid rgba(230, 48, 48, 0.15);
}

.fi-teal {
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
}

.fi-green {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.fi-gold {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.fi-purple {
    background: rgba(109, 40, 217, 0.08);
    border: 1px solid rgba(109, 40, 217, 0.15);
}

/* ── RANK / PRICING CARDS ───────────────────────────────────── */
.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-card);
}

.rank-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.rank-card.featured {
    border-color: var(--blue);
    background: rgba(0, 102, 255, 0.02);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.08);
}

.rank-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.rank-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.rank-commission {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 4px;
}

.rank-features {
    margin-top: 16px;
}

.rank-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.rank-features li::before {
    content: '✓';
    color: var(--blue);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── STEP CARD ──────────────────────────────────────────────── */
.step-card {
    text-align: center;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 auto 16px;
}

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.testimonial-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.faq-question:hover {
    color: var(--blue);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding-bottom: 18px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* ── CTA SECTION ────────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03), rgba(230, 48, 48, 0.02));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 56px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 560px;
    margin: 0 auto 28px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── HIGHLIGHT BOX ──────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03), rgba(230, 48, 48, 0.02));
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.highlight-box.teal {
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.03), rgba(0, 212, 170, 0.01));
    border-color: rgba(0, 212, 170, 0.15);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.85rem;
    margin: 16px 0 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--blue);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── EARNINGS TABLE ─────────────────────────────────────────── */
.earnings-table {
    width: 100%;
    border-collapse: collapse;
}

.earnings-table th {
    padding: 12px 12px;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.earnings-table td {
    padding: 12px 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.earnings-table .amount {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--blue);
}

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s;
    width: 0%;
}

/* ── REVEAL ANIMATION ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 5s ease-in-out infinite;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {

    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .section {
        padding: 64px 0;
    }

    .page-hero {
        padding: 100px 0 60px;
    }
}

/* Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-actions .btn-ghost {
        display: none;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-hero-actions {
        flex-direction: column;
    }

    .page-hero-actions .btn {
        width: 100%;
    }

    .cta-section {
        padding: 40px 24px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .earnings-table {
        min-width: 500px;
    }

    .testimonial-card {
        padding: 24px;
    }
}

/* Mobile Portrait (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 0 16px;
    }

    .navbar-logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .navbar-toggle {
        width: 38px;
        height: 38px;
    }

    .navbar-toggle span {
        width: 18px;
    }

    .badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .card {
        padding: 20px;
    }

    .rank-card {
        padding: 20px;
    }

    .rank-commission {
        font-size: 1.4rem;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .faq-question {
        font-size: 0.85rem;
        padding: 14px 0;
    }

    .highlight-box {
        padding: 20px;
    }

    .footer {
        padding: 48px 0 24px;
    }
}

/* Fix for agency program cards on mobile */
@media (max-width: 768px) {

    [class*="rank-card"],
    .rank-card {
        width: 100%;
    }

    .agency-grid,
    .ranks-grid,
    div[style*="grid-template-columns: repeat(5"] {
        grid-template-columns: 1fr !important;
    }
}