/* ================================
   TC Labs Website - Complete Redesign
   Modern Dark Theme
   ================================ */

/* --- CSS Variables --- */
:root {
    --bg-primary: #06060b;
    --bg-secondary: #0c0c14;
    --bg-card: #13131f;
    --bg-card-hover: #1a1a2e;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(0, 212, 255, 0.3);

    --text-primary: #f0f0f5;
    --text-secondary: #9898b0;
    --text-muted: #5e5e78;

    --accent-blue: #00d4ff;
    --accent-blue-dark: #0099cc;
    --accent-green: #00ff88;
    --accent-purple: #a855f7;
    --accent-orange: #ff9f43;
    --accent-red: #ff6b6b;
    --accent-cyan: #22d3ee;

    --gradient-main: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    --gradient-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #a855f7 50%, #ff6b6b 100%);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.12);
    --shadow-glow-purple: 0 0 40px rgba(168, 85, 247, 0.12);

    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Utility --- */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-family);
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25);
}

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

.btn-ghost:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ================================
   NAVBAR
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(6, 6, 11, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    color: #000;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--text-primary);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: rgba(19, 19, 31, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 8px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.dropdown-icon-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.7rem;
    color: #fff;
}

.dropdown-item strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.dropdown-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

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

/* ================================
   HERO SECTION (Main Page)
   ================================ */
.hero, .product-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.hero-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
    bottom: 10%;
    right: 10%;
}

.hero-glow.glow-purple {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
}

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

/* Breadcrumb */
.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.breadcrumb:hover {
    color: var(--accent-blue);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1,
.product-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-title-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat { text-align: center; }

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-color);
}

/* --- Hero Visual (Main Page) --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.hero-app-icons {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-icon-item {
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.hero-icon-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.hero-icon-item img {
    width: 120px;
    height: 120px;
    max-width: none;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.4s ease;
}

.hero-icon-item:first-child:hover img {
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2), 0 0 0 1px rgba(0, 212, 255, 0.15);
}

.hero-icon-item:last-child:hover img {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.15);
}

.hero-icon-status {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

.hero-icon-status.live {
    background: var(--accent-green);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.hero-icon-status.coming {
    background: var(--accent-purple);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

/* Floating Particles */
.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
}

.p1 {
    background: var(--accent-blue);
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.p2 {
    background: var(--accent-green);
    bottom: 20%;
    left: 5%;
    animation-delay: 2.5s;
}

.p3 {
    background: var(--accent-purple);
    top: 60%;
    right: 5%;
    animation-delay: 5s;
}

@keyframes float-particle {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    25% { transform: translate(10px, -20px) scale(1.2); opacity: 1; }
    50% { transform: translate(-5px, -30px) scale(0.8); opacity: 0.4; }
    75% { transform: translate(15px, -10px) scale(1.1); opacity: 0.8; }
}

/* ================================
   PRODUCTS SECTION
   ================================ */
.products {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    display: block;
    position: relative;
    padding: 40px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.product-card-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08), transparent 70%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0;
}

.product-card-glow.glow-purple {
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.08), transparent 70%);
}

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

.product-card:hover .product-card-glow {
    opacity: 1;
}

.product-card-coming:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: var(--shadow-glow-purple);
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.product-icon-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: #fff;
}

.product-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-status.live {
    background: rgba(0, 255, 136, 0.08);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 136, 0.15);
}

.product-status.coming {
    background: rgba(168, 85, 247, 0.08);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

.product-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.product-tagline {
    font-size: 0.95rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.product-card-coming .product-tagline {
    color: var(--accent-purple);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features-mini span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.product-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s;
}

.product-card:hover .product-cta {
    gap: 10px;
}

.product-card-coming .product-cta {
    color: var(--accent-purple);
}

/* ================================
   PHONE MOCKUP
   ================================ */
.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--bg-secondary);
    border-radius: 40px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 212, 255, 0.08);
}

.phone-frame.small {
    width: 260px;
    height: 540px;
    border-radius: 36px;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    padding: 0;
    height: calc(100% - 28px);
    overflow: hidden;
}

.hero-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(19, 19, 31, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.card-1 { top: 15%; right: -10px; animation-delay: 0s; }
.card-2 { bottom: 25%; left: -20px; animation-delay: 2s; }
.card-3 { top: 50%; right: -30px; animation-delay: 4s; }

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

/* ================================
   FEATURES SECTION
   ================================ */
.features {
    padding: 120px 0;
}

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

.features-grid-detailed {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.4s;
}

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

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

.feature-large {
    grid-column: span 2;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent-blue);
}

