:root {
    --primary-color: #3F2B96;
    --primary-hover: #32227a;
    --text-color: #1a1a1a;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --bg-color: #F9FAFB;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Header Styling */
header {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

.logo h1 {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #111;
}

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

nav a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

nav a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #111;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.menu-toggle .close-icon {
    display: none;
}

.menu-toggle.active .hamburger-icon {
    display: none;
}

.menu-toggle.active .close-icon {
    display: block;
}

.menu-toggle.active {
    background: #F3F4F6;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-mini {
    padding: 80px 0 40px;
    text-align: center;
}

.hero-mini h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-mini p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Form Card */
.form-section {
    padding-bottom: 80px;
}

.card {
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.05rem;
}

.field-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.required {
    color: #ef4444;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #FAFAFA;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(63, 43, 150, 0.1);
}

button[type="submit"] {
    width: 100%;
    padding: 18px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(63, 43, 150, 0.2);
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 12px;
}

.checkbox-container input {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-container label {
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: #fff;
}

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

.subtle-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.6;
}

.subtle-btn:hover {
    opacity: 1;
}

.hidden {
    display: none;
}

/* Success Message */
#message {
    margin-top: 24px;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

#message.success {
    background: #ECFDF5;
    color: #047857;
}

#message.error {
    background: #FEF2F2;
    color: #B91C1C;
}

/* Responsive */
@media (max-width: 640px) {
    header {
        padding: 32px 0;
        position: relative;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .logo h1 {
        font-size: 1.25rem;
        max-width: 180px;
        line-height: 1.1;
        letter-spacing: 0;
        font-weight: 800;
    }

    .menu-toggle {
        display: block;
        padding: 0;
        margin-left: -4px;
    }

    .menu-toggle.active {
        position: absolute;
        top: 24px;
        right: 24px;
        margin-left: 0;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin-top: 24px;
        border-bottom: none;
        box-shadow: none;
        position: static;
        background: transparent;
    }

    nav.active {
        display: flex !important;
    }

    nav a {
        font-size: 1.6rem;
        font-weight: 800;
        padding: 28px 0;
        border-bottom: 1px solid #F3F4F6;
        width: 100%;
        color: #111;
        transition: none;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero-mini h2 {
        font-size: 2.2rem;
    }

    .card {
        padding: 32px 24px;
    }
}