/* ===========================
   Azthena.ai — Brand Styles
   =========================== */

@import url("https://use.typekit.net/gvl2skd.css");

:root {
  /* Brand palette */
  --beige: #f7f5f5;
  --blue-gray: #7497bd;
  --gray: #6e7682;
  --light-blue: #8eb0d8;
  --teal: #43658a;
  --navy: #303547;
  --medium-blue: #5b7ea4;
  --amber: #f2aa5e;

  /* Semantic tokens */
  --color-primary: var(--teal);
  --color-primary-dark: var(--navy);
  --color-primary-light: var(--blue-gray);
  --color-accent: var(--light-blue);
  --color-accent-warm: var(--amber);
  --color-text: var(--navy);
  --color-text-muted: var(--gray);
  --color-bg: #ffffff;
  --color-bg-warm: #f7f5f5;
  --color-bg-cool: #f0f5fa;
}

html {
  scroll-behavior: smooth;
}

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

body {
  font-family:
    "montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1,
h2 {
  font-family: "dejanire-headline", serif;
}

/* ===========================
   Fade-in Animation
   =========================== */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Navigation
   =========================== */

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(247, 245, 245, 0.5);
}

nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-login {
  padding: 8px 22px;
  border: 1.5px solid var(--color-primary);
  border-radius: 6px;
  color: var(--color-primary) !important;
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-login:hover {
  background: var(--color-primary);
  color: #fff !important;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

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

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

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

/* ===========================
   Coming Soon Banner
   =========================== */

.coming-soon-banner {
  background: var(--color-primary-dark);
  text-align: center;
  padding: 12px 24px;
}

.coming-soon-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.coming-soon-banner a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.coming-soon-banner a:hover {
  color: #fff;
}

/* ===========================
   Shared
   =========================== */

.section-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 52px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Buttons
   =========================== */

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-accent-warm);
  color: var(--color-primary-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--amber);
  filter: brightness(0.9);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.15s;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ===========================
   Hero
   =========================== */

.hero {
  background: var(--color-bg);
  padding: 80px 24px 60px;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-primary-dark);
}
h2 {
  font-size: 3rem;
}

.hero-text h1 span {
  color: var(--color-primary);
}

.hero-text > p {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-illustration {
  flex-shrink: 0;
  width: 420px;
}

.hero-illustration img {
  width: 100%;
  height: auto;
}

/* ===========================
   Value Propositions
   =========================== */

.values {
  background: var(--color-bg-warm);
  padding: 100px 0;
}

.values h2 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  padding: 36px 28px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(247, 245, 245, 0.6);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(48, 53, 71, 0.08);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--color-primary-light);
  color: var(--beige);
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.value-card p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* ===========================
   How It Works
   =========================== */

.how-it-works {
  position: relative;
  background: var(--color-bg);
  padding: 100px 0;
  overflow: hidden;
}

.how-it-works-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1400px;
  opacity: 0.06;
  pointer-events: none;
}

.how-it-works-bg img {
  width: 100%;
  height: auto;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
  position: relative;
}

.how-it-works .section-subtitle {
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-bg-cool);
  backdrop-filter: blur(4px);
  border-radius: 12px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===========================
   Platform / Product Categories
   =========================== */

.platform {
  background: var(--color-bg-cool);
  padding: 100px 0;
}

.platform h2 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.platform-card {
  padding: 40px 32px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(247, 245, 245, 0.5);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(48, 53, 71, 0.08);
}

.platform-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--color-primary-light);
  color: var(--beige);
}

.platform-icon svg {
  width: 26px;
  height: 26px;
}

.platform-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.platform-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   Video Section
   =========================== */

.video-section {
  background: var(--color-bg-warm);
  padding: 100px 0;

  background: #2a6796;
  background: linear-gradient(
    0deg,
    var(--color-bg-warm) 0%,
    var(--color-bg-warm) 50%,
    #ffffff 50%,
    #ffffff 100%
  );
}

.video-section h2 {
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(48, 53, 71, 0.12);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===========================
   Contact
   =========================== */

.contact {
  background: var(--color-primary-dark);
  padding: 100px 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 12px;
  color: #fff;
}

.contact .section-subtitle {
  color: var(--color-accent);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid rgba(247, 245, 245, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.12);
}

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

.btn-submit {
  align-self: flex-start;
  font-family: inherit;
  padding: 14px 40px;
}

.form-status {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-status--success {
  color: #7fb3db;
}

.form-status--error {
  color: #e87c6a;
}

.contact-fallback {
  margin-top: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.contact-fallback a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-fallback a:hover {
  color: #fff;
}

/* ===========================
   Footer
   =========================== */

footer {
  text-align: center;
  padding: 36px 24px;
  color: var(--blue-gray);
  font-size: 0.85rem;
  background: var(--color-bg);
  border-top: 1px solid var(--beige);
}

footer a {
  color: var(--color-primary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===========================
   Responsive — Tablet
   =========================== */

@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-illustration {
    width: 320px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    gap: 24px;
  }

  .platform-grid {
    gap: 20px;
  }
}

/* ===========================
   Responsive — Mobile
   =========================== */

@media (max-width: 768px) {
  /* Mobile menu */
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 105;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* Hero */
  .hero {
    padding: 48px 20px 40px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 32px;
    text-align: center;
  }

  .hero-illustration {
    width: 260px;
  }

  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-text > p {
    font-size: 1.05rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Values */
  .values {
    padding: 64px 0;
  }

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

  .value-card {
    padding: 28px 24px;
  }

  /* How It Works */
  .how-it-works {
    padding: 64px 0;
  }

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

  /* Platform */
  .platform {
    padding: 64px 0;
  }

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

  /* Video */
  .video-section {
    padding: 64px 0;
  }

  /* Contact */
  .contact {
    padding: 64px 0;
  }

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

  .btn-submit {
    align-self: stretch;
    text-align: center;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 36px;
  }
}
