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

:root {
  --bg: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --text: #e4e4e8;
  --text-secondary: #7c7c86;
  --accent: #e03e3e;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px;
}

/* ── Glow blobs ── */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #6a2a2a, transparent 70%);
  top: -15%; left: -10%;
  animation: float1 20s ease-in-out infinite;
}

.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #5a5a6e, transparent 70%);
  top: 30%; right: -15%;
  animation: float2 25s ease-in-out infinite;
}

.glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3d4a5a, transparent 70%);
  bottom: -10%; left: 20%;
  animation: float3 22s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 100px) scale(0.95); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -80px) scale(1.05); }
  66% { transform: translate(40px, 50px) scale(0.9); }
}
@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -60px) scale(1.15); }
}

.wrapper {
  position: relative;
  z-index: 1;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  animation: fadeDown 0.8s ease both;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #e03e3e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #e4e4e8 0%, #e4e4e8 45%, #d4a0a0 75%, #e03e3e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeDown 0.8s 0.1s ease both;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: fadeDown 0.8s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
  animation: fadeDown 0.8s 0.3s ease both;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}

.hero-cta svg {
  width: 16px; height: 16px;
  transition: transform 0.25s;
}

.hero-cta:hover svg { transform: translateY(3px); }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeDown 0.8s 0.5s ease both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}

@keyframes scroll-anim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

/* ── Section ── */
section { padding: 6rem 2rem; }

.section-label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 3.5rem;
  font-size: 1.05rem;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tab {
  padding: 0.6rem 1.6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Services Grid ── */
.services {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1),
              background 0.3s,
              border-color 0.3s,
              box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.4);
}

.card:hover::before { opacity: 1; }

.card:nth-child(1)::before { background: radial-gradient(circle at top left, rgba(224, 62, 62, 0.06), transparent 60%); }
.card:nth-child(2)::before { background: radial-gradient(circle at top left, rgba(224, 62, 62, 0.04), transparent 60%); }
.card:nth-child(3)::before { background: radial-gradient(circle at top left, rgba(224, 62, 62, 0.05), transparent 60%); }
.card:nth-child(4)::before { background: radial-gradient(circle at top left, rgba(224, 62, 62, 0.06), transparent 60%); }

.card-number {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.card:nth-child(1) .card-icon { background: rgba(224, 62, 62, 0.1); }
.card:nth-child(2) .card-icon { background: rgba(224, 62, 62, 0.08); }
.card:nth-child(3) .card-icon { background: rgba(224, 62, 62, 0.09); }
.card:nth-child(4) .card-icon { background: rgba(224, 62, 62, 0.1); }

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card:nth-child(1) .card-icon svg { stroke: #e03e3e; }
.card:nth-child(2) .card-icon svg { stroke: #d45555; }
.card:nth-child(3) .card-icon svg { stroke: #d45555; }
.card:nth-child(4) .card-icon svg { stroke: #e03e3e; }

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p, .card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.card-desc b, .card-desc strong { font-weight: 700; color: var(--text); }
.card-desc i, .card-desc em { font-style: italic; }
.card-desc u { text-decoration: underline; }
.card-desc ul, .card-desc ol { margin: 0.2rem 0; padding-left: 1.3rem; }
.card-desc li { margin-bottom: 0.1rem; }

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card-price {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card-price span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.card-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
}

.card:hover .card-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(2px, -2px);
}

.card:hover .card-arrow svg { stroke: #fff; }

.card-arrow svg {
  width: 14px; height: 14px;
  stroke: var(--text-secondary);
}

/* ── Featured card (wide) ── */
.card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(224, 62, 62, 0.08) 0%, rgba(224, 62, 62, 0.04) 50%, rgba(224, 62, 62, 0.02) 100%);
  border: 1px solid rgba(224, 62, 62, 0.15);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2.5rem;
}

.card.featured::before {
  background: radial-gradient(circle at center, rgba(224, 62, 62, 0.04), transparent 60%);
}

.card.featured:hover {
  border-color: rgba(224, 62, 62, 0.25);
  box-shadow: 0 20px 60px -15px rgba(224, 62, 62, 0.1);
}

.card.featured .card-icon {
  background: rgba(224, 62, 62, 0.1);
}

.card.featured .card-icon svg { stroke: #e03e3e; }

.featured-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  min-width: 220px;
}

.featured-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: rgba(224, 62, 62, 0.1);
  border: 1px solid rgba(224, 62, 62, 0.2);
  font-size: 0.72rem;
  font-weight: 600;
  color: #e03e3e;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.featured-right {
  text-align: right;
}

.featured-right .card-price {
  font-size: 2.2rem;
  color: var(--text);
}

.featured-right .card-price span {
  color: var(--text-secondary);
}

/* ── About Section ── */
.about-section {
  padding: 4rem 2rem;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.about-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(224, 62, 62, 0.04), transparent 60%);
  pointer-events: none;
}

.about-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e03e3e, #b02e2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  flex-shrink: 0;
}

.about-text {
  position: relative;
}

.about-text .section-label {
  text-align: left;
  margin-bottom: 0.4rem;
}

.about-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.about-stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  padding: 4rem 2rem 6rem;
  position: relative;
}

.cta-box {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(224, 62, 62, 0.05), transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  position: relative;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224, 62, 62, 0.25);
}

.cta-btn svg {
  width: 16px; height: 16px;
  transition: transform 0.25s;
}

.cta-btn:hover svg { transform: translate(2px, -2px); }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
  border-top: 1px solid var(--border);
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  padding-right: 2.5rem;
}

.modal-price {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.modal-desc b, .modal-desc strong { font-weight: 700; color: var(--text); }
.modal-desc i, .modal-desc em { font-style: italic; }
.modal-desc u { text-decoration: underline; }
.modal-desc ul, .modal-desc ol { margin: 0.4rem 0; padding-left: 1.4rem; }
.modal-desc li { margin-bottom: 0.2rem; }

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

@media (max-width: 700px) {
  .modal-content { padding: 2rem 1.5rem; }
  .modal-title { font-size: 1.25rem; }
  .modal-price { font-size: 1.5rem; }
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1),
              transform 0.7s cubic-bezier(0.2, 0, 0, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }

/* ── Responsive ── */
@media (max-width: 700px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  section { padding: 2.5rem 0.75rem; }
  .section-subtitle { margin-bottom: 1.5rem; }

  .tabs { margin-bottom: 1.5rem; }
  .tab { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

  .card {
    padding: 1rem;
    gap: 0.4rem;
    border-radius: 14px;
  }

  .card-number { font-size: 0.65rem; }

  .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    margin-bottom: 0;
  }

  .card-icon svg { width: 18px; height: 18px; }
  .card h3 { font-size: 0.85rem; }
  .card p, .card-desc { display: none; }

  .card-bottom {
    margin-top: 0.4rem;
    padding-top: 0.5rem;
  }

  .card-price { font-size: 1.05rem; }
  .card-arrow { display: none; }

  .card.featured {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.5rem;
  }

  .featured-left { gap: 0.4rem; min-width: 0; }
  .featured-badge { font-size: 0.6rem; padding: 0.15rem 0.5rem; }
  .featured-right { text-align: left; }
  .featured-right .card-price { font-size: 1.2rem; }

  .about-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  .about-text .section-label { text-align: center; }
  .about-stats { justify-content: center; gap: 1.5rem; }
  .about-stat { align-items: center; }

  .cta-box { padding: 2.5rem 1.5rem; }
}
