/* ============================================================================
   TURKUAZ IT - GLOBAL DESIGN SYSTEM
   Clean, organized, and reusable CSS framework
   ============================================================================ */

/* ============================================================================
   1. CSS VARIABLES (Design Tokens)
   ============================================================================ */
:root {
    /* Primary Colors - Turkuaz/Cyan */
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #5ce1ff;
    --primary-rgb: 0, 212, 255;
    
    /* Secondary Colors - Deep Blue */
    --secondary: #0f1c3f;
    --secondary-dark: #080e1f;
    --secondary-light: #1a2d5a;
    
    /* Accent Colors - Purple/Violet */
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    
    /* Dark Theme Colors */
    --dark-bg: #0a0e17;
    --dark-card: #111827;
    --dark-border: #1f2937;
    --dark-hover: #1a2332;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(90deg, #00d4ff 0%, #5b4cdb 50%, #7c3aed 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #111827 100%);
    --gradient-card: linear-gradient(145deg, rgba(17, 24, 39, 0.9) 0%, rgba(10, 14, 23, 0.9) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --section-py: 100px;
    --section-py-sm: 60px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================================================
   2. RESET & BASE STYLES
   ============================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

/* ============================================================================
   3. ANIMATED BACKGROUND (Global)
   ============================================================================ */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(0, 212, 255, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(124, 58, 237, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 30% at 10% 80%, rgba(0, 212, 255, 0.08), transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 90%, rgba(124, 58, 237, 0.08), transparent 50%);
    animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    25% { transform: translate(20px, -20px) scale(1.02); }
    50% { transform: translate(-10px, 10px) scale(0.98); opacity: 0.8; }
    75% { transform: translate(-20px, -10px) scale(1.01); }
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: particleRise linear infinite;
}

.particle:nth-child(1) { width: 3px; height: 3px; left: 10%; animation-duration: 35s; animation-delay: 0s; }
.particle:nth-child(2) { width: 2px; height: 2px; left: 25%; animation-duration: 30s; animation-delay: 5s; }
.particle:nth-child(3) { width: 3px; height: 3px; left: 40%; animation-duration: 40s; animation-delay: 10s; }
.particle:nth-child(4) { width: 2px; height: 2px; left: 55%; animation-duration: 32s; animation-delay: 3s; }
.particle:nth-child(5) { width: 3px; height: 3px; left: 70%; animation-duration: 38s; animation-delay: 8s; }
.particle:nth-child(6) { width: 2px; height: 2px; left: 85%; animation-duration: 36s; animation-delay: 12s; }
.particle:nth-child(7),
.particle:nth-child(8),
.particle:nth-child(9),
.particle:nth-child(10),
.particle:nth-child(11),
.particle:nth-child(12) { display: none; }

@keyframes particleRise {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.4; transform: translateY(80vh) scale(1); }
    90% { opacity: 0.4; }
    100% { transform: translateY(-10vh) scale(0); opacity: 0; }
}

.glow-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: orbFloat 25s ease-in-out infinite;
}

.glow-orb--1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 255, 0.08);
    top: -20%;
    left: -10%;
}

.glow-orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(124, 58, 237, 0.06);
    top: 50%;
    right: -10%;
    animation-delay: 8s;
}

.glow-orb--3 {
    width: 350px;
    height: 350px;
    background: rgba(0, 212, 255, 0.05);
    bottom: -15%;
    left: 20%;
    animation-delay: 16s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(30px, -20px) scale(1.05); opacity: 0.5; }
}

.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 5;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

/* Ensure content stays above background */
.header, .main, .footer {
    position: relative;
    z-index: 10;
}

/* ============================================================================
   4. LAYOUT & CONTAINER
   ============================================================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-py) 0;
    position: relative;
}

.section--sm {
    padding: var(--section-py-sm) 0;
}

/* ============================================================================
   5. TYPOGRAPHY UTILITIES
   ============================================================================ */
.text-primary { color: var(--primary); }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================================================
   6. BUTTONS (Global)
   ============================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
    outline: none;
}

