/* ==========================================================================
   CSS VARIABLE SYSTEM & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Fonts */
    --font-tech: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-creative: 'Playfair Display', 'Merriweather', Georgia, serif;

    /* Theme 1: Tech Innovator (Futuristic Dark Mode) */
    --tech-bg: #030712;
    --tech-bg-grid: rgba(99, 102, 241, 0.03);
    --tech-card-bg: rgba(17, 24, 39, 0.65);
    --tech-text-primary: #f9fafb;
    --tech-text-secondary: #9ca3af;
    --tech-accent: #6366f1; /* Vivid Indigo */
    --tech-accent-light: #818cf8;
    --tech-accent-glow: rgba(99, 102, 241, 0.15);
    --tech-border: rgba(99, 102, 241, 0.2);
    --tech-border-glow: rgba(99, 102, 241, 0.4);

    /* Theme 2: Creative Writer (Elegant Parchment Light Mode) */
    --creative-bg: #faf7f2;
    --creative-bg-pattern: rgba(194, 125, 56, 0.02);
    --creative-card-bg: #ffffff;
    --creative-text-primary: #1f2022;
    --creative-text-secondary: #57585a;
    --creative-accent: #c27d38; /* Rich Warm Gold */
    --creative-accent-light: #d97706;
    --creative-accent-glow: rgba(194, 125, 56, 0.08);
    --creative-border: rgba(194, 125, 56, 0.18);
    --creative-border-glow: rgba(194, 125, 56, 0.35);

    /* Shared Parameters */
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
}

/* ==========================================================================
   RESET & GLOBAL BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--tech-bg);
    color: var(--tech-text-primary);
    font-family: var(--font-tech);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* CUSTOM SCROLLBARS */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #030712;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
    border: 2px solid #030712;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--tech-accent);
}

body.theme-creative::-webkit-scrollbar-track {
    background: var(--creative-bg);
}
body.theme-creative::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border: 2px solid var(--creative-bg);
}
body.theme-creative::-webkit-scrollbar-thumb:hover {
    background: var(--creative-accent);
}

/* ==========================================================================
   GLOBAL THEME CLASSES
   ========================================================================== */
body.theme-tech {
    background-color: var(--tech-bg);
    color: var(--tech-text-primary);
    font-family: var(--font-tech);
}

body.theme-creative {
    background-color: var(--creative-bg);
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

/* ==========================================================================
   STICKY PREMIUM NAV BAR
   ========================================================================== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 4rem;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

body.theme-creative .nav-bar {
    background: rgba(250, 247, 242, 0.8);
    border-bottom: 1px solid rgba(194, 125, 56, 0.08);
}

.nav-brand a {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: #ffffff;
    transition: color var(--transition-fast);
}

body.theme-creative .nav-brand a {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
    font-style: italic;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--tech-text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

body.theme-creative .nav-link {
    color: var(--creative-text-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--tech-accent), var(--tech-accent-light));
    transition: width var(--transition-medium);
}

body.theme-creative .nav-link::after {
    background: linear-gradient(90deg, var(--creative-accent), var(--creative-accent-light));
}

.nav-link:hover {
    color: #ffffff;
}

body.theme-creative .nav-link:hover {
    color: var(--creative-text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* TOGGLE CONTROLLER */
.persona-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.theme-creative .persona-switch-wrapper {
    background: rgba(194, 125, 56, 0.04);
    border: 1px solid rgba(194, 125, 56, 0.1);
}

.switch-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition-fast);
}

body.theme-creative .switch-label {
    color: rgba(0, 0, 0, 0.3);
}

.switch-label.active {
    color: var(--tech-accent-light);
}

body.theme-creative .switch-label.active {
    color: var(--creative-accent);
}

.persona-toggle {
    width: 44px;
    height: 22px;
    border-radius: 11px;
    border: 1px solid var(--tech-border);
    background-color: rgba(0,0,0,0.2);
    position: relative;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition-medium);
}

