/* =========================================
   GOLDENFINCH AI - Modern AI Startup
   ========================================= */

:root {
    --bg-main: #080808;
    --text-white: #ffffff;
    --text-muted: #888888;
    --border-subtle: #222222;
    --accent-glow: rgba(255, 255, 255, 0.05);

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Background */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, rgba(20, 20, 20, 1) 0%, rgba(8, 8, 8, 1) 60%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

/* Header */
.header {
    padding: 32px 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.fluid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-link.external {
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.nav-link.external:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Hero */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(8, 8, 8, 0.7) 0%, rgba(8, 8, 8, 0.95) 100%);
}

.hero-content {
    max-width: 700px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    /* Toronto Based badge style */
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 580px;
}

/* Waitlist Form */
.waitlist-container {
    max-width: 480px;
}

.input-wrapper {
    display: flex;
    gap: 8px;
    background: #111;
    border: 1px solid var(--border-subtle);
    padding: 4px;
    border-radius: 12px;
    transition: border-color 0.2s;
}

.input-wrapper:focus-within {
    border-color: #444;
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
}

.waitlist-form input:focus {
    outline: none;
}

.submit-btn {
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.submit-btn:hover {
    transform: scale(1.02);
}

.waitlist-note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: #555;
    margin-left: 8px;
}

.form-status {
    margin-top: 8px;
    font-size: 0.875rem;
    min-height: 20px;
}

.success {
    color: #10B981;
}

.error {
    color: #EF4444;
}

/* Product Highlight (Mirror) */
.product-highlight {
    padding-bottom: 120px;
}

.mirror-showcase {
    display: block;
    background: #0a0a0a;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 64px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--transition);
}

.mirror-showcase:hover {
    border-color: #333;
    background: #0d0d0d;
    transform: translateY(-2px);
}

.product-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

.mirror-showcase h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.mirror-showcase p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
}

.link-text {
    color: white;
    border-bottom: 1px solid #444;
    padding-bottom: 2px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-subtle);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 24px;
}

.about-col h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
}

.about-col p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Careers Section */
.careers-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.careers-content {
    max-width: 600px;
    margin: 0 auto;
}

.careers-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.careers-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.careers-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: black;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.careers-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.careers-soon {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    cursor: default;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-email {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-email:hover {
    color: white;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.footer-col h4 {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    color: #555;
}

.location {
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .hero-section {
        align-items: flex-start;
        padding-top: 120px;
    }

    .input-wrapper {
        flex-direction: column;
        padding: 12px;
        background: transparent;
        border: none;
        gap: 12px;
    }

    .input-wrapper input {
        background: #111;
        border: 1px solid var(--border-subtle);
        border-radius: 12px;
    }

    .submit-btn {
        width: 100%;
        padding: 14px;
        justify-content: center;
    }

    .mirror-showcase {
        padding: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}