/* Button Sizes */
.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--lg {
    padding: 18px 36px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Primary Button - Solid gradient with clean edges */
.btn--primary {
    background: #00d4ff;
    background: -webkit-linear-gradient(left, #00d4ff 0%, #7c3aed 100%);
    background: linear-gradient(to right, #00d4ff 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
    filter: brightness(1.05);
}

.btn--primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Outline Button */
.btn--outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Ghost Button */
.btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ============================================================================
   7. HEADER & NAVIGATION
   ============================================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.header.scrolled {
    padding: 14px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
}

.nav__logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 20px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Nav Indicator - sliding background */
.nav__indicator {
    position: absolute;
    height: calc(100% - 12px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.nav__link {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    padding: 10px 18px;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-white);
}

/* Nav Dropdown */
.nav__item--dropdown {
    position: relative;
}

.nav__dropdown-icon {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav__item--dropdown:hover .nav__dropdown-icon {
    transform: rotate(180deg);
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    padding: 12px;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.08) transparent;
}

.nav__dropdown-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav__dropdown-link:hover {
    background: rgba(0, 212, 255, 0.08);
}

.nav__dropdown-link i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    color: var(--primary);
    font-size: 14px;
}

.nav__dropdown-link div {
    display: flex;
    flex-direction: column;
}

.nav__dropdown-link span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}

.nav__dropdown-link small {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Language Switcher Dropdown */
.nav__lang-dropdown {
    position: relative;
}

.nav__lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition);
    font-size: 14px;
}

.nav__lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav__lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__lang-code {
    font-weight: 600;
    font-size: 12px;
}

.nav__lang-btn i {
    font-size: 10px;
    transition: transform var(--transition);
}

.nav__lang-dropdown:hover .nav__lang-btn i {
    transform: rotate(180deg);
}

.nav__lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    min-width: 160px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav__lang-dropdown:hover .nav__lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition);
    font-size: 14px;
}

.nav__lang-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.nav__lang-item.active {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.nav__lang-flag {
    font-size: 18px;
    border-radius: 2px;
}

/* Flag-icons kütüphanesi için */
.nav__lang-current .fi,
.nav__lang-item .fi {
    font-size: 16px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.nav__lang-name {
    font-weight: 500;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================================================
   8. SECTION HEADER (Reusable)
   ============================================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 30px;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ============================================================================
   9. CARDS (Global Card System)
   ============================================================================ */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
}

.card--featured {
    border-color: rgba(0, 212, 255, 0.3);
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.05), rgba(17, 24, 39, 0.5));
}

.card__icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card__icon--purple {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.card__icon--green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card:hover .card__icon {
    transform: scale(1.1);
}

.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 16px;
    transition: gap 0.3s ease;
}

.card__link:hover {
    gap: 14px;
}

/* ============================================================================
   10. PAGE HERO (For Internal Pages)
   ============================================================================ */
.page-hero {
    position: relative;
    padding: 140px 0 40px;
    overflow: hidden;
}

.page-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.page-hero__badge i {
    font-size: 12px;
}

.page-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.page-hero__text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-muted);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.page-hero__breadcrumb a {
    color: var(--text-light);
    transition: color var(--transition);
}

.page-hero__breadcrumb a:hover {
    color: var(--primary);
}

.page-hero__breadcrumb i {
    font-size: 10px;
    color: var(--primary);
    opacity: 0.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   11. HERO SECTION (Home Page)
   ============================================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    max-width: 600px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 28px;
}

.hero__title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero__title span {
    display: block;
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--dark-border);
}

.hero__stat {
    text-align: left;
}

.hero__stat-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.hero__stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Hero Visual */
.hero__visual {
    position: relative;
}

.hero__dashboard {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.9));
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
}

.hero__dashboard::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.2), rgba(0, 212, 255, 0.3));
    background-size: 200% 200%;
    border-radius: calc(var(--radius-lg) + 1px);
    z-index: -1;
    animation: borderGlow 10s ease infinite;
    opacity: 0.4;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero__dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__dashboard-dots {
    display: flex;
    gap: 6px;
}

