/* ===== Dragon Company - Professional CSS ===== */

/* ===== CSS Variables ===== */
:root {
    --primary: #667eea;
    --primary-light: #8b9cf7;
    --secondary: #764ba2;
    --accent: #f093fb;
    --accent-cyan: #00d2ff;
    --success: #00b894;
    --warning: #fdcb6e;
    --danger: #e17055;
    
    --bg-primary: #06060e;
    --bg-secondary: #0c0c18;
    --bg-tertiary: #12122a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --text-primary: #f0f0f8;
    --text-secondary: rgba(240, 240, 248, 0.65);
    --text-muted: rgba(240, 240, 248, 0.4);
    
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(102, 126, 234, 0.4);
    
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-alt: linear-gradient(135deg, #00d2ff 0%, #667eea 50%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    --gradient-telegram: linear-gradient(135deg, #0088cc 0%, #229ed9 100%);
    --gradient-rubika: linear-gradient(135deg, #24c6dc 0%, #514a9f 100%);
    --gradient-bale: linear-gradient(135deg, #00c853 0%, #009624 100%);
    --gradient-gold: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    
    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 80px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(102, 126, 234, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(102, 126, 234, 0.25);
    
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.loader-dragon {
    font-size: 5rem;
    animation: loaderBounce 1.2s ease infinite;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.5));
}

@keyframes loaderBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.1); }
}

.loader-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 25px 0 20px;
    letter-spacing: -0.5px;
}

.loader-bar {
    width: 220px;
    height: 3px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    animation: loadProgress 1.8s ease forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ===== Background Effects ===== */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(102, 126, 234, 0.4);
    border-radius: 50%;
    animation: particleFloat 20s infinite linear;
    filter: blur(1px);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 22s; }
.particle:nth-child(3) { left: 45%; animation-delay: 5s; animation-duration: 16s; }
.particle:nth-child(4) { left: 65%; animation-delay: 8s; animation-duration: 24s; }
.particle:nth-child(5) { left: 85%; animation-delay: 11s; animation-duration: 20s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% { opacity: 0.8; transform: translateY(90vh) translateX(10px) scale(1); }
    50% { transform: translateY(50vh) translateX(-20px) scale(0.8); }
    95% { opacity: 0.8; }
    100% {
        transform: translateY(-10vh) translateX(15px) scale(0);
        opacity: 0;
    }
}

/* Ambient glow orbs */
body::before {
    content: '';
    position: fixed;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: ambientFloat 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: ambientFloat 25s ease-in-out infinite reverse;
}

@keyframes ambientFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: rgba(6, 6, 14, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(6, 6, 14, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.loader-dragon-img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    animation: loaderBounce 1.2s ease infinite;
    filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.5));
}

.bot-avatar-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    animation: heroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.3));
}

@media (max-width: 768px) {
    .bot-avatar-img {
        width: 120px;
        height: 120px;
    }
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-links a.active {
    color: var(--text-primary);
    background: rgba(102, 126, 234, 0.12);
}

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

.btn-nav {
    padding: 9px 22px;
    background: var(--gradient);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.25);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===== Buttons ===== */
.btn {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-telegram {
    background: var(--gradient-telegram);
    color: white;
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.25);
}

.btn-telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 136, 204, 0.35);
}

.btn-rubika {
    background: var(--gradient-rubika);
    color: white;
    box-shadow: 0 8px 30px rgba(36, 198, 220, 0.25);
}

.btn-rubika:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(36, 198, 220, 0.35);
}

.btn-bale {
    background: var(--gradient-bale);
    color: white;
    box-shadow: 0 8px 30px rgba(0, 200, 83, 0.25);
}

.btn-bale:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 200, 83, 0.35);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
    gap: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(50px, -30px) scale(1.2); opacity: 1; }
}

.hero-content {
    flex: 1;
    max-width: 620px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
    letter-spacing: -1px;
}

.gradient-text {
    background: var(--gradient-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 5rem;
    display: block;
    line-height: 1.1;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 2;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 44px;
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat-item:first-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-alt);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.2;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 4px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    flex-wrap: wrap;
}

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

.floating-bot {
    position: relative;
    width: 350px;
    height: 350px;
}

.bot-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9rem;
    z-index: 2;
    animation: heroFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(102, 126, 234, 0.3));
}

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

.bot-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: ringPulse 4s ease-in-out infinite;
}

.ring-1 { width: 220px; height: 220px; border-color: rgba(102, 126, 234, 0.2); }
.ring-2 { width: 280px; height: 280px; animation-delay: 0.7s; border-color: rgba(118, 75, 162, 0.15); }
.ring-3 { width: 340px; height: 340px; animation-delay: 1.4s; border-color: rgba(240, 147, 251, 0.1); }

@keyframes ringPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.06); }
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.08rem;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ===== Platform Cards ===== */
.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: center;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

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

.platform-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2.2rem;
    transition: var(--transition);
}

.platform-icon img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
}

.platform-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.92rem;
    line-height: 1.8;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.platform-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
}

/* ===== Cards Grid ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.card-badge {
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-popular {
    background: var(--gradient-warm);
    color: white;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.25);
}

.badge-new {
    background: var(--gradient-success);
    color: white;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 18px;
    font-size: 0.88rem;
    line-height: 1.8;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.card-features span {
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.12);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--primary-light);
    font-weight: 500;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.card-link:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 76px;
    height: 76px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 72px 0 24px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--gradient);
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul a {
    color: var(--text-secondary);
    transition: var(--transition-fast);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul a:hover {
    color: var(--text-primary);
    transform: translateX(-4px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-bottom .heart {
    color: #e17055;
    display: inline-block;
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ===== Page Header ===== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.06) 0%, transparent 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: var(--gradient);
    border-radius: 10px;
}

.page-header h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
    position: relative;
    line-height: 1.9;
}

/* ===== Stats Bar (per page) ===== */
.page-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 40px 0;
}

.page-stat {
    text-align: center;
}

.page-stat .number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.page-stat .label {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.06) 0%, rgba(118, 75, 162, 0.06) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 16px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 1.08rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll-triggered animation class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
    border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-alt);
}

/* ===== Selection ===== */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: white;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-state .icon {
    font-size: 5rem;
    margin-bottom: 24px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(6, 6, 14, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--border);
    }

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

    .nav-links a {
        padding: 12px 16px;
        border-radius: var(--radius);
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .gradient-text {
        font-size: 3.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-item::after {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .floating-bot {
        width: 220px;
        height: 220px;
    }

    .bot-avatar {
        font-size: 6rem;
    }

    .ring-1 { width: 160px; height: 160px; }
    .ring-2 { width: 200px; height: 200px; }
    .ring-3 { width: 240px; height: 240px; }

    .page-header h1 {
        font-size: 2.4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .gradient-text {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .card {
        padding: 24px;
    }

    .platform-card {
        padding: 32px 24px;
    }

    .feature-card {
        padding: 32px 24px;
    }
}
