/* ==========================================================================
   BARSAD - Rasa Rah Gostaran Barsad Company Website
   Main Stylesheet
   ========================================================================== */

/* ---------- Vars ---------- */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --bg-card-light: #1c1c1c;
    --gold: #c9a14a;
    --gold-light: #e8c476;
    --gold-dark: #9a7a30;
    --gold-soft: rgba(201, 161, 74, 0.1);
    --text: #f5f5f5;
    --text-muted: #a0a0a0;
    --text-dim: #707070;
    --border: rgba(201, 161, 74, 0.18);
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow-gold: 0 10px 40px rgba(201, 161, 74, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius: 14px;
    --radius-lg: 22px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Font Persian (Vazirmatn embedded via woff2 base64 fallback) ---------- */
/* We use system fonts to keep self-contained */
@font-face {
    font-family: 'IranSans';
    src: local('Vazirmatn'), local('Vazir'), local('IRANSans'), local('Tahoma'), local('Arial');
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'IranSans', 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; }
.gold { color: var(--gold); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---------- Selection ---------- */
::selection { background: var(--gold); color: var(--bg-dark); }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-darker);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s, visibility 0.8s;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; }
.preloader-logo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(201, 161, 74, 0.6);
}
.preloader-bar {
    width: 240px;
    height: 3px;
    background: rgba(201, 161, 74, 0.15);
    margin: 16px auto;
    border-radius: 10px;
    overflow: hidden;
}
.preloader-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    animation: loading 1.8s ease-in-out infinite;
    border-radius: 10px;
}
.preloader-text { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-top: 16px; }

@keyframes loading {
    0% { width: 0; transform: translateX(0); }
    50% { width: 100%; transform: translateX(0); }
    100% { width: 0; transform: translateX(-100%); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.07); }
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-dot, .cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
}
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold);
    transition: transform 0.2s ease, width 0.2s, height 0.2s;
}
.cursor-ring.hover {
    width: 60px;
    height: 60px;
    background: rgba(201, 161, 74, 0.15);
}

/* Disable custom cursor on touch devices */
@media (hover: none), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 9999;
}
.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    width: 0;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--gold);
}

/* ==========================================================================
   TOP BAR (static)
   ========================================================================== */
.top-bar-static {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.85);
}
.top-bar-static .top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.top-bar-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.top-bar-info span,
.top-bar-extra span {
    color: var(--text-muted);
}
.top-bar-info a {
    color: var(--gold);
    transition: color 0.3s;
}
.top-bar-info a:hover {
    color: var(--gold-light);
}
.top-bar-extra { color: var(--text-muted); font-size: 12px; }

@media (max-width: 700px) {
    .top-bar-static { font-size: 11px; padding: 6px 0; }
    .top-bar-info { gap: 14px; }
    .top-bar-extra { display: none; }
    .top-bar-static .top-bar-container { justify-content: center; }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
#header {
    position: fixed;
    top: 36px; /* below top-bar */
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition);
    background: transparent;
}
@media (max-width: 700px) {
    #header { top: 30px; }
}
#header.scrolled {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform var(--transition);
}
.logo-link:hover { transform: scale(1.03); }
.logo-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(201, 161, 74, 0.4);
}
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 20px; font-weight: 800; color: var(--gold); letter-spacing: 2px; }
.logo-subtitle { font-size: 11px; color: var(--text-muted); }

.main-nav ul { display: flex; gap: 6px; }
.nav-link {
    padding: 10px 16px;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    border-radius: 8px;
    transition: all var(--transition);
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition);
    transform: translateX(50%);
}
.nav-link:hover, .nav-link.active {
    color: var(--gold);
}
.nav-link:hover::before, .nav-link.active::before {
    width: 24px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 60px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(201, 161, 74, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 161, 74, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1208 50%, #0a0a0a 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 70%, var(--bg-dark));
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--gold-soft);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
}
.hero-title .line {
    display: block;
    overflow: hidden;
}
.hero-title .gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    opacity: 0;
    transition: opacity var(--transition);
}
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(201, 161, 74, 0.5);
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 460px;
}
.hero-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--gold);
    box-shadow: 0 0 80px rgba(201, 161, 74, 0.4);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-orbit {
    position: absolute;
    border: 1px dashed rgba(201, 161, 74, 0.25);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.orbit-1 { width: 360px; height: 360px; animation: spin 25s linear infinite; }
.orbit-2 { width: 440px; height: 440px; animation: spin 35s linear infinite reverse; }
.orbit-3 { width: 520px; height: 520px; animation: spin 45s linear infinite; }
.hero-orbit::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    top: 50%;
    right: -5px;
    box-shadow: 0 0 15px var(--gold);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}
.scroll-down span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--gold);
    border-radius: 14px;
    margin: 0 auto 10px;
    position: relative;
}
.scroll-down span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollDown 1.5s ease-in-out infinite;
}
.scroll-down p { color: var(--gold); font-size: 12px; letter-spacing: 2px; }

