/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Light Mode Core)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-color: #f8fafc;
    --bg-alt: #f1f5f9;
    --surface-color: #ffffff;
    --surface-border: #e2e8f0;
    --surface-hover: #f8fafc;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    /* Accents */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-soft: #e0e7ff;
    
    --success: #10b981;
    --success-soft: #d1fae5;
    --info: #0ea5e9;
    --info-soft: #e0f2fe;
    --danger: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    
    /* Font Stack */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.02);
    --shadow-expert: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-circle: 50%;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.narrow-container {
    max-width: 800px;
}

section {
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 50px 0;
}

/* Fine Grid Background Pattern */
.grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    font-weight: 400;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--bg-color);
    border-color: var(--text-muted);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: var(--radius-circle);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.6; }
}

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

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

/* Cards (Minimal Expert Style) */
.card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-lg);
}

.divider-center {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 1.5px;
    margin: 20px auto 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--surface-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon-svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.logo:hover .logo-icon-svg {
    transform: scale(1.15) rotate(15deg);
    filter: drop-shadow(0 0 8px rgba(79, 70, 229, 0.5));
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

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

.nav-link {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 15px;
}

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

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

.mobile-menu-toggle {
    display: none;
    color: var(--text-primary);
}

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--surface-color);
    border-left: 1px solid var(--surface-border);
    z-index: 1000;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: var(--shadow-expert);
    transition: right var(--transition-normal);
}

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

