/* ============================================
   BilsemTUZO — Modern Design System
   Light/Dark Theme with Vibrant Colors
   ============================================ */

/* --- CSS Custom Properties: LIGHT THEME (default) --- */
:root {
    /* Backgrounds — clean, warm whites */
    --bg-primary: #ffffff;
    --bg-secondary: #f0f4ff;
    --bg-surface: #e8eeff;
    --bg-card: rgba(255, 255, 255, 0.85);

    /* Text — deep, readable */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;

    /* Accent Colors — vibrant & saturated */
    --accent-purple: #7c3aed;
    --accent-cyan: #0891b2;
    --accent-pink: #db2777;
    --accent-amber: #d97706;
    --accent-green: #059669;
    --accent-orange: #ea580c;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
    --gradient-hero: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 40%, #dbeafe 100%);
    --gradient-pink: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
    --gradient-cyan: linear-gradient(135deg, #0891b2 0%, #059669 100%);
    --gradient-amber: linear-gradient(135deg, #d97706 0%, #ea580c 100%);

    /* Card & Glass effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);

    /* Navbar */
    --navbar-scrolled-bg: rgba(255, 255, 255, 0.92);
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);

    /* Factor card top bar */
    --factor-hover-border: rgba(124, 58, 237, 0.25);
    --factor-hover-shadow: rgba(124, 58, 237, 0.08);

    /* Disclaimer */
    --disclaimer-bg-start: rgba(255, 217, 61, 0.1);
    --disclaimer-bg-end: rgba(255, 139, 61, 0.06);
    --disclaimer-border: rgba(217, 119, 6, 0.2);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: clamp(60px, 8vw, 120px);
    --card-radius: 20px;
    --card-radius-lg: 28px;

    /* Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bouncy: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    /* Theme transition */
    color-scheme: light dark;
}

/* --- DARK THEME --- */
[data-theme="dark"] {
    --bg-primary: #0a0e27;
    --bg-secondary: #0f1535;
    --bg-surface: #151b3d;
    --bg-card: rgba(21, 27, 61, 0.7);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-purple: #a78bfa;
    --accent-cyan: #22d3ee;
    --accent-pink: #f472b6;
    --accent-amber: #fbbf24;
    --accent-green: #34d399;
    --accent-orange: #fb923c;

    --gradient-primary: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1145 40%, #0f1535 100%);
    --gradient-pink: linear-gradient(135deg, #f472b6 0%, #a78bfa 100%);
    --gradient-cyan: linear-gradient(135deg, #22d3ee 0%, #34d399 100%);
    --gradient-amber: linear-gradient(135deg, #fbbf24 0%, #fb923c 100%);

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    --navbar-scrolled-bg: rgba(10, 14, 39, 0.92);
    --mobile-menu-bg: rgba(10, 14, 39, 0.98);

    --factor-hover-border: rgba(167, 139, 250, 0.3);
    --factor-hover-shadow: rgba(167, 139, 250, 0.1);

    --disclaimer-bg-start: rgba(255, 217, 61, 0.06);
    --disclaimer-bg-end: rgba(255, 139, 61, 0.04);
    --disclaimer-border: rgba(255, 217, 61, 0.15);
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    cursor: pointer;
    transition: all var(--transition-base);
    font-size: 1.15rem;
    margin-left: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-purple);
    transform: rotate(15deg) scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--accent-cyan);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-pink);
}

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

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: var(--bg-primary);
    padding: 10px 24px;
    border-radius: 0 0 12px 12px;
    z-index: 10000;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
    color: var(--bg-primary);
}

/* --- Container --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: var(--navbar-scrolled-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-logo:hover {
    color: var(--text-primary);
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all var(--transition-base);
}

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

.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    padding: 8px 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: 120px 0 80px;
}

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

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -10%;
    right: -10%;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    bottom: -10%;
    left: -10%;
    animation: float 10s ease-in-out infinite 2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-amber);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-bouncy);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(155, 93, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(155, 93, 229, 0.5);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* --- Disclaimer Banner --- */
