/* ── Petrovascope — Product Landing Page Stylesheet ───────────────────── */

:root {
  /* Deep ocean + teal accent palette */
  --dark-900: #020a14;
  --dark-800: #061222;
  --dark-700: #0b1a30;
  --dark-600: #112640;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --surface: #081420;
  --surface-alt: #0c1c2e;
  --surface-card: #0f2035;
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --white: #ffffff;
  --text: #e0e6ed;
  --text-muted: #8a9bb0;
  --text-light: #5a6d82;

  /* Typography */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 110px;
  --container-max: 1100px;
  --radius: 16px;
  --radius-sm: 10px;
}

/* ── Reset ──────────────────────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--dark-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--teal-400); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-300); }
img { max-width: 100%; height: auto; }

/* ── Layout ─────────────────────────────────────────────────────────── */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.section { padding: var(--section-pad) 0; }
.section-dark { background: var(--surface); }
.section-alt { background: var(--surface-alt); }

/* ── Navigation ─────────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(2, 10, 20, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--teal-400); }
.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.55);
  padding: 7px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  font-size: 1.5rem; cursor: pointer;
}

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
  padding: 160px 0 100px;
  background: var(--dark-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; left: 20%; width: 60%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -30%; right: 10%; width: 50%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 28px;
  text-transform: uppercase; letter-spacing: 1.2px;
  background: rgba(20, 184, 166, 0.12); color: var(--teal-400);
  border: 1px solid rgba(20, 184, 166, 0.2);
}
.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title .accent { color: var(--teal-400); }
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-block; padding: 15px 30px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius-sm); transition: all 0.25s; cursor: pointer;
  border: none; text-align: center;
}
.btn-primary {
  background: var(--teal-500); color: var(--dark-900);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
}
.btn-primary:hover {
  background: var(--teal-400); color: var(--dark-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}
.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-secondary:hover {
  border-color: var(--teal-400); color: var(--teal-400);
  transform: translateY(-2px);
}

/* ── Platform Badge ─────────────────────────────────────────────────── */

.platforms {
  display: flex; gap: 32px; justify-content: center; align-items: center;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.platform-item {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.85rem; font-weight: 500;
}
.platform-item svg { width: 20px; height: 20px; fill: rgba(255,255,255,0.4); }

/* ── Features Grid ──────────────────────────────────────────────────── */

.features-header { text-align: center; margin-bottom: 64px; }
.features-header h2 {
  font-size: 2.4rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.features-header p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 540px; margin: 0 auto; line-height: 1.8;
}

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 36px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(20, 184, 166, 0.12);
  transform: translateY(-4px);
  border-color: rgba(20, 184, 166, 0.2);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
  background: rgba(20, 184, 166, 0.1);
}
.feature-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px; letter-spacing: -0.01em;
}
.feature-card p {
  color: var(--text-muted); font-size: 0.92rem; line-height: 1.7;
}

/* ── Screenshot / Device Frame ──────────────────────────────────────── */

.screenshot-section { text-align: center; }
.screenshot-section h2 {
  font-size: 2.4rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.screenshot-section > p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 500px; margin: 0 auto 56px; line-height: 1.8;
}
.device-frame {
  max-width: 800px; margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 48px;
  min-height: 400px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 1rem;
  position: relative; overflow: hidden;
}
.device-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.03) 0%, rgba(37, 99, 235, 0.03) 100%);
  pointer-events: none;
}

/* ── Security Section ───────────────────────────────────────────────── */

.security-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.security-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px; background: var(--surface-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.security-item:hover {
  border-color: var(--border-light);
  background: var(--surface-alt);
}
.security-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  background: rgba(20, 184, 166, 0.08);
}
.security-item h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.security-item p {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.6;
}

/* ── CTA Section ────────────────────────────────────────────────────── */

.cta-section {
  padding: 100px 0;
  background: var(--dark-800);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -40%; left: 30%; width: 40%; height: 180%;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: 2.2rem; font-weight: 800; color: var(--white);
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.cta-section p {
  color: rgba(255,255,255,0.55); font-size: 1.1rem;
  max-width: 480px; margin: 0 auto 36px; line-height: 1.7;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.footer {
  background: var(--dark-900); color: rgba(255,255,255,0.5);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px;
}
.footer-brand h4 {
  color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 8px;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 400px; white-space: nowrap; }
.footer-links { display: flex; gap: 48px; }
.footer-links-col h5 {
  color: rgba(255,255,255,0.7); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
}
.footer-links-col ul { list-style: none; }
.footer-links-col li { margin-bottom: 8px; }
.footer-links-col a { color: rgba(255,255,255,0.45); font-size: 0.85rem; }
.footer-links-col a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; font-size: 0.8rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-trademark { font-size: 0.75rem; color: rgba(255,255,255,0.25); }

/* ── Animations ─────────────────────────────────────────────────────── */

.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ── Mobile ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .hero { padding: 130px 0 72px; }
  .hero-title { font-size: 2.4rem; }
  .features-header h2, .screenshot-section h2, .cta-section h2 { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .platforms { flex-wrap: wrap; gap: 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(2, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 1.05rem; }
}
