:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --surface-dark: #0f172a;
  --text: #172033;
  --text-soft: #5b677d;
  --title: #0b1220;
  --primary: #1d4ed8;
  --primary-dark: #173ea6;
  --border: #dbe4f0;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 228, 240, 0.85);
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--title);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--title);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
  background:
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.card-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--title);
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-description {
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 700px;
  margin-bottom: 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.18);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--title);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.metric-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--title);
  margin-bottom: 6px;
}

.metric-label {
  display: block;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-card {
  position: relative;
}

.hero-card-inner {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 2rem;
  color: var(--title);
  margin-bottom: 8px;
}

.card-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.profile-points {
  list-style: none;
  padding-left: 0;
  margin-bottom: 22px;
}

.profile-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text);
}

.profile-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  color: var(--title);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.about-text,
.about-box,
.service-card,
.project-panel,
.contact-card,
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-text {
  padding: 30px;
}

.about-text p + p {
  margin-top: 16px;
}

.about-panel {
  display: flex;
}

.about-box {
  width: 100%;
  padding: 30px;
}

.about-box h3,
.service-card h3,
.project-panel h3,
.contact-card h3 {
  font-size: 1.18rem;
  color: var(--title);
  margin-bottom: 14px;
}

.about-box ul li {
  margin-bottom: 10px;
  color: var(--text-soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  padding: 28px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f0ff;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card p,
.project-panel p,
.contact-card p,
.about-text p,
.highlight-box p {
  color: var(--text-soft);
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tech-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--title);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.projects-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-panel {
  padding: 28px;
}

.projects-cta {
  margin-top: 36px;
  text-align: center;
}

.highlight-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.highlight-box {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  padding: 42px;
}

.highlight-box .section-kicker,
.highlight-box h2,
.highlight-box p {
  color: #fff;
}

.highlight-box p {
  opacity: 0.85;
  max-width: 760px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-card {
  padding: 30px;
}

.contact-list {
  margin-top: 22px;
  display: grid;
  gap: 18px;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-list a {
  color: var(--title);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--primary);
}

.site-footer {
  padding: 28px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

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

.footer-content p {
  color: var(--text-soft);
}

.hero-blur {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.25;
  z-index: 1;
}

.hero-blur-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: 10%;
  background: #60a5fa;
}

.hero-blur-2 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: 5%;
  background: #93c5fd;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .projects-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 88px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cards-grid,
  .projects-layout,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}