/* ============================================
   KALLOL CHAKRABARTI — PREMIUM WEBSITE STYLES
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #05070a;
    --secondary: #00f0ff;
    --accent: #ffd700;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #e9ecef;
    --gray-200: #d1d5db;
    --gray-300: #9ca3af;
    --gray-400: #6b7280;
    --gray-500: #4b5563;
    --gray-600: #374151;
    --gray-700: #1f2937;
    --gray-800: #111827;
    --gray-900: #0a0c10;
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --glass-hover: rgba(255,255,255,0.08);
    --glow-blue: 0 0 30px rgba(0,240,255,0.15);
    --glow-gold: 0 0 30px rgba(255,215,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--primary);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

::selection {
    background: rgba(0,240,255,0.2);
    color: var(--white);
}

/* ---- PRELOADER ---- */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.preloader-ring:nth-child(1) {
    width: 80px; height: 80px;
    border-top-color: var(--secondary);
    animation: spin 1s linear infinite;
}

.preloader-ring:nth-child(2) {
    width: 60px; height: 60px;
    border-right-color: var(--accent);
    animation: spin 1.5s linear infinite reverse;
}

.preloader-ring:nth-child(3) {
    width: 40px; height: 40px;
    border-bottom-color: var(--secondary);
    animation: spin 2s linear infinite;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---- CUSTOM CURSOR ---- */
.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(0,240,255,0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-dot.hover {
    width: 12px;
    height: 12px;
    background: var(--accent);
}

.cursor-ring.hover {
    width: 50px;
    height: 50px;
    border-color: rgba(255,215,0,0.4);
}

/* ---- PARTICLE CANVAS ---- */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ---- NAVIGATION ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5,7,10,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    position: relative;
}

.logo-k { color: var(--white); }
.logo-c { color: var(--secondary); }

.logo-line {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    margin-left: 8px;
    border-radius: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    position: relative;
    padding: 0.25rem 0;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.55rem 1.4rem;
    background: linear-gradient(135deg, var(--secondary), #00c4cc);
    color: var(--primary);
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0,240,255,0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(5,7,10,0.97);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gray-300);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--secondary);
}

.mobile-cta {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary), #00c4cc);
    color: var(--primary);
    border-radius: var(--radius-full);
}

/* ---- SECTION COMMON ---- */
.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(0,240,255,0.2);
    border-radius: var(--radius-full);
    background: rgba(0,240,255,0.05);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary), #00c4cc);
    color: var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,240,255,0.3);
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover .btn-glow { opacity: 1; }

.btn-secondary {
    background: var(--glass);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: rgba(0,240,255,0.3);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-300);
    padding: 0.85rem 1rem;
}

.btn-ghost:hover {
    color: var(--secondary);
}

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.82rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-icon {
    transition: transform 0.3s;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(0,240,255,0.08);
    top: -200px;
    right: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(255,215,0,0.05);
    bottom: -200px;
    left: -100px;
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--secondary);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(0,240,255,0.2);
    border-radius: var(--radius-full);
    background: rgba(0,240,255,0.05);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-name {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.name-line {
    display: block;
    color: var(--white);
}

.name-accent {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 50%, var(--secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-titles {
    font-size: 1.2rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    height: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-static {
    font-weight: 400;
}

.title-rotating-wrapper {
    position: relative;
    overflow: hidden;
    height: 2rem;
    display: flex;
    align-items: center;
}

.title-rotating {
    position: relative;
}

.rotating-text {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    font-weight: 600;
    color: var(--secondary);
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-text.active {
    opacity: 1;
    transform: translateY(0);
}

.rotating-text.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.hero-description {
    font-size: 1.05rem;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.metric-plus {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.metric-label {
    font-size: 0.78rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-metric-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* ---- HERO PORTRAIT ---- */
.hero-portrait {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.portrait-frame {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portrait-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.portrait-ring-1 {
    width: 100%;
    height: 100%;
    border-color: rgba(0,240,255,0.15);
    animation: rotate-slow 20s linear infinite;
}

.portrait-ring-2 {
    width: 90%;
    height: 90%;
    border-color: rgba(255,215,0,0.1);
    animation: rotate-slow 30s linear infinite reverse;
    border-style: dashed;
}

.portrait-ring-3 {
    width: 80%;
    height: 80%;
    border-color: rgba(0,240,255,0.08);
    animation: rotate-slow 25s linear infinite;
}

@keyframes rotate-slow {
    to { transform: rotate(360deg); }
}

.portrait-image-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(0,240,255,0.2);
    box-shadow: 0 0 60px rgba(0,240,255,0.1), inset 0 0 30px rgba(0,0,0,0.3);
}

.portrait-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.05) brightness(1.02);
}

.portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(5,7,10,0.4));
}

.portrait-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    background: rgba(5,7,10,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.portrait-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(5,7,10,0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-200);
    white-space: nowrap;
    animation: float-card 6s ease-in-out infinite;
}

.float-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 25%;
    left: -10%;
    animation-delay: 2s;
}

.float-card-3 {
    top: 35%;
    left: -15%;
    animation-delay: 4s;
}

.float-icon {
    font-size: 1.1rem;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---- SCROLL INDICATOR ---- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--secondary), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 1; height: 50px; }
    50% { opacity: 0.3; height: 30px; }
}

.hero-scroll-indicator span {
    font-size: 0.65rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ---- AUTHORITY SECTION ---- */
.authority-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.authority-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.authority-card:hover {
    background: var(--glass-hover);
    border-color: rgba(0,240,255,0.15);
    transform: translateY(-4px);
}

.authority-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,240,255,0.06), transparent 70%);
    border-radius: 50%;
    transition: var(--transition-slow);
}

