/* =========================================================
   VOCABOT — CONTACT PAGE (PRODUCT THEME SYNCED)
   CLEAN DARK / PURPLE SAAS THEME
   RESPONSIVE + HIGH VISIBILITY
   ========================================================= */

/* =========================================================
   ROOT (SYNCED WITH PRODUCT.CSS)
   ========================================================= */

:root {
    /* Layout */
    --container: 1180px;

    /* Background Colors */
    --bg: #070313;
    --bg-2: #0d0620;
    --bg-soft: #0d0620;
    --bg-card: rgba(20, 10, 42, 0.66);
    --card-strong: rgba(25, 12, 52, 0.86);

    /* Primary Accent Colors */
    --purple: #7c3aed;
    --purple-dark: #6d28d9;
    --violet: #8b5cf6;
    --magenta: #a855f7;
    --lavender: #c084fc;
    --purple-light: #a78bfa;

    /* Borders */
    --border: rgba(168, 85, 247, 0.18);
    --border-light: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient: linear-gradient(135deg, #6d28d9 0%, #7c3aed 45%, #a855f7 100%);
    --page-gradient:
        radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.18), transparent 34%),
        radial-gradient(circle at 5% 65%, rgba(168, 85, 247, 0.08), transparent 28%),
        radial-gradient(circle at 95% 35%, rgba(139, 92, 246, 0.08), transparent 30%),
        linear-gradient(145deg, #271259 0%, #140a2e 48%, #05020f 100%);

    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    --shadow-purple: 0 24px 70px rgba(124, 58, 237, 0.18);

    /* Text Colors */
    --text: #ffffff;
    --text-2: #e9d5ff;
    --text-soft: #c8bfd2;
    --text-muted: #8e839e;
    --muted: #a7a0ba;
    --muted-2: #7f7892;
}


/* =========================================================
   RESET & BODY
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    background: var(--page-gradient);
    background-attachment: fixed;
    background-size: cover;
    color: var(--text);

    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.6;
}

body,
button,
input,
textarea,
select {
    font-family: "Plus Jakarta Sans", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none !important;
}

button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

::selection {
    background: rgba(168, 85, 247, 0.4);
    color: #fff;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

.page-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -3;
  opacity: 0.17;
}

.page-glow.glow-one {
  top: 5%;
  left: -250px;
  background: var(--purple);
}

.page-glow.glow-two {
  top: 45%;
  right: -300px;
  background: var(--magenta);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    min-height: 76px;

    background: rgba(7, 3, 19, 0.64);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.navbar.scrolled {
    background: rgba(7, 3, 19, 0.94);

    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   NAV INNER
   ========================================================= */

.nav-inner {
    min-height: 76px;

    display: flex;
    align-items: center;

    gap: 25px;
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    color: #ffffff;

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 27px;
    font-weight: 800;

    line-height: 1;
    letter-spacing: -0.5px;

    white-space: nowrap;
}

.brand img {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    object-fit: contain;

    background: transparent;

    border: none;
}

.brand b {
    color: var(--magenta);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.desktop-nav {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 30px;
}

.desktop-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 8px 0;

    color: var(--muted);

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 500;

    line-height: 1;

    transition: color 0.25s ease;
}


/* =========================================================
   DESKTOP NAV HOVER / ACTIVE
   ========================================================= */

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #ffffff;
}


/* =========================================================
   ACTIVE / HOVER UNDERLINE
   ========================================================= */

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--lavender);

    border-radius: 999px;

    box-shadow: 0 0 8px rgba(192, 132, 252, 0.45);

    transition: width 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* =========================================================
   DESKTOP DEMO BUTTON
   ========================================================= */

.nav-btn {
     display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex-shrink: 0;
    min-height: 48px;
    padding:13px 23px;
    border-radius: 999px;
    background: var(--gradient);
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.nav-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.38);
}

.nav-btn span {
    font-size: 15px;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    margin-left: auto;

    padding: 0;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--border);

    border-radius: 10px;

    z-index: 10002;

    pointer-events: auto;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.35);
}

