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

:root {
  --red: #e11d48;
  --red-dark: #be123c;
  --red-light: #fb7185;
  --red-glow: rgba(225, 29, 72, 0.25);
  --white: #ffffff;
  --off-white: #f8f8f8;
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --border-red: rgba(225, 29, 72, 0.3);
  --text: #e5e5e5;
  --text-muted: #737373;
  --font: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ===== TYPOGRAPHY ===== */
.text-gradient {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-light) 30%, #ffffff 50%, var(--red-light) 70%, var(--red) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-sub { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 0 20px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 0 30px rgba(225,29,72,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(225,29,72,0.05);
}

.btn-nav {
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 0 16px var(--red-glow);
}
.btn-nav:hover { background: var(--red-dark); }

.btn-full { width: 100%; justify-content: center; }

.btn-submit svg { width: 16px; height: 16px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(10,10,10,0.97);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0;

  letter-spacing: 0;
  word-spacing: 0;
}
.logo-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-right: -18px;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  background: linear-gradient(135deg, #ffffff 0%, #ffaaaa 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-bracket { color: var(--red); }
.logo-dot { color: var(--red); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn { margin-top: 12px; border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(225,29,72,0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}
.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(225,29,72,0.08) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,29,72,0.1);
  border: 1px solid var(--border-red);
  color: var(--red-light);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Code Window */
.hero-visual {
  position: relative;
}

.code-window {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.window-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.code-body {
  padding: 24px 28px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 2;
}

.code-line { white-space: nowrap; }
.indent { padding-left: 20px; }
.indent2 { padding-left: 40px; }

.tag { color: var(--red-light); }
.attr { color: #93c5fd; }
.eq { color: var(--text-muted); }
.val { color: #86efac; }
.text { color: var(--text); }
.comment { color: #4b5563; font-style: italic; }

.cursor-blink {
  color: var(--red);
  animation: blink 1s step-end infinite;
  font-weight: 700;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Floating cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
}

.card-1 { bottom: -20px; left: -30px; animation: float 4s ease-in-out infinite; }
.card-2 { top: -16px; right: -20px; animation: float 4s ease-in-out infinite 2s; }

.hero-mascot {
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 330px;
  object-fit: contain;
  animation: float 5s ease-in-out infinite 1s;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(225,29,72,0.1);
  border: 1px solid var(--border-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--red);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process { padding: 100px 0; }

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-number {
  width: 64px;
  height: 64px;
  background: rgba(225,29,72,0.1);
  border: 1px solid var(--border-red);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 200px;
  margin: 0 auto;
}

.step-connector {
  flex: 0 0 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  margin-top: 32px;
  opacity: 0.5;
}

/* ===== PRICING ===== */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  align-items: start;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.pricing-card-featured {
  background: var(--bg-3);
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 24px 60px rgba(225,29,72,0.15);
  transform: scale(1.02);
}
.pricing-card-featured:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: var(--red);
}

.popular-ribbon {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
}

.tier-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  margin-top: 8px;
}
.starter-badge { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.popular-badge { background: rgba(225,29,72,0.15); color: var(--red-light); border: 1px solid var(--border-red); }
.premium-badge { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }

.price {
  margin-bottom: 28px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.price-plus { font-size: 28px; }
.price-period {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.check {
  width: 20px;
  height: 20px;
  background: rgba(225,29,72,0.15);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Retainer */
.retainer-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.retainer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.retainer-label span { color: var(--red); }

.retainer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.retainer-card { padding: 8px 0; }

.retainer-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.retainer-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.retainer-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
}
.retainer-price span {
  font-size: 14px;
  color: var(--text-muted);
}
.retainer-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.retainer-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  margin: 0 40px;
}

/* ===== CONTACT ===== */
.contact { padding: 100px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin: 16px 0 36px;
  line-height: 1.7;
}

.contact-details { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}
.contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

input, select, textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: #404040; }
input:focus, select:focus, textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
select { cursor: pointer; }
select option { background: var(--bg-3); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  color: #4ade80;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
}
.form-success.show { display: flex; }
.form-success span { font-size: 18px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 140px 0 80px; }
}

@media (max-width: 768px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card-featured { transform: none; }

  .process-steps {
    flex-direction: column;
    gap: 32px;
  }
  .step-connector {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, var(--red), transparent);
    margin: 0 auto;
    flex: none;
  }

  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  .retainer-grid { grid-template-columns: 1fr; }
  .retainer-divider { width: 100%; height: 1px; margin: 16px 0; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .contact-form { padding: 24px 20px; }
  .retainer-section { padding: 24px 20px; }
}
