/* ==========================================================================
   Reset & Variables
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #C8102E;
  --red-glow: #e6152f;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-line: #e8e8e8;
  --gray: #666;
  --text: #0a0a0a;
  --font: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes scrollDown {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

nav.scrolled {
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.97);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-logo .n-mark {
  width: 36px;
  height: 36px;
  background: var(--bg-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

.nav-logo .n-mark::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--red-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.25);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 48px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: rgba(200, 16, 46, 0.06);
  border: 1px solid rgba(200, 16, 46, 0.15);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  max-width: 900px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 .accent {
  color: var(--red);
}

.hero p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--gray);
  max-width: 560px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #aaa, transparent);
  animation: scrollDown 2s infinite;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--red-glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 16, 46, 0.25);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.03);
}

/* ==========================================================================
   Section Shared
   ========================================================================== */
section {
  padding: 120px 48px;
  position: relative;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  max-width: 700px;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 64px;
}

/* Centered section header variant */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-title,
.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.stat-item {
  padding: 64px 40px;
  text-align: center;
  background: var(--bg);
  position: relative;
  transition: background 0.3s ease;
}

.stat-item:hover {
  background: var(--bg-alt);
}

.stat-number {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.service-card {
  background: var(--bg);
  padding: 48px 32px;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--bg-alt);
}

.service-number {
  font-size: 11px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.15);
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 20px;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.service-tag {
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 100px;
  color: var(--gray);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   About / Why Us
   ========================================================================== */
.about-section {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.about-feature:hover {
  background: rgba(0, 0, 0, 0.02);
}

.about-feature-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  opacity: 0.3;
  line-height: 1;
  min-width: 40px;
}

.about-feature h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-feature p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ==========================================================================
   Comparison
   ========================================================================== */
.comparison-section {
  background: var(--bg);
}

.comparison-table {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: rgba(0, 0, 0, 0.03);
}

.comparison-header div {
  padding: 20px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.comparison-header div:last-child {
  color: var(--red);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease;
}

.comparison-row:hover {
  background: rgba(0, 0, 0, 0.015);
}

.comparison-row div {
  padding: 18px 28px;
  font-size: 14px;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.comparison-row div:first-child {
  color: var(--text);
  font-weight: 500;
}

.comparison-row div:last-child {
  color: var(--text);
}

.check {
  color: var(--red);
  margin-right: 8px;
  font-weight: 700;
}

/* ==========================================================================
   Audience
   ========================================================================== */
.audience-section {
  background: var(--bg-alt);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.06);
}

.audience-card {
  background: var(--bg);
  padding: 48px 36px;
  position: relative;
  transition: all 0.3s ease;
}

.audience-card:hover {
  background: rgba(200, 16, 46, 0.02);
}

.audience-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-card .size {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.audience-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form-section {
  background: var(--bg-alt);
  padding: 120px 48px;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray);
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

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

.form-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.form-success {
  display: none;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 32px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--gray);
}

@media (max-width: 768px) {
  .contact-form-section { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { align-self: stretch; text-align: center; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  padding: 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 13px;
  color: var(--gray);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--gray);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  section { padding: 80px 24px; }
  .hero { padding: 120px 24px 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .comparison-header,
  .comparison-row { grid-template-columns: 1fr 1fr 1fr; }
  .comparison-header div,
  .comparison-row div { padding: 14px 16px; font-size: 12px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
}