.mobile-close {
    align-self: flex-end;
    color: var(--text-secondary);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

.btn-mobile-cta {
    background-color: var(--primary);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding-top: 150px;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 540px;
}

/* Typewriter */
.typewriter-container {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 40px;
    height: 28px;
}

.typewriter-cursor {
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

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

/* Hero Profile Picture Visual with Layered Floating Elements */
.hero-visual {
    position: relative;
    width: 100%;
}

.hero-profile-container {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 20px;
}

.profile-image-mask {
    position: relative;
    width: 320px;
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    animation: float-profile 6s ease-in-out infinite;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-image-mask:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.hero-profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%; /* Vertically centers on the head and chest */
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-image-mask:hover .hero-profile-img {
    transform: scale(1.05);
}

.floating-pill-greeting {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%) rotate(-4deg);
    background: #0f172a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    z-index: 15;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float-badge 4s ease-in-out infinite alternate;
    white-space: nowrap;
}

.floating-widget {
    position: absolute;
    z-index: 12;
    width: 220px;
    pointer-events: auto; /* Allow interactions like hover state */
}

.widget-left {
    top: 70px;
    left: -20px;
    animation: float-widget-l 5s ease-in-out infinite;
}

.widget-right {
    bottom: 40px;
    right: -20px;
    animation: float-widget-r 5.5s ease-in-out infinite;
}

/* Float Keyframe Animations */
@keyframes float-profile {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(0.3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-badge {
    0% { transform: translateX(-50%) translateY(0) rotate(-4deg); }
    100% { transform: translateX(-50%) translateY(-6px) rotate(-2deg); }
}

@keyframes float-widget-l {
    0% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
    100% { transform: translateY(0) rotate(1deg); }
}

@keyframes float-widget-r {
    0% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0) rotate(-1deg); }
}

/* Dashboard Widget Styling - Explicit Light Colors to prevent CSS caching anomalies */
.dashboard-widget {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: transform var(--transition-fast);
}

.dashboard-widget:hover {
    transform: translateY(-2px);
    border-color: #94a3b8;
}

.dashboard-widget .widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

.dashboard-widget .widget-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-widget .widget-value {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    font-family: var(--font-heading);
}

.dashboard-widget .widget-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.dashboard-widget .widget-badge.success { 
    background-color: #d1fae5; 
    color: #065f46; 
}
.dashboard-widget .widget-badge.info { 
    background-color: #e0f2fe; 
    color: #0369a1; 
}

.dashboard-widget .widget-footer {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-top: 6px;
}

/* ==========================================================================
   METRICS SECTION
   ========================================================================== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.metric-card {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-sm);
}

.metric-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-icon-wrap i {
    width: 20px;
    height: 20px;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.metric-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================================================
   ABOUT / LEAD SECTION
   ========================================================================== */
.section-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
    margin: 8px auto 0;
}

.section-lead {
    font-size: 18px;
    line-height: 1.7;
    margin-top: 24px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* About Workspace Tech Banner */
.about-banner-v2 {
    position: relative;
    height: 240px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #312e81 0%, #0f172a 100%);
    border: 1px solid var(--surface-border);
    overflow: hidden;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.banner-grid-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 20px 20px;
    z-index: 1;
}

.banner-glow-effect {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
    filter: blur(40px);
    top: -50px;
    right: -50px;
    z-index: 1;
}

.banner-code-editor {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 480px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    text-align: left;
}

.editor-header {
    background: rgba(30, 41, 59, 0.5);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editor-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.editor-dot.red { background: #ef4444; }
.editor-dot.yellow { background: #eab308; }
.editor-dot.green { background: #22c55e; }

.editor-filename {
    color: #94a3b8;
    font-size: 11px;
    margin-left: 8px;
    font-weight: 500;
}

.editor-code {
    padding: 18px;
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.6;
    font-weight: 500;
}

.code-keyword { color: #f472b6; }
.code-string { color: #38bdf8; }

/* Biography Layout Grid */
.about-grid-v2 {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: flex-start;
}

.about-story-v2 {
    text-align: left;
}

.about-tag-v2 {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.about-title-v2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.divider-left-v2 {
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 24px;
}

.story-para-v2 {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.story-para-v2 strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Accordion Column Styles */
.about-accordion-v2 {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.accordion-item-v2 {
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    background-color: var(--bg-color);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.accordion-item-v2:hover {
    border-color: var(--primary-light);
}

.accordion-header-v2 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-alt);
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.accordion-header-v2 .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    transition: color 0.25s ease;
}

.accordion-chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
    color: var(--text-secondary);
}

.accordion-content-v2 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease, border-color 0.3s ease;
    padding: 0 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: left;
}

/* Accordion Active States */
.accordion-item-v2.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.accordion-item-v2.active .accordion-header-v2 {
    background-color: var(--primary);
    color: #ffffff;
}

.accordion-item-v2.active .accordion-icon {
    color: #ffffff;
}

.accordion-item-v2.active .accordion-chevron {
    transform: rotate(180deg);
    color: #ffffff;
}

.accordion-item-v2.active .accordion-content-v2 {
    max-height: 2000px; /* Large limit to prevent lists and images from being cut off */
    padding: 16px 20px;
    border-top: 1px solid var(--surface-border);
}

.edu-list-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edu-list-v2 li {
    position: relative;
    border-bottom: 1px dashed var(--surface-border);
    padding-bottom: 8px;
}

.edu-list-v2 li:last-child {
    border: none;
    padding-bottom: 0;
}

.edu-list-v2 li strong {
    color: var(--text-primary);
}

/* ==========================================================================
   MY PRODUCTS SECTION
   ========================================================================== */
.products-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.product-showcase-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

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

.invozeno-card-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.invozeno-card-logo span { color: #06b6d4; }

.audclip-card-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
}

.audclip-card-logo span { color: #f43f5e; }

.product-status-tag {
    background-color: var(--primary-soft);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

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

.tech-tag {
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==========================================================================
   INTERACTIVE DEMOS SECTION
   ========================================================================== */
.tab-container {
    width: 100%;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 12px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: var(--bg-alt);
}

.tab-btn.active {
    color: #ffffff;
    background-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn var(--transition-normal);
}

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

.demo-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: center;
}

.demo-panel-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.demo-panel-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Forms layout */
.demo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.demo-form input, .demo-form select {
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition-fast);
}

.demo-form input:focus, .demo-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.w-full {
    width: 100%;
}

/* Live Invoice Preview Style */
.demo-preview {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 460px;
    background-color: var(--bg-alt);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-sm);
}

.border-glass {
    border: 1px solid var(--surface-border);
}

/* Live Invoice Paper Document */
.invoice-paper {
    background-color: #ffffff;
    color: #1e293b;
    padding: 32px;
    min-height: 460px;
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.invoice-paper-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.invoice-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.invoice-logo span {
    color: #06b6d4;
}

.invoice-subtext {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

.invoice-status-tag {
    background-color: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.invoice-metadata-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.invoice-label {
    display: block;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1px;
}

.invoice-value {
    color: #0f172a;
    font-size: 13px;
}

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

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.invoice-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
}

.invoice-table td {
    padding: 12px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.invoice-table th:first-child, .invoice-table td:first-child { padding-left: 0; }
.invoice-table th:last-child, .invoice-table td:last-child { padding-right: 0; }

.invoice-totals {
    margin-left: auto;
    width: 220px;
    border-top: 2px solid #e2e8f0;
    padding-top: 8px;
}

.invoice-totals-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: #475569;
}

.invoice-totals-row.total-row {
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    margin-top: 4px;
}

.invoice-footer {
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    padding-top: 14px;
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
}

/* Success overlays */
.invoice-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 10;
    padding: 32px;
}

.invoice-success-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.success-content {
    max-width: 320px;
}

.success-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-circle);
    background-color: var(--success-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-icon-wrap i {
    width: 36px;
    height: 36px;
}

.success-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.success-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

/* Audclip Downloader Preview Specific Layouts */
.downloader-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.downloader-features-list .feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.downloader-features-list .feat-item i {
    width: 18px;
    height: 18px;
}

.mt-6 {
    margin-top: 24px;
}

/* Mock browser URL address bar in preview */
.mock-browser-address-bar {
    background-color: var(--bg-alt);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    font-family: monospace;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 20px 0;
}

.address-lock-icon {
    width: 12px;
    height: 12px;
    color: var(--success);
}

/* Results Card inside viewport */
.downloader-results-card {
    background-color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.results-card-header {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--surface-border);
    padding: 16px 20px;
}

.mock-thumbnail {
    width: 80px;
    height: 60px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-sm);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--surface-border);
    flex-shrink: 0;
}

.thumbnail-icon {
    width: 24px;
    height: 24px;
    color: var(--text-muted);
}

.duration-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 2px;
}

.metadata-summary {
    flex-grow: 1;
}

.result-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.file-source-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    background-color: var(--primary-soft);
    padding: 2px 6px;
    border-radius: 4px;
}

.downloader-stream-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
}

.stream-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.stream-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    background-color: var(--bg-color);
}

.stream-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stream-icon {
    width: 20px;
    height: 20px;
}

.stream-info strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
}

.stream-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-download-stream {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.btn-download-stream:hover {
    background-color: var(--primary-hover);
}

/* ==========================================================================
   CORE EXPERTISE SECTION
   ========================================================================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.expertise-card {
    text-align: left;
}

.exp-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.exp-icon-wrap i {
    width: 20px;
    height: 20px;
}

.expertise-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.tech-showcase {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.tech-item:hover {
    transform: translateY(-1px);
    border-color: var(--primary);
    background-color: var(--primary-soft);
}

.tech-item i {
    width: 14px;
    height: 14px;
    color: var(--primary);
}

.tech-item span {
    font-size: 13px;
    font-weight: 600;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-card {
    position: relative;
    overflow: hidden;
}

.contact-form-element {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-element .form-group {
    position: relative;
}

.contact-input {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition-fast);
}

.contact-input:focus {
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.contact-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
    font-size: 14px;
    font-weight: 500;
}

/* Float label effects */
.contact-input:focus ~ .contact-label,
.contact-input:not(:placeholder-shown) ~ .contact-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    background-color: #ffffff;
    padding: 0 6px;
    left: 12px;
    color: var(--primary);
}

.contact-input.textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-input.textarea ~ .contact-label {
    top: 22px;
}

.contact-input.textarea:focus ~ .contact-label,
.contact-input.textarea:not(:placeholder-shown) ~ .contact-label {
    top: 0;
}

/* Success panel form states */
.contact-success-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 10;
}

.contact-success-wrap.show {
    opacity: 1;
    pointer-events: all;
}

/* Premium Footer Grid */
.footer {
    background-color: var(--bg-color);
    border-top: 1px solid var(--surface-border);
    padding: 80px 0 40px;
    position: relative;
    z-index: 10;
}

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

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--success-soft);
    color: #065f46;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.footer-status-pill .status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px 2px var(--success); }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.footer-links-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul li a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color var(--transition-fast), transform var(--transition-fast);
    display: inline-block;
}

