/* Kruze v2 – Cinematic Dark Luxury + Tech Startup clarity */
:root {
  --bg-deep: #0B0F19;
  --bg-mid: #111827;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);
  --accent: #FF6B2C;
  --accent-hover: #FF7E45;
  --text: #F9FAFB;
  --text-muted: #9CA3AF;
  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --space-section: clamp(4rem, 10vw, 6rem);
  --radius: 12px;
  --radius-lg: 20px;
  --glow: 0 0 40px rgba(255, 107, 44, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Nav */
.nav-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
}
.nav-v2 .logo {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.nav-v2 .links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-v2 .links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-v2 .links a:hover { color: var(--accent); }
.nav-v2 .cta-nav {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-v2 .cta-nav:hover {
  background: var(--accent-hover);
  box-shadow: var(--glow);
}

/* Hero — dark, minimal, premium. Large phone, soft shadow, no harsh border. */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 8%;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #0e1b2c, #050a14 70%);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.hero-left {
  max-width: 520px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  animation: heroFadeUp 0.8s ease-out;
}
.hero-desc {
  color: #9aa6b2;
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 32px;
  animation: heroFadeUp 0.8s ease-out 0.1s both;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeUp 0.8s ease-out 0.2s both;
}
.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #ff4d2d 0%, #e63900 100%);
  padding: 16px 28px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(255, 77, 45, 0.25);
}
.hero-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 77, 45, 0.35);
}
.hero-buttons .btn-secondary {
  border: 1px solid #2a3443;
  padding: 16px 28px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #3d4a5c;
  transform: translateY(-1px);
}
.hero-right {
  flex-shrink: 0;
  animation: heroPhoneIn 1s ease-out 0.2s both;
}
.phone-wrap {
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: transparent;
}
.hero-phone {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
.phone-wrap,
.hero-phone {
  width: min(580px, 48vw);
  max-width: 100%;
}
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-left { max-width: none; }
  .hero-buttons { justify-content: center; }
  .hero-right { order: -1; }
  .phone-wrap,
  .hero-phone { width: min(380px, 88vw); }
  .phone-wrap { border-radius: 36px; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroPhoneIn {
  from { opacity: 0; transform: translateX(24px) scale(0.96); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 1rem;
  border-bottom: var(--border-subtle);
  background: var(--bg-mid);
}
.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-bar span::before { content: '✔'; color: var(--accent); font-weight: 700; }

/* Section common */
.section-v2 {
  padding: var(--space-section) 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-v2 h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.section-v2 .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 107, 44, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card .icon.icon-svg {
  color: var(--accent);
}
.feature-card .icon.icon-svg svg {
  width: 24px;
  height: 24px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Cinematic section — app preview with fade */
.cinematic {
  background: var(--bg-mid);
  padding: var(--space-section) 1.5rem;
}
.cinematic .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 768px) { .cinematic .inner { grid-template-columns: 1fr; } }
.cinematic-copy h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
}
.cinematic-copy p { color: var(--text-muted); font-size: 1.05rem; }
.cinematic-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.app-mock {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: #0B0B0D;
  max-width: 300px;
  width: 100%;
  font-family: var(--font-body);
  opacity: 0;
  animation: cinematicFadeIn 0.7s ease-out 0.2s forwards;
}
.discover-mock .app-mock-header {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.app-mock-list { padding: 8px; }
.app-mock-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  display: block;
}
.app-mock-card:last-child { margin-bottom: 0; }
.app-mock-title {
  display: block;
  color: #f5f5f5;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.app-mock-meta {
  display: block;
  color: #9aa6b2;
  font-size: 0.8rem;
}
@keyframes cinematicFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }
.step {
  text-align: center;
  padding: 1.5rem;
}
.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* Social proof */
.social-proof {
  text-align: center;
  padding: var(--space-section) 1.5rem;
  background: var(--bg-mid);
  border-top: var(--border-subtle);
}
.social-proof .tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.social-proof .sub { color: var(--text-muted); font-size: 1rem; }

/* Final CTA */
.final-cta {
  padding: var(--space-section) 1.5rem;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.final-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }
.final-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ff4d2d 0%, #e63900 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 77, 45, 0.25);
  font-weight: 700;
  border-radius: var(--radius);
  font-size: 1.1rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.final-cta .btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.03);
  box-shadow: var(--glow);
}

/* Footer v2 */
.footer-v2 {
  padding: 2rem 1.5rem;
  border-top: var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-v2 a { color: var(--text-muted); text-decoration: none; margin: 0 0.75rem; transition: color 0.2s; }
.footer-v2 a:hover { color: var(--accent); }
.footer-v2 .copy { margin-top: 1rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Inner page layout (about, contact, etc.) */
.page-v2 { padding-top: 5rem; min-height: 100vh; }
.page-v2 .wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.page-v2 h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--text);
}
.page-v2 h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.page-v2 p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.page-v2 a { color: var(--accent); text-decoration: none; }
.page-v2 a:hover { text-decoration: underline; }
.page-v2 .card-v2 {
  background: var(--bg-card);
  border: var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.text-muted { color: var(--text-muted); }