.menu-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: #ffffff;

    border-radius: 2px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   HAMBURGER → X
   ========================================================= */

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    display: none;

    position: absolute;

    top: 76px;
    left: 16px;
    right: 16px;

    width: auto;

    padding: 16px;

    flex-direction: column;

    gap: 4px;

    background: rgba(12, 5, 28, 0.96);

    border: 1px solid var(--border);

    border-radius: 14px;

    box-shadow: var(--shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;

    z-index: 10001;
}


/* =========================================================
   MOBILE MENU OPEN
   ========================================================= */

.mobile-menu.open {
    display: flex;
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);
}


/* =========================================================
   MOBILE NAV LINKS
   ========================================================= */

.mobile-menu a {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 46px;

    padding: 0 14px;

    color: var(--muted);

    font-size: 14px;
    font-weight: 600;

    line-height: 1.4;

    border-radius: 8px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: #ffffff;

    background: rgba(139, 92, 246, 0.10);
}


/* =========================================================
   MOBILE DEMO BUTTON
   ========================================================= */

.mobile-menu .mobile-demo {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 8px;

    min-height: 46px;

    background: var(--gradient) !important;

    color: #ffffff !important;

    border: 1px solid var(--border);

    border-radius: 8px;

    font-weight: 600;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;

    padding: 30px 0 30px;

    text-align: center;
}

.hero-glow {
    position: absolute;

    width: 650px;
    height: 430px;

    top: -170px;
    left: 50%;

    transform: translateX(-50%);

    background: rgba(124, 58, 237, 0.18);

    filter: blur(115px);

    pointer-events: none;
}

.hero-content {
    position: relative;

    max-width: 800px;

    margin-inline: auto;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 24px;

    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid var(--border);

    color: #d8b4fe;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0;
}
.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* =========================================================
   HERO TITLE
   ========================================================= */

.hero-content h1 {
    margin-bottom: 25px;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.05;

    letter-spacing: -0.06em;
}

.hero-content h1 span,
.contact-info h2 span,
.contact-cta h2 span {
    background: var(--gradient);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-content p {
    max-width: 650px;

    margin-inline: auto;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
    padding: 70px 0 120px;
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 90px;

    align-items: start;
}


/* =========================================================
   CONTACT INFO
   ========================================================= */

.section-label {
    margin-bottom: 15px;

    color: var(--lavender);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.contact-info h2 {
    margin-bottom: 20px;

    font-size: clamp(38px, 4.6vw, 58px);

    line-height: 1.1;

    letter-spacing: -0.04em;
}

.info-description {
    max-width: 500px;

    margin-bottom: 40px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   INFO ITEMS
   ========================================================= */

.info-item {
    display: flex;

    gap: 17px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background: rgba(139, 92, 246, 0.11);

    border: 1px solid var(--border);

    color: var(--text-2);

    font-size: 18px;
    font-weight: 800;
}

.info-item span {
    display: block;

    margin-bottom: 3px;

    color: var(--muted-2);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.info-item a {
    color: #ffffff;

    font-size: 15px;

    font-weight: 600;
}

.info-item p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   CONTACT NOTE
   ========================================================= */

.contact-note {
    margin-top: 35px;

    padding: 22px;

    border-radius: 20px;

    background: linear-gradient(145deg, rgba(39, 18, 89, 0.58), rgba(10, 5, 27, 0.72));

    border: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-note strong {
    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 15px;
}

.contact-note p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-wrapper {
    padding: 38px;

    border-radius: 25px;

    background: linear-gradient(145deg, rgba(39, 18, 89, 0.58), rgba(10, 5, 27, 0.72));

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.form-header {
    margin-bottom: 30px;
}

.form-header > span {
    color: var(--lavender);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;
}

.form-header h3 {
    margin-top: 8px;

    color: #ffffff;

    font-size: 27px;

    letter-spacing: -0.04em;
}


/* =========================================================
   FORM ROW
   ========================================================= */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 17px;
}

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

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-2);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FORM INPUTS
   ========================================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);

    outline: none;

    border-radius: 11px;

    background: rgba(7, 3, 19, 0.6);

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-2);
}

.form-group select option {
    background: #0d0620;

    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--lavender);

    background: rgba(13, 6, 32, 0.8);

    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2);
}

