/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1522;
    --bg-card: rgba(18, 25, 45, 0.6);
    --bg-card-solid: #12192d;
    --bg-card-hover: rgba(25, 35, 60, 0.8);
    --accent-gold: #f0b90b;
    --accent-green: #0ecb81;
    --accent-red: #f6465d;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --glass-blur: blur(12px);
    --gradient-gold: linear-gradient(135deg, #f0b90b, #d4a00a);
    --gradient-green: linear-gradient(135deg, #0ecb81, #059669);
    --gradient-blue: linear-gradient(135deg, #3b82f6, #2563eb);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #6d28d9);
    --gradient-bg: radial-gradient(circle at 20% 30%, rgba(240, 185, 11, 0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(14, 203, 129, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 40% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
    --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(240, 185, 11, 0.15);
    --shadow-card: 0 10px 30px -8px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* ===== BACKGROUND EFFECTS ===== */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(240, 185, 11, 0.15);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(14, 203, 129, 0.1);
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(59, 130, 246, 0.08);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

/* ===== GLASSMORPHISM CLASSES ===== */
.glass, .glass-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.glass-header {
    background: rgba(10, 14, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a00a;
}

/* ===== UTILITY CLASSES ===== */
.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    background: rgba(240, 185, 11, 0.08);
    border: 1px solid rgba(240, 185, 11, 0.2);
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.section-badge svg {
    width: 14px;
    height: 14px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 4px 20px rgba(240, 185, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(240, 185, 11, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
    background: rgba(240, 185, 11, 0.05);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 10px;
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo span {
    background: linear-gradient(135deg, #fff, #f0b90b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-actions .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.welcome-badge {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    padding: 40px 24px;
    gap: 0;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-gold);
    padding-right: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(240, 185, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(14, 203, 129, 0.08);
    border: 1px solid rgba(14, 203, 129, 0.2);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #fff;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.floating-card {
    position: absolute;
    background: rgba(18, 25, 45, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 16px 24px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card-1 {
    top: -30px;
    left: -20px;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: -40px;
    right: -50px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.fc-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fc-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-icon.green {
    background: rgba(14, 203, 129, 0.15);
}

.fc-icon.gold {
    background: rgba(240, 185, 11, 0.15);
}

.fc-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fc-value {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.chart-card {
    background: rgba(18, 25, 45, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.chart-pair {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.chart-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.chart-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(14, 203, 129, 0.1);
    color: var(--accent-green);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 10px;
}

.chart-change.down {
    background: rgba(246, 70, 93, 0.1);
    color: var(--accent-red);
}

.chart-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.chart-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.chart-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.chart-footer-item {
    text-align: center;
}

.chart-footer-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.chart-footer-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== TICKER BAR ===== */
.ticker-bar {
    background: rgba(15, 21, 34, 0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    overflow: hidden;
}

.ticker-wrapper {
    display: flex;
    animation: tickerScroll 35s linear infinite;
    width: max-content;
}

.ticker-wrapper:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 35px;
    white-space: nowrap;
}

.ticker-pair {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.ticker-price {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.ticker-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.ticker-change.up {
    color: var(--accent-green);
}

.ticker-change.down {
    color: var(--accent-red);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.service-card {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.service-card:hover {
    background: rgba(25, 35, 60, 0.7);
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon.gold {
    background: rgba(240, 185, 11, 0.12);
}

.service-icon.green {
    background: rgba(14, 203, 129, 0.12);
}

.service-icon.blue {
    background: rgba(59, 130, 246, 0.12);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== SSP SECTION ===== */
.ssp-section {
    background: rgba(15, 21, 34, 0.3);
    position: relative;
}

.ssp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(240, 185, 11, 0.05), transparent);
    pointer-events: none;
}

.feature-list {
    margin: 30px 0;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.feature-list-item svg {
    flex-shrink: 0;
}

.ssp-image {
    border-radius: 24px;
    overflow: hidden;
    padding: 12px;
    background: rgba(18, 25, 45, 0.4);
}

.ssp-image img {
    border-radius: 18px;
    width: 100%;
    height: auto;
}

/* ===== SSP BLOG GRID ===== */
.ssp-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.ssp-blog-card {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.ssp-blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.ssp-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ssp-blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ssp-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ssp-blog-card:hover .ssp-blog-image img {
    transform: scale(1.08);
}

.ssp-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2235, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssp-blog-content {
    padding: 20px;
}

.ssp-blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ssp-blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.5;
}

.ssp-read-more {
    color: var(--accent-gold);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.ssp-blog-card:hover .ssp-read-more {
    gap: 12px;
}

.ssp-view-all {
    text-align: center;
    margin-top: 50px;
}

.no-ssp-post {
    background: rgba(18, 25, 45, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 24px;
}

/* ===== COURSES SECTION ===== */
#courses {
    background: rgba(15, 21, 34, 0.2);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.course-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.05);
}

.course-level {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.level-beginner {
    background: rgba(14, 203, 129, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(14, 203, 129, 0.3);
}

.level-intermediate {
    background: rgba(240, 185, 11, 0.2);
    color: var(--accent-gold);
    border: 1px solid rgba(240, 185, 11, 0.3);
}

.level-advanced {
    background: rgba(246, 70, 93, 0.2);
    color: var(--accent-red);
    border: 1px solid rgba(246, 70, 93, 0.3);
}

.course-body {
    padding: 24px;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
}

.course-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.course-card>p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.course-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.course-price small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: rgba(18, 25, 45, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateY(-4px);
    background: rgba(25, 35, 60, 0.5);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(240, 185, 11, 0.08);
    border: 1px solid rgba(240, 185, 11, 0.15);
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== PRICING SECTION ===== */
#pricing {
    background: rgba(15, 21, 34, 0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: start;
}

.pricing-card {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.pricing-card.popular {
    border: 1px solid rgba(240, 185, 11, 0.4);
    box-shadow: var(--shadow-glow);
    transform: scale(1.02);
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    background: var(--gradient-gold);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.current-plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-green);
    color: #000;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 32px;
}

.pricing-features {
    text-align: right;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-features li:last-child {
    border: none;
}

.pricing-features li.feature-disabled {
    color: var(--text-muted);
}

.subscription-status {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.status-active {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 203, 129, 0.1);
    color: var(--accent-green);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.expired-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 24px 32px;
    background: rgba(246, 70, 93, 0.08);
    border: 1px solid rgba(246, 70, 93, 0.2);
    border-radius: 20px;
    margin-top: 50px;
}

.expired-notice strong {
    color: var(--accent-red);
}

.expired-notice p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 5px;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    padding: 16px;
    background: rgba(240, 185, 11, 0.04);
    border-radius: 16px;
}

.pricing-note p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(240, 185, 11, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    color: var(--accent-gold);
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    font-weight: 700;
}

.author-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
}

.cta-box {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(240, 185, 11, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-box h2 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border: none;
}

.ci-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(240, 185, 11, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ci-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.ci-value {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.contact-form {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(240, 185, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== ALERTS ===== */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    backdrop-filter: blur(8px);
}

.alert-success {
    background: rgba(14, 203, 129, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.alert-error {
    background: rgba(246, 70, 93, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
}

/* ===== BLOG SECTION ===== */
.blog-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 45px;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: var(--gradient-gold);
    border-color: transparent;
    color: #000;
}

.tab-btn:hover:not(.active) {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.blog-tab {
    display: none;
}

.blog-tab.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.blog-home-card {
    background: rgba(18, 25, 45, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.blog-home-card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 185, 11, 0.3);
    box-shadow: var(--shadow-glow);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-home-image {
    height: 200px;
    overflow: hidden;
}

.blog-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-home-card:hover .blog-home-image img {
    transform: scale(1.05);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2235, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-home-content {
    padding: 20px;
}

.blog-date, .blog-views {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    margin-left: 15px;
}

.blog-home-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.4;
}

.blog-home-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-read-more {
    color: var(--accent-gold);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s;
}

.blog-home-card:hover .blog-read-more {
    gap: 12px;
}

.blog-view-all {
    text-align: center;
    margin-top: 50px;
}

.no-blog-post {
    background: rgba(18, 25, 45, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .services-grid,
    .ssp-blog-grid,
    .blog-home-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .ssp-blog-grid,
    .blog-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn-outline {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card-1,
    .floating-card-2 {
        display: none;
    }
}

@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .ssp-blog-grid,
    .blog-home-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .expired-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   SOCIAL TOP BAR
========================================= */
.social-top-bar {
    /* با توجه به ارتفاع هدر خود، این مقدار را تنظیم کنید تا زیر هدر مخفی نشود */
    margin-top: 90px; 
    margin-bottom: -20px;
    position: relative;
    z-index: 10;
}

.social-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-title {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-telegram {
    background: rgba(36, 161, 222, 0.1);
    color: #24A1DE;
    border: 1px solid rgba(36, 161, 222, 0.2);
}

.btn-telegram:hover {
    background: #24A1DE;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(36, 161, 222, 0.4);
    transform: translateY(-2px);
}

.btn-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.btn-youtube:hover {
    background: #FF0000;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* ریسپانسیو برای نمایشگرهای کوچکتر */
@media (max-width: 768px) {
    .social-bar-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 15px;
    }
    
    .social-links {
        width: 100%;
        flex-direction: column;
    }
    
    .social-btn {
        justify-content: center;
        width: 100%;
    }
}