:root {
  --bg: #071018;
  --bg-2: #0b1620;
  --surface: #101d28;
  --surface-2: #142532;
  --text: #eaf2f7;
  --muted: #9eb0bd;
  --line: rgba(255,255,255,.10);
  --accent: #42c7ff;
  --accent-2: #5fe0c1;
  --white: #fff;
  --shadow: 0 25px 70px rgba(0,0,0,.28);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: #15222c;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 100px 0; }
.section-soft { background: #f3f7f9; }
.section-dark { background: var(--bg); color: var(--text); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7,16,24,.90); backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(66,199,255,.55); border-radius: 10px;
  color: var(--accent); font-weight: 800; font-size: 20px;
}
.brand strong { display: block; letter-spacing: .16em; font-size: 14px; }
.brand small { display: block; color: #91a5b3; letter-spacing: .18em; font-size: 8px; margin-top: -2px; }
.main-nav { display: flex; align-items: center; gap: 26px; color: #b9c7d0; font-size: 14px; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--accent); }
.nav-cta { border: 1px solid rgba(66,199,255,.45); padding: 9px 15px; border-radius: 999px; color: #eaf7ff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: #fff; }

.hero {
  min-height: 720px; display: grid; align-items: center;
  background:
    radial-gradient(circle at 75% 25%, rgba(66,199,255,.14), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(95,224,193,.08), transparent 30%),
    var(--bg);
  color: var(--text); overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(66,199,255,.4), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero h1 { font-size: clamp(42px, 5vw, 70px); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 25px; max-width: 760px; }
.hero h1 span { color: #8ddfff; }
.hero-text { color: var(--muted); font-size: 18px; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 10px; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #041017; }
.btn-secondary { border: 1px solid #cbd7de; color: #172630; background: #fff; }
.section-dark .btn-secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.24); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.28); color: #fff; }
.hero-meta { display: flex; gap: 34px; margin-top: 34px; }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta strong { font-size: 22px; color: #fff; }
.hero-meta span { font-size: 11px; color: #8fa4b2; }
.hero-visual { min-height: 520px; position: relative; display: grid; place-items: center; }
.profile-photo {
  width: min(390px, 78%);
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(66, 199, 255, .28);
  background: #0b1620;
  box-shadow: var(--shadow);
  position: relative;
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(7, 16, 24, .35) 100%
  );
  pointer-events: none;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}
.profile-placeholder {
  width: min(390px, 78%); aspect-ratio: 4/5; border: 1px solid rgba(66,199,255,.28);
  border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  display: grid; place-content: center; text-align: center; box-shadow: var(--shadow);
}
.profile-icon {
  width: 90px; height: 90px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(66,199,255,.4); color: var(--accent); font-size: 44px; font-weight: 800;
}
.profile-placeholder p { margin: 0; color: #dbe8ee; font-size: 11px; letter-spacing: .16em; font-weight: 800; }
.profile-placeholder small { color: #708593; margin-top: 7px; }
.floating-card {
  position: absolute; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(11,22,32,.9); backdrop-filter: blur(14px); border-radius: 12px;
  color: #dbe8ee; box-shadow: 0 20px 40px rgba(0,0,0,.25); font-size: 12px; font-weight: 700;
}
.floating-card span { color: var(--accent); margin-right: 7px; }
.card-one { top: 12%; right: 3%; } .card-two { bottom: 15%; left: 2%; } .card-three { bottom: 3%; right: 12%; }

.trust-strip { background: #0d1b26; color: #718794; border-bottom: 1px solid rgba(255,255,255,.05); }
.trust-grid { min-height: 70px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 750; letter-spacing: .08em; }

.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 15px; color: #12212b; }
.section-dark .section-heading h2 { color: #fff; }
.section-heading > p:last-child { color: var(--muted); }
.two-column { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.section-content { color: #50616d; font-size: 17px; }
.text-link { display: inline-block; color: #087ba9; font-weight: 800; margin-top: 12px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card { min-height: 280px; padding: 30px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); background: linear-gradient(145deg, #101e29, #0b1720); position: relative; }
.tech-card:hover { border-color: rgba(66,199,255,.3); transform: translateY(-3px); transition: .25s ease; }
.card-number { position: absolute; right: 22px; top: 20px; color: #48606e; font-size: 11px; }
.tech-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(66,199,255,.09); color: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 26px; }
.tech-card h3 { margin: 0 0 9px; font-size: 20px; }
.tech-card p { color: #8fa1ad; font-size: 14px; }
.tags, .skill-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span, .skill-list span { font-size: 10px; padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); color: #9fb0ba; }
.center-action { text-align: center; margin-top: 40px; }

.timeline { max-width: 900px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 0; bottom: 0; width: 1px; background: #dce5e9; }
.timeline-item { display: grid; grid-template-columns: 100px 40px 1fr; gap: 20px; position: relative; padding-bottom: 55px; }
.timeline-date { color: #738692; font-size: 11px; font-weight: 800; padding-top: 4px; text-align: right; }
.timeline-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1px #bcd2dd; margin: 3px auto; position: relative; z-index: 2; }
.timeline-content { border-bottom: 1px solid #e1e9ed; padding-bottom: 25px; }
.company { color: #087ba9; font-size: 12px; font-weight: 800; letter-spacing: .04em; margin: 0 0 5px; }
.timeline-content h3 { margin: 0 0 12px; font-size: 23px; color: #172630; }
.timeline-content ul { margin: 0; padding-left: 18px; color: #60717c; font-size: 14px; }

.skills-layout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.skill-panel { padding: 28px; background: #fff; border: 1px solid #e1e9ed; border-radius: var(--radius); }
.skill-panel h3 { margin: 0 0 18px; font-size: 18px; }
.skill-list span { color: #43545e; border-color: #d8e2e7; background: #f8fafb; font-size: 11px; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid #e0e8ec; border-radius: var(--radius); background: #fff; }
.project-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}
.project-body { padding: 24px; }
.project-body > span { color: #087ba9; font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.project-body h3 { margin: 7px 0; font-size: 19px; }
.project-body p { margin: 0; color: #657680; font-size: 13px; }

.cta-section { padding: 90px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.contact-grid h2 { margin: 0 0 15px; font-size: clamp(34px,4vw,54px); line-height: 1.05; letter-spacing: -.035em; }
.contact-grid p:not(.eyebrow) { color: #8fa1ad; max-width: 600px; }
.contact-actions { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.035); }
.contact-card:hover { border-color: rgba(66,199,255,.35); }
.contact-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; background: rgba(66,199,255,.1); color: var(--accent); font-weight: 800; }
.contact-card small { display: block; color: #718692; font-size: 9px; letter-spacing: .15em; }
.contact-card strong { color: #eaf2f7; font-size: 14px; }

.site-footer { background: #050c12; color: #718692; padding: 35px 0; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 30px; align-items: center; }
.footer-grid p { margin: 0; }
.footer-grid > div:nth-child(2) { text-align: center; }
.footer-grid > div:last-child { display: flex; gap: 20px; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { margin-bottom: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