.form-group textarea {
    resize: vertical;

    min-height: 130px;
}

.form-group select {
    cursor: pointer;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.submit-btn {
    width: 100%;

    padding: 15px 20px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 999px;

    background: var(--gradient);

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.28);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.submit-btn span {
    margin-left: 8px;

    font-size: 18px;
}

.submit-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 20px 48px rgba(124, 58, 237, 0.42);
}

.form-status {
    min-height: 20px;

    margin-top: 13px;

    text-align: center;

    color: var(--lavender);

    font-size: 13px;
}


/* =========================================================
   CTA
   ========================================================= */

.contact-cta {
    padding: 30px 0 100px;
}

.cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 55px;

    border-radius: 30px;

    background:
        radial-gradient(circle at 80% 30%, rgba(124, 58, 237, 0.28), transparent 50%),
        linear-gradient(145deg, rgba(39, 18, 89, 0.68), rgba(10, 5, 27, 0.92));

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.contact-cta h2 {
    max-width: 650px;

    margin-bottom: 15px;

    font-size: clamp(38px, 4.6vw, 58px);

    line-height: 1.1;

    letter-spacing: -0.04em;
}

.contact-cta p {
    max-width: 600px;

    color: var(--muted);

    font-size: 15px;
}

.cta-btn {
    flex-shrink: 0;

    padding: 14px 23px;

    border-radius: 999px;

    background: #ffffff;

    color: #070313;

    font-size: 14px;

    font-weight: 800;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding: 70px 0 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(7, 3, 19, 0.85);
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;

    gap: 45px;
}

.footer-brand p {
    max-width: 340px;

    margin-top: 17px;

    color: var(--muted);

    font-size: 12px;
}

.socials {
    display: flex;

    gap: 8px;

    margin-top: 22px;
}

.socials a {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.07);

    color: var(--lavender);

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.socials a:hover {
    color: #ffffff;

    background: rgba(168, 85, 247, 0.15);

    border-color: rgba(192, 132, 252, 0.4);
}

.footer-col {
    display: grid;

    align-content: start;

    gap: 10px;
}

.footer-col h3 {
    margin-bottom: 8px;

    font-size: 12px;
}

.footer-col a {
    color: var(--muted-2);

    font-size: 11px;

    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 55px;

    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: var(--muted-2);

    font-size: 9px;
}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    /* ---------- Navbar ---------- */

    .navbar {
        min-height: 76px;
    }

    .nav-inner {
        width: calc(100% - 32px);

        min-height: 76px;
    }

    .desktop-nav,
    .nav-btn {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    .mobile-menu {
        display: flex;
    }


    /* ---------- Main ---------- */

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

        gap: 60px;
    }

    .contact-info {
        max-width: 700px;
    }

    .cta-box {
        flex-direction: column;

        align-items: flex-start;
    }


    /* ---------- Footer ---------- */

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


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    /* ---------- Navbar ---------- */

    .navbar {
        min-height: 70px;
    }

    .nav-inner {
        width: calc(100% - 28px);

        min-height: 70px;
    }

    .brand {
        font-size: 23px;
    }

    .brand img {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        border-radius: 10px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .mobile-menu {
        top: 70px;

        left: 14px;
        right: 14px;
    }


    /* ---------- Hero ---------- */

    .contact-hero {
        padding: 75px 0 60px;
    }

    .hero-content h1 {
        font-size: 44px;

        letter-spacing: -2px;
    }

    .hero-content p {
        font-size: 15px;
    }


    /* ---------- Contact ---------- */

    .contact-section {
        padding: 50px 0 80px;
    }

    .contact-info h2 {
        font-size: 38px;
    }


    /* ---------- Form ---------- */

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .contact-form-wrapper {
        padding: 24px;
    }


    /* ---------- CTA ---------- */

    .cta-box {
        padding: 32px 25px;
    }

    .contact-cta h2 {
        font-size: 34px;
    }


    /* ---------- Footer ---------- */

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .nav-inner {
        width: calc(100% - 22px);
    }

    .brand {
        font-size: 21px;
    }

    .brand img {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .mobile-menu {
        left: 10px;
        right: 10px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}