@keyframes scrollDown {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
    animation: marqueeBg 8s linear infinite;
    padding: 18px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid var(--gold-dark);
    border-bottom: 1px solid var(--gold-dark);
    /* edge fade */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-inner {
    display: flex;
    width: max-content;
    animation: marqueeMove 35s linear infinite;
}
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    padding-left: 50px;
    flex-shrink: 0;
}
.marquee-track span {
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}
/* perfect seamless loop: one full track width = -50% of inner */
@keyframes marqueeMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes marqueeBg {
    from { background-position: 0% 50%; }
    to   { background-position: 200% 50%; }
}
/* RTL: reverse direction so visually moves right→left content-wise */
[dir="rtl"] .marquee-inner { animation-name: marqueeMoveRtl; }
@keyframes marqueeMoveRtl {
    from { transform: translateX(0); }
    to   { transform: translateX(50%); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}
.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: var(--gold-soft);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}
.section-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--bg-dark); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--gold);
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}
.about-text strong { color: var(--text); }

.about-list {
    margin-top: 24px;
}
.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text);
    transition: transform var(--transition);
}
.about-list li:hover { transform: translateX(-8px); }
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gold);
    color: var(--bg-dark);
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
}

.info-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--gold-soft) 0%, transparent 50%);
    pointer-events: none;
}
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.info-row:last-child { border-bottom: none; }
.info-row span { color: var(--text-muted); }
.info-row strong { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--bg-darker); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gold-soft);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--bg-dark);
    transform: rotate(10deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
    background: 
        linear-gradient(rgba(10,10,10,0.85), rgba(10,10,10,0.95)),
        linear-gradient(135deg, var(--gold-dark) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}
.stats-bg-parallax {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--gold-soft) 0%, transparent 70%);
    z-index: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(201, 161, 74, 0.08);
    border-color: var(--gold);
}

.stat-icon { font-size: 40px; margin-bottom: 12px; }
.stat-item h3 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 800;
}
.stat-item p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { background: var(--bg-dark); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.pricing-card.featured {
    border-color: var(--gold);
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--bg-card-light), #1f1810);
    box-shadow: var(--shadow-gold);
}
.pricing-card.featured::before {
    content: 'محبوب‌ترین';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--bg-dark);
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}
.pricing-card:hover:not(.featured) {
    border-color: var(--gold);
    transform: translateY(-8px);
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: var(--gold);
}
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}
.pricing-card .price small {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}
.pricing-card .price-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.9rem;
}
.pricing-card ul {
    text-align: right;
    margin-bottom: 28px;
}
.pricing-card ul li {
    padding: 10px 0;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}
.pricing-card ul li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 800;
}
.pricing-card ul li.no::before { content: '✗'; color: #555; }
.pricing-card ul li.no { color: var(--text-dim); }

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team { background: var(--bg-darker); }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.team-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border-light);
}
.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.team-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.team-card:hover .team-img img {
    transform: scale(1.1);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 800;
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}
.team-card:hover .team-overlay { opacity: 1; }
.team-overlay p {
    color: var(--gold-light);
    font-style: italic;
    font-size: 0.9rem;
}

.team-info {
    padding: 20px;
    text-align: center;
}
.team-info h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text);
}
.team-info span {
    color: var(--gold);
    font-size: 0.85rem;
}

/* ==========================================================================
   CAREERS / FORMS
   ========================================================================== */
.careers { background: var(--bg-dark); }

.career-form, .contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-light));
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-darker);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 14px 18px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all var(--transition);
    direction: rtl;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 161, 74, 0.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%23c9a14a' d='M6 8L0 0h12z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 18px center;
    padding-left: 40px;
}

.btn-submit {
    position: relative;
    min-width: 200px;
}
.btn-submit .btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--bg-dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin-loader 0.7s linear infinite;
}
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loader { display: inline-block; }
@keyframes spin-loader {
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}
.form-message.show { display: block; }
.form-message.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid #4caf50;
    color: #81c784;
}
.form-message.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid #f44336;
    color: #e57373;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--bg-darker); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all var(--transition);
}
.contact-item:hover {
    border-color: var(--gold);
    transform: translateX(-8px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--gold-soft);
    color: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 4px;
}
.contact-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-form h3 {
    color: var(--gold);
    margin-bottom: 24px;
    font-size: 1.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
    background: var(--bg-darker);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border);
    position: relative;
}
#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 2px solid var(--gold);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: all var(--transition);
}
.footer-col ul li a:hover {
    color: var(--gold);
    padding-right: 8px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.newsletter-form input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
}
.newsletter-form input:focus {
    outline: none;
    border-color: var(--gold);
}
.newsletter-form button {
    background: var(--gold);
    color: var(--bg-dark);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: all var(--transition);
}
.newsletter-form button:hover {
    background: var(--gold-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom p { margin-bottom: 6px; }
.footer-bottom strong { color: var(--gold); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-gold);
}
#backToTop.show {
    opacity: 1;
    visibility: visible;
}
#backToTop:hover {
    transform: translateY(-5px);
}
