/* ═══════════════════════════════════════════════════
   Secora Antivirus — Marketing Site
   ═══════════════════════════════════════════════════ */

:root {
  --primary: #1E88E5;
  --primary-dark: #1565C0;
  --secondary: #43A047;
  --accent: #00ACC1;
  --navy: #0D1B3E;
  --bg-dark: #060D1F;
  --text-dark: #1A2B4A;
  --text-muted: #6B7B95;
  --bg-light: #FFFFFF;
  --bg-soft: #F8FAFC;
  --border: #E2E8F0;
  --shadow: 0 4px 20px rgba(30, 136, 229, 0.08);
  --shadow-lg: 0 8px 40px rgba(30, 136, 229, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 800px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ─── Navigation ───────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:hover { color: var(--primary); }

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 60%, #f0fff7 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30, 136, 229, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.hero-stats div {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Phone mockup */
.hero-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(180deg, #1A2B4A, #060D1F);
  border-radius: 36px;
  padding: 14px;
  box-shadow: 0 30px 80px rgba(13, 27, 62, 0.4);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 6px;
  background: #060D1F;
  border-radius: 3px;
  z-index: 1;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #060D1F, #0D1B3E);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.phone-content {
  padding: 60px 24px 24px;
  text-align: center;
  color: white;
}

.phone-status {
  font-size: 64px;
  font-weight: 900;
  color: #43A047;
  margin-top: 80px;
}

.phone-label {
  font-size: 18px;
  font-weight: 700;
  color: #43A047;
  margin-bottom: 60px;
}

.phone-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-chip {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  color: white;
  border: 1px solid rgba(30, 136, 229, 0.3);
}

/* ─── Section ──────────────────────────────────────── */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-soft);
}

.section-title {
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 60px;
}

/* ─── Features Grid ─────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-card.highlighted {
  background: linear-gradient(135deg, #FFF8E7, #FFFFFF);
  border-color: #FF9933;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ─── Why Grid ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.why-item {
  padding: 24px;
}

.why-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-muted);
}

/* ─── CTA Section ───────────────────────────────────── */
.section-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
}

.section-cta h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-buttons {
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 14px;
  opacity: 0.7;
}

/* ─── Footer ────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 800;
  color: white;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer a:hover { color: white; }

.footer-legal-name {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer-bottom p { margin-bottom: 4px; }

/* ─── Legal Pages ───────────────────────────────────── */
.legal-page {
  padding: 60px 0 80px;
  background: white;
}

.legal-page h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-page h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-intro {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.legal-page p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-page ul {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* ─── Contact Page ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.contact-card {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.contact-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  word-break: break-all;
}

.contact-form {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .section-title { font-size: 32px; }
  .section-cta h2 { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .mobile-menu { display: block; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .legal-page h1 { font-size: 32px; }
}