.authority-card:hover .authority-card-glow {
    opacity: 1.5;
}

.authority-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: rgba(0,240,255,0.05);
    border: 1px solid rgba(0,240,255,0.1);
}

.authority-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.authority-card-text {
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.authority-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
}

.authority-link:hover {
    gap: 0.7rem;
    color: var(--accent);
}

.authority-card-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    line-height: 1;
}

/* ---- ACHIEVEMENTS SECTION ---- */
.achievements-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.achievements-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,240,255,0.04) 1px, transparent 0);
    background-size: 40px 40px;
}

.achievements-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.achievement-card {
    padding: 2.5rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.achievement-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,240,255,0.2);
    box-shadow: var(--glow-blue);
}

.achievement-ring {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.achievement-ring svg {
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 4;
}

.ring-fill {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievement-value {
    margin-bottom: 0.5rem;
}

.counter {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
}

.counter-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.achievement-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.achievement-desc {
    font-size: 0.82rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* Achievement wide card */
.achievement-card-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    padding: 2rem 2.5rem;
}

.achievement-icon-lg {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: var(--radius);
}

.achievement-wide-content {
    flex: 1;
}

.achievement-wide-content .achievement-label {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.achievement-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ach-badge {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: var(--radius-full);
    background: rgba(255,215,0,0.05);
    letter-spacing: 0.3px;
}

/* ---- BOOKS SECTION ---- */
.books-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,240,255,0.15);
    box-shadow: var(--glow-blue);
}

.book-cover {
    padding: 2.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.book-cover-inner {
    width: 180px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover .book-cover-inner {
    transform: rotateY(-15deg) rotateX(5deg);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e, #0f0f1a);
    transform: rotateY(90deg) translateZ(-7.5px);
    transform-origin: left;
}

.book-front {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #1a0a2e 0%, #0f0a1a 50%, #1a0a2e 100%);
    border: 1px solid rgba(255,215,0,0.15);
    overflow: hidden;
    position: relative;
}

.book-front-blue {
    background: linear-gradient(135deg, #0a1a2e 0%, #0a0f1a 50%, #0a1a2e 100%);
    border-color: rgba(0,240,255,0.15);
}

.book-front-gold {
    background: linear-gradient(135deg, #1a1a0a 0%, #1a0f0a 50%, #1a1a0a 100%);
    border-color: rgba(255,215,0,0.2);
}

.book-front-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.book-tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: var(--radius-full);
    align-self: flex-start;
}

.book-cover-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.book-cover-author {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 500;
}

.book-cover-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0,240,255,0.05) 0%, transparent 50%);
}

.book-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 80px;
    background: rgba(255,215,0,0.06);
    filter: blur(40px);
    border-radius: 50%;
    transition: var(--transition);
}

.book-glow-blue {
    background: rgba(0,240,255,0.06);
}

.book-glow-gold {
    background: rgba(255,215,0,0.08);
}

.book-card:hover .book-glow {
    opacity: 1.5;
    height: 100px;
}

.book-info {
    padding: 0 2rem 2rem;
}

.book-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.book-description {
    font-size: 0.88rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.book-meta-item {
    font-size: 0.75rem;
    color: var(--gray-300);
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-full);
}

.book-actions {
    display: flex;
    gap: 0.8rem;
}

.books-cta {
    text-align: center;
}

/* ---- COURSES SECTION ---- */
.courses-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.courses-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0,240,255,0.04), transparent 70%);
    pointer-events: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,240,255,0.15);
    box-shadow: var(--glow-blue);
}

