/* ================================================================
   Stealthy Website — Self-contained CSS
   Matches original Foundry/Startup theme with modern improvements.
   Blue accent (#2962ff) + Cyan highlight (#57fff9)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  --blue: #2962ff;
  --blue-deep: #1a47b5;
  --cyan: #57fff9;
  --cyan-dim: #3eddd7;
  --cyan-glow: rgba(87, 255, 249, 0.12);
  --dark: #292929;
  --text: #666;
  --text-dark: #292929;
  --bg: #fff;
  --bg-light: #f8f8f8;
  --border: #eee;
  --overlay: rgba(41, 41, 41, 0.3);
  --font: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-heading: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 0px;
  --radius-round: 25px;
  --max-w: 1170px;
  --transition: 0.3s ease;
  --nav-h: 55px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 24px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan); text-decoration: none; transition: all var(--transition); }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.25;
}
h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; }
h4 { font-size: 24px; }
h5 { font-size: 16px; font-weight: 400; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
p.lead { font-size: 16px; line-height: 28px; font-weight: 400; }

@media (max-width: 767px) {
  h1 { font-size: 32px; font-weight: 300; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  h4 { font-size: 18px; }
}

/* ---- Utility ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 15px; }
.text-center { text-align: center; }
.text-muted { color: var(--text); }
.uppercase { text-transform: uppercase; letter-spacing: 2px; font-weight: 400; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition);
}
.nav.scrolled {
  background: var(--dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 15px;
  height: var(--nav-h);
}
.nav-logo img {
  height: 28px;
  width: auto;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' \25BE'; font-size: 9px; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  border-radius: 2px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin-top: 8px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 6px 20px;
  font-size: 11px;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.8;
}
.nav-dropdown-menu a:hover { opacity: 1; background: rgba(255,255,255,0.05); }
.nav-dropdown-menu .menu-heading {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px 4px;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-actions {
    flex-direction: column;
    width: 100%;
  }
  .nav-actions .btn { width: 100%; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 4px;
  }
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 26px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-round);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--cyan); color: #fff; text-decoration: none; }
.btn-primary,
.btn-filled {
  background: var(--cyan);
  color: var(--blue);
  border-color: var(--cyan);
}
.btn-primary:hover,
.btn-filled:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan-dim);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--dark); }
.btn-accent-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}
.btn-accent-outline:hover { background: var(--cyan-glow); }
.btn-sm { height: 30px; font-size: 11px; padding: 0 16px; line-height: 26px; }
.btn-lg { height: 50px; font-size: 14px; padding: 0 40px; min-width: 200px; }

/* Buttons in blue sections */
.bg-blue .btn { color: #fff; border-color: #fff; }
.bg-blue .btn:hover { background: #fff; color: var(--dark); }
.bg-blue .btn-filled { background: var(--cyan); color: var(--blue); border-color: var(--cyan); }
.bg-blue .btn-filled:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* ---- Hero (full-width image background) ---- */
.hero {
  position: relative;
  padding: 240px 0 180px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: #fff;
  font-weight: 300;
  margin-bottom: 16px;
  max-width: 700px;
}
.hero p {
  font-size: 16px;
  line-height: 28px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .appstore-badge {
  height: 44px;
  width: auto;
  transition: opacity var(--transition);
}
.hero .appstore-badge:hover { opacity: 0.8; }
@media (max-width: 767px) {
  .hero { padding: 120px 0 80px; }
}

/* ---- Features (3 columns with icons) ---- */
.features {
  padding: 80px 0 64px;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-card {
  padding: 20px;
}
.feature-card .icon-wrap {
  width: 80px;
  height: 80px;
  border: 1px solid var(--cyan);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  background: var(--cyan);
  transition: all var(--transition);
}
.feature-card .icon-wrap img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}
.feature-card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}
.feature-card h3,
.feature-card h5 {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.feature-card p {
  color: var(--text);
  font-size: 14px;
  line-height: 24px;
}

/* Features on dark/blue backgrounds */
.section-dark .feature-card h3,
.section-dark .feature-card h5,
.bg-blue .feature-card h3,
.bg-blue .feature-card h5 { color: #fff; }
.section-dark .feature-card p,
.bg-blue .feature-card p { color: rgba(255,255,255,0.85); }
.section-dark .feature-card .icon-wrap,
.bg-blue .feature-card .icon-wrap {
  background: var(--cyan);
  border-color: var(--cyan);
}

@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- Parallax section (mid-page banner with bg image) ---- */
.parallax-section {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
}
.parallax-section .hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--overlay);
}
.parallax-section .container {
  position: relative;
  z-index: 2;
}
.parallax-section .content-right {
  max-width: 480px;
  margin-left: auto;
}
.parallax-section h2 {
  color: #fff;
  font-weight: 300;
  margin-bottom: 20px;
}
.parallax-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 28px;
}
@media (max-width: 767px) {
  .parallax-section { padding: 80px 0; }
  .parallax-section .content-right { margin-left: 0; max-width: 100%; }
}

/* ---- Section ---- */
.section { padding: 96px 0; }
.section-dark,
.bg-blue {
  background: var(--blue);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5,
.bg-blue h1, .bg-blue h2, .bg-blue h3, .bg-blue h4, .bg-blue h5 {
  color: #fff;
}
.section-dark p, .section-dark span,
.bg-blue p, .bg-blue span {
  color: #fefefe;
}
.section-dark a,
.bg-blue a { color: #fff; }

.section h2 {
  margin-bottom: 16px;
}
.section h2 a { color: inherit; }
.section h2 a:hover { color: var(--cyan); }
.section p.lead {
  color: var(--text);
  max-width: 640px;
}
.section .centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Platform cards ---- */
.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.platform-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.platform-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.platform-card .icon { font-size: 36px; margin-bottom: 12px; }
.platform-card h4 { font-size: 18px; margin-bottom: 8px; }
.platform-card p { font-size: 13px; color: var(--text); margin-bottom: 16px; }

/* ---- CTA section (blue bg with app gif) ---- */
.cta {
  padding: 96px 0 0;
  text-align: center;
  background: var(--blue);
  color: #fff;
}
.cta h2 {
  color: #fff;
  font-weight: 300;
  margin-bottom: 28px;
}
.cta h2 a { color: #fff; }
.cta h2 a:hover { color: var(--cyan); text-decoration: none; }
.cta .btn { color: #fff; border-color: #fff; }
.cta .btn:hover { background: #fff; color: var(--blue); }
.cta .btn-filled,
.cta .btn-primary { background: var(--cyan); color: var(--blue); border-color: var(--cyan); }
.cta .app-demo {
  max-width: 560px;
  margin: 48px auto 0;
}
.cta .app-demo img {
  width: 100%;
  display: block;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 40px auto 0;
}
.price-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 2px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: border-color var(--transition);
}
.price-card.featured { border-color: var(--cyan); }
.price-card .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-round);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.price-card h3 { font-size: 24px; margin-bottom: 8px; }
.price-card .price {
  font-size: 56px;
  font-weight: 100;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.price-card .price small { font-size: 20px; font-weight: 300; }
.price-card .period { color: var(--text); font-size: 14px; margin-bottom: 20px; }
.price-card .old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 20px;
}
.price-card ul { margin: 20px 0; }
.price-card li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: none; }

/* ---- Comparison table ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.comparison-table th:first-child,
.comparison-table td:first-child { text-align: left; }
.comparison-table thead th {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--cyan);
  border-bottom: 2px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}
.check { color: var(--cyan); font-weight: 700; }
.cross { color: #999; }

/* ---- Footer ---- */
.footer {
  padding: 40px 0;
  background: var(--blue);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img {
  height: 24px;
  width: auto;
  opacity: 0.5;
}
.footer-copy { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.social-links { display: flex; gap: 16px; }
.social-links a {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  transition: color var(--transition);
}
.social-links a:hover { color: #fff; }

/* ---- Page-specific ---- */
.page-header {
  padding: 160px 0 48px;
  background: var(--blue);
  color: #fff;
}
.page-header h1 {
  color: #fff;
  font-weight: 300;
}
.page-header p { color: rgba(255,255,255,0.85); }
.page-content {
  padding: 48px 0 80px;
}
.page-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 720px;
}
.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 32px 0 12px;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero-bg { background-attachment: scroll; }
}