body.theme-creative .persona-toggle {
    border-color: var(--creative-border);
    background-color: rgba(194, 125, 56, 0.08);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--tech-accent-light);
    box-shadow: 0 0 8px var(--tech-accent);
    transition: transform var(--transition-medium), background-color var(--transition-medium);
}

body.theme-creative .toggle-slider {
    transform: translateX(22px);
    background-color: var(--creative-accent);
    box-shadow: 0 0 6px var(--creative-accent);
}

/* ==========================================================================
   PHILOSOPHICAL INTRO SECTION (LANDING CARD DIAL)
   ========================================================================== */
.intro-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--tech-bg);
    overflow: hidden;
    width: 100%;
    z-index: 2;
    transition: background-color var(--transition-slow);
}

body.theme-creative .intro-container {
    background-color: var(--creative-bg);
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--tech-bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--tech-bg-grid) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    opacity: 0.8;
}

body.theme-creative .intro-bg {
    background-image: 
        linear-gradient(var(--creative-bg-pattern) 1px, transparent 1px),
        linear-gradient(90deg, var(--creative-bg-pattern) 1px, transparent 1px);
    opacity: 0.6;
}

.intro-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
    transition: background var(--transition-slow);
}

body.theme-creative .intro-bg::before {
    background: radial-gradient(circle at 50% 50%, rgba(194, 125, 56, 0.1) 0%, transparent 60%);
}

.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

/* Scroll Down Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--tech-text-secondary);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 800;
    opacity: 0.6;
    transition: color var(--transition-slow), opacity var(--transition-medium);
}

body.theme-creative .scroll-indicator {
    color: var(--creative-text-secondary);
}

.scroll-indicator:hover {
    opacity: 1;
}

.bounce-arrow {
    font-size: 0.95rem;
    color: var(--tech-accent-light);
    animation: bounce 2s infinite;
    transition: color var(--transition-slow);
}

body.theme-creative .bounce-arrow {
    color: var(--creative-accent);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Vertical separator line between panels */
.split-center-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 1px;
    background: linear-gradient(
        transparent,
        var(--tech-border) 20%,
        var(--tech-border) 80%,
        transparent
    );
    z-index: 5;
    transition: background var(--transition-slow);
}

body.theme-creative .split-center-line {
    background: linear-gradient(
        transparent,
        var(--creative-border) 20%,
        var(--creative-border) 80%,
        transparent
    );
}

/* ==========================================================================
   SPLIT SCREEN HERO SECTION (PREMIUM GRAPHICS & DEPTH EFFECTS)
   ========================================================================== */
.hero-container {
    height: 100vh;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hero-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem;
    height: 100%;
    z-index: 1;
    transition: flex var(--transition-slow), opacity var(--transition-slow), filter var(--transition-slow);
}

/* Dynamic Spotlight / Gradients background */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--tech-bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--tech-bg-grid) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

.grid-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 35% 45%, rgba(99, 102, 241, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.paper-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 65% 55%, rgba(194, 125, 56, 0.05) 0%, transparent 70%);
    background-color: var(--creative-bg);
    z-index: 0;
}

.paper-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(194, 125, 56, 0.15) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    pointer-events: none;
}

.panel-tech {
    background-color: var(--tech-bg);
    color: var(--tech-text-primary);
}

.panel-creative {
    background-color: var(--creative-bg);
    color: var(--creative-text-primary);
}

.panel-content {
    max-width: 500px;
    z-index: 2;
    position: relative;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}

/* Hover Shifting Width & Dimensionality */
.hero-container:hover .hero-panel {
    flex: 0.6;
    opacity: 0.45;
    filter: grayscale(0.6) blur(2px);
}

.hero-container .hero-panel:hover {
    flex: 1.4;
    opacity: 1;
    filter: none;
}

.hero-container .hero-panel:hover .panel-content {
    transform: scale(1.05);
}

/* Badges styling */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    transition: all var(--transition-medium);
}

.tech-badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--tech-accent-light);
    border: 1px solid var(--tech-border);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05);
}

