/* ============================================
   Yeston Sakura RTX 5080 — Landing Page
   Apple-style, minimal, white, premium
   ============================================ */

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

:root {
  --white: #ffffff;
  --off-white: #f8f8fa;
  --gray-50: #fafafa;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-400: #a1a1a6;
  --gray-600: #6e6e73;
  --gray-800: #3a3a3c;
  --gray-900: #1d1d1f;
  --black: #000000;
  --accent: #c5a0d0;
  --accent-soft: #e8d5f0;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img, video {
  display: block;
  max-width: 100%;
}

/* --- Navbar --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

#navbar.scrolled {
  border-bottom-color: var(--gray-200);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-600);
  transition: color 0.3s var(--ease);
}

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

/* --- Hero --- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 5.5rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-title-line {
  display: block;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--gray-900);
}

.hero-title-model {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  color: var(--gray-600);
  letter-spacing: 0.01em;
}

.hero-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  background: var(--gray-900);
  border-radius: 980px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero-cta:hover {
  background: var(--black);
  transform: scale(1.04);
}

/* Hero Video */
.hero-video-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem 2rem;
  min-height: 0;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 0;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}

.scroll-hint span {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.scroll-hint-arrow {
  animation: float 2s ease-in-out infinite;
  color: var(--gray-400);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* --- Sections (common) --- */
.section {
  padding: 8rem 2rem;
  background: var(--white);
}

.section-alt {
  background: var(--gray-100);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* --- Engineering Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.card-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.card p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray-600);
}

/* --- Performance Specs --- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}

.spec {
  text-align: center;
  padding: 2rem 1rem;
}

.spec-value {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  line-height: 1.1;
}

.spec-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}

/* --- Cooling Features --- */
.features-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 160px;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
}

.feature-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.feature-text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-600);
}

/* --- Connectivity I/O --- */
.io-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.io-item {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  transition: transform 0.4s var(--ease);
}

.io-item:hover {
  transform: translateY(-2px);
}

.io-port {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.35rem;
}

.io-detail {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray-400);
}

/* --- CTA Section --- */
.section-cta {
  padding: 10rem 2rem;
  text-align: center;
  background: var(--white);
}

.cta-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  background: var(--gray-900);
  border-radius: 980px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.cta-button:hover {
  background: var(--black);
  transform: scale(1.04);
}

/* --- Footer --- */
#footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-200);
}

/* --- Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .section {
    padding: 5rem 1.5rem;
  }

  .features-row {
    flex-direction: column;
    gap: 0;
  }

  .section-cta {
    padding: 6rem 1.5rem;
  }

  .hero-content {
    padding-top: 5rem;
  }
}

/* --- Design Section --- */
.design-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.design-image-wrap {
  flex-shrink: 0;
}

.design-image {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.design-features {
  display: flex;
  flex-direction: column;
}

.design-feature {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.design-feature:first-child {
  border-top: 1px solid var(--gray-200);
}

.design-feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.design-feature-body {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--gray-600);
}

@media (max-width: 768px) {
  .design-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --- I/O Connectivity Section --- */
.io-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.io-text {
  /* text side */
}

.io-text .section-body {
  margin-bottom: 2rem;
}

.io-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.io-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray-800);
  background: var(--white);
}

.io-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Annotated image */
.io-image-wrap {
  position: relative;
}

.io-image-inner {
  position: relative;
  display: inline-block;
  width: 100%;
}

.io-image {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Callout labels — positioned over the image */
.io-callout {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  pointer-events: none;
  white-space: nowrap;
}

.io-callout-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-900);
}

.io-callout-sub {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--gray-400);
}

/* Individual positions tuned to the image */
.io-callout--metal {
  top: 8%;
  left: 2%;
}

.io-callout--vent {
  top: 32%;
  right: -2%;
}

.io-callout--dp {
  bottom: 28%;
  left: -2%;
}

.io-callout--hdmi {
  bottom: 14%;
  right: -2%;
}

@media (max-width: 768px) {
  .io-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .io-callout {
    display: none; /* hide callouts on small screens to avoid overlap */
  }
}