.footer-links-col ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-alt);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.footer-socials a i {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-socials a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.footer-bottom-divider {
    width: 100%;
    height: 1px;
    background-color: var(--surface-border);
    margin: 40px 0 24px;
}

.footer-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    width: 100%;
}

.footer-meta-v2 p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-meta-v2 .footer-tag {
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    font-size: 11px;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .footer-grid-v2 {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .footer-grid-v2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-meta-v2 {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    /* Reposition and scale down hero widgets on mobile to prevent covering the user's face */
    .floating-widget {
        width: 170px !important;
    }
    
    .widget-left {
        top: 240px !important; /* Shift down to clear face */
        left: -15px !important;
        animation: float-widget-l-mobile 5s ease-in-out infinite !important;
    }
    
    .widget-right {
        bottom: 20px !important;
        right: -15px !important;
        animation: float-widget-r-mobile 5.5s ease-in-out infinite !important;
    }
}

/* Custom float keyframes for mobile scales */
@keyframes float-widget-l-mobile {
    0% { transform: scale(0.85) translateY(0) rotate(1deg); }
    50% { transform: scale(0.85) translateY(-8px) rotate(-1deg); }
    100% { transform: scale(0.85) translateY(0) rotate(1deg); }
}

@keyframes float-widget-r-mobile {
    0% { transform: scale(0.85) translateY(0) rotate(-1deg); }
    50% { transform: scale(0.85) translateY(-10px) rotate(1deg); }
    100% { transform: scale(0.85) translateY(0) rotate(-1deg); }
}

/* ==========================================================================
   INVOZENO BRAND LOGOS & SWITCH TOGGLES
   ========================================================================== */
.brand-logo-img {
    height: 24px;
    width: auto;
    object-fit: contain;
    margin-right: 8px;
    vertical-align: middle;
}

.tab-logo-img {
    height: 16px;
    width: auto;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
}

.form-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 10px;
}

.form-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 4px;
    background-color: var(--bg-alt);
    transition: var(--transition-fast);
}