.creative-badge {
    background: rgba(194, 125, 56, 0.08);
    color: var(--creative-accent);
    border: 1px solid var(--creative-border);
    box-shadow: 0 4px 12px rgba(194, 125, 56, 0.02);
}

/* Hero Typography */
.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.tech-title {
    font-family: var(--font-tech);
    background: linear-gradient(135deg, #ffffff 10%, var(--tech-accent-light) 60%, var(--tech-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.creative-title {
    font-family: var(--font-creative);
    font-style: italic;
    color: var(--creative-text-primary);
    filter: drop-shadow(0 2px 5px rgba(194, 125, 56, 0.05));
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.tech-sub {
    color: var(--tech-text-secondary);
}

.creative-sub {
    color: var(--creative-text-secondary);
    font-family: var(--font-creative);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.25rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all var(--transition-medium);
}

.btn-tech {
    background: linear-gradient(135deg, var(--tech-accent), #4f46e5);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-tech:hover {
    background: linear-gradient(135deg, var(--tech-accent-light), var(--tech-accent));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.btn-creative {
    background: linear-gradient(135deg, var(--creative-accent), #a16226);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(194, 125, 56, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-creative);
    text-transform: none;
    font-size: 0.95rem;
}

.btn-creative:hover {
    background: linear-gradient(135deg, var(--creative-accent-light), var(--creative-accent));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(194, 125, 56, 0.25);
}

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

/* CENTER DIVIDER (THE RESIDUE QUOTE) */
.center-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.divider-line {
    width: 1px;
    flex-grow: 1;
    background: linear-gradient(
        transparent,
        rgba(99, 102, 241, 0.25) 30%,
        rgba(194, 125, 56, 0.25) 70%,
        transparent
    );
}

.divider-badge {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(3, 7, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: all var(--transition-slow);
    z-index: 10;
    pointer-events: auto;
}

body.theme-creative .divider-badge {
    background: rgba(250, 247, 242, 0.94);
    border: 1px solid rgba(194, 125, 56, 0.15);
    box-shadow: 0 10px 40px rgba(194, 125, 56, 0.1);
}

.divider-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.track-line {
    fill: none;
    stroke: rgba(99, 102, 241, 0.15);
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
    transition: stroke var(--transition-slow);
}

.track-line.inner-track {
    stroke-dasharray: 2 2;
    opacity: 0.7;
}

body.theme-creative .track-line {
    stroke: rgba(194, 125, 56, 0.18);
}

.divider-text {
    font-family: var(--font-tech);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    fill: rgba(255, 255, 255, 0.55);
    transition: fill var(--transition-slow), font-family var(--transition-slow);
}

.divider-text .highlight-word {
    fill: rgba(255, 255, 255, 0.95);
    font-weight: 900;
}

.divider-text .left-flank {
    letter-spacing: 0.28em;
}

.divider-text .right-flank {
    letter-spacing: 0.14em;
}

body.theme-creative .divider-text {
    font-family: var(--font-creative);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-style: italic;
    fill: var(--creative-text-primary);
}

body.theme-creative .divider-text .highlight-word {
    fill: var(--creative-accent);
}

body.theme-creative .divider-text .left-flank {
    letter-spacing: 0.20em;
}

body.theme-creative .divider-text .right-flank {
    letter-spacing: 0.08em;
}

.divider-quote {
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all var(--transition-slow);
}

body.theme-creative .divider-quote {
    background: transparent;
    border: none;
    box-shadow: none;
}

.divider-quote p {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

body.theme-creative .divider-quote p {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
    font-style: italic;
    text-transform: none;
    font-size: 1.55rem;
    letter-spacing: 0;
}

/* Custom top/bottom lines to shift badge downwards and clear the nav bar */
.divider-line.top-line {
    flex-grow: 0;
    height: 130px;
}

.divider-line.bottom-line {
    flex-grow: 1;
}

/* ==========================================================================
   SCROLLING WRAPPER
   ========================================================================== */
.main-content-wrapper {
    position: relative;
    z-index: 5;
    background-color: var(--tech-bg);
    transition: background-color var(--transition-slow);
}

body.theme-creative .main-content-wrapper {
    background-color: var(--creative-bg);
}

.section {
    padding: 10rem 2rem;
    display: flex;
    justify-content: center;
}

.section-container {
    max-width: 1100px;
    width: 100%;
}

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

.section-badge {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--tech-accent-light);
    display: inline-block;
    margin-bottom: 1.25rem;
}

body.theme-creative .section-badge {
    color: var(--creative-accent);
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

body.theme-creative .section-title {
    font-family: var(--font-creative);
    font-style: italic;
    font-weight: 700;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--tech-text-secondary);
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

body.theme-creative .section-intro {
    color: var(--creative-text-secondary);
    font-family: var(--font-creative);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (Intersection Observer)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(35px) scale(0.98);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   SECTION: ABOUT (3D LOOK & MODERN COLUMNS)
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border: 1px solid var(--tech-border);
    transition: all var(--transition-medium);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
    pointer-events: none;
}

body.theme-creative .about-image-wrapper {
    box-shadow: 0 15px 35px var(--creative-accent-glow);
    border: 1px solid var(--creative-border);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-medium);
    filter: brightness(0.9);
}

.about-image-wrapper:hover .profile-img {
    transform: scale(1.04);
    filter: brightness(1.05);
}

.about-subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    color: #ffffff;
}

body.theme-creative .about-subtitle {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

.about-text {
    color: var(--tech-text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.75;
}

body.theme-creative .about-text {
    color: var(--creative-text-secondary);
}

.education-card {
    display: flex;
    gap: 1.5rem;
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    padding: 1.75rem;
    border-radius: var(--border-radius-md);
    margin-top: 2.5rem;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--tech-accent);
}

body.theme-creative .education-card {
    background: var(--creative-card-bg);
    border: 1px solid var(--creative-border);
    box-shadow: 0 10px 30px rgba(194, 125, 56, 0.03);
}

body.theme-creative .education-card::before {
    background: var(--creative-accent);
}

.edu-icon {
    font-size: 2rem;
    color: var(--tech-accent-light);
}

body.theme-creative .edu-icon {
    color: var(--creative-accent);
}

.edu-details h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.edu-inst {
    font-size: 0.92rem;
    color: var(--tech-text-secondary);
    margin-bottom: 0.75rem;
}

body.theme-creative .edu-inst {
    color: var(--creative-text-secondary);
}

.edu-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--tech-accent-light);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.theme-creative .edu-tag {
    background-color: rgba(194, 125, 56, 0.08);
    color: var(--creative-accent);
}

/* ==========================================================================
   SECTION: TIMELINE (PEAKS & VALLEYS DETAILED DESIGN)
   ========================================================================== */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, rgba(255,255,255,0.03));
    transform: translateX(-50%);
}

body.theme-creative .timeline-track {
    background: linear-gradient(to bottom, rgba(194,125,56,0.03), rgba(194,125,56,0.2) 20%, rgba(194,125,56,0.2) 80%, rgba(194,125,56,0.03));
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3.5rem;
    transition: opacity var(--transition-medium);
}

.timeline-item.left-align {
    left: 0;
    text-align: right;
}

.timeline-item.right-align {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2.75rem;
    left: 100%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--tech-accent);
    border: 3px solid var(--tech-bg);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--tech-accent);
    z-index: 2;
    transition: all var(--transition-fast);
}

body.theme-creative .timeline-dot {
    background-color: var(--creative-accent);
    border-color: var(--creative-bg);
    box-shadow: 0 0 8px var(--creative-accent);
}

.timeline-item.right-align .timeline-dot {
    left: 0;
}

.timeline-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
    position: relative;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
    pointer-events: none;
}

