/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */

:root {
  /* Palette */
  --bg:      #050505;
  --panel:   #0d0d0d;
  --panel-2: #111111;
  --border:  #1f1f1f;
  --text:    #f2f2f2;
  --muted:   #b5b5b5;

  /* Accent - modern cyan/orange hybrid */
  --accent:      #ff6a00;
  --accent-soft: rgba(255, 106, 0, 0.12);
  --accent-glow: rgba(255, 106, 0, 0.25);
  --accent-light: #ffaa44;

  /* Layout */
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 24px 48px rgba(255, 106, 0, 0.2);

  --line: #1f1f1f;
  --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #050505;
  color: var(--text);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ============================================================
   HEADER & NAV
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.92);
  border-bottom: 1px solid rgba(255, 106, 0, 0.2);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.3px;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffaa66 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.brand-badge {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-badge:hover {
  transform: scale(1.05);
}

/* Desktop navigation */
nav:not(.mobile-nav) {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: #b0b0b0;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 4px;
}

nav a:hover { color: var(--accent); }

.nav-btn {
  background: rgba(255, 106, 0, 0.15);
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid rgba(255, 106, 0, 0.3);
}

.nav-btn:hover {
  background: rgba(255, 106, 0, 0.3);
  color: white;
}

/* Hide desktop nav on mobile, handled below */
@media (max-width: 768px) {
  nav:not(.mobile-nav) {
    display: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6a00 0%, #ff9a2a 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
}

.download-btn span {
  font-weight: 600;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 100px 0 80px;
  background: radial-gradient(ellipse at 30% 40%, rgba(255, 106, 0, 0.08) 0%, transparent 60%);
}

.eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 60px;
  background: rgba(255, 106, 0, 0.08);
  color: #ffaa66;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0 20px;
  background: linear-gradient(135deg, #ffffff 0%, #ffaa66 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  max-width: 900px;
}

.hero p {
  font-size: 1.25rem;
  color: #c0c0c0;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #ff6a00, #ffaa44);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.section h2:after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #ff6a00;
  border-radius: 3px;
}

/* ============================================================
   CARD GRIDS
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.card, .step-card, .pro-card {
  background: #0c0c0c;
  border: 1px solid #1e1e1e;
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.card:hover, .step-card:hover, .pro-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  background: #0f0f0f;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card h3, .step-card h3, .pro-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffaa66;
}

.card p, .step-card p, .pro-card p {
  color: #c8c8c8;
  line-height: 1.55;
}

/* Workflow steps */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ff6a00, #ff9a2a);
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
  color: white;
}

/* Pro section */
.section-intro {
  margin-bottom: 48px;
}

.section-intro h2 {
  margin-bottom: 12px;
}

.section-intro p {
  font-size: 1.2rem;
  color: #b0b0b0;
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* ============================================================
   SHOWCASE CAROUSEL - FIXED WIDTH
   ============================================================ */

#showcase {
  overflow: hidden;
  background: linear-gradient(180deg, #070707 0%, #050505 100%);
}

#showcase .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

#showcase h2 {
  text-align: center;
  width: 100%;
}

#showcase h2:after {
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}

/* Fixed width wrapper for carousel */
.showcase-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Optional: gradient fade on edges (adds polish) */
.showcase-wrapper::before,
.showcase-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.showcase-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #050505, transparent);
}

.showcase-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #050505, transparent);
}

.showcase-grid {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 20px 0;
  animation: scrollX 45s linear infinite;
}

.showcase-grid:hover {
  animation-play-state: paused;
}

.showcase-grid img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 106, 0, 0.2);
  background: #0a0a0a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.showcase-grid img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(255, 106, 0, 0.3);
  border-color: #ff6a00;
}

@keyframes scrollX {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Mobile responsive */
@media (max-width: 768px) {
  #showcase .container {
    padding: 0 20px;
  }
  
  .showcase-wrapper::before,
  .showcase-wrapper::after {
    width: 30px;
  }
  
  .showcase-grid img {
    width: 150px;
  }
}
/* ============================================================
   FOOTER
   ============================================================ */

footer {
  text-align: center;
  padding: 48px 24px;
  border-top: 1px solid #1a1a1a;
  color: #777;
  background: #020202;
}

/* ============================================================
   MOBILE MENU & RESPONSIVE
   ============================================================ */

.menu-toggle {
  display: none;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  color: #ffaa66;
  font-size: 32px;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.menu-toggle:hover {
  background: #1a1a1a;
}

.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    top: 75px;
    right: 20px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 16px;
    gap: 12px;
    width: 220px;
    z-index: 200;
    box-shadow: 0 20px 35px rgba(0,0,0,0.5);
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav a {
    padding: 12px 16px;
    border-radius: 40px;
    background: #111;
    text-align: center;
    font-weight: 500;
    border: 1px solid #2a2a2a;
  }

  .mobile-nav a:hover {
    background: #ff6a00;
    color: white;
    border-color: #ff6a00;
  }

  .hero {
    padding: 60px 0 50px;
  }

  h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 1.9rem;
  }

  .card-grid, .pro-grid, .workflow-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid img {
    width: 150px;
  }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

a:focus-visible, button:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  color: #b0b0b0;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 8px 4px;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--accent);
}

.nav-btn {
  background: rgba(255, 106, 0, 0.15);
  padding: 8px 20px;
  border-radius: 40px;
  border: 1px solid rgba(255, 106, 0, 0.3);
}

.nav-btn:hover {
  background: rgba(255, 106, 0, 0.3);
  color: white;
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
}

/* Mobile Navigation */
.menu-toggle {
  display: none;
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  color: #ffaa66;
  font-size: 32px;
  padding: 8px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.menu-toggle:hover {
  background: #1a1a1a;
}

.mobile-nav {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: absolute;
    top: 75px;
    right: 20px;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 16px;
    gap: 12px;
    width: 220px;
    z-index: 200;
    box-shadow: 0 20px 35px rgba(0,0,0,0.5);
  }

  .mobile-nav.active {
    display: flex;
  }

  .mobile-nav a {
    padding: 12px 16px;
    border-radius: 40px;
    background: #111;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid #2a2a2a;
    transition: all 0.2s;
  }

  .mobile-nav a:hover {
    background: #ff6a00;
    color: white;
    border-color: #ff6a00;
  }
}