/* Base settings */
:root {
  --white: #ffffff;
  --soft-white: #fafaff;
  --purple: #6d28d9;
  --purple-dark: #3b0764;
  --purple-soft: #ede9fe;
  --purple-light: #f5f3ff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --card: rgba(255, 255, 255, 0.86);
  --shadow: 0 18px 42px rgba(55, 48, 163, 0.12);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(
      circle at top left,
      rgba(109, 40, 217, 0.1),
      transparent 32rem
    ),
    linear-gradient(180deg, #ffffff 0%, #fafaff 45%, #ffffff 100%);
  line-height: 1.55;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 68px 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), #a855f7);
  box-shadow: 0 12px 28px rgba(109, 40, 217, 0.22);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.brand small {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #374151;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--purple);
}

.language-switch {
  display: flex;
  padding: 4px;
  gap: 4px;
  background: var(--purple-light);
  border: 1px solid var(--purple-soft);
  border-radius: 999px;
}

.lang-btn {
  border: 0;
  cursor: pointer;
  padding: 7px 11px;
  color: var(--purple-dark);
  background: transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.76rem;
}

.lang-btn.active {
  color: var(--white);
  background: var(--purple);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 86px;
  padding-bottom: 56px;
}

.hero-bg-glow {
  position: absolute;
  top: 120px;
  right: -120px;
  width: 390px;
  height: 390px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.16);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-header h2,
.about-content h2,
.contact-card h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.55rem, 6vw, 5.25rem);
}

.hero-description {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), #9333ea);
  box-shadow: 0 16px 32px rgba(109, 40, 217, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(109, 40, 217, 0.32);
}

.btn-secondary {
  color: var(--purple-dark);
  background: var(--white);
  border: 1px solid var(--purple-soft);
}

.btn-secondary:hover {
  border-color: var(--purple);
}

.service-area {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  color: var(--purple-dark);
  background: var(--purple-light);
  border: 1px solid var(--purple-soft);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 750;
}

.service-area p {
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 680px;
  margin-top: 28px;
}

.hero-stats div {
  padding: 16px;
  background: var(--card);
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.04);
}

.hero-stats strong {
  display: block;
  color: var(--purple);
  font-size: 1.36rem;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.83rem;
}

.hero-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 9px 13px;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: #10b981;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.mock-browser {
  overflow: hidden;
  background: #111827;
  border-radius: 22px;
  border: 1px solid #312e81;
}

.browser-dots {
  display: flex;
  gap: 7px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.mock-content {
  padding: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(147, 51, 234, 0.28),
      transparent 18rem
    ),
    #111827;
}

.mock-line {
  height: 12px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mock-line.large {
  width: 78%;
  height: 22px;
  background: rgba(255, 255, 255, 0.34);
}

.mock-line.short {
  width: 48%;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 24px;
}

.mock-grid div {
  min-height: 78px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.42),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-analytics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 11px;
}

.mock-analytics div {
  padding: 16px;
  color: var(--white);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-analytics small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.mock-analytics strong {
  font-size: 1.55rem;
}

.hero-card p {
  margin: 16px 4px 0;
  color: var(--muted);
}

/* Section headers */
.section-header {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-header.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: end;
}

.section-header h2,
.about-content h2,
.contact-card h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}

.section-header p:not(.eyebrow),
.about-content p,
.contact-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.05);
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-soft);
  box-shadow: var(--shadow);
}

.icon-box {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--purple-light);
  font-size: 1.35rem;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* Projects */
.projects-section {
  background: linear-gradient(
    180deg,
    rgba(245, 243, 255, 0.72),
    rgba(255, 255, 255, 0.98)
  );
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.project-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.05);
  transition: 0.2s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  object-position: top center;
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.15), rgba(168, 85, 247, 0.06)),
    #f3f4f6;
}

.project-card div {
  padding: 18px;
}

.project-card span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 6px 10px;
  color: var(--purple);
  background: var(--purple-light);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.project-card h3 {
  margin: 0 0 7px;
}

.project-card p {
  margin: 0;
  color: var(--muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.about-content,
.owner-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 30px;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.05);
}

.about-content p {
  max-width: 760px;
}

.about-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.about-list div {
  padding: 16px;
  background: var(--soft-white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.about-list strong,
.about-list span {
  display: block;
}

.about-list span {
  margin-top: 4px;
  color: var(--muted);
}

.owner-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(109, 40, 217, 0.12),
      transparent 16rem
    ),
    var(--white);
}

.owner-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), #a855f7);
  border-radius: 26px;
  font-size: 1.5rem;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(109, 40, 217, 0.22);
}

.owner-card h3 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.owner-card p:not(.eyebrow) {
  color: var(--muted);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.skill-tags span {
  padding: 8px 12px;
  color: var(--purple-dark);
  background: var(--purple-light);
  border: 1px solid var(--purple-soft);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

/* Contact */
.contact-section {
  padding-top: 40px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  color: var(--white);
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.22),
      transparent 20rem
    ),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: 32px;
  box-shadow: 0 26px 62px rgba(59, 7, 100, 0.25);
}

.contact-card .eyebrow,
.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card p {
  opacity: 0.84;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: block;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
}

.contact-link span,
.contact-link strong {
  display: block;
}

.contact-link span {
  opacity: 0.72;
  font-size: 0.84rem;
}

.contact-link strong {
  margin-top: 4px;
  font-size: 0.98rem;
}

.full-width {
  width: 100%;
  color: var(--purple-dark);
  background: var(--white);
  box-shadow: none;
}

/* Footer */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-content a {
  color: var(--purple);
  font-weight: 800;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .contact-card,
  .section-header.split {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 72px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 52px 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 9px 4px;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .service-area {
    align-items: flex-start;
    border-radius: 18px;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 26px;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about-content,
  .owner-card {
    padding: 22px;
  }

  .mock-content {
    padding: 20px;
  }

  .mock-grid,
  .mock-analytics {
    grid-template-columns: 1fr;
  }

  .project-card img {
    height: 205px;
  }
}