body.theme-creative .timeline-card {
    background: var(--creative-card-bg);
    border: 1px solid var(--creative-border);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.02);
}

.timeline-item:hover .timeline-card {
    transform: translateY(-5px);
    border-color: var(--tech-border-glow);
    box-shadow: 0 15px 35px var(--tech-accent-glow);
}

body.theme-creative .timeline-item:hover .timeline-card {
    border-color: var(--creative-border-glow);
    box-shadow: 0 15px 35px var(--creative-accent-glow);
}

.timeline-type {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tech-accent-light);
    margin-bottom: 0.5rem;
}

body.theme-creative .timeline-type {
    color: var(--creative-accent);
}

/* Setback details styling */
.timeline-setback .timeline-card {
    border-color: var(--color-setback-border);
    background-color: var(--color-setback-bg);
}

.timeline-setback .timeline-card:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.08);
}

.timeline-setback .timeline-type {
    color: var(--color-setback-text);
}

.timeline-setback .timeline-dot {
    background-color: var(--color-setback-text);
    box-shadow: 0 0 8px var(--color-setback-text);
}

.timeline-date {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.75rem;
}

body.theme-creative .timeline-date {
    color: rgba(0, 0, 0, 0.35);
}

.timeline-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

body.theme-creative .timeline-card h3 {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

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

body.theme-creative .timeline-card p {
    color: var(--creative-text-secondary);
}

/* ==========================================================================
   SECTION: WORK (TABS & PREVIEW GRIDS)
   ========================================================================== */
.work-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.02);
    padding: 0.5rem;
    border-radius: 40px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255,255,255,0.03);
}

