/* ============================================================
   YOID Power — style.css
   Font: Google Inter (400, 500, 600, 700, 800, 900)
   Design: Pixel-accurate from Figma "Modern Product Launch"
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --color-dark:    #0C0C14;
  --color-dark-2:  #13131F;
  --color-pink:    #E8175D;
  --color-purple:  #7B2FBE;
  --color-white:   #FFFFFF;
  --color-light:   #F5F5F5;
  --color-muted:   #888888;
  --color-border:  #E0E0E0;
  --color-card-bg: #111120;

  --font:          'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:         72px;
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.25s ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ── Utility ────────────────────────────────────────────────── */
.text-pink { color: var(--color-pink); }

.btn-pink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-pink);
  color: var(--color-white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-pink:hover {
  background: #c4124e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 23, 93, 0.35);
}
.btn-pink:active { transform: translateY(0); }

/* Image placeholders */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
  border-radius: var(--radius);
  overflow: hidden;
}
.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
.yoid-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--color-dark);
  transition: box-shadow var(--transition), background var(--transition);
}
.yoid-nav.scrolled {
  background: rgba(12, 12, 20, 0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo:hover { opacity: 0.9; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--color-white); }

.nav-cta { flex-shrink: 0; font-size: 12px; padding: 11px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Geometric background shapes matching Figma diagonal design */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.shape {
  position: absolute;
  border-radius: 2px;
}

/* Main diagonal gradient block — right side */
.shape-1 {
  width: 65%;
  height: 100%;
  right: -5%;
  top: 0;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-pink) 100%);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.18;
}

/* Brighter accent shape */
.shape-2 {
  width: 45%;
  height: 70%;
  right: 0;
  top: 0;
  background: linear-gradient(160deg, var(--color-pink) 0%, rgba(123, 47, 190, 0.6) 100%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 80%);
  opacity: 0.22;
}

/* Bottom left accent */
.shape-3 {
  width: 40%;
  height: 40%;
  left: -5%;
  bottom: -10%;
  background: radial-gradient(ellipse at center, rgba(123,47,190,0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content { display: flex; flex-direction: column; gap: 28px; }

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-white);
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 460px;
}

.hero-cta { align-self: flex-start; padding: 15px 36px; font-size: 14px; }

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 23, 93, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(232, 23, 93, 0.2);
}

.feature-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Hero device image */
.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-device-img {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(232,23,93,0.25));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-device-placeholder {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/5;
  background: rgba(232,23,93,0.07);
  border: 1px dashed rgba(232,23,93,0.25);
  border-radius: var(--radius-lg);
  min-height: 400px;
}

/* ── SHARED SECTION STYLES ─────────────────────────────────── */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.section-title--light { color: var(--color-white); }

.section-sub {
  font-size: 16px;
  color: var(--color-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-sub--light { color: rgba(255,255,255,0.55); }

/* ── STATIONS ───────────────────────────────────────────────── */
.stations {
  padding: 100px 0;
  background: var(--color-white);
}

.stations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.station-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.station-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: rgba(232,23,93,0.25);
}

.station-card--featured {
  border-color: var(--color-pink);
  box-shadow: 0 8px 40px rgba(232,23,93,0.15);
  transform: translateY(-8px);
}
.station-card--featured:hover {
  transform: translateY(-14px);
}

.station-img-wrap {
  background: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.station-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform 0.4s ease;
}
.station-card:hover .station-img { transform: scale(1.04); }

.station-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
}

.station-mock-screen {
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.station-mock-logo {
  font-size: 32px;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.station-info {
  padding: 28px;
  background: var(--color-white);
}

.station-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pink);
  background: rgba(232,23,93,0.08);
  border: 1px solid rgba(232,23,93,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.station-badge--featured {
  background: var(--color-pink);
  color: white;
  border-color: var(--color-pink);
}

.station-name {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.station-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}

/* ── COLLECTION ─────────────────────────────────────────────── */
.collection {
  padding: 100px 0;
  background: var(--color-dark);
  overflow: hidden;
}

.collection .section-container { margin-bottom: 0; }
.collection .section-header { margin-bottom: 48px; }

/* Swiper customisation */
.collection-swiper {
  width: 100%;
  padding: 20px 40px 48px !important;
  cursor: grab;
}
.collection-swiper:active { cursor: grabbing; }

.swiper-slide {
  width: 260px !important;
  flex-shrink: 0;
}

.collection-card {
  width: 260px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #111120;
  position: relative;
  transition: transform var(--transition);
}
.collection-card:hover { transform: translateY(-4px) scale(1.02); }

.collection-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #111120 0%, #0a0a14 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 20px 24px;
  gap: 0;
}

.card-slogan {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-white);
  text-align: center;
  letter-spacing: -0.01em;
}

.card-character {
  font-size: 64px;
  line-height: 1;
}

.card-logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--color-pink);
  text-transform: uppercase;
}

/* Swiper arrows */
.collection-prev,
.collection-next {
  color: var(--color-white) !important;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  transition: background var(--transition);
}
.collection-prev:hover,
.collection-next:hover { background: var(--color-pink) !important; }

.collection-prev::after,
.collection-next::after { font-size: 14px !important; font-weight: 700 !important; }

/* ── CONTACT / CTA ──────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--color-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left */
.contact-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.feat-check {
  width: 28px;
  height: 28px;
  background: var(--color-pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Right — Form */
.yoid-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 14px;
  color: var(--color-dark);
  background: #fafafa;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(232,23,93,0.1);
  background: var(--color-white);
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 14px;
  border-radius: var(--radius);
  position: relative;
  gap: 10px;
}

/* Spinner animation */
.btn-loader svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Form message */
.form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.form-message.success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40,167,69,0.25);
}
.form-message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220,53,69,0.25);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.yoid-footer {
  background: linear-gradient(160deg, #0c0c14 0%, #131325 60%, #1a0d2e 100%);
  padding: 80px 0 0;
  color: var(--color-white);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────────── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* Tablet — ≤ 992px */
@media (max-width: 992px) {
  .nav-container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Mobile nav open state */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--color-dark);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .nav-links.open + .nav-cta {
    display: block;
    position: fixed;
    top: calc(var(--nav-h) + 140px);
    left: 24px; right: 24px;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 60px 24px 60px;
  }
  .hero-content { align-items: center; }
  .hero-title { font-size: 40px; }
  .hero-sub { max-width: none; }
  .hero-features { align-items: flex-start; max-width: 400px; }
  .hero-image-wrap { order: -1; }
  .hero-device-img { max-width: 320px; }

  .stations-grid { grid-template-columns: 1fr; gap: 24px; }
  .station-card--featured { transform: none; }

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

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .section-container { padding: 0 24px; }
  .collection-swiper { padding: 20px 24px 48px !important; }
}

/* Mobile — ≤ 576px */
@media (max-width: 576px) {
  :root { --nav-h: 64px; }

  .hero { min-height: calc(100svh); }
  .hero-title { font-size: 34px; }
  .hero-cta { width: 100%; text-align: center; }
  .hero-features { gap: 16px; }

  .stations { padding: 72px 0; }
  .collection { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .yoid-footer { padding: 60px 0 0; }

  .yoid-form { padding: 28px 20px; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .swiper-slide { width: 220px !important; }
  .collection-card { width: 220px; }
}
