/* ============================================
   NotifyPro — style.css
   Structure:
   1. Reset & Variables
   2. Base
   3. Navigation
   4. Hero
   5. Marquee
   6. Services
   7. Why Section
   8. Pricing
   9. CTA
   10. Footer
   11. Animations & Utilities
   12. Responsive
============================================ */

/* ── 1. RESET & VARIABLES ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #07090F;
  --bg2:          #0D1117;
  --bg3:          #111820;
  --accent:       #00E87A;
  --accent2:      #00BFFF;
  --accent3:      #FFB800;
  --text:         #F0F4FF;
  --muted:        #8892A4;
  --border:       rgba(255, 255, 255, 0.07);
  --card-bg:      rgba(255, 255, 255, 0.03);
  --card-border:  rgba(255, 255, 255, 0.08);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
}

/* ── 2. BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* Glow blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 232, 122, 0.07);
  top: -200px;
  left: -100px;
}
.blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(0, 191, 255, 0.05);
  top: 100px;
  right: -150px;
}

/* Shared button styles */
.btn-primary {
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 232, 122, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn-large {
  font-size: 16px;
  padding: 16px 40px;
}

/* Shared section styles */
section {
  position: relative;
  padding: 6rem 6%;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 700px;
}

.section-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin-top: 1rem;
  font-weight: 300;
}

/* ── 3. NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 68px;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.nav-login {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 9px 4px;
  transition: color 0.2s;
}
.nav-login:hover { color: var(--text); }

/* ── 4. HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 6% 80px;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 232, 122, 0.08);
  border: 1px solid rgba(0, 232, 122, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2px;
  max-width: 900px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.line-green  { color: var(--accent); }
.line-blue   { color: var(--accent2); }
.line-muted  { color: var(--muted); font-weight: 600; font-size: 0.65em; letter-spacing: -0.5px; }

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 600px;
  font-weight: 300;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-sub strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.6s 0.3s ease both;
}

/* Stats bar */
.stats-bar {
  display: flex;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-top: 4rem;
  overflow: hidden;
  animation: fadeUp 0.6s 0.4s ease both;
}

.stat-item {
  flex: 1;
  padding: 1.4rem 2rem;
  text-align: center;
  border-right: 1px solid var(--card-border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.stat-num span { color: var(--accent); }

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── 5. MARQUEE ── */
.marquee-wrap {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-item::before {
  content: '✦';
  color: var(--accent);
  font-size: 10px;
}

/* ── 6. SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg2);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 232, 122, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover { background: var(--bg3); }
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 1.5rem;
}
.icon-green  { background: rgba(0, 232, 122, 0.1); }
.icon-blue   { background: rgba(0, 191, 255, 0.1); }
.icon-purple { background: rgba(180, 100, 255, 0.1); }
.icon-orange { background: rgba(255, 165, 0, 0.1); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 232, 122, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── 7. WHY SECTION ── */
.why-section { background: var(--bg2); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 232, 122, 0.1);
  border: 1px solid rgba(0, 232, 122, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.why-item p {
  color: var(--muted);
  font-size: 14px;
}

/* Dashboard visual */
.why-visual {
  background: var(--bg3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.dashboard-mock {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--card-border);
}

.dash-header {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.dash-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.dash-metric {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 1rem;
}
.dash-metric-full {
  margin-bottom: 1rem;
}

.dash-metric-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-metric-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
}
.dash-metric-val.green { color: var(--accent); }
.dash-metric-val.blue  { color: var(--accent2); }
.dash-metric-val.amber { color: var(--accent3); }

.dash-bar-wrap { margin-top: 1rem; }

.dash-bar-label {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dash-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.dash-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.fill-green { background: var(--accent); width: 82%; }
.fill-blue  { background: var(--accent2); width: 64%; }
.fill-amber { background: var(--accent3); width: 91%; }

/* KPI pills */
.dash-kpis {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.kpi-item {
  flex: 1;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.kpi-green { background: rgba(0, 232, 122, 0.06); border: 1px solid rgba(0, 232, 122, 0.15); }
.kpi-blue  { background: rgba(0, 191, 255, 0.06); border: 1px solid rgba(0, 191, 255, 0.15); }
.kpi-amber { background: rgba(255, 184, 0, 0.06);  border: 1px solid rgba(255, 184, 0, 0.15); }

.kpi-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}
.kpi-val.green { color: var(--accent); }
.kpi-val.blue  { color: var(--accent2); }
.kpi-val.amber { color: var(--accent3); }

/* ── 8. PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.price-card:hover {
  border-color: rgba(0, 232, 122, 0.3);
  transform: translateY(-4px);
}
.price-card.featured {
  background: linear-gradient(135deg, rgba(0, 232, 122, 0.08), rgba(0, 191, 255, 0.04));
  border-color: rgba(0, 232, 122, 0.3);
}

.price-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.price-plan {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.popular-badge {
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0.75rem 0 0.25rem;
}
.price-amount .currency {
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.price-custom {
  font-size: 28px;
  padding-top: 6px;
}

.price-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.price-features li {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-btn {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.price-btn-outline {
  border: 1px solid var(--card-border);
  color: var(--text);
}
.price-btn-outline:hover { background: rgba(255, 255, 255, 0.05); }
.price-btn-fill {
  background: var(--accent);
  color: #000;
  border: none;
}
.price-btn-fill:hover {
  box-shadow: 0 8px 30px rgba(0, 232, 122, 0.3);
  transform: translateY(-1px);
}

/* ── 9. CTA ── */
.cta-section {
  text-align: center;
  padding: 2rem 6% 6rem;
}

.cta-inner {
  background: linear-gradient(135deg, rgba(0, 232, 122, 0.07), rgba(0, 191, 255, 0.05));
  border: 1px solid rgba(0, 232, 122, 0.15);
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 232, 122, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.cta-inner p {
  color: var(--muted);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-address {
  margin-top: 1.5rem;
  font-size: 13px;
  color: var(--muted);
}

/* ── 10. FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  color: var(--muted);
  font-size: 13px;
}

/* ── 11. ANIMATIONS & UTILITIES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── 12. RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .stats-bar { flex-direction: column; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .stat-item:last-child { border-bottom: none; }

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

  .hero h1 { letter-spacing: -1px; }

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