body.theme-creative .work-tabs {
    background: rgba(194, 125, 56, 0.04);
    border: 1px solid rgba(194, 125, 56, 0.08);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--tech-text-secondary);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-medium);
}

body.theme-creative .tab-btn {
    color: var(--creative-text-secondary);
    font-family: var(--font-creative);
    text-transform: none;
    font-size: 0.9rem;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--tech-card-bg);
    color: var(--tech-accent-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

body.theme-creative .tab-btn.active, body.theme-creative .tab-btn:hover {
    background: var(--creative-card-bg);
    color: var(--creative-accent);
}

.tab-content-container {
    min-height: 450px;
}

.tab-pane {
    display: none;
    animation: revealSlide 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
    display: block;
}

@keyframes revealSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TAB 1: SAKHE! STARTUP (Futuristic Dashboard) */
.startup-grid {
    display: grid;
    grid-template-columns: 6.2fr 5.8fr;
    gap: 5rem;
    align-items: center;
}

.startup-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px 3px rgba(16, 185, 129, 0.2); }
    100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.work-pane-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

body.theme-creative .work-pane-title {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

.work-pane-sub {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tech-accent-light);
    margin-bottom: 1.5rem;
}

body.theme-creative .work-pane-sub {
    color: var(--creative-accent);
    font-family: var(--font-creative);
}

.work-pane-desc {
    color: var(--tech-text-secondary);
    margin-bottom: 2rem;
    font-size: 0.98rem;
    line-height: 1.7;
}

body.theme-creative .work-pane-desc {
    color: var(--creative-text-secondary);
}

.startup-features {
    list-style: none;
    margin-bottom: 3rem;
}

.startup-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--tech-text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

body.theme-creative .startup-features li {
    color: var(--creative-text-primary);
}

.startup-features li i {
    color: var(--tech-accent-light);
}

body.theme-creative .startup-features li i {
    color: var(--creative-accent);
}

