@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #050a15;
  --bg-secondary: #0a0f1c;
  --bg-card: #0d1321;
  --bg-card-hover: #111827;
  --border: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 180, 216, 0.15);

  --text-primary: #f0f0f5;
  --text-secondary: #8a8f9e;
  --text-muted: #5a5f6e;

  --accent-cyan: #00b4d8;
  --accent-purple: #7c3aed;
  --accent-green: #10b981;

  --gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-subtle: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(124, 58, 237, 0.1));

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(0, 180, 216, 0.08);

  --radius: 12px;
  --radius-lg: 20px;

  --section-spacing: clamp(4rem, 8vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg {
  display: block;
}

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

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  padding: 0.9rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 180, 216, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(0, 180, 216, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 10, 21, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;

  & span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;

  & a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;

    &:hover {
      color: var(--text-primary);
    }
  }
}

.nav-cta {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.hero {
  position: relative;
  padding: clamp(8rem, 14vw, 12rem) 0 var(--section-spacing);
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, rgba(124, 58, 237, 0.06) 40%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; scale: 1; }
  50% { opacity: 1; scale: 1.1; }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-glow);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 620px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero .btn {
  margin-bottom: 1rem;
}

.hero-micro {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 600px;
  margin-inline: auto;
  background: rgba(13, 19, 33, 0.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-stat {
  flex: 1;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  position: relative;

  &:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
  }
}

.hero-stat-number {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.problems {
  padding: var(--section-spacing) 0;
  background: var(--bg-secondary);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
  }
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--accent-cyan);
}

.problem-card h3 {
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.services {
  padding: var(--section-spacing) 0;
}

.services-zigzag {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-row.reverse {
  direction: rtl;

  & > * {
    direction: ltr;
  }
}

.service-content {
  display: flex;
  flex-direction: column;
}

.service-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

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

.service-result {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-green);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: inline-block;
}

.service-visual {
  display: grid;
  place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  aspect-ratio: 1;
  max-width: 320px;
  justify-self: center;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;

  &:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
  }

  & svg {
    width: 100%;
    height: 100%;
  }
}

.offer {
  padding: var(--section-spacing) 0;
  background: var(--bg-secondary);
}

.process-timeline {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
  padding: 0 1rem;
}

.process-step {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;

  &:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: var(--gradient);
    opacity: 0.25;
  }
}

.process-marker {
  position: relative;
  z-index: 2;
  margin-bottom: 1.25rem;
}

.process-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 24px rgba(0, 180, 216, 0.25);
}

.process-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: 100%;

  &:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
  }

  & h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }

  & p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

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

.testimonials {
  padding: var(--section-spacing) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;

  &:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
  }
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.testimonial-card blockquote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);

  & strong {
    display: block;
    font-size: 0.95rem;
  }

  & span {
    color: var(--text-muted);
    font-size: 0.8rem;
  }
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.guarantee {
  padding: var(--section-spacing) 0;
  background: var(--bg-secondary);
}

.guarantee-box {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: var(--shadow-glow);
}

.guarantee-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.guarantee-box h2 {
  margin-bottom: 1.5rem;
}

.guarantee-box p {
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  margin-bottom: 1rem;

  & strong {
    color: var(--text-primary);
  }
}

.contact {
  padding: var(--section-spacing) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 3rem;
  align-items: start;
}

.contact-text h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-text > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;

  & svg {
    color: var(--accent-green);
    flex-shrink: 0;
  }
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;

  & label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
  }

  & input,
  & textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;

    &::placeholder {
      color: var(--text-muted);
    }

    &:focus {
      border-color: var(--accent-cyan);
      box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
    }
  }

  & textarea {
    resize: vertical;
    min-height: 100px;
  }
}

.contact-form .btn {
  margin-top: 0.5rem;
}

.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;

  & p {
    color: var(--text-muted);
    font-size: 0.85rem;
  }
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-row.reverse {
    direction: ltr;
  }

  .service-visual {
    max-width: 220px;
    padding: 1.5rem;
  }

  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .process-step {
    max-width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 1rem;

    &:not(:last-child)::after {
      top: auto;
      left: 20px;
      bottom: -0.5rem;
      width: 2px;
      height: 1rem;
    }
  }

  .process-marker {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    max-width: 280px;
  }

  .hero-stat:not(:last-child)::after {
    top: auto;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 1px;
    right: auto;
  }

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

  .contact-text > p {
    text-align: center;
  }

  .contact-points {
    align-items: center;
    margin-bottom: 1rem;
  }

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