:root {
  --bg-dark: #0a0a0f;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent: #ffb347;
  --accent-blue: #4facfe;
  --text-main: #f0f0f5;
  --text-dim: #a0a0b0;
  --gradient: linear-gradient(135deg, #ffb347 0%, #ff8c00 100%);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Ambient Background ── */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0a0a0f 100%);
}

.blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.2;
  border-radius: 50%;
  animation: float 20s infinite alternate;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -100px;
  left: -100px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  bottom: -150px;
  right: -150px;
  animation-delay: -5s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: #7000ff;
  top: 40%;
  left: 60%;
  animation-delay: -10s;
}

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(50px, 100px) scale(1.1); }
}

/* ── Navbar ── */
.navbar {
  padding: 24px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--text-main);
}

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  text-align: center;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 700px;
  margin: 0 auto 48px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.btn-main {
  background: var(--gradient);
  color: white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.btn-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.4);
}

.os-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.7;
}

.hero-visual {
  margin-top: 80px;
  perspective: 1000px;
}

.glass-frame {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 12px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  display: inline-block;
  max-width: 100%;
  transition: 0.5s;
}

.glass-frame img {
  border-radius: 16px;
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Features ── */
.features {
  padding: 100px 0;
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

h3 {
  font-size: 2.5rem;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 32px;
  transition: 0.3s;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-dim);
}

/* ── Guide Section ── */
.guide-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.02);
}

.split-view {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.steps {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--glass-border);
  font-family: serif;
  font-style: italic;
}

.step h5 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.step p {
  color: var(--text-dim);
}

/* ── API Guide ── */
.api-guide {
  padding: 100px 0;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 40px;
  padding: 64px;
  backdrop-filter: blur(16px);
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.api-item hstrong {
  font-size: 1.1rem;
}

.api-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.api-header img {
  width: 24px;
  height: 24px;
}

.api-item ol {
  padding-left: 20px;
  color: var(--text-dim);
}

.api-item li {
  margin-bottom: 12px;
}

.api-item a {
  color: var(--accent-blue);
  text-decoration: none;
}

/* ── Gallery ── */
.gallery {
  padding: 100px 0;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery-img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

/* ── Footer ── */
.footer {
  padding: 80px 0;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  h1 { font-size: 3rem; }
  .split-view { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
}
