:root {
  --primary: #1d4ed8;
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --accent: #0284c7;
  --dark: #0f172a;
  --ink: #1e293b;
  --soft: #475569;
  --light: #f8fafc;
  --light-border: #e2e8f0;
  --white: #ffffff;
  --green: #16a34a;
  --green-light: #f0fdf4;
  --green-border: #bbf7d0;
  --amber: #d97706;
  --amber-light: #fffbeb;
  --amber-border: #fde68a;
  --danger: #dc2626;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Banner */
.top-bar {
  background: #0b1322;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Header & Nav */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--light-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
}

.brand-logo-img {
  height: 38px !important;
  width: auto !important;
  max-height: 38px !important;
  max-width: 48px !important;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

nav.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.25);
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 64px 0 54px;
  background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.05), transparent 50%),
              radial-gradient(circle at bottom left, rgba(2, 132, 199, 0.04), transparent 50%),
              #ffffff;
  border-bottom: 1px solid var(--light-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #bfdbfe;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-content .hero-lead {
  font-size: 1.15rem;
  color: var(--soft);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Download Stack */
.downloads-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin-bottom: 28px;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
}

.btn-download .btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-download .btn-icon {
  font-size: 1.5rem;
}

.btn-download .btn-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.btn-download .btn-meta {
  font-size: 0.78rem;
  opacity: 0.85;
}

.btn-download .btn-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
}

.btn-primary-win {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-win:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.45);
}

.btn-primary-win .btn-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-secondary-mac {
  background: #334155;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(51, 65, 85, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary-mac:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 65, 85, 0.3);
}

.btn-secondary-mac .btn-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
}

.btn-outline-mac {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.btn-outline-mac:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  color: #0f172a;
}

.btn-outline-mac .btn-badge {
  background: #cbd5e1;
  color: #475569;
}

/* Trust Pills */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--soft);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border: 1px solid var(--light-border);
  padding: 5px 12px;
  border-radius: 20px;
}

/* NovaFix Window Mockup */
.mockup-container {
  display: flex;
  justify-content: center;
}

.window-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  font-family: system-ui, -apple-system, sans-serif;
}

.window-header {
  background: #1e293b;
  color: #f8fafc;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-controls {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot.close { background: #ef4444; }
.window-dot.min { background: #f59e0b; }
.window-dot.max { background: #10b981; }

.window-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.window-secure-icon {
  font-size: 0.85rem;
}

.window-body {
  padding: 24px;
  background: #fdfdfd;
}

.session-info-card {
  background: var(--light);
  border: 1px solid var(--light-border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.code-row:last-child {
  margin-bottom: 0;
}

.code-label {
  font-size: 0.85rem;
  color: var(--soft);
  font-weight: 500;
}

.code-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

.code-value.otp {
  color: var(--amber);
  border-color: #fde68a;
}

.session-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-emergency-stop {
  display: block;
  width: 100%;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-emergency-stop:hover {
  background: #fca5a5;
  color: #991b1b;
}

.mockup-footer-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--soft);
  text-align: center;
}

/* Sections Common */
section {
  padding: 70px 0;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--soft);
  max-width: 680px;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* How It Works Section */
.how-it-works {
  background: var(--light);
  border-bottom: 1px solid var(--light-border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.3);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  margin-top: 8px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--soft);
  line-height: 1.6;
}

.step-card ul {
  margin: 10px 0 0 16px;
  font-size: 0.9rem;
  color: var(--soft);
}

.step-card li {
  margin-bottom: 4px;
}

/* SmartScreen Notice Callout */
.smartscreen-notice {
  margin-top: 44px;
  background: #f0f7ff;
  border-left: 5px solid #2563eb;
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.notice-icon {
  font-size: 2rem;
  line-height: 1;
}

.notice-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.notice-text p {
  font-size: 0.92rem;
  color: #1e293b;
  margin-bottom: 8px;
}

.notice-steps {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #334155;
  margin-top: 6px;
}

.notice-step-pill {
  background: #ffffff;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
  font-weight: 600;
}

/* Security Guarantee Section */
.security-section {
  background: var(--white);
  border-bottom: 1px solid var(--light-border);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.security-card {
  background: var(--light);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.2s ease;
  position: relative;
}

.security-card:hover {
  background: var(--white);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.sec-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.sec-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow);
}

.security-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
}

.security-card p {
  font-size: 0.95rem;
  color: var(--soft);
  line-height: 1.65;
}

/* Apps Portfolio Section */
.apps-section {
  background: #fbfcfe;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #cbd5e1;
}

.app-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--light);
  position: relative;
}

.app-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.app-card:hover .app-thumb img {
  transform: scale(1.04);
}

.app-tag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.app-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.app-body p {
  font-size: 0.92rem;
  color: var(--soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: gap 0.2s;
}

.app-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}

/* App Card Featured (NovaFix) */
.app-card.featured {
  border: 2px solid #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.app-card.featured .app-tag-badge {
  background: #2563eb;
}

/* Call to Action Banner */
.cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}

.cta-section h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-main {
  background: var(--white);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s, background 0.2s;
}

.cta-btn-main:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.cta-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.2s;
}

.cta-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer.site-footer {
  background: #090e17;
  color: #94a3b8;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

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

.footer-brand h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 380px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #60a5fa;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mockup-container {
    order: 2;
  }
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .apps-grid {
    grid-template-columns: 1fr;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  nav.main-nav {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