.feature-icon.icon-green { background: rgba(0, 255, 136, 0.08); color: var(--accent-green); }
.feature-icon.icon-purple { background: rgba(168, 85, 247, 0.08); color: var(--accent-purple); }
.feature-icon.icon-orange { background: rgba(255, 159, 67, 0.08); color: var(--accent-orange); }
.feature-icon.icon-red { background: rgba(255, 107, 107, 0.08); color: var(--accent-red); }
.feature-icon.icon-cyan { background: rgba(34, 211, 238, 0.08); color: var(--accent-cyan); }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}

.feature-tags span {
    padding: 3px 10px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--accent-blue);
    font-weight: 600;
}

/* ================================
   HOW IT WORKS
   ================================ */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border-color);
    margin-top: 30px;
    flex-shrink: 0;
}

/* ================================
   SCREENSHOTS
   ================================ */
.screenshots {
    padding: 120px 0;
}

.screenshots-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    justify-items: center;
}

.screenshot-item {
    text-align: center;
}

.screenshot-phone {
    width: 200px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-label {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ================================
   COORDINATE SYSTEMS
   ================================ */
.systems {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.system-card {
    text-align: center;
    padding: 28px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

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

.system-card-highlight {
    background: rgba(0, 212, 255, 0.04);
    border-color: rgba(0, 212, 255, 0.15);
}

.system-emoji {
    font-size: 2rem;
    margin-bottom: 10px;
}

.system-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.system-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.system-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 100px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* ================================
   LANGUAGES
   ================================ */
.languages {
    padding: 100px 0;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.lang-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.lang-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.lang-flag {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.lang-card strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.lang-card small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ================================
   TECH SPECS
   ================================ */
.tech-specs {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.spec-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.spec-card:hover {
    border-color: var(--border-hover);
}

.spec-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* ================================
   DOWNLOAD SECTION
   ================================ */
.download {
    padding: 120px 0;
}

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

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

.download-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.store-btn:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.store-btn small {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.store-btn strong {
    font-size: 1rem;
}

.download-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================
   ABOUT SECTION
   ================================ */
.about {
    padding: 120px 0;
    background: var(--bg-secondary);
}

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

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

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

.about-highlights {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.highlight-item svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    width: 320px;
}

.about-logo {
    width: 72px;
    height: 72px;
    background: var(--gradient-main);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    color: #000;
    margin: 0 auto 16px;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.about-card > p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 28px;
}

.about-apps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-app {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: left;
}

.about-app.active {
    border-color: rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.02);
}

.about-app.upcoming {
    border-style: dashed;
    opacity: 0.6;
}

.app-icon-text {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #fff;
}

.about-app span {
    font-weight: 600;
    font-size: 0.9rem;
}

.about-app small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent-blue);
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-link:hover {
    border-color: var(--border-hover);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.coming-soon-hero .container {
    position: relative;
    z-index: 1;
}

.coming-soon-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.coming-soon-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    color: #fff;
    margin: 0 auto 24px;
}

.coming-soon-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 16px;
    text-align: center;
    justify-content: center;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 24px;
}

.coming-soon-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.coming-soon-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   FOOTER
   ================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 280px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

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

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* ================================
   ANIMATIONS
   ================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Toast Notification --- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-family: var(--font-family);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Visually Hidden (Accessibility) --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .hero .container,
    .product-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1,
    .product-hero h1 {
        justify-content: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

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

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

    .hero-visual {
        display: none;
    }

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

    .features-grid,
    .features-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 2;
    }

    .screenshots-carousel {
        grid-template-columns: repeat(3, 1fr);
    }

    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .languages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .about-highlights {
        align-items: center;
    }

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

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

    .breadcrumb {
        justify-content: center;
    }
}

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

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

    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }

    .nav-links > li > a::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
        min-width: auto;
        backdrop-filter: none;
    }

    .nav-dropdown:hover .dropdown-menu {
        top: auto;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .hero h1,
    .product-hero h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 12px;
    }

    .hero-title-icon {
        width: 48px;
        height: 48px;
    }

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

    .feature-large {
        grid-column: span 1;
    }

    .steps {
        flex-direction: column;
        gap: 32px;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        margin: 0 auto;
    }

    .screenshots-carousel {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .screenshot-phone {
        width: 160px;
        border-radius: 20px;
    }

    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .download-visual {
        flex-direction: column;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

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

    .stat-divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .screenshots-carousel {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

    .coming-soon-actions {
        flex-direction: column;
    }

    .cf-sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-onboarding-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-sound-grid {
        grid-template-columns: 1fr;
    }

    .cf-levels-track {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cf-levels-track::before {
        display: none;
    }
}

/* ================================
   CORTEXFLOW - SPECIFIC STYLES
   ================================ */

/* CortexFlow Color Variables */
.cortexflow-page {
    --cf-purple: #8B5CF6;
    --cf-green: #06D6A0;
    --cf-blue: #4A9EFF;
    --cf-gradient: linear-gradient(135deg, #8B5CF6 0%, #06D6A0 100%);
    --cf-gradient-alt: linear-gradient(135deg, #4A9EFF 0%, #8B5CF6 50%, #06D6A0 100%);
}

.cf-gradient-text {
    background: linear-gradient(135deg, #8B5CF6 0%, #06D6A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CortexFlow Tags */
.cf-tag {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.15);
    color: #8B5CF6;
}

/* CortexFlow Buttons */
.btn-primary-cf {
    background: linear-gradient(135deg, #8B5CF6 0%, #06D6A0 100%);
    color: #fff;
}

.btn-primary-cf:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
}

/* CortexFlow Hero */
.cf-hero .hero-content {
    z-index: 2;
}

.cf-glow-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    top: 10%;
    left: 30%;
}

.cf-glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.06) 0%, transparent 70%);
    bottom: 10%;
    right: 20%;
}

.cf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 100px;
    font-size: 0.85rem;
    color: #8B5CF6;
    margin-bottom: 24px;
}

.cf-dot {
    background: #8B5CF6;
}

.cf-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cf-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 214, 160, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cf-subtitle {
    color: #8B5CF6;
}

/* Neural Network Visualization */
.cf-neural-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.cf-brain-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.cf-neuron {
    position: absolute;
    border-radius: 50%;
    animation: neuron-pulse 4s ease-in-out infinite;
}

.cf-neuron.n1 { width: 16px; height: 16px; background: #8B5CF6; top: 30%; left: 45%; animation-delay: 0s; }
.cf-neuron.n2 { width: 12px; height: 12px; background: #06D6A0; top: 20%; left: 30%; animation-delay: 0.5s; }
.cf-neuron.n3 { width: 14px; height: 14px; background: #4A9EFF; top: 45%; left: 65%; animation-delay: 1s; }
.cf-neuron.n4 { width: 10px; height: 10px; background: #8B5CF6; top: 60%; left: 35%; animation-delay: 1.5s; }
.cf-neuron.n5 { width: 12px; height: 12px; background: #06D6A0; top: 35%; left: 70%; animation-delay: 2s; }
.cf-neuron.n6 { width: 8px; height: 8px; background: #4A9EFF; top: 55%; left: 55%; animation-delay: 2.5s; }
.cf-neuron.n7 { width: 10px; height: 10px; background: #8B5CF6; top: 25%; left: 55%; animation-delay: 3s; }

.cf-synapse {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(6, 214, 160, 0.3));
    transform-origin: left center;
    animation: synapse-fire 5s ease-in-out infinite;
}

.cf-synapse.s1 { width: 80px; top: 28%; left: 35%; transform: rotate(15deg); animation-delay: 0.3s; }
.cf-synapse.s2 { width: 100px; top: 38%; left: 48%; transform: rotate(-20deg); animation-delay: 0.8s; }
.cf-synapse.s3 { width: 70px; top: 50%; left: 40%; transform: rotate(30deg); animation-delay: 1.3s; }
.cf-synapse.s4 { width: 90px; top: 32%; left: 55%; transform: rotate(-10deg); animation-delay: 1.8s; }
.cf-synapse.s5 { width: 60px; top: 55%; left: 50%; transform: rotate(45deg); animation-delay: 2.3s; }

.cf-core-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: core-breathe 6s ease-in-out infinite;
}

@keyframes neuron-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); box-shadow: 0 0 8px currentColor; }
    50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 20px currentColor; }
}

@keyframes synapse-fire {
    0%, 100% { opacity: 0.2; }
    30% { opacity: 0.8; }
    60% { opacity: 0.1; }
}

@keyframes core-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.cf-float {
    border-color: rgba(139, 92, 246, 0.2);
}

/* Session Types */
.cf-sessions {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.cf-sessions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cf-session-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
}

.cf-session-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

.cf-session-featured {
    border-color: rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.03);
}

.cf-session-timer {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #06D6A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.cf-session-timer-custom {
    color: #8B5CF6;
    -webkit-text-fill-color: initial;
    background: none;
}

.cf-session-unit {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cf-session-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cf-session-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* CortexFlow Screenshots */
.cf-screenshots {
    padding: 100px 0;
}

.cf-screenshots-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
}

.cf-screenshots-carousel::-webkit-scrollbar {
    height: 6px;
}

.cf-screenshots-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.cf-screenshots-carousel::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

.cf-ss-item {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: start;
    text-align: center;
}

.cf-ss-item img {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cf-ss-item:hover img {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.2);
}

.cf-ss-label {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* CortexFlow Feature Icons */
.cf-icon-purple { background: rgba(139, 92, 246, 0.08); color: #8B5CF6; }
.cf-icon-green { background: rgba(6, 214, 160, 0.08); color: #06D6A0; }
.cf-icon-blue { background: rgba(74, 158, 255, 0.08); color: #4A9EFF; }
.cf-icon-red { background: rgba(255, 107, 107, 0.08); color: #ff6b6b; }

.cf-tags span {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.12);
    color: #8B5CF6;
}

.cf-feature:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
}

.cf-feature::before {
    background: linear-gradient(135deg, #8B5CF6, #06D6A0);
}

/* Onboarding Steps */
.cf-onboarding-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cf-onboard-step {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s;
}

.cf-onboard-step:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
}

.cf-step-num {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #06D6A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1;
}

.cf-onboard-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cf-onboard-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Levels Track */
.cf-levels {
    padding: 100px 0;
}

.cf-levels-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

.cf-levels-track::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 30px;
    right: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color) 0%, rgba(139, 92, 246, 0.3) 50%, rgba(6, 214, 160, 0.3) 100%);
}

.cf-level-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.cf-level-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.cf-level-item:hover .cf-level-dot {
    border-color: #8B5CF6;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.cf-level-dot-final {
    background: linear-gradient(135deg, #8B5CF6, #06D6A0);
    border-color: transparent;
    width: 28px;
    height: 28px;
}

.cf-level-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.cf-level-final .cf-level-name {
    color: #8B5CF6;
    font-weight: 700;
}

.cf-level-item small {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* Sound System */
.cf-sound {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.cf-sound-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s;
}

.cf-sound-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.08);
}

.cf-sound-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #8B5CF6;
}

.cf-sound-green {
    background: rgba(6, 214, 160, 0.08);
    color: #06D6A0;
}

.cf-sound-blue {
    background: rgba(74, 158, 255, 0.08);
    color: #4A9EFF;
}

.cf-sound-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* CortexFlow Tech Specs */
.cf-spec h4 {
    color: #8B5CF6;
}

.cf-spec:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

/* CortexFlow Download */
.cf-store:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.12);
}

