:root {
  --blue-900: #0b2e4f;
  --blue-700: #14548a;
  --blue-500: #1e7fc1;
  --green-600: #1e9e6a;
  --green-500: #27b578;
  --ink: #20303f;
  --muted: #5b6b7a;
  --bg: #ffffff;
  --bg-alt: #f2f7fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 46, 79, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; color: var(--blue-900); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--blue-900); margin-bottom: 0.5em; }
h3 { color: var(--blue-900); margin-bottom: 0.4em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-600);
  margin-bottom: 0.6em;
}
.eyebrow.light { color: var(--green-500); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e4ecf1;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 1.15rem; color: var(--blue-900); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.logo-img { height: 34px; width: auto; }
.logo-mark { color: var(--green-600); font-weight: 800; margin-right: 6px; }
.logo:hover { text-decoration: none; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--blue-500); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green-600);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--green-500); text-decoration: none; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.btn-outline:hover { background: #fff; color: var(--blue-700) !important; }
.btn-small { padding: 8px 18px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 60%, #17686b 100%);
  color: #fff;
  padding: 96px 0;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--green-500); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; opacity: 0.92; margin: 1em 0 1.6em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
}
.hero-points { list-style: none; }
.hero-points li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.hero-points li:last-child { border-bottom: none; }
.hero-points strong { display: block; font-size: 1rem; }
.hero-points span { font-size: 0.88rem; opacity: 0.75; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--muted); max-width: 640px; margin-bottom: 2.2em; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid #e4ecf1;
  border-top: 4px solid var(--blue-500);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card.accent { border-top-color: var(--green-600); }
.card p { color: var(--muted); font-size: 0.95rem; }

/* Split / skills */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.skills { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid #e4ecf1; }
.skill { display: grid; grid-template-columns: 120px 1fr 70px; gap: 12px; align-items: center; padding: 10px 0; font-size: 0.9rem; }
.skill em { font-style: normal; color: var(--muted); text-align: right; }
.bar { height: 8px; background: #e4ecf1; border-radius: 99px; overflow: hidden; }
.fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--blue-500), var(--green-500)); }

/* Portfolio */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-bottom: 22px; }
.p-card {
  background: #fff;
  border: 1px solid #e4ecf1;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.p-card p { color: var(--muted); font-size: 0.95rem; }
.p-logo { height: 44px; width: auto; object-fit: contain; margin-bottom: 14px; }
.links { list-style: none; margin-top: 12px; font-size: 0.88rem; }
.links li { padding: 6px 0; border-top: 1px dashed #e4ecf1; color: var(--muted); }
.p-wide {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center;
  border-left: 4px solid var(--green-600);
}
.p-screenshot { width: 100%; border-radius: 10px; border: 1px solid #dfe8ee; }

/* Contact */
.contact { background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.contact-list { list-style: none; margin-top: 1.4em; }
.contact-list li { padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.contact-list li svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-500); }
.contact-list a { color: var(--green-500); font-weight: 600; }
.terms {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 26px;
}
.terms h3 { color: #fff; }
.terms p { font-size: 0.9rem; opacity: 0.8; }

footer { padding: 24px 0; text-align: center; color: var(--muted); font-size: 0.85rem; }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid, .p-wide { grid-template-columns: 1fr; }
  nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0; }
  .section { padding: 56px 0; }
  .skill { grid-template-columns: 100px 1fr 60px; }
}