.disclaimer-banner {
    background: linear-gradient(135deg, var(--disclaimer-bg-start), var(--disclaimer-bg-end));
    border-top: 1px solid var(--disclaimer-border);
    border-bottom: 1px solid var(--disclaimer-border);
    padding: 16px 0;
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.disclaimer-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.disclaimer-content strong {
    color: var(--accent-amber);
}

.disclaimer-content a {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* --- Section Base --- */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 64px);
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-base);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--glass-shadow);
}

/* --- Content Grid (TUZÖ Nedir) --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

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

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-icon.purple {
    background: rgba(155, 93, 229, 0.15);
}

.card-icon.cyan {
    background: rgba(0, 187, 249, 0.15);
}

.card-icon.pink {
    background: rgba(241, 91, 181, 0.15);
}

.card-icon.amber {
    background: rgba(255, 217, 61, 0.15);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Blockquote --- */
.highlight-quote {
    background: var(--glass-bg);
    border-left: 4px solid var(--accent-purple);
    border-radius: 0 var(--card-radius) var(--card-radius) 0;
    padding: 32px;
    margin: 0;
}

.highlight-quote p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.highlight-quote cite {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-style: normal;
    font-weight: 600;
}

/* --- Factor Cards (CHC) --- */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.factor-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.factor-card:hover {
    border-color: var(--factor-hover-border);
    box-shadow: 0 8px 40px var(--factor-hover-shadow);
    transform: translateY(-4px);
}

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

