:root {
  --dark: #0A1F2E;    /* Navy from your template */
  --teal: #00C896;    /* Teal from your template */
  --gold: #FFB800;    /* Gold from your template */
  --card: #132F40;    /* Lighter Navy */
  --text: #F5F7FA;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; scroll-behavior: smooth; }

body { background: var(--dark); color: var(--text); line-height: 1.6; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* NAV */
header { padding: 20px 0; background: rgba(10,31,46,0.8); position: sticky; top: 0; backdrop-filter: blur(10px); z-index: 10; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; }
.logo span { color: var(--teal); }
nav a { color: var(--text); text-decoration: none; margin-left: 20px; font-weight: 500; }
nav a:hover { color: var(--teal); }

/* BUTTONS */
.btn, .btn-small { background: var(--teal); color: white; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: bold; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn:hover, .btn-small:hover { background: #00a87a; transform: translateY(-2px); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); padding: 12px 26px; border-radius: 8px; text-decoration: none; font-weight: bold; margin-left: 10px; }
.btn-outline:hover { background: var(--teal); color: white; }

/* HERO */
.hero { padding: 100px 0; text-align: center; }
.hero h1 { font-size: 52px; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 18px; color: #ccc; max-width: 700px; margin: 0 auto 30px; }
.hero-btns { margin-bottom: 40px; }
.hero-card { background: var(--card); border: 1px solid var(--teal); border-radius: 12px; padding: 20px; max-width: 600px; margin: 0 auto; }
.hero-card-header { color: var(--teal); font-weight: bold; margin-bottom: 15px; }
.stats { display: flex; justify-content: space-around; }
.stat h4 { font-size: 14px; color: #ccc; }
.stat p { font-size: 20px; font-weight: bold; color: var(--gold); }

/* SECTIONS */
.section { padding: 80px 0; }
.section.dark { background: var(--card); }
.section h2 { text-align: center; font-size: 36px; margin-bottom: 50px; }

/* CARDS */
.grid-3, .grid-4 { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid transparent; transition: 0.3s; }
.card:hover { border-color: var(--teal); transform: translateY(-5px); }
.icon { font-size: 40px; margin-bottom: 15px; }

/* PRICING */
.price-card { position: relative; }
.price-card.popular { border: 2px solid var(--teal); }
.badge { background: var(--teal); padding: 5px 12px; border-radius: 20px; font-size: 12px; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-weight: bold; }
.price { font-size: 42px; color: var(--gold); font-weight: bold; margin: 15px 0; }
.price span { font-size: 16px; color: #ccc; }
.price-card ul { list-style: none; margin: 20px 0; text-align: left; }
.price-card ul li { margin-bottom: 10px; }

/* CTA */
.cta { text-align: center; }
.cta p { color: #ccc; margin-bottom: 30px; }

/* FOOTER */
footer { background: #000; padding: 40px 0; text-align: center; color: #777; }

/* POPUP */
.popup { display: none; position: fixed; z-index: 100; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); }
.popup-content { background: var(--card); margin: 10% auto; padding: 30px; border-radius: 12px; width: 90%; max-width: 400px; border: 1px solid var(--teal); }
.popup-content input { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #333; background: var(--dark); color: white; }
.close { float: right; font-size: 28px; cursor: pointer; color: #ccc; }
.close:hover { color: var(--teal); }

@media(max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-btns { display: flex; flex-direction: column; gap: 10px; }
  .btn-outline { margin-left: 0; }
  nav { display: none; } /* simple mobile */
}