.course-card-featured {
    border-color: rgba(0,240,255,0.2);
    background: rgba(0,240,255,0.03);
}

.course-featured-tag {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.4rem 1.2rem;
    background: linear-gradient(135deg, var(--secondary), #00c4cc);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 var(--radius-lg) 0 var(--radius);
}

.course-card-top {
    padding: 2rem 2rem 1.5rem;
    flex: 1;
}

.course-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.2rem;
}

.course-badge-premium {
    color: var(--accent);
    border: 1px solid rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.05);
}

.course-badge-new {
    color: #00ff88;
    border: 1px solid rgba(0,255,136,0.3);
    background: rgba(0,255,136,0.05);
}

.course-badge-essential {
    color: var(--secondary);
    border: 1px solid rgba(0,240,255,0.3);
    background: rgba(0,240,255,0.05);
}

.course-badge-advanced {
    color: #ff6b6b;
    border: 1px solid rgba(255,107,107,0.3);
    background: rgba(255,107,107,0.05);
}

.course-icon-area {
    position: relative;
    margin-bottom: 1.2rem;
}

.course-icon-bg {
    width: 56px;
    height: 56px;
    background: rgba(0,240,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(0,240,255,0.1);
}

.course-icon {
    position: absolute;
    top: 50%;
    left: 28px;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}

.course-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.course-desc {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.course-card-bottom {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.course-details {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.course-detail {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--gray-300);
}

/* ---- LEAD SECTION ---- */
.lead-section {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.lead-card {
    position: relative;
    padding: 4rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0,240,255,0.15);
    background: var(--glass);
}

.lead-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,240,255,0.05), rgba(255,215,0,0.03));
}

.lead-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.lead-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.lead-subtitle {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.lead-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lead-input-group {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 480px;
}

.lead-input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.lead-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.1);
}

.lead-input::placeholder {
    color: var(--gray-500);
}

.lead-btn {
    flex-shrink: 0;
}

.lead-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* ---- ABOUT SECTION ---- */
.about-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: start;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.about-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: contrast(1.03) brightness(1.02);
}

.about-image-border {
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,240,255,0.1);
    pointer-events: none;
}

.about-image-dots {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(0,240,255,0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    z-index: -1;
}

.about-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.about-ext-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: var(--transition);
}

.about-ext-link:hover {
    border-color: rgba(0,240,255,0.2);
    color: var(--secondary);
    transform: translateX(4px);
}

.about-role {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.about-text p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.about-pillar {
    text-align: center;
}

.pillar-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.about-pillar h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.about-pillar p {
    font-size: 0.78rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* ---- CONTACT SECTION ---- */
.contact-section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(0,240,255,0.15);
}

.contact-info-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.contact-info-card a,
.contact-info-card p {
    font-size: 0.85rem;
    color: var(--gray-400);
    word-break: break-all;
}

.contact-info-card a:hover {
    color: var(--secondary);
}

.contact-form-wrapper {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,240,255,0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--gray-800);
    color: var(--white);
}

.contact-submit {
    position: relative;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(5,7,10,0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ---- FOOTER ---- */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--gray-500);
}

.footer-credit {
    color: var(--gray-500);
}

/* ---- BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(5,7,10,0.8);
    backdrop-filter: blur(10px);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(0,240,255,0.1);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-metrics {
        justify-content: center;
    }
    
    .hero-portrait {
        order: -1;
    }
    
    .portrait-frame {
        width: 300px;
        height: 300px;
    }
    
    .portrait-image-wrapper {
        width: 220px;
        height: 220px;
    }
    
    .float-card-1 { right: 0; }
    .float-card-2 { left: 0; }
    .float-card-3 { left: -5%; }
    
    .achievements-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-name {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .hero-titles {
        flex-direction: column;
        height: auto;
        gap: 0.3rem;
    }
    
    .title-rotating-wrapper {
        height: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-metrics {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-metric-divider {
        width: 40px;
        height: 1px;
    }
    
    .portrait-float-card {
        display: none;
    }
    
    .achievements-dashboard {
        grid-template-columns: 1fr 1fr;
    }
    
    .achievement-card-wide {
        flex-direction: column;
        text-align: center;
    }
    
    .achievement-badges {
        justify-content: center;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .about-pillars {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lead-card {
        padding: 2.5rem 1.5rem;
    }
    
    .lead-input-group {
        flex-direction: column;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
    
    body { cursor: auto; }
}

@media (max-width: 480px) {
    .achievements-dashboard {
        grid-template-columns: 1fr;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}