/* ==========================================
   148Academy — Professional Crypto Academy
   ========================================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0b0f;
    --bg-secondary: #12131a;
    --bg-tertiary: #1a1b25;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #ffffff;
    --text-secondary: #a0a3b1;
    --text-muted: #6b6e80;
    --accent-gold: #F7931A;
    --accent-gold-light: #FFD700;
    --accent-gold-dark: #c77a15;
    --accent-green: #00d68f;
    --accent-red: #ff4d4d;
    --gradient-gold: linear-gradient(135deg, #F7931A 0%, #FFD700 50%, #F7931A 100%);
    --gradient-dark: linear-gradient(180deg, #0a0b0f 0%, #12131a 100%);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 40px rgba(247, 147, 26, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-he: 'Heebo', sans-serif;
    --font-en: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
}

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

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

body {
    font-family: var(--font-he);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

body.lang-en {
    font-family: var(--font-en);
    direction: ltr;
    text-align: left;
}

body.lang-en [dir="rtl"] { direction: ltr; }

::selection {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

a { color: var(--accent-gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-gold-light); }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    display: flex;
    align-items: baseline;
    gap: 12px;
    direction: ltr;
}

.loader-logo .logo-148 {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-logo .logo-academy {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--text-secondary);
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 10px;
    animation: loading 1.5s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

/* --- Glass Cards --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(247, 147, 26, 0.15);
    box-shadow: var(--shadow-gold);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(247, 147, 26, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(247, 147, 26, 0.45);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    color: #fff;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 11, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    direction: ltr; /* Force LTR so 148 always appears left of ACADEMY */
}

.logo-mark {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -1px;
}

.logo-divider {
    width: 1.5px;
    height: 28px;
    background: var(--gradient-gold);
    margin: 0 10px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #ffffff;
    line-height: 1;
    -webkit-text-fill-color: #ffffff;
}

.footer-logo-link {
    margin-bottom: 16px;
}

.footer-logo-link .logo-mark { font-size: 28px; }
.footer-logo-link .logo-divider { height: 24px; }
.footer-logo-link .logo-text { font-size: 11px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

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

.lang-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-en);
}

.lang-toggle:hover {
    background: rgba(247, 147, 26, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; transform: scale(1); }
    80% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-200px) scale(0.5); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(247, 147, 26, 0.1);
    border: 1px solid rgba(247, 147, 26, 0.2);
    border-radius: var(--radius-xl);
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    direction: ltr;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    direction: ltr;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    display: flex;
    align-items: baseline;
    direction: ltr;
}

