@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #030704;
  --bg-gradient: radial-gradient(circle at top, #0b1c12 0%, #030704 80%);
  --bg-card: rgba(13, 27, 19, 0.4);
  --bd: rgba(16, 185, 129, 0.15);
  --bd-hover: rgba(212, 168, 83, 0.4);
  --p1: #10b981;
  --p1-glow: rgba(16, 185, 129, 0.3);
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.3);
  --ink: #f8fafc;
  --mut: #94a3b8;
  --r: 24px;
}

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

body {
  background: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(3, 7, 4, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.logo span {
  color: var(--p1);
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--mut);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--p1);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-launch {
  background: var(--p1);
  color: #030704;
  padding: 10px 24px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 4px 15px var(--p1-glow);
  transition: all 0.3s ease;
}

.btn-launch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--p1-glow);
  background: #12cf8f;
}

/* Hero Section */
.hero {
  padding: 160px 8% 80px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: var(--p1);
  filter: blur(150px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-content h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

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

.hero-content p {
  font-size: 18px;
  color: var(--mut);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  background: var(--p1);
  color: #030704;
  padding: 16px 36px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px var(--p1-glow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--p1-glow);
  background: #12cf8f;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bd);
  color: var(--ink);
  padding: 16px 36px;
  border-radius: 18px;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--bd-hover);
}

/* Phone Mockup */
.phone-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  border: 12px solid #1a221d;
  border-radius: 40px;
  background: #0a0a0a;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #030704;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 12px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.phone-card {
  background: rgba(13, 27, 19, 0.6);
  border: 1px solid var(--bd);
  border-radius: 18px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.phone-pill {
  background: var(--p1-glow);
  color: var(--p1);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  width: fit-content;
}

/* Features Grid */
.features {
  padding: 100px 8%;
  position: relative;
}

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

.section-header h2 {
  font-size: 44px;
  font-weight: 900;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--mut);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--bd-hover);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--p1), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--p1);
  margin-bottom: 24px;
}

.card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.card p {
  color: var(--mut);
  font-size: 14px;
}

/* PWA / Install instructions */
.install {
  padding: 80px 8%;
  background: rgba(16, 185, 129, 0.03);
  border-top: 1px solid rgba(16, 185, 129, 0.05);
  border-bottom: 1px solid rgba(16, 185, 129, 0.05);
}

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

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  gap: 20px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--p1-glow);
  color: var(--p1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.step h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.step p {
  color: var(--mut);
  font-size: 14px;
}

/* Footer */
footer {
  padding: 60px 8% 40px;
  text-align: center;
  color: var(--mut);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

footer .love {
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

footer .love span {
  color: #ef4444;
  animation: beat 1.2s infinite;
}

@keyframes beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Responsiveness */
@media (max-width: 968px) {
  header {
    padding: 0 4%;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    gap: 40px;
  }
  .hero-content p {
    margin: 0 auto 40px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .install-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 32px;
}

@media (max-width: 768px) {
  nav a:not(.btn-launch) {
    display: none;
  }
  header {
    padding: 0 5%;
    height: 70px;
  }
  .logo {
    font-size: 18px;
  }
  .btn-launch {
    padding: 8px 18px;
    font-size: 13px;
  }
  
  .hero {
    padding: 110px 5% 50px;
    gap: 20px;
  }
  .hero-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
  }
  .hero-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
  .section-header p {
    font-size: 15px;
  }
  
  .install-card {
    padding: 30px 16px !important;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .phone-mockup {
    transform: scale(0.85);
    margin: -40px 0;
  }
}

@media (max-width: 360px) {
  .phone-mockup {
    transform: scale(0.72);
    margin: -80px 0;
  }
}
