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

:root {
  --navy: #002d5a;
  --blue: #0057b8;
  --blue-h: #004a9e;
  --blue-light: #e8f0fb;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f3;
  --gray-200: #dde1e8;
  --gray-400: #9aa3b0;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #0d1117;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--gray-900); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* NAV */
header { background: var(--navy); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; height: 66px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.75rem; font-size: 1.0625rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.nav-logo-mark { width: 32px; height: 32px; background: var(--blue); border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; align-items: center; gap: 0.125rem; }
.nav-links a { font-size: 0.875rem; color: rgba(255,255,255,0.65); padding: 0.4rem 0.875rem; border-radius: 4px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-cta { background: var(--blue) !important; color: #fff !important; font-weight: 500; margin-left: 0.5rem; }
.nav-cta:hover { background: var(--blue-h) !important; }

/* HERO */
.hero { background: var(--white); border-bottom: 1px solid var(--gray-200); min-height: calc(100vh - 66px); display: flex; align-items: center; padding: 4rem 2.5rem; }
.hero-inner { max-width: 720px; width: 100%; margin: 0 auto; }
.hero-kicker { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: var(--blue-light); padding: 0.25rem 0.75rem; border-radius: 3px; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.125rem, 3.75vw, 3.125rem); font-weight: 700; color: var(--gray-900); letter-spacing: -0.025em; line-height: 1.13; margin-bottom: 1.25rem; }
.hero p { font-size: 1.0625rem; color: var(--gray-600); line-height: 1.75; max-width: 480px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 0.875rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 4px; font-size: 0.9375rem; font-weight: 500; border: none; cursor: pointer; transition: all 0.15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); }
.btn-outline { background: var(--white); color: var(--gray-600); border: 1.5px solid var(--gray-200); }
.btn-outline:hover { border-color: #b0b8c6; color: var(--gray-900); }

/* Hero box */
.hero-box { background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
.hero-box-head { background: var(--navy); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.hero-box-title { font-size: 0.875rem; font-weight: 600; color: #fff; }
.hero-box-tag { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); padding: 0.2rem 0.55rem; border-radius: 3px; }
.hero-box-rows { padding: 0.25rem 0; }
.hero-box-row { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.25rem; border-bottom: 1px solid var(--gray-100); font-size: 0.875rem; }
.hero-box-row:last-child { border-bottom: none; }
.row-label { color: var(--gray-400); }
.row-val { font-weight: 600; color: var(--gray-800); }
.row-online { display: flex; align-items: center; gap: 0.4rem; color: #16a34a; font-weight: 600; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* SECTIONS */
.section-white { background: var(--white); padding: 5.5rem 2.5rem; }
.section-gray { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 5.5rem 2.5rem; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: 3rem; }
.kicker { font-size: 0.75rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.625rem; }
.sh { font-size: clamp(1.875rem, 3vw, 2.375rem); font-weight: 700; letter-spacing: -0.025em; color: var(--gray-900); line-height: 1.2; margin-bottom: 0.875rem; }
.slead { font-size: 1.0625rem; color: var(--gray-600); max-width: 540px; line-height: 1.75; }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.pcard { background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; transition: box-shadow 0.2s, border-color 0.2s; }
.pcard:hover { border-color: #b8c2d0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.pcard-top { display: flex; align-items: flex-start; justify-content: space-between; }
.picon { width: 44px; height: 44px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.picon svg { color: var(--blue); }
.picon-dim { background: var(--gray-100); }
.picon-dim svg { color: var(--gray-200); }
.badge { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.225rem 0.6rem; border-radius: 3px; }
.badge-live { background: #dcfce7; color: #15803d; }
.badge-soon { background: var(--gray-100); color: var(--gray-400); }
.pname { font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); }
.pdesc { font-size: 0.9rem; color: var(--gray-600); line-height: 1.65; flex: 1; }
.pfeatures { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.pfeatures span { font-size: 0.75rem; font-weight: 500; background: var(--blue-light); color: var(--blue); padding: 0.2rem 0.625rem; border-radius: 3px; }
.plink { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--blue); transition: gap 0.15s; margin-top: 0.25rem; }
.plink:hover { gap: 0.625rem; }
.pcard-dim { opacity: 0.45; pointer-events: none; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.8; margin-bottom: 1.125rem; }
.about-p:last-child { margin-bottom: 0; }
.about-right { display: flex; flex-direction: column; gap: 1.75rem; }
.about-item { display: flex; gap: 1rem; align-items: flex-start; }
.about-item-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-item-icon svg { color: var(--blue); }
.about-item-title { font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); margin-bottom: 0.25rem; }
.about-item-desc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.ccard { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; padding: 1.375rem 1.5rem; }
.ccard-l { font-size: 0.75rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.375rem; }
.ccard-v { font-size: 0.9375rem; color: var(--gray-600); }

/* FOOTER */
footer { background: var(--navy); padding: 2.5rem 2.5rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.3); margin-top: 0.2rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.8125rem; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .hero-box { display: none; } }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
@media (max-width: 640px) { .nav-links { display: none; } .section-white, .section-gray { padding: 3.5rem 1.25rem; } .hero { padding: 3rem 1.25rem 4rem; } }