.cf-download-visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    width: 280px;
}

.cf-dv-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(6, 214, 160, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cf-download-visual-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cf-download-visual-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.cf-dv-platform {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8B5CF6;
}

/* CortexFlow on Index Page */
.product-card-cf:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.12);
}

.cf-tagline-color {
    color: #8B5CF6 !important;
}

.cf-cta-color {
    color: #8B5CF6;
}

.cf-status {
    background: rgba(139, 92, 246, 0.08);
    color: #8B5CF6;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.cf-app-active {
    border-color: rgba(139, 92, 246, 0.2) !important;
    background: rgba(139, 92, 246, 0.02) !important;
}

/* CortexFlow How Section */
.cf-how {
    background: var(--bg-secondary);
}

/* CortexFlow Responsive */
@media (max-width: 1024px) {
    .cf-sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-onboarding-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cf-neural-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .cf-sessions-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cf-onboarding-grid {
        grid-template-columns: 1fr;
    }

    .cf-sound-grid {
        grid-template-columns: 1fr;
    }

    .cf-levels-track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .cf-levels-track::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .cf-sessions-grid {
        grid-template-columns: 1fr;
    }

    .cf-ss-item {
        width: 200px;
    }

    .cf-screenshots {
        padding: 60px 0;
    }
}

/* ================================
   Language Switcher
   ================================ */

.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-family);
    transition: all 0.2s;
}

.lang-switcher button.active {
    background: var(--accent-blue);
    color: var(--bg-primary);
}

.lang-switcher button:hover:not(.active) {
    color: var(--text-primary);
}

/* FOUC prevention for i18n */
html.i18n-loading [data-i18n],
html.i18n-loading [data-i18n-html] {
    visibility: hidden;
}

@media (max-width: 768px) {
    .lang-switcher {
        order: -1;
    }
}