.form-tab-btn.active {
    background-color: var(--primary-soft);
    color: var(--primary);
}

.toggles-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--surface-border);
    margin-bottom: 14px;
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Rounded Toggles */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s ease;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s ease;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

.slider.rounded {
    border-radius: 20px;
}

.slider.rounded:before {
    border-radius: 50%;
}

/* ==========================================================================
   HIGH-FIDELITY INVOICE PREVIEW LAYOUT V2
   ========================================================================== */
.invoice-paper-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.invoice-text-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1;
}

.sender-addr, .sender-email, .sender-phone, .sender-tax-id {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

.invoice-doc-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.invoice-doc-num {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin-top: 1px;
}

.invoice-live-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 6px;
}

.invoice-billed-to-v2 {
    margin-bottom: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px;
    text-align: left;
}

.billed-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2px;
}

.billed-company, .billed-address, .billed-phone {
    font-size: 11px;
    color: #475569;
    margin-top: 1px;
    line-height: 1.3;
}

.invoice-date-meta-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
    text-align: left;
}

.invoice-date-val {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1px;
}

.invoice-table-v2 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.invoice-table-v2 th {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 9px;
    padding: 6px 10px;
    border-bottom: 2px solid #cbd5e1;
    background-color: transparent;
    text-align: left;
}

