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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #1A1C1E;
  color: #E2E2E2;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(168, 199, 250, 0.3);
  color: #fff;
}

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

a {
  color: #A8C7FA;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c5dafc;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(26, 28, 30, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: #E2E2E2;
}

.nav-logo img {
  border-radius: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #A8C7FA 0%, #7BA8E8 100%);
  color: #1A1C1E;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #bcd4fb 0%, #8db4f0 100%);
  color: #1A1C1E;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(168, 199, 250, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 16px;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 24px 64px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168, 199, 250, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(168, 199, 250, 0.04) 0%, transparent 50%);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 560px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-highlight {
  background: linear-gradient(135deg, #A8C7FA 0%, #7BA8E8 50%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: #9CA3AF;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.play-badge-link {
  display: inline-block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.play-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.play-badge {
  height: auto;
  border-radius: 8px;
}

.byok-note {
  font-size: 14px;
  color: #9CA3AF;
  margin: 0;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(168, 199, 250, 0.1);
  color: #A8C7FA;
  border: 1px solid rgba(168, 199, 250, 0.15);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  position: relative;
  width: 300px;
}

.hero-phone {
  border-radius: 32px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.1),
    0 32px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 199, 250, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ===== Sections ===== */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: #9CA3AF;
}

/* ===== Steps ===== */
.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, transform 0.3s;
}

.step:hover {
  border-color: rgba(168, 199, 250, 0.2);
  transform: translateY(-4px);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(168, 199, 250, 0.15) 0%, rgba(168, 199, 250, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #A8C7FA;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.6;
}

/* ===== Art Styles Grid ===== */
.styles-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.style-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s, border-color 0.3s;
  cursor: default;
}

.style-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 199, 250, 0.25);
}

.style-card-img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #141618;
}

.style-card-label {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #E2E2E2;
}

/* ===== Gallery ===== */
.gallery {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.gallery-track {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 500px;
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-height: 500px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.gallery-img.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.gallery-img.exit-left {
  opacity: 0;
  transform: translateX(-70%) scale(0.95);
}

.gallery-img.exit-right {
  opacity: 0;
  transform: translateX(-30%) scale(0.95);
}

.gallery-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E2E2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(168, 199, 250, 0.3);
  color: #A8C7FA;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.gallery-dot.active {
  background: #A8C7FA;
  width: 24px;
  border-radius: 100px;
}

/* ===== Features Grid ===== */
.features-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s;
}

.feature:hover {
  border-color: rgba(168, 199, 250, 0.15);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 24px;
}

.cta-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 40px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(168, 199, 250, 0.06) 0%, rgba(168, 199, 250, 0.02) 100%);
  border: 1px solid rgba(168, 199, 250, 0.12);
}

.cta-icon {
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-card h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-card > p {
  font-size: 16px;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.cta-byok {
  font-size: 18px !important;
  color: #E2E2E2 !important;
  margin-bottom: 24px !important;
}

.cta-byok strong {
  color: #A8C7FA;
}

.cta-byok-detail {
  display: block;
  font-size: 13px;
  color: #9CA3AF;
  font-weight: 400;
  margin-top: 4px;
}

.cta-card .btn {
  margin-bottom: 24px;
}

.cta-footer {
  font-size: 13px;
  color: #6B7280;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.footer-brand img {
  border-radius: 8px;
}

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

.footer-links a {
  font-size: 14px;
  color: #9CA3AF;
}

.footer-links a:hover {
  color: #E2E2E2;
}

.footer-copy {
  margin-left: auto;
  font-size: 13px;
  color: #6B7280;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-mockup {
    width: 220px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-track {
    min-height: 350px;
  }

  .gallery-img {
    max-height: 350px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-mockup {
    width: 180px;
  }

  .hero-phone {
    border-radius: 24px;
  }

  .section {
    padding: 48px 16px;
  }

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

  .styles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-card h2 {
    font-size: 22px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-copy {
    margin-left: 0;
  }
}
