/* Base Reset & Variables */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
    --bg-color: #080808;
    --accent: #ffffff;
    --accent-hover: #f0f0f0;
    --text-main: #e8e8e8;
    --text-sub: #8a8a8a;
    --border: rgba(255, 255, 255, 0.12);
    --glass-bg: rgba(18, 18, 18, 0.7);
    --glass-hover-border: rgba(255, 255, 255, 0.35);

    /* Hero section absolute overrides */
    --hero-bg: #ffffff;
    --hero-text-main: #111111;
    --hero-text-sub: #555555;
    --hero-border: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] {
    --bg-color: #ffffff;
    --accent: #000000;
    --accent-hover: #333333;
    --text-main: #111111;
    --text-sub: #555555;
    --border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-hover-border: rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Instrument Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography elements */
h1, h2, h3, h4, .serif {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    font-weight: 400;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-sub);
    transition: color 0.2s;
    border-left: 1px solid var(--border);
    padding-left: 16px;
}
.logo-byline:hover {
    color: var(--text-main);
}
.byline-img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(0%);
    opacity: 0.8;
}

.logo-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background: var(--text-main);
    display: inline-block;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav a.nav-link {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a.nav-link:hover {
    color: var(--text-main);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s, color 0.3s ease;
}

.theme-toggle:hover {
    background: var(--glass-hover-border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-color);
}

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

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

.btn-secondary:hover {
    background: rgba(128, 128, 128, 0.1);
    border-color: var(--text-main);
}

/* Hero Section specific styles */
.hero-wrapper {
    background-color: var(--hero-bg);
    width: 100%;
}

.hero {
    padding-top: 180px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-tag {
    font-size: 0.85rem;
    color: var(--hero-text-main);
    border: 1px solid var(--hero-border);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
    background: rgba(0, 0, 0, 0.02);
}

.hero h1 {
    font-size: clamp(3.2rem, 7vw, 4.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 24px 0;
    max-width: 900px;
    color: var(--hero-text-main);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--hero-text-sub);
    max-width: 650px;
    line-height: 1.5;
    margin: 0 0 40px 0;
}

/* Because the hero contains buttons, we override their colors to always use dark values */
.hero .btn-primary {
    background: var(--hero-text-main);
    color: var(--hero-bg);
}
.hero .btn-secondary {
    color: var(--hero-text-main);
    border-color: var(--hero-border);
}
.hero .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    justify-content: center;
}

/* App Browser Preview Placeholder */
.app-preview {
    width: 100%;
    margin-top: 20px;
    border: 1px solid var(--hero-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--hero-bg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: left;
}

.browser-chrome {
    height: 48px;
    border-bottom: 1px solid var(--hero-border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
    background: rgba(0, 0, 0, 0.02);
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
}

.browser-url {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--hero-text-sub);
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 16px;
    border-radius: 6px;
    font-family: monospace;
}

/* Interactive Dashboard Lite */
.browser-content {
    height: 450px;
    position: relative;
    display: flex;
    background-color: #fafafa;
}

.dash-sidebar {
    width: 220px;
    border-right: 1px solid var(--hero-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
}

.dash-nav-item {
    padding: 10px 16px;
    border-radius: 6px;
    color: var(--hero-text-sub);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-nav-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--hero-text-main);
}

.dash-nav-item.active {
    background: rgba(0, 0, 0, 0.06);
    color: var(--hero-text-main);
    font-weight: 500;
}

.dash-main {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--hero-border);
    padding-bottom: 16px;
}

.dash-header h2 {
    font-size: 1.8rem;
    color: var(--hero-text-main);
    margin: 0;
}

.dash-btn-new {
    background: var(--hero-text-main);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}
.dash-btn-new:hover {
    opacity: 0.8;
}

.dash-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-case {
    background: #ffffff;
    border: 1px solid var(--hero-border);
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.dash-case:hover {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.dash-case h4 {
    margin: 0 0 4px 0;
    font-family: 'Instrument Sans', sans-serif;
    color: var(--hero-text-main);
    font-size: 1rem;
    font-weight: 500;
}

.dash-case-sub {
    font-size: 0.8rem;
    color: var(--hero-text-sub);
}

.dash-status {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    color: var(--hero-text-main);
    border: 1px solid var(--hero-border);
}

.dash-btn-new:active, .dash-case:active, .dash-nav-item:active, .interact:active {
    transform: scale(0.97) !important;
}

.dash-view {
    animation: dashFadeIn 0.3s ease;
}
.dash-view.hidden {
    display: none !important;
}

#tab-forms, #tab-chat {
    display: flex;
    flex-direction: column;
}

#tab-chat {
    padding: 0;
}

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

.wa-chat-container {
    display: flex;
    flex-direction: column;
    height: 380px;
    background: #efeae2;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M10 10L12 12M50 50l2 2M90 90l2 2'/%3E%3C/g%3E%3C/svg%3E");
    border: 1px solid var(--hero-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.wa-header {
    background: #075e54;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Instrument Sans', sans-serif;
}
.wa-header-img {
    width: 36px; height: 36px; border-radius: 50%;
    background: #ccc;
    background-size: cover;
    background-position: center;
}
.wa-header-info {
    display: flex;
    flex-direction: column;
}
.wa-header-info h4 { margin: 0; font-size: 1rem; color: #fff;}
.wa-header-info span { font-size: 0.75rem; opacity: 0.8; }

.wa-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wa-bubble {
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
    font-size: 0.9rem;
    position: relative;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    font-family: 'Instrument Sans', sans-serif;
    color: #111;
    line-height: 1.4;
    animation: dashFadeIn 0.3s ease;
}

.wa-bubble.left {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-bubble.right {
    background: #dcf8c6;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-input-area {
    background: #f0f0f0;
    padding: 10px;
    display: flex;
    gap: 8px;
}
.wa-input-area input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 24px;
    outline: none;
    font-size: 0.95rem;
    font-family: 'Instrument Sans', sans-serif;
}
.wa-btn-send {
    background: #075e54;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}
.wa-btn-send:hover { background: #128C7E; }

.chat-ai-badge {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    opacity: 0.6;
    font-family: monospace;
}

/* Modal inside interactive preview */
.dash-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.dash-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.dash-overlay.hidden {
    display: none !important;
}

.dash-modal {
    background: #fff;
    border: 1px solid var(--hero-border);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 440px;
    margin: 0 16px;
    text-align: center;
    transform: translateY(20px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dash-overlay.active .dash-modal {
    transform: translateY(0) scale(1);
}
.dash-modal h3 {
    margin: 0 0 16px 0;
    color: var(--hero-text-main);
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
}
.dash-modal p {
    font-size: 0.85rem;
    color: var(--hero-text-sub);
    margin-bottom: 24px;
}
.dash-modal-close {
    background: transparent;
    border: 1px solid var(--hero-border);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--hero-text-main);
    font-weight: 500;
    transition: all 0.2s;
}
.dash-modal-close:hover {
    background: rgba(0,0,0,0.05);
}

/* Wizard & Exaggerated Mockups */
.wizard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.wizard-header h3 { margin: 0; }
.dash-modal-close-icon {
    background: transparent; border: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--hero-text-sub); transition: color 0.2s;
}
.dash-modal-close-icon:hover { color: var(--hero-text-main); }

.wiz-form-group {
    display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; text-align: left;
}
.wiz-form-group label { font-size: 0.8rem; font-weight: 500; color: var(--hero-text-main); }
.wiz-input { width: 100%; padding: 12px; border: 1px solid var(--hero-border); border-radius: 6px; font-family: 'Instrument Sans', sans-serif; font-size: 0.95rem; box-sizing: border-box; background: #fafafa; transition: all 0.2s; }
.wiz-input:focus { outline: none; border-color: #111; background: #fff; box-shadow: 0 0 0 3px rgba(17,17,17,0.1); }

.wiz-toggles { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; text-align: left;}
.wiz-toggle { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--hero-text-sub); cursor: pointer; line-height: 1.4; transition: color 0.2s; }
.wiz-toggle:hover { color: var(--hero-text-main); }
.wiz-toggle input { margin-top: 2px; accent-color: #111; cursor: pointer; transform: scale(1.1); transition: transform 0.2s; }
.wiz-toggle input:active { transform: scale(1); }

.wiz-terminal {
    background: #000; color: #0f0; font-family: monospace; font-size: 0.85rem; padding: 16px; border-radius: 8px; height: 280px; overflow-y: auto; text-align: left; box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}
.terminal-line { margin-bottom: 4px; opacity: 0; animation: fadeTerminal 0.1s forwards; }
@keyframes fadeTerminal { to { opacity: 1; }}
.terminal-success { color: #0f0; }
.terminal-info { color: #0dd; }
.terminal-warn { color: #fd0; }

.mock-form { background: #fff; border: 1px solid var(--hero-border); padding: 24px; border-radius: 8px; }
.mock-form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.mock-input-group { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.mock-input-group label { font-size: 0.75rem; color: #666; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.mock-input { height: 38px; border: 1px dashed #ccc; border-radius: 4px; background: #fafafa; display: flex; align-items: center; padding: 0 12px; font-family: monospace; color: #111; position: relative; font-size: 0.95rem; transition: all 0.2s; white-space: nowrap; overflow: hidden; }
.mock-input.filled { background: #e8f5e9; border: 1px solid #81c784; border-style: solid; }

.tooltip-ai { position: absolute; bottom: 100%; left: 0; background: #111; border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 0.7rem; padding: 6px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity 0.2s; white-space: nowrap; z-index: 10; font-family: 'Instrument Sans', sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transform: translateY(-4px); }
.mock-input:hover .tooltip-ai { opacity: 1; }
.tooltip-ai::after { content: ''; position: absolute; top: 100%; left: 10px; border-width: 4px; border-style: solid; border-color: #111 transparent transparent transparent; }

.drop-zone { border: 2px dashed #bbb; padding: 40px 20px; text-align: center; border-radius: 12px; cursor: pointer; transition: all 0.2s; background: rgba(0,0,0,0.02); margin-bottom: 16px; }
.drop-zone:hover { border-color: #111; background: rgba(0,0,0,0.04); transform: scale(0.99); }
.drop-zone svg { color: #666; margin-bottom: 12px; }
.drop-zone p { margin: 0; font-size: 0.95rem; color: #444; }

.ai-process-zone { margin-top: 10px; text-align: center; background: #fff; border: 1px solid var(--hero-border); border-radius: 8px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.ai-bar { width: 100%; height: 6px; background: #eee; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.ai-progress { width: 0%; height: 100%; background: #111; transition: width 0.1s linear; }
.ai-status-text { font-size: 0.85rem; color: #555; font-family: monospace; margin: 0; }

/* Content global classes below the hero will use the standard CSS variables */
.problem {
    padding: 80px 0;
    text-align: center;
}

.problem h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.25;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto;
}

/* Sections Global */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

/* Dashboard mobile */
@media(max-width: 768px) {
    .browser-content {
        flex-direction: column;
        height: auto;
        min-height: 400px;
    }
    .dash-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
        gap: 8px;
        border-right: none;
        border-bottom: 1px solid var(--hero-border);
        -webkit-overflow-scrolling: touch;
    }
    .dash-nav-item {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .dash-main {
        padding: 20px 16px;
    }
    .dash-header h2 {
        font-size: 1.2rem;
    }
    .dash-case {
        padding: 12px;
    }
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--glass-hover-border);
    box-shadow: 0 10px 30px rgba(128, 128, 128, 0.06);
    transform: translateY(-2px);
}

.feature-icon {
    margin-bottom: 24px;
    color: var(--text-main);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin: 0 0 12px 0;
    color: var(--text-main);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.5;
}

/* How It Works */
.how-it-works .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    text-align: center;
}

@media(max-width: 768px) {
    .how-it-works .steps { grid-template-columns: 1fr; gap: 40px; }
}

.step {
    padding: 24px;
    position: relative;
}

.step .step-number {
    font-family: 'Instrument Serif', serif;
    font-size: 3rem;
    color: var(--text-sub);
    line-height: 1;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.6rem;
    color: var(--text-main);
    margin: 0 0 12px 0;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin: 0;
}

/* Comparison Table */
.comparison {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.comparison .table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(128, 128, 128, 0.02);
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-full {
    min-width: 900px;
}

.comparison-table th, .comparison-table td {
    padding: 14px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    white-space: nowrap;
}

.comparison-table td:last-child,
.comparison-table th:last-child {
    white-space: normal;
    min-width: 150px;
}

.comparison-table th {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.comparison-table td {
    color: var(--text-sub);
}

.comparison-table td:first-child {
    color: var(--text-main);
    font-weight: 500;
}

.comparison-table .highlight {
    background: rgba(128, 128, 128, 0.05);
}

.comparison-table th.highlight {
    color: var(--text-main);
}

.comparison-table td.highlight {
    color: var(--text-main);
    font-weight: 500;
}

.comparison-table tr:last-child td, .comparison-table tr:last-child th {
    border-bottom: none;
}

.comparison-table tbody tr:hover td {
    background-color: rgba(128, 128, 128, 0.02);
}
.comparison-table tbody tr:hover td.highlight {
    background-color: rgba(128, 128, 128, 0.08);
}

/* Pricing */
.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing-block {
    display: inline-block;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(128, 128, 128, 0.01);
}

.price-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-main);
    margin: 0 0 8px 0;
    line-height: 1;
}

.price-sub {
    font-size: 1.1rem;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.price-desc {
    color: var(--text-sub);
    font-size: 0.95rem;
    margin: 0;
}

/* About */
.about {
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    max-width: 800px;
}

@media(max-width: 600px) {
    .about-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.bio-card-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.bio-content h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.8rem;
    margin: 0 0 4px 0;
    color: var(--text-main);
}

.bio-role {
    font-size: 0.8rem;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: block;
}

.bio-content p {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin: 0 0 12px 0;
    line-height: 1.6;
}
.bio-content p:last-child { margin-bottom: 0; }

/* Final CTA */
.cta-final {
    padding: 120px 0 160px 0;
    text-align: center;
}

.cta-final h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.cta-final p {
    color: var(--text-sub);
    font-size: 1.1rem;
    margin: 0 0 40px 0;
}

.cta-final .btn {
    padding: 12px 24px;
    font-size: 1.05rem;
}

.cta-final .hero-cta {
    justify-content: center;
    margin-bottom: 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-sub);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-sub);
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    color: var(--text-main);
}

@media(max-width: 600px) {
    footer {
        flex-direction: column;
        gap: 16px;
    }
}

/* Fast Reveal Animations (Reduced load delay) */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-out;
}

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

/* Reduced delays for fast loading perception */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }

/* BERT Tooltip & Tech Note */
.info-tooltip {
    cursor: help;
    position: relative;
}

.tech-note {
    display: block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-sub);
    opacity: 0.7;
    font-style: italic;
}

/* Google Drive Icon */
.drive-icon {
    vertical-align: middle;
    margin-right: 4px;
}
