:root {
  --bg: #050816;
  --bg-alt: #0b1020;
  --card-bg: #111827;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.15);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
  --danger: #ef4444;
  --radius: 10px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --max-width: 1100px;
  --transition: 0.2s ease;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
}

/* Layout */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(135deg, #020617 0%, #0b1020 60%, #020617 100%);
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.85);
  border-bottom: 1px solid rgba(31, 41, 55, 0.7);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

.nav a:hover::after {
  width: 100%;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #f9fafb;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
}

.hero-highlights li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.5rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(31, 41, 55, 0.8);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.95));
}

/* Hero visual */

.hero-visual {
  position: relative;
  min-height: 220px;
}

.card {
  background: radial-gradient(circle at top, #111827 0, #020617 60%);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}

.cloud-card {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
}

.devops-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 78%;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Sections */

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Cards in sections */

.section .card {
  background: radial-gradient(circle at top, #0f172a 0, #020617 60%);
}

.section-alt .card {
  background: radial-gradient(circle at top, #020617 0, #0b1020 60%);
}

.section .card h3,
.section-alt .card h3 {
  margin-bottom: 0.6rem;
}

.section .card ul,
.section-alt .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section .card ul li,
.section-alt .card ul li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.about-grid p {
  color: var(--muted);
}

.values-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.values-list li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.contact-info li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
  color: var(--text);
  font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 1px solid var(--accent);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.4);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer h4 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0.6rem;
}

.footer-links li {
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding: 0.9rem 0 1.2rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(31, 41, 55, 0.7);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 3.5rem;
  }

  .nav-container {
    gap: 1rem;
  }

  .nav {
    display: none; /* for simplicity; can be replaced with mobile menu */
  }

  .btn-small {
    display: none;
  }

  .hero-visual {
    margin-top: 1.5rem;
    min-height: 200px;
  }

  .cloud-card,
  .devops-card {
    position: static;
    width: 100%;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

  .section {
    padding: 3rem 0;
  }
}
