/* ==========================================
   DEVA VENDOR WAITLIST
   Fonts: Lato and Open Sans (local files)
   ========================================== */


/* 1. LOCAL FONTS */

@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Lato";
    src: url("./fonts/Lato-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("./fonts/OpenSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("./fonts/OpenSans-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("./fonts/OpenSans-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* 2. DESIGN VARIABLES */

:root {
    --pink: #FF4D88;
    --pink-dark: #C71585;
    --pink-light: #FFF0F5;

    --white: #FFFFFF;
    --background: #FFFFFF;
    --surface: #FFFFFF;

    --text-primary: #2B1111;
    --text-secondary: #666666;
    --border: #EDE3E6;

    --success: #76B24D;
    --warning: #FCC317;
    --error: #E92929;
    --info: #1D2BE2;

    --font-heading: "Lato", Arial, sans-serif;
    --font-body: "Open Sans", Arial, sans-serif;

    --radius-small: 7px;
    --radius-input: 10px;
    --radius-medium: 16px;
    --radius-large: 20px;
    --radius-xl: 24px;

    --shadow-card: 0 4px 16px rgba(43, 17, 17, 0.06);
    --shadow-hover: 0 8px 24px rgba(199, 21, 133, 0.12);

    --container-width: 1080px;
}


/* 3. RESET */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}


/* 4. HEADINGS AND TEXT */

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 16px;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 700;
}


/* 5. TOP ANNOUNCEMENT BAR */

.top {
    width: 100%;
    padding: 12px 16px;
    background: var(--pink);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
}


/* 6. MAIN CONTAINER */

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


/* 7. NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
}

.brand {
    color: var(--pink-dark);
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 900;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

nav a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--pink);
    border-radius: var(--radius-input);
    color: var(--pink-dark);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

nav a:hover {
    background: var(--pink);
    color: var(--white);
}


/* 8. HERO SECTION */

.hero {
    padding: 52px 0 76px;
}

.grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.grid > div:first-child {
    min-width: 0;
}

.badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 8px 14px;
    border-radius: 100px;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero h1 span {
    color: var(--pink-dark);
}

.hero p {
    max-width: 590px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.9;
}

.hero p strong {
    color: var(--text-primary);
}


/* 9. LOGO CONTAINER AND IMAGE */

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.logo img {
    display: block;
    width: 100%;
    max-width: 360px;
    max-height: 360px;
    height: auto;
    object-fit: contain;
}


/* 10. VENDOR WAITLIST SECTION */

.section {
    padding: 80px 0;
    background: var(--pink-light);
}

.center {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.center .badge {
    margin-bottom: 18px;
}

.center h2 {
    margin-bottom: 18px;
    color: var(--text-primary);
}

.sub {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}


/* 11. FORM WRAPPER */

.form-wrap {
    width: min(100%, 620px);
    margin: 40px auto 0;
    padding: 36px;
    border: 1px solid rgba(237, 227, 230, 0.9);
    border-radius: var(--radius-xl);
    background: var(--white);
    box-shadow: var(--shadow-card);
}


/* 12. FORM LAYOUT */

.form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 700;
}

.form input {
    width: 100%;
    min-height: 50px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    background: var(--white);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form input::placeholder {
    color: #999999;
    opacity: 1;
}

.form input:hover {
    border-color: #D8C4CD;
}

.form input:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 77, 136, 0.13);
}


/* 13. SUBMIT BUTTON */

.form button[type="submit"] {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-input);
    background: var(--pink);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-align: center;
    transition:
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.form button[type="submit"]:hover:not(:disabled) {
    background: var(--pink-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.form button[type="submit"]:active:not(:disabled) {
    transform: translateY(0);
}

.form button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}


/* 14. FORM NOTE */

.note {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}


/* 15. SUCCESS MESSAGE */

.success {
    display: none;
    padding: 32px 20px;
    border: 1px solid rgba(118, 178, 77, 0.25);
    border-radius: var(--radius-medium);
    background: #F5FAF1;
    color: var(--text-primary);
    text-align: center;
}

.success h3 {
    margin-bottom: 12px;
    color: #426F29;
}

.success p {
    color: var(--text-secondary);
    font-size: 15px;
}


/* 16. FOOTER */

footer {
    padding: 42px 20px;
    border-top: 1px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    text-align: center;
}

footer .brand {
    margin-bottom: 12px;
    font-size: 30px;
}

footer p {
    margin-bottom: 8px;
    font-size: 14px;
}

footer strong {
    color: var(--pink-dark);
}


/* 17. TABLET RESPONSIVENESS */

@media (max-width: 900px) {
    .hero {
        padding: 42px 0 60px;
    }

    .grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 32px;
    }

    .logo img {
        max-width: 300px;
        max-height: 300px;
    }

    .form-wrap {
        padding: 30px;
    }
}


/* 18. MOBILE RESPONSIVENESS */

