.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3rem;
  padding: 4.5rem 0 3rem;
}

.hero-eyebrow {
  margin-bottom: 0.5rem;
  color: var(--site-accent-2);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero-name {
  margin-bottom: 0.5rem;
  font-size: clamp(2.35rem, 5.3vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  background: linear-gradient(115deg, #ffffff 10%, var(--site-accent-2) 55%, var(--site-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-bs-theme='light'] .hero-name {
  background: linear-gradient(115deg, #111827 5%, #4338ca 50%, #0891b2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-role {
  margin-bottom: 1rem;
  color: var(--site-text);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 700;
}

.hero-summary {
  max-width: 52ch;
  margin-bottom: 1.6rem;
  color: var(--site-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.tech-badge {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 0.75rem;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: end;
  filter: drop-shadow(0 30px 60px rgba(34, 211, 238, 0.14));
}

@media (prefers-reduced-motion: no-preference) {
  .hero-image {
    animation: float 7s ease-in-out infinite;
  }
}

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

.about-section {
  padding: 2.5rem 0 1rem;
}

.about-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 2.25rem;
  padding: 2.25rem;
  border: 1px solid var(--site-border);
  border-radius: 1.25rem;
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.profile-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(124, 92, 255, 0.5);
  box-shadow: 0 0 0 8px rgba(124, 92, 255, 0.08);
}

.about-text h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 800;
}

.about-text p {
  color: var(--site-muted);
  line-height: 1.7;
}

.mobile-section {
  padding: 4.5rem 0 0.5rem;
}

.mobile-header {
  max-width: 64ch;
  margin: 0 auto 2.25rem;
}

.mobile-header .section-title {
  margin-bottom: 0.75rem;
}

.mobile-intro {
  margin: 0;
  color: var(--site-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.mobile-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--site-border);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.08), var(--site-surface) 45%, transparent);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mobile-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.45);
}

.mobile-tag {
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.14);
  color: var(--site-accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-bs-theme='light'] .mobile-tag {
  background: rgba(8, 145, 178, 0.12);
  color: #0e7490;
}

.mobile-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.mobile-card p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
}

.advantages-section {
  padding: 5rem 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.advantage {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--site-border);
  border-radius: 1rem;
  background: linear-gradient(160deg, var(--site-surface), transparent);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.advantage:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.4);
}

.advantage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 0.7rem;
  background: rgba(124, 92, 255, 0.16);
  color: var(--site-accent-2);
  font-weight: 800;
  font-size: 0.85rem;
}

.advantage h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.advantage p {
  margin: 0;
  color: var(--site-muted);
  line-height: 1.65;
}

.plans-section {
  padding: 2rem 0 5rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  padding-top: 1rem;
}

.plan-card {
  position: relative;
  overflow: visible;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
}

.plan-card .card-body {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
}

.plan-card .card-title {
  margin-bottom: 1.25rem;
  font-weight: 800;
  font-size: 1.3rem;
}

.plan-featured {
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 22px 50px rgba(124, 92, 255, 0.22);
}

.recommended-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-accent), var(--site-accent-2));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-list {
  flex: 1;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--site-muted);
}

.plan-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  border-bottom: 1px dashed var(--site-border);
}

.plan-list li:last-child {
  border-bottom: 0;
}

.plan-list li::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--site-accent-2);
}

.modal-content {
  border: 1px solid var(--site-border);
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    text-align: center;
  }

  .hero-summary {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .tech-badge {
    margin: 0 auto;
  }

  .hero-image {
    justify-self: center;
    max-width: 420px;
  }

  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-photo {
    margin: 0 auto;
  }

  .advantages-grid,
  .mobile-grid,
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-featured {
    box-shadow: 0 18px 36px rgba(124, 92, 255, 0.18);
  }
}
