:root {
  --primary: #e53935;
  --primary-dark: #b71c1c;
  --dark: #101828;
  --text: #344054;
  --muted: #667085;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e4e7ec;
  --shadow: 0 20px 50px rgba(16, 24, 40, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
}

.light {
  background: var(--light);
}

.dark {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: var(--white);
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-content {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--dark);
}

.logo-area img {
  width: 250px;
  height: 100px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav-menu a {
  color: var(--text);
  transition: 0.2s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.menu-btn {
  display: none;
  border: none;
  background: var(--primary);
  color: white;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 22px;
}

/* HERO */

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(229, 57, 53, 0.14), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.badge.danger {
  background: rgba(255, 193, 7, 0.16);
  color: #b45309;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
  color: var(--dark);
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero-text p {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s;
}

.btn.primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 24px rgba(229, 57, 53, 0.25);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid var(--border);
  background: white;
  color: var(--dark);
}

.btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
}

.pulse-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.12);
  border: 2px solid rgba(229, 57, 53, 0.28);
  margin: 0 auto 30px;
  position: relative;
}

.pulse-circle::after {
  content: "";
  position: absolute;
  inset: 35px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 20px rgba(229, 57, 53, 0.08);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  70% { transform: scale(1.15); opacity: 0.15; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-card h3 {
  color: var(--dark);
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 22px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-list div {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  font-weight: 700;
  color: var(--dark);
}

/* SECTIONS */

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}

.section-title span {
  color: var(--primary);
  font-weight: 800;
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--dark);
  margin-top: 8px;
  letter-spacing: -0.8px;
}

.section-title p {
  color: var(--muted);
  margin-top: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(229, 57, 53, 0.1);
  font-size: 26px;
  margin-bottom: 18px;
}

.card h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

/* TABLE */

.table-box {
  overflow-x: auto;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th, td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: #fff5f5;
  color: var(--primary-dark);
  font-weight: 800;
}

td {
  color: var(--text);
}

/* RISK */

.risk-box {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: center;
}

.risk-box h2,
.mobile-grid h2,
.text-section h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--dark);
  margin-bottom: 16px;
}

.risk-box p {
  margin-bottom: 14px;
  color: var(--muted);
}

.warning-card {
  padding: 30px;
  border-radius: 26px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.warning-card h3 {
  color: #9a3412;
  margin-bottom: 10px;
}

.warning-card p {
  color: #7c2d12;
}

/* MOBILE */

.mobile-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
}

.dark h2 {
  color: white;
}

.dark p {
  color: #d1d5db;
}

.phone-card {
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  background: #0b1220;
  border: 10px solid #374151;
  border-radius: 36px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.phone-top {
  width: 90px;
  height: 8px;
  border-radius: 999px;
  background: #4b5563;
  margin: 0 auto 26px;
}

.app-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  margin-bottom: 14px;
  font-weight: 700;
}

/* ABOUT & TEXT */

.about-box,
.text-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 34px;
  border-radius: 26px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.about-box p,
.text-section p {
  color: var(--muted);
  margin-bottom: 16px;
}

.text-section h2 {
  margin-bottom: 18px;
}

/* FOOTER */

.footer {
  background: var(--dark);
  color: white;
  padding: 26px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a {
  color: #d1d5db;
  margin-left: 16px;
  font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-grid,
  .risk-box,
  .mobile-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-card {
    margin: 0;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 4%;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 70px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}

.source-notice {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  margin-bottom: 34px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.source-logo {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.source-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.source-text h3 {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 20px;
}

.source-text p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}

@media (max-width: 720px) {
  .source-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .source-logo {
    flex: none;
    width: 100%;
    justify-content: flex-start;
  }
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.info-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: white;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.info-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-list {
  margin-left: 20px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.workflow-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.workflow-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
  align-items: center;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(229, 57, 53, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 16px;
}

.workflow-card h3 {
  color: var(--dark);
  font-size: 24px;
  margin-bottom: 12px;
}

.workflow-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.workflow-image {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  display: grid;
  place-items: center;
}

.workflow-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.source-line {
  font-size: 14px;
  font-weight: 700;
}

.source-line a {
  color: var(--primary);
}

@media (max-width: 820px) {
  .workflow-detail-grid {
    grid-template-columns: 1fr;
  }

  .workflow-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
}

.faq-item h3 {
  color: var(--dark);
  margin-bottom: 6px;
  font-size: 18px;
}

.faq-item p {
  color: var(--muted);
}