/* =========================
   Ascend Dynamix — Style.css
   ========================= */

/* Core Theme Variables */
:root {
  --bg: #0b0f1a;
  --bg-alt: #0f1523;
  --text: #e6eef8;
  --muted: #9fb0c7;
  --border: #1e293b;
  --indigo: #6b6fff;
  --copper: #c7854b;
  --card: #0f1523;
  --shadow: 0 10px 28px rgba(0,0,0,.35);
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --max-width: 960px;
  --space: clamp(16px,3vw,24px);
}

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

body.adx {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

/* Containers */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space);
}

/* Header / Nav */
header {
  background: var(--bg-alt);
  box-shadow: var(--shadow);
  margin-bottom: var(--space);
}

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

nav img.logo {
  height: 48px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

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

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.hero-ctas a {
  display: inline-block;
  margin-right: 1rem;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--r-md);
}

/* Buttons */
.btn,
.btn-alt {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn {
  background: var(--indigo);
  color: #fff;
}

.btn:hover {
  background: var(--copper);
}

.btn-alt {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--indigo);
}

.btn-alt:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* Section Headings */
section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.value-item {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  text-align: center;
}

.value-item span {
  font-size: 2rem;
}

/* Product Section */
.product-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  margin-top: 1rem;
}

.product-text {
  flex: 1 1 300px;
}

.product-image img {
  max-width: 200px;
}

/* =========================
   Forms (Option B: side-by-side labels/inputs)
   ========================= */

.waitlist-form,
.collab-form {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
}

/* Label wraps label text + input side-by-side */
.waitlist-form label,
.collab-form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text);
}

.waitlist-form label input,
.waitlist-form label textarea,
.collab-form label input,
.collab-form label textarea {
  flex: 1;
  margin-left: 1rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  color: var(--text);
}

.waitlist-form textarea,
.collab-form textarea {
  resize: vertical;
}

.waitlist-form button,
.collab-form button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border: none;
  background: var(--indigo);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.waitlist-form button:hover,
.collab-form button:hover {
  background: var(--copper);
}

/* Footer */
footer {
  background: var(--bg-alt);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer nav ul li a {
  color: var(--text);
  text-decoration: none;
}

footer nav ul li a:hover {
  color: var(--copper);
}

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

/* Responsive Tweaks */
@media (max-width: 640px) {
  .hero {
    flex-direction: column;
  }

  .product-section {
    flex-direction: column;
  }

  .waitlist-form label,
  .collab-form label {
    flex-direction: column;
    align-items: flex-start;
  }

  .waitlist-form label input,
  .waitlist-form label textarea,
  .collab-form label input,
  .collab-form label textarea {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
  }
}
/* =========================
   Mobile polish (add to bottom)
   ========================= */
@media (max-width: 640px) {
  /* Global rhythm */
  :root {
    --space: 18px;               /* tighter, consistent spacing */
  }
  body.adx {
    -webkit-text-size-adjust: 100%;
  }

  /* Header / Nav */
  header { margin-bottom: var(--space); }
  nav { gap: 12px; }
  nav img.logo { height: 40px; }
  .nav-links {
    flex-wrap: wrap;             /* wrap instead of squishing */
    gap: 10px 16px;
    justify-content: flex-end;
  }
  .nav-links a { font-size: 0.95rem; }

  /* Hero */
  .hero { gap: 1.25rem; }
  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .hero-text p { font-size: 1rem; }
  .hero-ctas a {
    width: 100%;                 /* full-width tap targets */
    text-align: center;
    margin: 0 0 10px 0;
    padding: 0.9rem 1rem;
  }
  .hero-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;  /* single column for readability */
    gap: 14px;
  }
  .value-item { text-align: left; }

  /* Product section */
  .product-section { gap: 1.25rem; }
  .product-image img {
    max-width: 160px;
  }

  /* Forms — stacked, comfy, and thumb-friendly */
  .waitlist-form,
  .collab-form {
    padding: 14px;
  }

  /* Stack label text above fields on mobile */
  .waitlist-form label,
  .collab-form label {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 14px;
    font-size: 0.98rem;
  }

  .waitlist-form label input,
  .waitlist-form label textarea,
  .collab-form label input,
  .collab-form label textarea {
    width: 100%;
    margin-left: 0;              /* remove desktop offset */
    margin-top: 0;
    padding: 14px;               /* bigger touch area */
    min-height: 46px;            /* iOS-friendly target size */
    font-size: 16px;             /* prevents iOS zoom on focus */
  }

  .waitlist-form textarea,
  .collab-form textarea {
    min-height: 110px;
  }

  .waitlist-form button,
  .collab-form button {
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
  }
/* PATENT ANNOUNCEMENTS */
.adx-announcements {
  background: var(--bg-alt);
  color: var(--text);
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.adx-announcements h2 {
  font-size: 1.8rem;
  color: var(--indigo);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.patent-card {
  background: var(--card);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin: 1.5rem auto;
  max-width: 860px;
  text-align: left;
  transition: transform 0.3s ease;
}

.patent-card:hover {
  transform: translateY(-4px);
}

.patent-card h3 {
  color: var(--copper);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.patent-card .patent-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.patent-card p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.patent-card.secondary {
  background: var(--bg);
}

.adx-btn {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-md);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.adx-btn:hover {
  background: var(--copper);
}
footer .patent-note {
  font-size: 0.85rem;
  color: #9fb0c7; /* muted brand color */
  text-align: center;
  margin-top: 10px;
}
footer .patent-note strong {
  color: #e6eef8; /* highlight against dark background */
}