@media (max-width: 650px) {
    body {
        font-size: 15px;
    }

    .container {
        width: 90%;
    }

    .top {
        padding: 10px 12px;
        font-size: 11px;
        letter-spacing: 0.07em;
    }

    nav {
        gap: 12px;
        padding: 18px 0;
    }

    nav .brand {
        font-size: 29px;
    }

    nav a {
        padding: 9px 12px;
        font-size: 12px;
        text-align: center;
    }

    .hero {
        padding: 34px 0 48px;
    }

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

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
    }

    .hero p {
        font-size: 15px;
        line-height: 1.8;
    }

    .logo img {
        max-width: 260px;
        max-height: 260px;
    }

    .section {
        padding: 56px 0;
    }

    .center h2 {
        font-size: 2rem;
    }

    .sub {
        font-size: 14px;
    }

    .form-wrap {
        margin-top: 28px;
        padding: 24px 20px;
        border-radius: var(--radius-large);
    }

    .form input {
        min-height: 48px;
        margin-bottom: 20px;
    }

    .form button[type="submit"] {
        min-height: 52px;
        font-size: 12px;
    }

    footer {
        padding: 32px 18px;
    }
}


/* 19. SMALL MOBILE SCREENS */

@media (max-width: 380px) {
    .container {
        width: 92%;
    }

    nav {
        align-items: flex-start;
    }

    nav .brand {
        font-size: 25px;
    }

    nav a {
        max-width: 175px;
        font-size: 11px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .form-wrap {
        padding: 20px 16px;
    }
}


/* 20. ACCESSIBILITY: REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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


/* ===== HEADER LOGO ===== */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 115px;
  height: auto;
  max-height: 65px;
  object-fit: contain;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid #FF4D88;
  border-radius: 10px;
  color: #C71585;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-button:hover {
  background-color: #FF4D88;
  color: #FFFFFF;
}

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

.hero {
  padding: 65px 0 85px;
}

.hero-content {
  width: 100%;
  max-width: 100%;
}

.hero-content h1 {
  max-width: 1000px;
  margin: 28px 0;
  font-family: "Lato", sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  color: #C71585;
}

.hero-content > p {
  max-width: 1000px;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #666666;
}

.hero-content .hero-highlight {
  margin-top: 22px;
  color: #241313;
  font-weight: 700;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 15px 24px;
  border-radius: 10px;
  background-color: #FF4D88;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.hero-button:hover {
  background-color: #C71585;
}

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

footer .footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-brand img {
  display: block;
  width: 125px;
  height: auto;
  max-height: 65px;
  object-fit: contain;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  nav {
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand img {
    width: 90px;
  }

  .nav-button {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .hero-content h1 {
    margin: 24px 0;
    font-size: clamp(2.3rem, 8vw, 3.5rem);
    letter-spacing: -0.8px;
  }

  .hero-content > p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .footer-brand img {
    width: 105px;
  }
}

@media (max-width: 420px) {
  nav {
    align-items: flex-start;
  }

  .brand img {
    width: 75px;
  }

  .nav-button {
    max-width: 175px;
    text-align: center;
    font-size: 0.8rem;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }
}


/* ==================================
   RESPONSIVE DESIGN: TABLETS & IPADS
================================== */

@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 90%;
    max-width: 100%;
  }

  nav {
    gap: 20px;
  }

  .hero {
    padding: 55px 0 65px;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 5.5vw, 3.8rem);
  }

  .hero-content > p {
    max-width: 850px;
  }

  .section {
    padding: 65px 0;
  }

  .form-wrap {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==================================
   RESPONSIVE DESIGN: PHONES
================================== */

@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .top {
    padding: 12px 10px;
    font-size: 0.72rem;
    text-align: center;
    letter-spacing: 0.5px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand img {
    width: 85px;
    max-width: 100%;
    height: auto;
  }

  .nav-button {
    max-width: 65%;
    white-space: normal;
    text-align: center;
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .hero {
    width: 100%;
    padding: 40px 0 55px;
  }

  .hero-content {
    width: 100%;
    min-width: 0;
  }

  .hero-content .badge {
    display: inline-block;
    max-width: 100%;
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.7px;
    overflow-wrap: break-word;
  }

  .hero-content > p {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-button {
    max-width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

  /* Waitlist section */

  .section {
    width: 100%;
    padding: 48px 0;
  }

  .center {
    width: 100%;
  }

  .center h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.2;
  }

  .sub {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.7;
  }

  .form-wrap {
    width: 100%;
    max-width: 100%;
    margin: 25px auto 0;
  }

  .form {
    width: 100%;
    min-width: 0;
  }

  .form input,
  .form select,
  .form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .form button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    line-height: 1.5;
  }

  .note {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  /* Footer */

  footer {
    width: 100%;
    padding: 35px 20px;
    text-align: center;
  }

  .footer-brand img {
    width: 100px;
    max-width: 100%;
    height: auto;
  }

  footer p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* ==================================
   RESPONSIVE DESIGN: SMALL PHONES
================================== */

@media (max-width: 380px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .top {
    font-size: 0.65rem;
  }

  .brand img {
    width: 70px;
  }

  .nav-button {
    max-width: 68%;
    font-size: 0.75rem;
    padding: 9px 10px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-button {
    width: 100%;
  }
}