.stat-number {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-suffix {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    padding: 28px;
    width: 100%;
    max-width: 400px;
}

.crypto-ticker {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.ticker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.ticker-symbol {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    min-width: 50px;
}

.ticker-price {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.ticker-change {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.ticker-change.positive {
    color: var(--accent-green);
    background: rgba(0, 214, 143, 0.1);
}

.ticker-change.negative {
    color: var(--accent-red);
    background: rgba(255, 77, 77, 0.1);
}

.mini-chart {
    height: 80px;
    background: linear-gradient(to top, rgba(247, 147, 26, 0.05), transparent);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.mini-chart::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
}


/* --- Trusted Bar --- */
.trusted-bar {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.logos-scroll {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-track {
    display: flex;
    gap: 50px;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.platform-logo {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.6;
    transition: var(--transition);
}

.platform-logo:hover { opacity: 1; color: var(--accent-gold); }

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered { text-align: center; }

.section-tag {
    display: inline-block;
    font-size: 13px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.centered p {
    margin: 0 auto;
}

/* --- About --- */
.about {
    background: var(--bg-secondary);
}

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

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    max-width: 420px;
    border: 2px solid rgba(247, 147, 26, 0.2);
    box-shadow: 0 0 40px rgba(247, 147, 26, 0.1);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.image-glow {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 30%;
    background: linear-gradient(to top, var(--bg-secondary) 0%, transparent 100%);
}

.about-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
}

.badge-icon { font-size: 18px; }

.about-content .section-tag { display: block; }

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.about-title {
    font-size: 16px;
    color: var(--accent-gold);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content blockquote {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    border-right: 3px solid var(--accent-gold);
    padding-right: 20px;
    margin: 24px 0 8px;
    line-height: 1.7;
}

body.lang-en .about-content blockquote {
    border-right: none;
    border-left: 3px solid var(--accent-gold);
    padding-right: 0;
    padding-left: 20px;
}

.quote-author {
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 500;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    text-align: center;
}

.feature-icon {
    font-size: 42px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* --- Courses --- */
.courses {
    background: var(--bg-secondary);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.course-card {
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}

.course-card.featured {
    border-color: rgba(247, 147, 26, 0.3);
    background: rgba(247, 147, 26, 0.03);
    transform: scale(1.02);
}

.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
}

body.lang-en .course-badge {
    left: auto;
    right: 16px;
}

.course-level {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.course-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.course-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.course-highlights {
    list-style: none;
    margin-bottom: 24px;
}

.course-highlights li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    padding-right: 20px;
}

body.lang-en .course-highlights li {
    padding-right: 0;
    padding-left: 20px;
}

.course-highlights li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

body.lang-en .course-highlights li::before {
    right: auto;
    left: 0;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.course-price {
    margin-bottom: 20px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Curriculum --- */
.curriculum-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.tab-btn:hover {
    background: rgba(247, 147, 26, 0.08);
    border-color: rgba(247, 147, 26, 0.2);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    border-color: transparent;
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.module-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.module-card:hover {
    border-color: rgba(247, 147, 26, 0.2);
    background: var(--glass-hover);
}

.module-number {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 900;
    color: rgba(247, 147, 26, 0.15);
    margin-bottom: 8px;
}

.module-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.module-card ul {
    list-style: none;
}

.module-card li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 5px 0;
    padding-right: 16px;
    position: relative;
}

body.lang-en .module-card li {
    padding-right: 0;
    padding-left: 16px;
}

.module-card li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent-gold);
}

body.lang-en .module-card li::before {
    right: auto;
    left: 0;
}

/* --- Learning Paths --- */
.paths {
    background: var(--bg-secondary);
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.path-card {
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.path-card.featured {
    border-color: rgba(247, 147, 26, 0.3);
    background: rgba(247, 147, 26, 0.03);
}

.path-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
}

body.lang-en .path-badge {
    left: auto;
    right: 16px;
}

.path-icon {
    font-size: 52px;
    margin-bottom: 16px;
}

.path-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.path-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.path-features {
    list-style: none;
    margin-bottom: 24px;
}

.path-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.path-ideal {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-secondary);
}

.path-ideal strong {
    color: var(--accent-gold);
    margin-left: 4px;
}

body.lang-en .path-ideal strong {
    margin-left: 0;
    margin-right: 4px;
}

/* --- Testimonials --- */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
}

.stars {
    color: var(--accent-gold);
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 14px;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* --- FAQ --- */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: right;
    gap: 16px;
}

body.lang-en .faq-question { text-align: left; }

.faq-icon {
    font-size: 24px;
    color: var(--accent-gold);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer { max-height: 300px; }

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
    background: var(--bg-primary);
}

.cta-box {
    text-align: center;
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.08) 0%, rgba(255, 215, 0, 0.04) 100%);
    border-color: rgba(247, 147, 26, 0.15);
}

.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-wrap { padding: 36px; }

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

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(247, 147, 26, 0.04);
}

.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-tertiary); }
.form-group textarea { resize: vertical; }

.contact-form .btn { grid-column: 1 / -1; }

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

.contact-card {
    padding: 24px;
    text-align: center;
}

.contact-icon { font-size: 28px; margin-bottom: 8px; }

.contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p, .contact-card a {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(247, 147, 26, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* --- Footer --- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-primary);
}

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

/* .footer-logo handled via .footer-logo-link in logo section */

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    padding: 4px 0;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.disclaimer {
    max-width: 700px;
    margin: 0 auto;
    font-size: 12px !important;
    opacity: 0.7;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

body.lang-en .whatsapp-float {
    left: auto;
    right: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ==========================================
   Responsive — Tablet
   ========================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-visual { order: -1; }
    .hero-card { max-width: 340px; margin: 0 auto; }
    .hero-subtitle { max-width: 100%; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { display: flex; flex-direction: column; align-items: center; }
    .image-frame { max-width: 350px; }
    .about-badges { justify-content: center; }
    .about-content { text-align: center; }
    .about-content blockquote {
        border-right: none;
        border-top: 2px solid var(--accent-gold);
        padding-right: 0;
        padding-top: 16px;
        text-align: center;
    }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .course-card.featured { transform: none; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .paths-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .testimonials-slider { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   Responsive — Mobile
   ========================================== */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    /* --- Mobile Nav --- */
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10, 11, 15, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
        padding: 80px 24px 40px;
    }

    .nav-links.open { display: flex; }

    .nav-link {
        font-size: 22px;
        padding: 14px 32px;
        width: 100%;
        text-align: center;
        border-radius: var(--radius-md);
    }

    .nav-link:hover, .nav-link.active {
        background: rgba(247, 147, 26, 0.08);
    }

    .hamburger { display: flex; }

    .nav-actions .btn { display: none; }

    /* Show lang toggle always */
    .nav-actions {
        gap: 8px;
    }

    .logo-mark { font-size: 26px; }
    .logo-divider { height: 22px; margin: 0 8px; }
    .logo-text { font-size: 11px; letter-spacing: 3px; }

    /* --- Mobile Hero --- */
    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 24px);
        padding-bottom: 40px;
    }

    .hero-content {
        text-align: center;
        gap: 24px;
    }

    .hero-visual { order: -1; }
    .hero-card {
        max-width: 100%;
        padding: 20px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 6px 16px;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-ctas .btn { width: 100%; }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        width: 100%;
    }

    .stat {
        align-items: center;
        text-align: center;
        padding: 12px;
        background: var(--glass-bg);
        border-radius: var(--radius-md);
        border: 1px solid var(--glass-border);
    }

    .stat-number { font-size: 22px; }
    .stat-label { font-size: 12px; }

    /* --- Mobile Sections --- */
    .section { padding: 50px 0; }

    .section-header { margin-bottom: 36px; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 15px; }

    .section-tag { font-size: 12px; letter-spacing: 2px; }

    /* --- Mobile About --- */
    .about-grid { gap: 32px; }

    .about-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .image-frame {
        max-width: 300px;
        width: 100%;
        aspect-ratio: 3/4;
        border: 2px solid rgba(247, 147, 26, 0.3);
        box-shadow: 0 0 50px rgba(247, 147, 26, 0.15);
    }

    .about-content { text-align: center; }
    .about-content h2 { font-size: 1.8rem; }
    .about-content p { font-size: 15px; }
    .about-content blockquote {
        font-size: 16px;
        border-right: none;
        border-top: 2px solid var(--accent-gold);
        padding-right: 0;
        padding-top: 16px;
        text-align: center;
    }

    .about-badges {
        justify-content: center;
    }

    .badge { padding: 8px 12px; font-size: 12px; }

    /* --- Mobile Features --- */
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px; }
    .feature-icon { font-size: 36px; }
    .feature-card h3 { font-size: 16px; }

    /* --- Mobile Courses --- */
    .courses-grid { max-width: 100%; }
    .course-card { padding: 28px 20px; }
    .course-icon { font-size: 40px; }
    .course-card h3 { font-size: 19px; }
    .price { font-size: 28px; }

    /* --- Mobile Curriculum --- */
    .curriculum-tabs {
        gap: 6px;
        padding: 0 4px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1;
        min-width: 0;
        text-align: center;
    }

    .modules-grid { grid-template-columns: 1fr; gap: 16px; }
    .module-card { padding: 20px; }
    .module-number { font-size: 28px; }
    .module-card h4 { font-size: 15px; }
    .module-card li { font-size: 13px; }

    /* --- Mobile Paths --- */
    .paths-grid { max-width: 100%; }
    .path-card { padding: 28px 20px; }
    .path-icon { font-size: 44px; }
    .path-card h3 { font-size: 20px; }

    /* --- Mobile Testimonials --- */
    .testimonial-card { padding: 24px; }
    .testimonial-card p { font-size: 14px; }

    /* --- Mobile FAQ --- */
    .faq-question { font-size: 15px; padding: 18px 0; }
    .faq-answer p { font-size: 14px; }

    /* --- Mobile CTA --- */
    .cta-box {
        padding: 36px 20px;
        border-radius: var(--radius-lg);
    }
    .cta-box h2 { font-size: 1.5rem; }
    .cta-box p { font-size: 15px; margin-bottom: 24px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    /* --- Mobile Contact --- */
    .contact-form-wrap { padding: 24px; }
    .contact-form { grid-template-columns: 1fr; gap: 16px; }
    .contact-form .form-group.full-width { grid-column: 1; }
    .contact-form .btn { grid-column: 1; }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevent iOS zoom */
    }

    /* --- Mobile Footer --- */
    .footer { padding: 40px 0 20px; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-brand { text-align: center; }
    .footer-logo-link { justify-content: center; margin-bottom: 12px; }
    .footer-links { text-align: center; }

    /* --- Mobile WhatsApp --- */
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 54px;
        height: 54px;
    }

    body.lang-en .whatsapp-float {
        left: auto;
        right: 20px;
    }

    /* --- Mobile Trusted Bar --- */
    .trusted-bar { padding: 28px 0; }
    .trusted-label { font-size: 11px; margin-bottom: 16px; }
    .platform-logo { font-size: 14px; }
}

/* ==========================================
   Responsive — Small Mobile
   ========================================== */
@media (max-width: 380px) {
    .container { padding: 0 12px; }

    .hero h1 { font-size: 1.5rem; }

    .logo-mark { font-size: 22px; }
    .logo-divider { height: 18px; margin: 0 6px; }
    .logo-text { font-size: 9px; letter-spacing: 2px; }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .course-card { padding: 24px 16px; }
    .path-card { padding: 24px 16px; }
    .tab-btn { padding: 8px 12px; font-size: 12px; }
}
