:root {
  --bg-dark: #0a2a1f;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;
}

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

html, body { height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  background: #0a2a1f url("hero-bg.webp") center/cover no-repeat fixed;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 42, 31, 0.7);
  z-index: -1;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 42, 31, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { height: 36px; width: auto; display: block; }
.nav { display: flex; gap: 32px; font-weight: 500; font-size: 14px; color: var(--emerald-50); }
.nav a { transition: color 0.2s; }
.nav a:hover, .nav a.active { color: var(--emerald-300); }

main { position: relative; z-index: 1; }

/* Hero */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 100px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.hero h1 .accent { color: var(--emerald-300); }
.hero p {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 18px;
  color: rgba(236, 253, 245, 0.9);
}
.cta-row { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.btn-primary {
  background: var(--emerald-500);
  color: #052e1a;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover { background: var(--emerald-400); }
.btn-secondary {
  background: transparent;
  color: var(--emerald-50);
  border: 1px solid rgba(110, 231, 183, 0.4);
}
.btn-secondary:hover { background: rgba(110, 231, 183, 0.1); }

/* Section */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }
.section-title p { margin-top: 12px; color: rgba(236, 253, 245, 0.8); }

/* Mockups */
.mockups {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 900px) {
  .mockups { grid-template-columns: 1fr; gap: 48px; }
}
.mockup-label {
  margin-top: 16px;
  text-align: center;
  color: #d1fae5;
  font-weight: 500;
}

/* Desktop mockup */
.desktop-frame {
  background: #27272a;
  border: 1px solid #3f3f46;
  padding: 8px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.4);
}
.desktop-stand {
  height: 12px;
  width: 33%;
  background: #3f3f46;
  margin: 0 auto;
  border-radius: 0 0 6px 6px;
}
.desktop-base { height: 4px; width: 40%; background: #27272a; margin: 0 auto; border-radius: 0 0 4px 4px; }
.desktop-screen { aspect-ratio: 16/10; background: white; border-radius: 6px; overflow: hidden; }

/* Tablet */
.tablet-frame {
  max-width: 280px;
  margin: 0 auto;
  background: #27272a;
  border: 1px solid #3f3f46;
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.4);
}
.tablet-screen { aspect-ratio: 3/4; background: white; border-radius: 8px; overflow: hidden; }

/* Phone */
.phone-frame {
  max-width: 160px;
  margin: 0 auto;
  background: #18181b;
  border: 1px solid #3f3f46;
  padding: 8px;
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.4);
}
.phone-screen { aspect-ratio: 9/19; background: white; border-radius: 24px; overflow: hidden; position: relative; }
.phone-notch {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  height: 12px;
  width: 48px;
  background: #18181b;
  border-radius: 999px;
  z-index: 10;
}

/* Screen content (shared) */
.screen-content {
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, #ecfdf5, #fff);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.win-dots { display: flex; gap: 6px; }
.win-dots span { height: 8px; width: 8px; border-radius: 50%; }
.win-dots span:nth-child(1) { background: #f87171; }
.win-dots span:nth-child(2) { background: #facc15; }
.win-dots span:nth-child(3) { background: #34d399; }
.screen-body { display: flex; gap: 8px; flex: 1; min-height: 0; }
.sidebar {
  width: 25%;
  background: rgba(4, 120, 87, 0.9);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar i { display: block; height: 6px; border-radius: 3px; background: rgba(110, 231, 183, 0.55); }
.sidebar i:first-child { background: rgba(110, 231, 183, 0.85); }
.main-area { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cards div {
  height: 32px;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
}
.chart {
  flex: 1;
  background: white;
  border: 1px solid #a7f3d0;
  border-radius: 4px;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.chart span {
  flex: 1;
  background: linear-gradient(to top, #059669, #34d399);
  border-radius: 2px;
}

/* Service cards */
.cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .cards-grid { grid-template-columns: 1fr; } }
.card {
  background: rgba(10, 42, 31, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 24px;
  border-radius: 12px;
}
.card h3 { color: #a7f3d0; font-size: 20px; font-weight: 600; }
.card p { margin-top: 8px; color: rgba(236, 253, 245, 0.8); font-size: 14px; line-height: 1.6; }

/* Contact */
.contact-section { max-width: 720px; margin: 0 auto; padding: 80px 24px; }
.contact-section h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; text-align: center; }
.contact-section > p { text-align: center; margin-top: 16px; color: rgba(236, 253, 245, 0.8); }
.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: rgba(10, 42, 31, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 24px;
  border-radius: 12px;
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: var(--emerald-300); }
.contact-card .label { color: var(--emerald-300); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-card .value { margin-top: 8px; font-size: 18px; font-weight: 600; }

form.contact-form {
  margin-top: 40px;
  background: rgba(10, 42, 31, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.2);
  padding: 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(6, 46, 33, 0.4);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 6px;
  padding: 12px 16px;
  color: white;
  font: inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(167, 243, 208, 0.4); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--emerald-300); }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* Footer */
.site-footer {
  position: sticky;
  top: 100%;
  z-index: 99;
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  background: rgba(10, 42, 31, 0.7);
  backdrop-filter: blur(8px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(209, 250, 229, 0.7);
}
@media (max-width: 500px) { .footer-inner { flex-direction: column; gap: 8px; text-align: center; } }
