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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #0b0f19;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s, background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

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

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
}

.navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.navbar-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  font-size: 0.9rem;
  color: #a0a8c0;
  font-weight: 500;
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f56a0d;
  transition: width 0.3s;
}

.navbar-links a:hover {
  color: #ffffff;
}

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

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(160deg, #0b0f19 0%, #141b2d 50%, #1a1040 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 106, 13, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 153, 216, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(245, 106, 13, 0.15);
  color: #f56a0d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #f56a0d, #ff9f43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .tagline {
  font-size: 1.15rem;
  color: #8b93a8;
  margin-bottom: 32px;
  max-width: 440px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f56a0d, #e05500);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(245, 106, 13, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 106, 13, 0.45);
}

.btn-primary .material-icons {
  font-size: 1.2rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: #5a6278;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-height: 580px;
  width: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== Features Section ===== */
.features {
  padding: 100px 0;
  background: #0e1220;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: #6b7490;
  max-width: 520px;
  margin: 0 auto;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 24px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(245, 106, 13, 0.2);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.feature-icon .material-icons {
  font-size: 1.6rem;
}

.feature-icon.orange {
  background: rgba(245, 106, 13, 0.12);
  color: #f56a0d;
}

.feature-icon.blue {
  background: rgba(0, 153, 216, 0.12);
  color: #0099d8;
}

.feature-icon.green {
  background: rgba(46, 204, 113, 0.12);
  color: #2ecc71;
}

.feature-icon.purple {
  background: rgba(155, 89, 182, 0.12);
  color: #9b59b6;
}

.feature-icon.red {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

.feature-icon.teal {
  background: rgba(26, 188, 156, 0.12);
  color: #1abc9c;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: #7a82a0;
  line-height: 1.65;
}

/* ===== Community Section ===== */
.community {
  padding: 80px 0;
  background: linear-gradient(180deg, #0e1220 0%, #121830 100%);
}

.community .section-header {
  margin-bottom: 40px;
}

.community-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.community-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #c0c8e0;
  font-weight: 500;
  font-size: 0.92rem;
}

.community-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.community-link .material-icons {
  font-size: 1.2rem;
  color: #f56a0d;
}

/* ===== CTA / Download Section ===== */
.cta {
  padding: 100px 0;
  background: #0b0f19;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 106, 13, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta .cta-subtitle {
  color: #6b7490;
  font-size: 1.05rem;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.cta .cta-note {
  font-size: 0.78rem;
  color: #4a5068;
  position: relative;
  z-index: 2;
}

/* ===== Additional Links ===== */
.extra-links {
  padding: 60px 0;
  background: #0e1220;
  text-align: center;
}

.extra-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.extra-link {
  display: block;
  padding: 18px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #a0a8c0;
  font-size: 0.92rem;
  font-weight: 500;
}

.extra-link:hover {
  background: rgba(245, 106, 13, 0.08);
  border-color: rgba(245, 106, 13, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  background: #080b14;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer p {
  color: #4a5068;
  font-size: 0.85rem;
}

.footer .material-icons {
  color: #e74c3c;
  font-size: 1rem;
  vertical-align: middle;
  animation: heartbeat 2.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content .tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image img {
    max-height: 420px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  html {
    font-size: 15px;
  }

  .navbar-links {
    display: none;
  }

  .hero {
    padding-top: 72px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-image img {
    max-height: 320px;
  }

  .features {
    padding: 60px 0;
  }

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

  .section-header h2 {
    font-size: 1.75rem;
  }

  .community-links {
    flex-direction: column;
    align-items: center;
  }

  .community-link {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .cta {
    padding: 60px 0;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .extra-links-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn-primary, .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}