.hero__dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero__dashboard-dots span:nth-child(1) { background: #ef4444; }
.hero__dashboard-dots span:nth-child(2) { background: #f59e0b; }
.hero__dashboard-dots span:nth-child(3) { background: #10b981; }

.hero__dashboard-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

.hero__dashboard-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.hero__dashboard-stat {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero__dashboard-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.hero__dashboard-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.hero__dashboard-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.hero__dashboard-chart {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.hero__chart-bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.7) 0%, rgba(124, 58, 237, 0.5) 100%);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    animation: chartGrow 2s ease-out forwards;
    transform-origin: bottom;
}

@keyframes chartGrow {
    0% { transform: scaleY(0); opacity: 0; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* Floating Elements */
.hero__float {
    position: absolute;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    animation: floatUpDown 4s ease-in-out infinite;
    z-index: 10;
}

.hero__float--1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero__float--2 {
    bottom: 20%;
    left: -40px;
    animation-delay: 2s;
}

.hero__float-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.hero__float-text {
    font-size: 13px;
}

.hero__float-text strong {
    display: block;
    color: var(--text-white);
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Hero Notification */
.hero__notification {
    position: absolute;
    bottom: -20px;
    right: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.15), rgba(17, 24, 39, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: notificationPulse 3s ease-in-out infinite;
    max-width: 280px;
    backdrop-filter: blur(10px);
}

.hero__notification-icon {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 18px;
}

.hero__notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s ease-in-out infinite;
}

.hero__notification-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__notification-content strong {
    font-size: 14px;
    font-weight: 600;
    color: #f59e0b;
}

.hero__notification-content span {
    font-size: 13px;
    color: var(--text-white);
    line-height: 1.4;
}

.hero__notification-content small {
    font-size: 11px;
    color: var(--text-muted);
}

@keyframes notificationPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================================================
   12. FOOTER
   ============================================================================ */
.footer {
    background: var(--dark-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--dark-border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--dark-border);
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer__desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition);
}

.footer__social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.footer__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__links a {
    font-size: 15px;
    color: var(--text-light);
    transition: all var(--transition);
}

.footer__links a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
}

.footer__bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer__legal {
    display: flex;
    gap: 32px;
}

.footer__legal a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer__legal a:hover {
    color: var(--primary);
}

/* ============================================================================
   13. FORMS (Global)
   ============================================================================ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-label span {
    color: var(--error);
}

.form-input-wrap {
    position: relative;
}

.form-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.form-input-wrap--textarea i {
    top: 20px;
    transform: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder {
    color: var(--text-muted);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* ============================================================================
   14. ALERTS
   ============================================================================ */
.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.alert--success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.alert--warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

/* ============================================================================
   15. PAGE TRANSITIONS & ANIMATIONS
   ============================================================================ */
.page-transition {
    animation: pageEnter 0.6s ease-out;
}

@keyframes pageEnter {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================================
   16. RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1200px) {
    .hero__title {
        font-size: 52px;
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-py: 80px;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__content {
        max-width: 100%;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__stats {
        justify-content: center;
    }
    
    .hero__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --section-py: 60px;
    }
    
    .nav__menu,
    .nav__actions {
        display: none;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: var(--dark-bg);
        padding: 100px 24px 40px;
        gap: 0;
        z-index: 999;
    }
    
    .nav__menu.active .nav__item {
        border-bottom: 1px solid var(--dark-border);
    }
    
    .nav__menu.active .nav__link {
        display: block;
        padding: 20px 0;
        font-size: 18px;
    }
    
    /* Mobile Dropdown */
    .nav__menu.active .nav__dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 100%;
        padding: 0;
        margin-top: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        display: none;
    }
    
    .nav__menu.active .nav__item--dropdown.open .nav__dropdown {
        display: block;
    }
    
    .nav__menu.active .nav__dropdown::before {
        display: none;
    }
    
    .nav__menu.active .nav__dropdown-link {
        padding: 16px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    
    .nav__menu.active .nav__dropdown-link i {
        width: 32px;
        height: 32px;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 60px;
    }
    
    .hero__title {
        font-size: 36px;
    }
    
    .hero__subtitle {
        font-size: 16px;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero__stat {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer__brand {
        max-width: 100%;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer__legal {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================================ */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Page exit animation */
.page-exit {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

/* No scroll when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

