/* ==========================================================================
   Apple Design Language — Nexora Studio Pro
   ========================================================================== */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0c;
  --bg-tertiary: #161617;
  --surface-glass: rgba(22, 22, 23, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 255, 255, 0.2);
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --accent-blue: #0071e3;
  --accent-blue-hover: #0077ed;
  --accent-green: #30d158;
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-stack);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Navigation */
.apple-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.apple-logo {
  fill: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: -0.01em;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: 980px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-cta:hover {
  background: var(--accent-blue-hover);
}

/* Ribbon */
.ribbon-banner {
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hero Section */
.hero-section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 19px;
  font-weight: 600;
  color: #e3a857; /* Desert Titanium */
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 21px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

/* Generated Image Visual */
.hero-visual {
  margin: 0 auto 50px;
  max-width: 680px;
  position: relative;
}

.hero-render {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 113, 227, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hero-render:hover {
  transform: scale(1.015);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(227, 168, 87, 0.2);
}

.btn {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 980px;
  cursor: pointer;
  font-weight: 400;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  transform: scale(1.02);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-active);
}

/* Product Stage Canvas */
.product-stage {
  margin: 0 auto;
  max-width: 900px;
}

.stage-frame {
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.traffic-lights {
  display: flex;
  gap: 8px;
}

.light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.light.red { background: #ff5f56; }
.light.yellow { background: #ffbd2e; }
.light.green { background: #27c93f; }

.stage-title {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stage-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-green);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Stage Tabs */
.stage-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Feature Card */
.feature-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: left;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  color: #a1a1a6;
  font-family: monospace;
}

/* Action Panel */
.action-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.action-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.action-btn:hover {
  background: #e5e5ea;
  transform: scale(1.02);
}

.action-feedback {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Bento Grid */
.specs-section {
  max-width: 1024px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.specs-header {
  text-align: center;
  margin-bottom: 48px;
}

.specs-header h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.specs-header p {
  color: var(--text-secondary);
  font-size: 17px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-item {
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-large {
  grid-column: span 1;
}

.bento-metric {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 0%, #86868b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.bento-item h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
}

.bento-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Footer */
.apple-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 32px 20px;
  background: var(--bg-secondary);
}

.footer-content {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 40px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .stage-tabs {
    flex-direction: column;
  }
  .action-panel {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* Hardware Spatial Section */
.hardware-section {
  padding: 80px 20px;
  max-width: 1024px;
  margin: 0 auto;
  text-align: center;
}

.hardware-header {
  margin-bottom: 40px;
}

.hardware-header h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 8px;
  margin-bottom: 12px;
}

.hardware-header p {
  font-size: 19px;
  color: var(--text-secondary);
}

.hardware-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.hardware-render {
  max-width: 680px;
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 113, 227, 0.15);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.hardware-render:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 113, 227, 0.25);
}

.hardware-caption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
  max-width: 860px;
}

.caption-item {
  background: var(--surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(16px);
}

.caption-item strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.caption-item span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .hardware-caption {
    grid-template-columns: 1fr;
  }
  .hardware-header h2 {
    font-size: 32px;
  }
}