.invoice-table-v2 td {
    padding: 10px 10px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    font-size: 11px;
    text-align: left;
}

.invoice-table-v2 th.text-right, .invoice-table-v2 td.text-right {
    text-align: right;
}

.invoice-table-v2 th:first-child, .invoice-table-v2 td:first-child { padding-left: 0; }
.invoice-table-v2 th:last-child, .invoice-table-v2 td:last-child { padding-right: 0; }

.invoice-sheet-logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
    display: block;
}

.invoice-summary-section-v2 {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    align-items: flex-start;
}

.invoice-notes-v2 {
    flex: 1;
    text-align: left;
}

.invoice-notes-title {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

#preview-notes {
    font-size: 11px;
    color: #475569;
    line-height: 1.4;
}

.invoice-totals-card-v2 {
    width: 240px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    text-align: left;
}

.invoice-totals-card-v2 .totals-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: #475569;
    font-size: 11px;
}

.invoice-totals-card-v2 .total-amount-row {
    color: #0f172a;
    font-weight: 800;
    font-size: 12px;
    border-top: 1px solid #cbd5e1;
    padding-top: 6px;
    margin-top: 4px;
}

.invoice-totals-card-v2 .total-amount-row strong {
    font-weight: 800;
}

.invoice-totals-card-v2 .outstanding-row {
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    border-top: 1px solid #cbd5e1;
    padding-top: 6px;
    margin-top: 4px;
}

.invoice-totals-card-v2 .outstanding-row strong {
    font-weight: 800;
    font-size: 13px;
}

.invoice-status-pill-v2 {
    display: block;
    background-color: #e2e8f0;
    color: #475569;
    font-size: 8px;
    font-weight: 800;
    text-align: center;
    padding: 4px;
    border-radius: 4px;
    margin-top: 10px;
    letter-spacing: 0.05em;
}

.invoice-divider-v2 {
    border-bottom: 1px solid #e2e8f0;
    margin: 20px 0 16px;
}

.invoice-footer-graphics-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.signature-box-v2 {
    text-align: left;
    width: 150px;
}

.signature-line-v2 {
    border-bottom: 1px solid #cbd5e1;
    height: 32px;
    margin-bottom: 6px;
}

.signature-box-v2 span {
    font-size: 8px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.stamp-and-qr-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.invoice-stamp-v2 {
    width: 58px;
    height: 58px;
    border: 2px double #1e3a8a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-10deg);
    opacity: 0.85;
}

.stamp-inner-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.1;
}

.stamp-center-v2 {
    font-weight: 900;
    font-size: 7px;
    border-top: 1px solid #1e3a8a;
    border-bottom: 1px solid #1e3a8a;
    padding: 1px 0;
    margin: 1px 0;
    letter-spacing: 0.04em;
}

.invoice-qrcode-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qrcode-wrapper-v2 {
    border: 1px solid #e2e8f0;
    padding: 3px;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoice-qrcode-v2 span {
    font-size: 8px;
    font-weight: 700;
    color: #64748b;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.05em;
    line-height: 1.1;
}


/* ==========================================================================
   AUDCLIP DOUBLE-VIEW LAYOUT & INTERACTIVE PREVIEW
   ========================================================================== */
.demo-inline-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.demo-inline-link i {
    width: 12px;
    height: 12px;
}

.demo-inline-link:hover {
    color: var(--primary-hover);
}

.product-card-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.downloader-mock-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.downloader-mock-subtitle {
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
    max-width: 320px;
    margin: 0 auto;
}

.converter-input-bar {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    padding: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-top: 8px;
}

.converter-input-bar input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 12px;
    color: #0f172a;
    background-color: transparent;
}

.converter-input-bar input::placeholder {
    color: #94a3b8;
}

.btn-paste {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s;
    cursor: pointer;
}

.btn-paste:hover {
    background-color: #e2e8f0;
}

.btn-convert-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border: none;
    padding: 7px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s;
    cursor: pointer;
    margin-left: 4px;
}

.btn-convert-gradient:hover {
    opacity: 0.9;
}

