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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #c8cdd3;
    background: #080a0f;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding: 24px;
}

/* ── Page wrapper with subtle border ── */
.page-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background: #0d1017;
    border: 1px solid #1a1e27;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* ── Animated background canvas ── */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Navbar ── */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    position: relative;
    z-index: 1;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    font-style: italic;
    letter-spacing: -0.5px;
}

.navbar-brand-logo {
    height: 32px;
    width: auto;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    text-decoration: none;
    color: #8b929a;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #fff;
}

.btn-login {
    border: 1.5px solid #2a2f38;
    border-radius: 20px;
    padding: 8px 24px !important;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #fff !important;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-login:hover {
    background: rgba(255,255,255,0.05);
    border-color: #3a3f48;
}

/* ── Hero ── */
.hero {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 60px 48px 80px;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 520px;
}

/* ── Logo above heading ── */
.hero-logo {
    margin-bottom: 32px;
}

.hero-logo img {
    height: 56px;
    width: auto;
}

.hero-heading {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: #8b929a;
}

.hero-heading strong {
    color: #fff;
    font-weight: 700;
}

.hero-description {
    font-size: 15px;
    line-height: 1.7;
    color: #5a6270;
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-get-started {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #16191f;
    color: #fff;
    border: 1.5px solid #2a2f38;
    border-radius: 28px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.btn-get-started:hover {
    background: #1e222a;
    border-color: #3a3f48;
}

.btn-icon {
    font-size: 16px;
}

/* ── Hero Right / Image ── */
.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 600px;
}

.hero-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
}

/* ── Footer ── */
.footer {
    text-align: center;
    padding: 48px 24px 36px;
    position: relative;
    z-index: 1;
}

.footer-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3a3f48;
    font-size: 14px;
    font-weight: 400;
}

.footer-text strong {
    color: #5a6270;
    font-weight: 600;
}

.footer-icon {
    font-size: 16px;
}

/* ── Form pages ── */
.form-section {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 48px 80px;
}

.form-heading {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: #8b929a;
}

.form-heading strong {
    color: #fff;
    font-weight: 700;
}

.form-description {
    font-size: 15px;
    line-height: 1.7;
    color: #5a6270;
    margin-bottom: 36px;
}

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

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #8b929a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: #161a22;
    border: 1px solid #2a2f38;
    border-radius: 10px;
    padding: 12px 16px;
    color: #e2e5ea;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #818cf8;
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    color: #a5b4fc;
    font-size: 15px;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 32px 24px 48px;
        gap: 40px;
    }
    .hero-left {
        max-width: 100%;
    }
    .hero-right {
        max-width: 100%;
    }
    .navbar {
        padding: 16px 24px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 12px;
    }
    .navbar-links a:not(.btn-login) {
        display: none;
    }
    .btn-login {
        white-space: nowrap;
        padding: 8px 16px !important;
        font-size: 13px;
    }
    .hero-heading {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    .hero-image {
        max-width: 200px;
    }
    .hero-right {
        justify-content: center;
    }
}
