/* ─── Contact Page Styles ─────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fefcfb;
    color: #2d2a3e;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: #7c5df5;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #5b3ed4;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ─── Navbar ──────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.85rem 0;
    background: linear-gradient(135deg, #1e1b3a, #2d2654);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(124, 93, 245, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand img {
    height: 32px;
    width: 32px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: linear-gradient(135deg, #7c5df5, #a78bfa);
    color: #fff !important;
    padding: 0.55rem 1.3rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(124, 93, 245, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 93, 245, 0.45);
    color: #fff !important;
}

.nav-login {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    transition: all 0.25s;
}

.nav-login:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.lang-switcher {
    display: flex;
    gap: 0.25rem;
}

/* ─── Hero ────────────────────────────────────────────── */
.contact-hero {
    text-align: center;
    padding: 4rem 1.5rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: #f3eeff;
    color: #7c5df5;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.contact-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e1b2e;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #7c5df5, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero p {
    font-size: 1.1rem;
    color: #6b6882;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Contact Section ─────────────────────────────────── */
.contact-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ─── Contact Card (Form) ─────────────────────────────── */
.contact-card {
    background: #fff;
    border: 2px solid #f0eef5;
    border-radius: 24px;
    padding: 2.5rem;
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 12px 40px rgba(124, 93, 245, 0.06);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #6b6882;
    font-size: 0.88rem;
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #f0eef5;
    border-radius: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    background: #faf8ff;
    color: #2d2a3e;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus {
    border-color: #7c5df5;
    box-shadow: 0 0 0 3px rgba(124, 93, 245, 0.1);
}

.input::placeholder {
    color: #b8b5c8;
}

.textarea {
    resize: vertical;
    min-height: 120px;
}

select.input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b6882'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* ─── Button ──────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #7c5df5, #9b7afb);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124, 93, 245, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(124, 93, 245, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-outline {
    background: transparent;
    color: #7c5df5;
    border: 2px solid #e4dff8;
}

.btn-outline:hover {
    background: #f3eeff;
    border-color: #c8bef0;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 0.95rem;
}

.cf-turnstile {
    margin-bottom: 1.25rem;
}

/* ─── Success State ───────────────────────────────────── */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.3rem;
    color: #1e1b2e;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #6b6882;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ─── Info Sidebar ────────────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    background: #fff;
    border: 2px solid #f0eef5;
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #ddd8f0;
    box-shadow: 0 8px 30px rgba(124, 93, 245, 0.06);
    transform: translateY(-2px);
}

.info-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 1rem;
    color: #1e1b2e;
    margin-bottom: 0.3rem;
}

.info-card p {
    font-size: 0.88rem;
    color: #6b6882;
    line-height: 1.5;
}

/* ─── Footer ──────────────────────────────────────────── */
.footer {
    text-align: center;
    padding: 2rem;
    color: #8a879a;
    font-size: 0.85rem;
    border-top: 1px solid #f0eef5;
}

/* ─── Hidden ──────────────────────────────────────────── */
.hidden {
    display: none !important;
}

/* ─── Hamburger Toggle ────────────────────────────────── */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: linear-gradient(180deg, #1e1b3a, #2d2654);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.25rem;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 105;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links span {
        display: block;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        width: 100%;
    }

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

    .nav-cta {
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .nav-login {
        margin-top: 0.5rem;
        text-align: center;
        width: 100%;
        padding: 0.6rem 1rem;
        display: block;
    }

    .lang-switcher {
        margin-left: 0;
    }
}