/* Agolts DevOps Freelancer Website */

:root {
  --bg: #0f172a;
  --bg-soft: #111827;
  --card: #ffffff;
  --card-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --light: #e2e8f0;
  --white: #ffffff;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #22c55e;
  --border: #e5e7eb;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.94rem;
  color: #334155;
  font-weight: 650;
}

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

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.nav-cta,
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--border);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 800;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.32), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(37, 99, 235, 0.4), transparent 32%),
    linear-gradient(135deg, #020617 0%, #0f172a 48%, #111827 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  filter: blur(6px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: 760px;
  padding: 82px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #bfdbfe;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.18);
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}

.hero p {
  max-width: 680px;
  color: #cbd5e1;
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  margin-bottom: 34px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
}

.stat {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.stat span {
  display: block;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  width: fit-content;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 22px;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.88rem;
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

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

.section-dark {
  background: var(--bg);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  color: var(--primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-dark .section-kicker {
  color: #93c5fd;
}

h2.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin-bottom: 16px;
}

.section-head p,
.muted {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-head p,
.section-dark .muted {
  color: #cbd5e1;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: stretch;
}

.profile-card,
.content-card,
.service-card,
.project-card,
.timeline-card,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.profile-card {
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 2rem;
  font-weight: 950;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin-bottom: 20px;
}

.profile-card h3 {
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  color: #334155;
}

.profile-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.profile-list span {
  color: var(--muted);
  font-weight: 700;
}

.profile-list strong {
  text-align: right;
}

.content-card p + p {
  margin-top: 16px;
}

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

.service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--primary);
  font-size: 1.45rem;
  margin-bottom: 20px;
}

.service-card h3,
.project-card h3,
.timeline-card h3,
.contact-card h3 {
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
}

.service-card ul,
.project-card ul,
.timeline-card ul {
  margin-top: 16px;
  padding-left: 18px;
  color: #475569;
}

.service-card li,
.project-card li,
.timeline-card li {
  margin: 8px 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.dark-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px;
}

.dark-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.dark-card p,
.dark-card li {
  color: #cbd5e1;
}

.capability-list {
  display: grid;
  gap: 14px;
}

.capability-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.18);
  color: #86efac;
  font-weight: 950;
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tech-cloud span {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  font-size: 0.9rem;
}

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

.project-meta {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-weight: 800;
  font-size: 0.83rem;
}

.timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.timeline-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}

.timeline-date {
  color: var(--primary);
  font-weight: 950;
}

.timeline-role {
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-method {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  background: var(--card-soft);
  border-radius: 18px;
  border: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: #334155;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  background: #020617;
  color: #94a3b8;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.94rem;
}

.footer-inner strong {
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .about-grid,
  .capability-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 70px 0;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .hero-stats,
  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .profile-card,
  .content-card,
  .service-card,
  .project-card,
  .timeline-card,
  .contact-card,
  .dark-card {
    padding: 22px;
    border-radius: 20px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section {
    padding: 72px 0;
  }

  .profile-list div {
    display: grid;
  }

  .profile-list strong {
    text-align: left;
  }
}
