:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f5ff;
  --bg-card: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;

  --brand-navy: #0b1026;
  --brand-purple: #6d28d9;
  --brand-violet: #7c3aed;
  --brand-yellow: #facc15;
  --brand-yellow-hover: #eab308;
  --accent-soft: #ede9fe;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.09);
  --radius-md: 14px;
  --radius-lg: 20px;
}

[data-theme="dark"] {
  --bg-primary: #090d1f;
  --bg-secondary: #111730;
  --bg-card: #151c38;
  --text-primary: #f9fafb;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: #242e52;
  --accent-soft: rgba(124, 58, 237, 0.18);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.72rem;
  color: #cbd5e1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-yellow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

[data-theme="light"] .icon-sun,
[data-theme="dark"] .icon-moon {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--brand-yellow);
  color: #0b1026;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.28);
}

.btn-primary:hover {
  background-color: var(--brand-yellow-hover);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b1026 0%, #24135f 55%, #6d28d9 100%);
  color: #ffffff;
  padding: 80px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.15);
  color: var(--brand-yellow);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 .highlight {
  color: var(--brand-yellow);
}

.hero-subtitle {
  font-size: 1.08rem;
  color: #e2e8f0;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.highlight-item strong {
  display: block;
  font-size: 0.96rem;
  color: #ffffff;
}

.highlight-item span {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Hero Visual Card */
.device-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 16px;
  backdrop-filter: blur(10px);
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #facc15; }
.dot.green { background: #22c55e; }

.showcase-title {
  margin-left: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.showcase-body {
  position: relative;
  display: grid;
  place-items: center;
  padding: 20px 10px;
}

.phone-mockup {
  width: 240px;
  background: #0b1026;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.phone-notch {
  width: 64px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  margin: 0 auto 14px;
}

.phone-screen {
  background: linear-gradient(180deg, #172047 0%, #1e134d 100%);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
}

.app-preview-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-yellow);
  margin-bottom: 6px;
}

.phone-screen h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.phone-screen p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.wave-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  margin-bottom: 16px;
}

.wave-bars span {
  width: 4px;
  border-radius: 99px;
  background: var(--brand-yellow);
  animation: wave 1.2s ease-in-out infinite;
}

.wave-bars span:nth-child(2) { animation-delay: 0.15s; height: 22px; }
.wave-bars span:nth-child(3) { animation-delay: 0.3s; height: 30px; }
.wave-bars span:nth-child(4) { animation-delay: 0.45s; height: 18px; }
.wave-bars span:nth-child(5) { animation-delay: 0.6s; height: 26px; }
.wave-bars span:nth-child(1),
.wave-bars span:nth-child(6) { height: 12px; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.65); }
  50% { transform: scaleY(1.15); }
}

.mock-pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-violet);
  font-size: 0.78rem;
  font-weight: 600;
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  color: #0b1026;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.floating-badge.b1 { top: 8px; left: 0; }
.floating-badge.b2 { bottom: 26px; left: -6px; }
.floating-badge.b3 { top: 44%; right: -6px; }

/* Sections */
.section {
  padding: 84px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-violet);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.app-card.featured {
  border-color: rgba(124, 58, 237, 0.4);
}

.app-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.app-icon.purple { background: rgba(124, 58, 237, 0.14); }
.app-icon.blue { background: rgba(37, 99, 235, 0.14); }

.status-badge {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-violet);
}

.status-badge.neutral {
  background: rgba(100, 116, 139, 0.14);
  color: var(--text-secondary);
}

.app-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.app-desc {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.app-features {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}

.app-features li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.app-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-violet);
  font-weight: 700;
}

.app-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tech-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.card-link {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-violet);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--brand-violet);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* About & Process */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.founder-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.founder-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand-violet);
  flex-shrink: 0;
}

.founder-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.founder-card span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.process-steps {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.process-steps h3 {
  margin-bottom: 20px;
}

.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-item + .step-item {
  margin-top: 18px;
}

.step-num {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand-violet);
  background: var(--accent-soft);
  padding: 6px 10px;
  border-radius: 8px;
}

.step-item h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.step-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Why Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
}

.why-card h4 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Contact / Order Banner */
.contact-banner {
  background: linear-gradient(135deg, #0b1026 0%, #24135f 55%, #6d28d9 100%);
  color: #ffffff;
  padding: 84px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

.contact-info p {
  color: #e2e8f0;
  margin-bottom: 26px;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method span {
  display: block;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.contact-method a {
  font-weight: 600;
  color: var(--brand-yellow);
}

.order-form {
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.order-form h3 {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--brand-violet);
  border-color: transparent;
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 20px;
}

.form-feedback.success {
  color: #16a34a;
}

/* Footer */
.footer {
  background: #070b1a;
  color: #cbd5e1;
  padding: 28px 0;
  font-size: 0.88rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .apps-grid,
  .services-grid,
  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #0b1026;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