/* Glass Dashboard Mockup */
.mockup-screen {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid var(--tech-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    width: 100%;
}

.mockup-header {
    height: 38px;
    background: rgba(30, 41, 59, 0.5);
    display: flex;
    align-items: center;
    padding-left: 1.25rem;
    gap: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mockup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #ef4444;
}
.mockup-dot:nth-child(2) { background-color: #eab308; }
.mockup-dot:nth-child(3) { background-color: #22c55e; }

.mockup-body {
    padding: 2.25rem;
}

.mockup-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 2.5rem;
}

.mockup-chart-header .badge {
    margin-bottom: 0;
    padding: 0.3rem 0.8rem;
    background-color: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.mockup-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 180px;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-chart .bar {
    width: 44px;
    height: var(--height);
    background: linear-gradient(to top, var(--tech-accent), var(--tech-accent-light));
    border-radius: 6px 6px 0 0;
    position: relative;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.mockup-chart .bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* TAB 2: PUBLISHED BOOK (3D TILT EFFECT) */
.book-showcase {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    gap: 5rem;
    align-items: center;
}

.book-image {
    perspective: 1200px;
    display: flex;
    justify-content: center;
}

.book-cover-img {
    width: 240px;
    height: auto;
    border-radius: 4px var(--border-radius-md) var(--border-radius-md) 4px;
    box-shadow: 20px 20px 40px rgba(0, 0, 0, 0.45);
    transform: rotateY(-18deg) rotateX(5deg);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

body.theme-creative .book-cover-img {
    box-shadow: 20px 20px 45px rgba(194, 125, 56, 0.18);
}

.book-image:hover .book-cover-img {
    transform: rotateY(0deg) rotateX(0deg) translateY(-8px);
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.6);
}

.book-badge-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--creative-accent);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    letter-spacing: 0.05em;
}

.quote-card {
    border-left: 3px solid var(--creative-accent);
    padding: 1.25rem 2rem;
    background-color: rgba(194, 125, 56, 0.03);
    margin-top: 2.5rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    position: relative;
}

.quote-text {
    font-family: var(--font-creative);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--tech-text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

body.theme-creative .quote-text {
    color: var(--creative-text-primary);
}

.quote-author {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tech-text-secondary);
}

body.theme-creative .quote-author {
    color: var(--creative-text-secondary);
}

/* TAB 3: FRAMEWORKS GLOWING INTERACTIVE DASHBOARD */
.frameworks-layout {
    display: grid;
    grid-template-columns: 4.8fr 7.2fr;
    gap: 3.5rem;
}

.sidebar-intro {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tech-text-secondary);
    margin-bottom: 1.5rem;
    padding-left: 0.75rem;
}

body.theme-creative .sidebar-intro {
    color: var(--creative-text-secondary);
}

.framework-list-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.fw-menu-item {
    background: rgba(255,255,255,0.01);
    border: 1px solid transparent;
    color: var(--tech-text-secondary);
    padding: 1.1rem 1.5rem;
    text-align: left;
    font-family: var(--font-tech);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

body.theme-creative .fw-menu-item {
    color: var(--creative-text-secondary);
    font-family: var(--font-creative);
}

.fw-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

body.theme-creative .fw-menu-item:hover {
    background-color: rgba(194, 125, 56, 0.03);
    color: var(--creative-text-primary);
}

.fw-menu-item.active {
    background-color: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    color: var(--tech-accent-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

body.theme-creative .fw-menu-item.active {
    background-color: var(--creative-card-bg);
    border: 1px solid var(--creative-border);
    color: var(--creative-accent);
}

.framework-detail-view {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

body.theme-creative .framework-detail-view {
    background: var(--creative-card-bg);
    border: 1px solid var(--creative-border);
    box-shadow: 0 15px 35px rgba(194, 125, 56, 0.02);
}

.fw-content {
    animation: fadeIn var(--transition-fast);
}

.fw-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

body.theme-creative .fw-title {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

.fw-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--tech-accent-light);
    letter-spacing: 0.1em;
    margin-bottom: 1.75rem;
}

body.theme-creative .fw-tag {
    color: var(--creative-accent);
}

.fw-desc {
    color: var(--tech-text-secondary);
    font-size: 0.98rem;
    margin-bottom: 2.25rem;
    line-height: 1.75;
}

body.theme-creative .fw-desc {
    color: var(--creative-text-secondary);
}

.fw-points-wrapper h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: #ffffff;
}

body.theme-creative .fw-points-wrapper h4 {
    color: var(--creative-text-primary);
}

.fw-points {
    list-style: none;
}

.fw-points li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--tech-text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

body.theme-creative .fw-points li {
    color: var(--creative-text-secondary);
}

.fw-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--tech-accent-light);
    font-weight: 800;
}

body.theme-creative .fw-points li::before {
    color: var(--creative-accent);
}

/* TAB 4: CREATIVE WORKS (NEON GLOWING CARDS) */
.creative-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.creative-card {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    position: relative;
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.creative-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent);
    pointer-events: none;
}

