/* ═══════════════════════════════════════════════════════════════════════════════
   METALLIC.V1 LANDING PAGE — CSS
   Mobile-first architecture. Landing page styles only.
   ═══════════════════════════════════════════════════════════════════════════════ */

:root {
  --em: #10b981;
  --em-bright: #34d399;
  --text: #f0f4f8;
  --text-dim: #b0bec8;
  --text-mute: #4a6070;
  --border: rgba(52,211,153,0.15);
  --surface: rgba(52,211,153,0.05);
  --r-sm: 6px;
  --r-md: 8px;
  --r-xl: 12px;
  --mono: "JetBrains Mono", monospace;
  --shell: 1440px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: #000;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════════ */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(3,5,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  height: auto;
}

.landing-nav-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  width: 100%;
  justify-content: space-between;
}

.landing-brand svg {
  width: 28px;
  height: 28px;
}

.landing-nav-links {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
  width: 100%;
}

.landing-nav-links button {
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.12s;
  color: var(--text-dim);
  font-family: inherit;
  white-space: nowrap;
}

.landing-nav-links button:hover {
  color: var(--text);
  background: var(--surface);
}

.landing-nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

.landing-status {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--text-mute);
}

.landing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff548e;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: 100vh;
  margin-top: clamp(60px, 10vw, 80px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(40px, 12vw, 120px);
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-video-desktop,
.hero-video-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Mobile: show mobile video only */
@media (max-width: 768px) {
  .hero-video-mobile {
    display: block;
  }
  .hero-video-desktop {
    display: none;
  }
}

/* Desktop: show desktop video only */
@media (min-width: 769px) {
  .hero-video-desktop {
    display: block;
  }
  .hero-video-mobile {
    display: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, transparent 40%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(100% - clamp(40px, 8vw, 80px), 600px);
  padding: clamp(20px, 5vw, 40px);
  text-align: center;
}

.hero-label {
  font-size: clamp(10px, 2.5vw, 11px);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: clamp(24px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff548e;
}

.hero-h1 {
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: clamp(16px, 4vw, 20px);
  background: linear-gradient(175deg, #f0f4f8 0%, #b0bec8 50%, #4a6070 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: clamp(24px, 6vw, 40px);
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2.5vw, 12px);
  margin-top: clamp(32px, 8vw, 60px);
  margin-bottom: clamp(16px, 4vw, 20px);
  width: 100%;
}

.hero-form input {
  padding: clamp(12px, 3vw, 14px) clamp(12px, 3vw, 16px);
  background: rgba(52,211,153,0.08);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: clamp(14px, 3.5vw, 16px);
  min-height: 44px;
}

.hero-form input::placeholder {
  color: var(--text-mute);
}

.hero-form button {
  padding: clamp(12px, 3vw, 14px) clamp(20px, 5vw, 24px);
  background: linear-gradient(180deg, #0f9060 0%, #0a7048 100%);
  border: 1px solid var(--em);
  border-radius: var(--r-md);
  color: #fff;
  font-size: clamp(13px, 3vw, 14px);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 44px;
}

.hero-form button:hover {
  box-shadow: 0 8px 40px -4px rgba(16,185,129,0.8);
}

.hero-cta-text {
  font-size: clamp(11px, 2.5vw, 12px);
  color: var(--text-mute);
  margin-top: clamp(8px, 2vw, 12px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════════════════ */

.landing-section {
  padding: clamp(40px, 10vw, 60px) clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
  background: #000;
}

.landing-section-inner {
  max-width: min(100%, var(--shell));
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-size: clamp(10px, 2.5vw, 11px);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  margin-bottom: clamp(12px, 3vw, 20px);
}

.section-title {
  font-size: clamp(28px, 5.5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.025em;
  margin-bottom: clamp(12px, 3vw, 20px);
  background: linear-gradient(175deg, #f0f4f8 0%, #b0bec8 50%, #4a6070 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: clamp(14px, 3.5vw, 16px);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: clamp(24px, 6vw, 40px);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   AGENTS CAROUSEL
   ═══════════════════════════════════════════════════════════════════════════════ */

.agents-carousel {
  margin-top: 60px;
  touch-action: pan-y;
  user-select: none;
}

.agent-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.agent-image {
  width: 100%;
  aspect-ratio: 1;
  max-width: 500px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(52,211,153,0.05);
}

.agent-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agent-info {
  padding: 0;
}

.agent-counter {
  font-size: 14px;
  font-family: var(--mono);
  color: var(--em-bright);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.agent-name {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  background: linear-gradient(175deg, #f0f4f8 0%, #b0bec8 50%, #4a6070 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.agent-mode {
  font-size: 13px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--em-bright);
  margin-bottom: 20px;
}

.agent-description {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.carousel-btn {
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
  font-family: inherit;
}

.carousel-btn:hover {
  color: var(--text);
  border-color: var(--em-bright);
}

.carousel-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.dot.active {
  background: var(--em-bright);
  width: 28px;
  border-radius: 5px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRODUCTS LIST (DETAILED)
   ═══════════════════════════════════════════════════════════════════════════════ */

.products-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 60px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail:nth-child(even) {
  direction: rtl;
}

.product-detail:nth-child(even) > * {
  direction: ltr;
}

.product-detail-image {
  width: 100%;
  aspect-ratio: 1.2;
  max-width: 600px;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-content {
  padding: 0;
}

.product-detail-tag {
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--em-bright);
  margin-bottom: 12px;
}

.product-detail-name {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
  background: linear-gradient(175deg, #f0f4f8 0%, #b0bec8 50%, #4a6070 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-detail-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════════════════════ */

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 600px;
  margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  background: rgba(52,211,153,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-mute);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE: TABLET (768px)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .agent-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .agent-image {
    order: -1;
  }

  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .agent-name {
    font-size: 56px;
  }

  .product-detail-name {
    font-size: 42px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE: DESKTOP (1024px+)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
  .agent-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .agent-name {
    font-size: 64px;
  }

  .product-detail-name {
    font-size: 48px;
  }
}

.flagship-card {
  background: linear-gradient(135deg, rgba(52,211,153,0.05), transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.3s;
}

.flagship-card:hover {
  border-color: var(--em-bright);
  box-shadow: 0 20px 60px rgba(16,185,129,0.15);
}

.flagship-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(16,185,129,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 14px;
  overflow: hidden;
  min-height: 240px;
}

.flagship-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flagship-content {
  padding: 32px 20px;
}

.flagship-tag {
  font-size: 11px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--em-bright);
  margin-bottom: 12px;
}

.flagship-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.flagship-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.flagship-button {
  padding: 12px 20px;
  background: linear-gradient(180deg, #0f9060 0%, #0a7048 100%);
  border: 1px solid var(--em);
  border-radius: var(--r-md);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
}

.flagship-button:hover {
  box-shadow: 0 8px 40px -4px rgba(16,185,129,0.8);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   VALUES SECTION
   ═══════════════════════════════════════════════════════════════════════════════ */

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  padding: 24px 20px;
  background: linear-gradient(135deg, rgba(52,211,153,0.05), transparent);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.value-number {
  font-size: 32px;
  font-weight: 300;
  color: var(--em-bright);
  margin-bottom: 8px;
}

.value-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════════ */

.landing-footer {
  background: #000;
  border-top: 1px solid var(--border);
  padding: clamp(40px, 10vw, 60px) clamp(16px, 4vw, 40px) clamp(30px, 8vw, 40px);
}

.landing-footer-inner {
  max-width: min(100%, var(--shell));
  margin: 0 auto;
  width: 100%;
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(40px, 10vw, 60px);
}

.footer-logo img {
  height: clamp(160px, 25vw, 320px);
  width: auto;
  max-width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: clamp(16px, 3vw, 24px) clamp(12px, 2vw, 16px);
  margin-bottom: clamp(30px, 8vw, 40px);
  font-size: clamp(12px, 2.5vw, 13px);
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-dim);
  transition: color 0.15s;
  font-size: 13px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-mute);
  flex-wrap: wrap;
}

.footer-status {
  color: var(--em-bright);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE: TABLET (768px)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .landing-nav {
    height: 60px;
  }

  .landing-nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
    height: 100%;
  }

  .landing-brand {
    width: auto;
    justify-content: flex-start;
  }

  .landing-nav-links {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
    width: auto;
  }

  .landing-nav-links button {
    font-size: 13px;
  }

  .landing-nav-right {
    margin-left: auto;
  }

  .landing-section {
    padding: 80px 40px;
  }

  .hero-content {
    padding: 60px 40px;
  }

  .flagship-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
  }

  .footer-logo img {
    height: 280px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE: DESKTOP (1024px+)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
  .landing-nav-inner {
    padding: 0 40px;
  }

  .landing-section {
    padding: 100px 40px;
  }

  .hero-content {
    padding: 80px 40px;
    text-align: left;
  }

  .hero-form {
    flex-direction: row;
    max-width: 500px;
  }

  .hero-form input {
    flex: 1;
  }

  .hero-form button {
    padding: 12px 32px;
  }

  .flagship-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .flagship-image {
    aspect-ratio: 1;
  }

  .footer-logo img {
    height: 350px;
  }

  .footer-bottom {
    justify-content: space-between;
    flex-wrap: nowrap;
  }
}