.upload-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    text-align: center;
    font-size: 9px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.upload-divider:before, .upload-divider:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.upload-divider span {
    padding: 0 10px;
}

.downloader-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
    background-color: #ffffff;
    transition: border-color 0.2s, background-color 0.2s;
    cursor: pointer;
}

.downloader-dropzone:hover {
    border-color: var(--primary);
    background-color: var(--primary-soft);
}

.dropzone-icon-outline {
    width: 28px;
    height: 28px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.dropzone-title {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
}

.dropzone-desc {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 1px;
}

/* Transitions and loader overlay */
.downloader-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.downloader-loader-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.downloader-homepage-view {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.downloader-homepage-view.hide {
    display: none;
}

.downloader-resolved-view {
    display: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.downloader-resolved-view.show {
    display: block;
}

.downloader-results-card-v2 {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ==========================================================================
   TECHNICAL STACK SCROLLING MARQUEE / TICKER
   ========================================================================== */
.tech-ticker-section {
    padding: 24px 0;
    background-color: var(--bg-color);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    overflow: hidden;
    position: relative;
    z-index: 5;
    margin-bottom: 24px;
}

.tech-ticker-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.tech-ticker-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-ticker 35s linear infinite;
    padding: 4px 0;
}

/* Pause scroll animation on hover to allow detailed checking of stacks */
.tech-ticker-wrapper:hover .tech-ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
    cursor: pointer;
}

.ticker-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-hover);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.ticker-svg {
    width: 16px;
    height: 16px;
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.ticker-item:hover .ticker-svg {
    transform: scale(1.15);
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   SCROLL REVEAL UTILITIES
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES - Enhanced Mobile Friendliness)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

    .products-showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-padding-sm {
        padding: 36px 0;
    }

    .hero-section {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .navbar {
        height: 70px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .invoice-paper {
        padding: 20px;
    }
    
    .invoice-metadata-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .invoice-totals {
        width: 100%;
    }

    .card {
        padding: 24px 16px;
    }

    .mock-browser-address-bar {
        margin: 12px 12px 0;
        padding: 6px 12px;
        font-size: 9px;
    }

    .results-card-header {
        padding: 12px;
        gap: 12px;
    }

    .downloader-stream-list {
        padding: 12px;
    }

    .stream-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }

    .stream-info {
        flex-direction: column;
        gap: 8px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary, .hero-actions .btn-secondary {
        width: 100%;
    }

    .tab-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

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

/* Biography & Timeline Styles */
.bio-timeline {
    position: relative;
    padding-left: 48px;
    margin-top: 32px;
}

.bio-timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 29px;
    width: 3px;
    height: calc(100% - 24px);
    background: linear-gradient(to bottom, var(--surface-border) 0%, var(--primary) 50%, var(--surface-border) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -40px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.timeline-icon i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    background-color: var(--surface-hover);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Showcase Side Grid */
.about-showcase-v2 {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.showcase-card-v2 {
    background-color: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.showcase-card-v2:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.image-frame-container {
    position: relative;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--bg-alt);
    aspect-ratio: 4 / 5;
}

/* Scroll Reveal Animations */
.scroll-reveal-img {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

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

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame-container:hover .showcase-img {
    transform: scale(1.05);
}

.image-gradient-shade {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.floating-img-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-caption {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 12px;
}

@media (max-width: 992px) {
    .about-grid-v2 {
        grid-template-columns: 1fr;
    }
    
    .sticky-sidebar {
        position: static;
    }
    
    .about-showcase-v2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .about-showcase-v2 {
        grid-template-columns: 1fr;
    }
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(226, 232, 240, 0.4);
    z-index: 99;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #ec4899 50%, #06b6d4 100%);
    border-radius: 0 1.5px 1.5px 0;
    box-shadow: 0 0 8px rgba(79, 70, 229, 0.5);
    transition: width 0.1s ease-out;
}

/* Background blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    transition: transform var(--transition-slow);
}
.blob-1 {
    top: 20%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}
.blob-2 {
    top: 55%;
    right: -5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
}
.blob-3 {
    bottom: 5%;
    left: 15%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
}

/* Delay modifiers */
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Enhanced Animations for Timeline nodes & cards */
.timeline-item {
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.timeline-item.reveal {
    opacity: 0;
    transform: translateY(20px);
}
.timeline-item.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-icon {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.timeline-item:hover .timeline-icon {
    transform: scale(1.2);
    box-shadow: 0 0 12px 4px rgba(79, 70, 229, 0.2);
    background-color: var(--primary-soft);
}

.showcase-card-v2 {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle mouse hover lift & tilt simulation */
.showcase-card-v2:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Glow gradient behind showcase image on hover */
.showcase-card-v2::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}
.showcase-card-v2:hover::before {
    opacity: 1;
}

/* Web Development Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.service-icon-wrap i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary);
    color: #ffffff;
}

/* Call to action card specific styles */
.service-card-cta {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    border: 1px dashed var(--primary) !important;
}

.service-card-cta:hover {
    border-style: solid !important;
    border-color: var(--primary) !important;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Facebook Footer Button */
.facebook-footer-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background-color: #1877f2 !important; /* Facebook Official Blue */
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4) !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
}

.facebook-svg-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #ffffff !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.facebook-footer-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.6) !important;
    filter: brightness(1.1) !important;
}

/* Spinner Rotate Keyframe */
@keyframes spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, #ec4899 50%, #06b6d4 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ec4899 0%, var(--primary) 50%, #0ea5e9 100%);
}

/* Custom Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, background-color 0.25s ease, border-color 0.25s ease, width 0.25s ease, height 0.25s ease;
    opacity: 0;
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}

/* Hovering over links/buttons/cards */
.cursor-follower.hovered {
    width: 32px;
    height: 32px;
    background-color: rgba(79, 70, 229, 0.08);
    border-color: #ec4899;
    box-shadow: 0 0 14px rgba(236, 72, 153, 0.4);
}

/* Card hover spotlight glow */
.card, .service-card {
    position: relative;
    overflow: hidden;
}

.card::after, .service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: inherit;
    background: radial-gradient(300px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(79, 70, 229, 0.04), transparent 80%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.card:hover::after, .service-card:hover::after {
    opacity: 1;
}

/* Hero Canvas Background */
.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.hero-content, .hero-visual {
    position: relative;
    z-index: 2;
}

/* Hide custom cursor on mobile touch screens */
@media (hover: none) and (pointer: coarse) {
    .cursor-follower {
        display: none !important;
    }
}

/* VS Code Autotyping Editor & Caret */
.editor-body-layout {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    background-color: #0b0f19;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-line-numbers {
    display: flex;
    flex-direction: column;
    text-align: right;
    color: #475569;
    font-size: 13px;
    font-family: 'Consolas', 'Fira Code', monospace;
    user-select: none;
    line-height: 1.6;
}

#autotyping-code-editor {
    font-family: 'Consolas', 'Fira Code', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    white-space: pre-wrap;
    width: 100%;
}

.code-key {
    color: #38bdf8; /* light blue */
}

.code-keyword {
    color: #f43f5e; /* rose/pink keywords */
    font-weight: 700;
}

.code-string {
    color: #34d399; /* emerald green strings */
}

.code-caret {
    animation: caret-blink-anim 0.8s step-end infinite;
    color: var(--primary);
    font-weight: 700;
    margin-left: 2px;
}

@keyframes caret-blink-anim {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Timeline Laser Progress Indicator */
.bio-timeline {
    position: relative;
}

.timeline-laser {
    position: absolute;
    left: 29px; /* Centered exactly on the timeline vertical border (left: 29px) */
    top: 25px; /* Starting position center of the first icon */
    width: 12px;
    height: 12px;
    background: #ec4899; /* Glowing hot pink */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px 4px rgba(236, 72, 153, 0.8), 0 0 4px 1px #ffffff;
    z-index: 10;
    pointer-events: none;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