.factor-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.factor-code {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1rem;
    background: linear-gradient(135deg, #9B5DE5, #7B3FF2);
    color: white;
    flex-shrink: 0;
}

.factor-code-gf {
    background: linear-gradient(135deg, #00BBF9, #0088cc);
}

.factor-code-gq {
    background: linear-gradient(135deg, #FF8B3D, #e67320);
}

.factor-code-grw {
    background: linear-gradient(135deg, #00F5D4, #00cc9f);
}

.factor-code-gsm {
    background: linear-gradient(135deg, #F15BB5, #d43d95);
}

.factor-code-glr {
    background: linear-gradient(135deg, #FFD93D, #e6b800);
}

.factor-code-gv {
    background: linear-gradient(135deg, #6BCB77, #4fa75a);
}

.factor-code-ga {
    background: linear-gradient(135deg, #FF6B9D, #e04d80);
}

.factor-code-gs {
    background: linear-gradient(135deg, #4D96FF, #2d6fcc);
}

.factor-header h3 {
    font-size: 1.1rem;
    line-height: 1.3;
}

.factor-header h3 small {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.factor-card>p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.factor-games {
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
}

.games-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 10px;
}

.game-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-links a {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 187, 249, 0.08);
    border: 1px solid rgba(0, 187, 249, 0.15);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    transition: all var(--transition-base);
}

.game-links a:hover {
    background: rgba(0, 187, 249, 0.18);
    border-color: rgba(0, 187, 249, 0.35);
    color: white;
    transform: translateY(-1px);
}

/* --- CTA Banner --- */
.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
    gap: 24px;
    background: linear-gradient(135deg, rgba(155, 93, 229, 0.12), rgba(0, 187, 249, 0.08)) !important;
    border: 1px solid rgba(155, 93, 229, 0.2) !important;
}

.cta-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- Tech Grid --- */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.tech-card {
    padding: 32px;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.tech-card h3 small {
    display: block;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.tech-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.tech-detail {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-badge {
    padding: 4px 12px;
    background: rgba(0, 245, 212, 0.08);
    border: 1px solid rgba(0, 245, 212, 0.15);
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--accent-green);
    font-weight: 500;
}

.innovation-highlight {
    margin-bottom: 32px;
}

.innovation-card {
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(255, 139, 61, 0.05)) !important;
    border-color: rgba(255, 139, 61, 0.15) !important;
}

.innovation-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.innovation-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* bilsemc2 link card */
.bilsemc2-link-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(0, 187, 249, 0.06), rgba(155, 93, 229, 0.06)) !important;
    border-color: rgba(0, 187, 249, 0.18) !important;
}

.link-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.link-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.link-card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.link-card-content a {
    font-weight: 600;
}

/* --- Age Timeline --- */
.age-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.age-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 32px 28px;
    text-align: center;
    transition: all var(--transition-base);
}

.age-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow);
}

.age-range {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    color: white;
    margin-bottom: 20px;
}

.pink-gradient {
    background: var(--gradient-pink);
}

.cyan-gradient {
    background: var(--gradient-cyan);
}

.purple-gradient {
    background: var(--gradient-primary);
}

.age-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.age-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.age-focus {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(0, 187, 249, 0.08);
    border: 1px solid rgba(0, 187, 249, 0.15);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.age-link {
    display: block;
    margin-top: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-pink);
}

.age-link:hover {
    color: var(--accent-cyan);
}

/* --- Calendar Table --- */
.calendar-table-wrapper {
    overflow-x: auto;
    margin-bottom: 32px;
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.calendar-table thead {
    background: rgba(155, 93, 229, 0.1);
}

.calendar-table th {
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-cyan);
    border-bottom: 1px solid var(--glass-border);
}

.calendar-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.calendar-table td strong {
    color: var(--text-primary);
}

.calendar-table td small {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

.calendar-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.highlight-row {
    background: rgba(155, 93, 229, 0.06);
}

.highlight-row td {
    color: var(--text-primary);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-badge.completed {
    background: rgba(0, 245, 212, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 245, 212, 0.2);
}

.status-badge.upcoming {
    background: rgba(255, 139, 61, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 139, 61, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 139, 61, 0);
    }

    50% {
        box-shadow: 0 0 12px 2px rgba(255, 139, 61, 0.2);
    }
}

/* --- Calendar Alert --- */
.calendar-alert {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, rgba(255, 139, 61, 0.08), rgba(241, 91, 181, 0.05));
    border: 1px solid rgba(255, 139, 61, 0.2);
    border-radius: var(--card-radius);
    padding: 28px 32px;
    margin-bottom: 48px;
}

.alert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

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

.alert-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* --- Psychometric Section --- */
.psychometric-section {
    text-align: center;
}

.psychometric-section h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
}

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

.psycho-stat {
    padding: 20px 12px;
    text-align: center;
}

.psycho-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    background: var(--gradient-amber);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.psycho-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Economy Grid --- */
.economy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.economy-card {
    padding: 28px 24px;
}

.economy-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.economy-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.economy-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.quote-section {
    max-width: 750px;
    margin: 0 auto;
}

/* --- Preparation Section --- */
.prep-main-card {
    padding: 40px;
    background: linear-gradient(135deg, rgba(155, 93, 229, 0.08), rgba(0, 187, 249, 0.05)) !important;
    border: 1px solid rgba(155, 93, 229, 0.2) !important;
    margin-bottom: 32px;
}

.prep-main-header {
    text-align: center;
    margin-bottom: 36px;
}

.prep-badge {
    display: inline-block;
    padding: 5px 16px;
    background: rgba(255, 217, 61, 0.1);
    border: 1px solid rgba(255, 217, 61, 0.2);
    color: var(--accent-amber);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.prep-main-header h3 {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.prep-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
}

.prep-features {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.prep-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    transition: all var(--transition-base);
}

.prep-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(155, 93, 229, 0.2);
}

.feature-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.prep-feature strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
}

.prep-feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.prep-feature a {
    font-size: 0.88rem;
    font-weight: 600;
}

.prep-cta {
    text-align: center;
}

/* Warning card */
.warning-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 28px;
    background: rgba(255, 217, 61, 0.04) !important;
    border: 1px solid rgba(255, 217, 61, 0.15) !important;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.warning-content h3 {
    font-size: 1rem;
    color: var(--accent-amber);
    margin-bottom: 8px;
}

.warning-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition-base);
}

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

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

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

.footer-disclaimer {
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
    opacity: 0.7;
}

/* --- Fade In Animation --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 1000;
        width: 280px;
        height: 100vh;
        background: var(--mobile-menu-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 8px;
        transition: right 0.3s ease;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 16px;
        width: 100%;
    }

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

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

    .cta-banner {
        flex-direction: column;
        text-align: center;
    }

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

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

    .calendar-alert {
        flex-direction: column;
    }

    .bilsemc2-link-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .stat-item {
        padding: 14px 8px;
    }

    .prep-main-card {
        padding: 24px;
    }

    .prep-feature {
        flex-direction: column;
    }
}