:root {
    /* Expert Color Palette */
    --bg-base: #050505;
    --bg-surface: rgba(20, 20, 20, 0.4);
    --bg-surface-solid: #0f0f0f;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(196, 226, 245, 0.3);
    
    /* Signature Soft Blue */
    --accent-blue: #C4E2F5;
    --accent-blue-glow: rgba(196, 226, 245, 0.15);
    
    /* Typography */
    --text-primary: #FFFFFF;
    --text-secondary: #888888;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Texture & Lighting */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(ellipse at center, var(--accent-blue-glow) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.focus-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.focus-backdrop.active {
    opacity: 1;
}

/* Layout */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 11; /* Above focus backdrop to keep form visible */
}

/* Navigation */
.expert-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.brand-name {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue);
    animation: slowPulse 2s infinite alternate;
}

@keyframes slowPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Hero Section */
.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 6rem;
    width: 100%;
}

.hero-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(196, 226, 245, 0.05);
    border: 1px solid var(--border-accent);
    padding: 0.3rem 0.4rem 0.3rem 0.4rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.pill-highlight {
    background: var(--accent-blue);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
}

.pill-divider {
    width: 1px;
    height: 12px;
    background: var(--border-accent);
}

.pill-text {
    font-size: 0.75rem;
    color: var(--accent-blue);
    padding-right: 0.6rem;
    font-weight: 500;
}

.hero-display {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 500px;
    font-weight: 400;
}

/* Magnetic Waitlist */
.waitlist-wrapper {
    width: 100%;
    max-width: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.magnetic-form {
    display: flex;
    width: 100%;
    background: var(--bg-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.magnetic-form:focus-within {
    border-color: var(--border-accent);
    box-shadow: 0 0 0 1px var(--border-accent), 0 20px 60px rgba(0,0,0,0.8);
    background: var(--bg-surface-solid);
}

.input-group {
    display: flex;
    align-items: center;
    flex-grow: 1;
    padding-left: 0.8rem;
}

.mail-icon {
    color: var(--text-secondary);
}

.magnetic-form input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    padding: 0.8rem;
    width: 100%;
    font-size: 0.95rem;
    font-family: var(--font-stack);
}

.magnetic-form input::placeholder {
    color: var(--text-secondary);
}

.magnetic-button {
    background: var(--accent-blue);
    color: #000;
    border: none;
    padding: 0 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1), box-shadow 0.2s;
}

.magnetic-button:hover {
    box-shadow: 0 4px 15px rgba(196, 226, 245, 0.4);
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.magnetic-button:hover .btn-arrow {
    transform: translateX(3px);
}

.shortcut-hint {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.7;
}

.shortcut-hint kbd {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

/* Immersive Mockup */
.interface-showcase {
    margin-top: 6rem;
    width: 100%;
    max-width: 800px;
    position: relative;
}

.showcase-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(196, 226, 245, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.expert-mockup {
    background: #0a0a0a;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    overflow: hidden;
}

.mockup-top-bar {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    background: #0f0f0f;
}

.traffic-lights {
    display: flex;
    gap: 6px;
    width: 60px;
}

.traffic-lights span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.mockup-title {
    margin: 0 auto;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: monospace;
    padding-right: 60px; /* Balance traffic lights */
}

.mockup-content {
    padding: 2rem;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.cmd-palette {
    width: 100%;
    max-width: 500px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.cmd-input {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-primary);
}

.cmd-icon {
    color: var(--text-secondary);
}

.cmd-results {
    padding: 0.5rem;
}

.cmd-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
}

.cmd-item.active {
    background: rgba(196, 226, 245, 0.1);
}

.item-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.item-tag.mcp { background: rgba(139, 92, 246, 0.2); color: #c4b5fd; }
.item-tag.gmail { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.item-tag.filter { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }

.item-desc {
    color: var(--text-secondary);
}

/* Footer */
.expert-footer {
    width: 100%;
    margin-top: 6rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-display {
        font-size: 2.5rem;
    }
    .interface-showcase {
        display: none;
    }
}

/* ── Waitlist Feedback Messages ─────────────────────────────────── */
.waitlist-feedback {
    margin-top: 0.85rem;
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
    max-width: 460px;
    color: var(--text-secondary);
    animation: feedbackIn 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

@keyframes feedbackIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Disabled button state */
.magnetic-button:disabled {
    opacity: 0.65;
    cursor: default;
}