body.theme-creative .creative-card {
    background: var(--creative-card-bg);
    border: 1px solid var(--creative-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.015);
}

.creative-card:hover {
    transform: translateY(-8px);
    border-color: var(--tech-border-glow);
    box-shadow: 0 15px 35px var(--tech-accent-glow);
}

body.theme-creative .creative-card:hover {
    border-color: var(--creative-border-glow);
    box-shadow: 0 15px 35px var(--creative-accent-glow);
}

.creative-icon {
    font-size: 2.2rem;
    color: var(--tech-accent-light);
    margin-bottom: 1.5rem;
}

body.theme-creative .creative-icon {
    color: var(--creative-accent);
}

.creative-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

body.theme-creative .creative-card h3 {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

.creative-meta {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tech-accent-light);
    margin-bottom: 1.25rem;
}

body.theme-creative .creative-meta {
    color: var(--creative-accent);
}

.creative-preview {
    font-size: 0.95rem;
    color: var(--tech-text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.75;
}

body.theme-creative .creative-preview {
    color: var(--creative-text-secondary);
}

.btn-read-poem {
    background: transparent;
    border: 1.5px solid var(--tech-accent-light);
    color: var(--tech-accent-light);
    padding: 0.6rem 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

body.theme-creative .btn-read-poem {
    border-width: 1px;
    border-color: var(--creative-accent);
    color: var(--creative-accent);
    font-family: var(--font-creative);
    text-transform: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-read-poem:hover {
    background-color: var(--tech-accent-light);
    color: #030712;
}

body.theme-creative .btn-read-poem:hover {
    background-color: var(--creative-accent);
    color: #ffffff;
}

/* ==========================================================================
   SECTION: CONNECT (TAILORED DETAILS & FORMS)
   ========================================================================== */
.connect-layout {
    display: grid;
    grid-template-columns: 5.2fr 6.8fr;
    gap: 5rem;
}

.connect-pitch {
    color: var(--tech-text-secondary);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

body.theme-creative .connect-pitch {
    color: var(--creative-text-secondary);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.ci-icon {
    font-size: 1.6rem;
    color: var(--tech-accent-light);
    width: 50px;
    height: 50px;
    background-color: rgba(99, 102, 241, 0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 102, 241, 0.08);
}

body.theme-creative .ci-icon {
    color: var(--creative-accent);
    background-color: rgba(194, 125, 56, 0.05);
    border: 1px solid rgba(194, 125, 56, 0.1);
}

.ci-info h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

body.theme-creative .ci-info h4 {
    color: var(--creative-text-secondary);
}

.ci-info p {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
}

body.theme-creative .ci-info p {
    color: var(--creative-text-primary);
}

.email-address {
    font-family: monospace;
    font-weight: 700 !important;
}

.social-link {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

body.theme-creative .social-link {
    color: var(--creative-text-primary);
}

.social-link:hover {
    color: var(--tech-accent-light);
}

body.theme-creative .social-link:hover {
    color: var(--creative-accent-light);
}

/* Connect Form UI */
.connect-form-panel {
    background: var(--tech-card-bg);
    border: 1px solid var(--tech-border);
    padding: 3.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

body.theme-creative .connect-form-panel {
    background: var(--creative-card-bg);
    border: 1px solid var(--creative-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.015);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 2.25rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

body.theme-creative .form-title {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4b5563;
    margin-bottom: 0.6rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.95rem 1.25rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius-sm);
    color: #ffffff;
    font-family: var(--font-tech);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

body.theme-creative .form-group input, body.theme-creative .form-group select, body.theme-creative .form-group textarea {
    background: #faf7f2;
    border: 1px solid rgba(194, 125, 56, 0.12);
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--tech-accent-light);
    background: rgba(17, 24, 39, 0.95);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

body.theme-creative .form-group input:focus, body.theme-creative .form-group select:focus, body.theme-creative .form-group textarea:focus {
    border-color: var(--creative-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(194, 125, 56, 0.08);
}

.form-status-msg {
    margin-top: 1.25rem;
    font-size: 0.88rem;
    font-weight: 800;
    text-align: center;
}

.form-status-msg.success { color: #10b981; }
.form-status-msg.error { color: #ef4444; }

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-distributed {
    background-color: #010309;
    padding: 5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

body.theme-creative .footer-distributed {
    background-color: #f3efe6;
    border-top: 1px solid rgba(194, 125, 56, 0.08);
}

.footer-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--tech-text-secondary);
    margin-bottom: 0.75rem;
}

body.theme-creative .footer-text {
    color: var(--creative-text-secondary);
}

.footer-text a {
    color: var(--tech-accent-light);
    text-decoration: none;
    font-weight: 800;
    transition: color var(--transition-fast);
}

body.theme-creative .footer-text a {
    color: var(--creative-accent);
}

.footer-text a:hover {
    color: var(--tech-accent);
}

body.theme-creative .footer-text a:hover {
    color: var(--creative-accent-light);
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

body.theme-creative .footer-copyright {
    color: rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   POETRY READ MODAL (FROSTED GLASS EFFECT)
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 3, 9, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.theme-creative .modal-backdrop {
    background-color: rgba(31, 32, 34, 0.75);
}

.modal-dialog {
    position: relative;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid var(--tech-border);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 2010;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-creative .modal-dialog {
    background: rgba(250, 247, 242, 0.98);
    border: 1px solid var(--creative-border);
    box-shadow: 0 25px 50px rgba(194, 125, 56, 0.15);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.theme-creative .modal-header {
    border-bottom: 1px solid rgba(194, 125, 56, 0.08);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.01em;
}

body.theme-creative .modal-title {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
    font-style: italic;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--tech-text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

body.theme-creative .modal-close {
    color: var(--creative-text-secondary);
}

.modal-close:hover {
    color: #ffffff;
}

body.theme-creative .modal-close:hover {
    color: var(--creative-text-primary);
}

.modal-body {
    padding: 3rem 2.5rem;
    white-space: pre-line;
    font-size: 1.15rem;
    line-height: 1.85;
    text-align: center;
    color: #e5e7eb;
}

body.theme-creative .modal-body {
    color: var(--creative-text-primary);
    font-family: var(--font-creative);
}

/* Hindi typography alignment rules */
.hindi-poem {
    font-family: var(--font-creative);
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* Tablet & Mobile Landscape */
@media (max-width: 992px) {
    .nav-bar {
        padding: 1.25rem 2.5rem;
    }
    
    .hero-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-panel {
        width: 100%;
        min-height: 50vh;
        padding: 6rem 2.5rem 4rem 2.5rem;
        align-items: center;
    }
    
    .hero-container:hover .hero-panel,
    .hero-container .hero-panel:hover {
        flex: 1;
        opacity: 1;
        filter: none;
    }
    
    .split-center-line {
        display: none;
    }
    
    .divider-badge {
        width: 180px;
        height: 180px;
    }
    
    .divider-quote {
        width: 130px;
        height: 130px;
        padding: 1rem;
    }
    
    .divider-quote p {
        font-size: 0.55rem;
    }
    
    body.theme-creative .divider-quote p {
        font-size: 0.65rem;
    }
    
    .about-grid, .startup-grid, .book-showcase, .connect-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .about-image-wrapper {
        max-width: 340px;
        margin: 0 auto;
    }
    
    .book-image {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .frameworks-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .timeline-track {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
    }
    
    .timeline-item.left-align {
        left: 0;
        text-align: left;
    }
    
    .timeline-item.right-align {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px !important;
    }
}

/* Mobile Screens */
@media (max-width: 576px) {
    .nav-bar {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-panel {
        min-height: 55vh;
        padding: 5rem 1.5rem 3.5rem 1.5rem;
    }
    
    .section {
        padding: 6rem 1rem;
    }
    
    .connect-form-panel {
        padding: 2rem 1.5rem;
    }
}
