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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --violet: #8B5CF6;
  --cyan: #06B6D4;
  --emerald: #10B981;
  --text-primary: #f1f1f3;
  --text-secondary: #a1a1aa;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --radius: 16px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* ===== BACKGROUND GRADIENT ===== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  height: 40px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: width 0.3s ease;
}

.navbar-links a:hover::after {
  width: 100%;
}

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

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 150px;
  height: 150px;
  margin-bottom: 2rem;
  animation: floatIn 1.2s ease-out, glow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
}

/* Hero Bird Animation */
.hero-bird {
  width: 160px;
  height: 200px;
  margin-bottom: 2rem;
  animation: floatIn 1.2s ease-out, birdFloat 3s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.45)) drop-shadow(0 0 50px rgba(6, 182, 212, 0.15));
}

.hero-bird-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  max-width: 600px;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3);
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.2);
  box-shadow: 0 20px 60px var(--glass-shadow);
}

/* ===== APPS SECTION ===== */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.app-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.app-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.app-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-violet {
  background: rgba(139, 92, 246, 0.15);
  color: var(--violet);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--violet);
  font-weight: 500;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.app-link:hover {
  gap: 0.7rem;
}

.app-screenshot {
  margin-top: 1.5rem;
  grid-column: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-icon-violet {
  background: rgba(139, 92, 246, 0.12);
}

.service-icon-cyan {
  background: rgba(6, 182, 212, 0.12);
}

.service-icon-emerald {
  background: rgba(16, 185, 129, 0.12);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

/* ===== ABOUT ===== */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-content strong {
  color: var(--text-primary);
}

.about-slogan {
  font-size: 1.2rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand img {
  height: 30px;
  width: auto;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ===== LEGAL PAGES ===== */
.legal-page {
  padding: 8rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.legal-page .section-inner {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-page a {
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* ===== UTILITY CLASSES ===== */
.app-card--coming-soon {
  opacity: 0.7;
}

.app-icon--violet-cyan {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== APP CARD FEATURED ===== */
.app-card-featured {
  padding: 2.5rem;
}

.app-card-featured-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.app-card-featured-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.app-card-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.app-card-featured-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.app-features-list li {
  color: var(--text-secondary);
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.app-features-list li::first-letter {
  color: var(--emerald);
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.philosophy-card {
  padding: 2rem;
}

.philosophy-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.philosophy-card--before .philosophy-label {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

.philosophy-card--after .philosophy-label {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
}

.philosophy-card ul {
  list-style: none;
  padding: 0;
}

.philosophy-card li {
  color: var(--text-secondary);
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--glass-border);
}

.philosophy-card li:last-child {
  border-bottom: none;
}

.philosophy-card--before li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: 700;
}

.philosophy-card--after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ===== SECTION CTA ===== */
.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.section-cta p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* ===== PROCESS SECTION ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}

.process-number {
  display: inline-block;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Connector line between steps */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.5rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  opacity: 0.3;
}

/* ===== WHY SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  text-align: center;
}

.why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 768px) {
  .hero-stats {
    gap: 1.5rem;
  }

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

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

  .process-step:not(:last-child)::after {
    display: none;
  }

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

  .app-card-featured-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes birdFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3)) drop-shadow(0 0 40px rgba(6, 182, 212, 0.1));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 60px rgba(6, 182, 212, 0.2));
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bird { animation: none; opacity: 1; }
  .hero-logo { animation: none; opacity: 1; }
  .btn-primary { transition: none; }
  .glass-card { transition: none; }
  .fade-in { transition: none; opacity: 1; transform: none; }
  .navbar-links a::after { transition: none; }
  .menu-toggle span { transition: none; }
  .app-link { transition: none; }
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .footer-copy {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .navbar-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }

  .hero-logo {
    width: 90px;
    height: 90px;
  }
}
