/* ===== ASGARD MULTICONCEPTS — Clean & Corporate ===== */
:root {
  --navy: #0b2447;
  --navy-700: #143a6b;
  --blue: #1f6feb;
  --blue-600: #155ec7;
  --sky: #e8f1ff;
  --ink: #1a2433;
  --muted: #5b6878;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f6f9fc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 36, 71, 0.08);
  --shadow-sm: 0 4px 14px rgba(11, 36, 71, 0.06);
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(31,111,235,.25); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.eyebrow-light { color: #9ec5ff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  font-weight: 800; font-size: 1.2rem;
}
.brand-text { display: flex; flex-direction: column; font-weight: 800; color: var(--navy); line-height: 1; font-size: 1.05rem; }
.brand-text small { font-size: .62rem; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--ink); font-size: .95rem; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.btn { color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--sky), #fff); padding: 80px 0 90px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin-bottom: 20px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { color: var(--navy); font-size: 1.15rem; }
.hero-stats span { color: var(--muted); font-size: .88rem; }

.code-card {
  background: var(--navy); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  color: #cfe0ff; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: .9rem;
}
.code-dots { display: flex; gap: 7px; margin-bottom: 16px; }
.code-dots span { width: 11px; height: 11px; border-radius: 50%; background: #2c4a78; }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-card pre { white-space: pre; overflow-x: auto; }
.c-key { color: #ff9ecb; }
.c-fn { color: #7ee2ff; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

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

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.card-icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--blue); color: #fff; border-radius: 50%; font-size: .72rem;
  display: grid; place-items: center; font-weight: 700;
}
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow-sm); }
.value-card strong { color: var(--navy); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* Portfolio */
.project {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-thumb { height: 170px; }
.thumb-1 { background: linear-gradient(135deg, #1f6feb, #0b2447); }
.thumb-2 { background: linear-gradient(135deg, #16a34a, #0b2447); }
.thumb-3 { background: linear-gradient(135deg, #7c3aed, #0b2447); }
.project-body { padding: 22px 24px 26px; }
.tag { display: inline-block; background: var(--sky); color: var(--blue); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.project h3 { font-size: 1.15rem; margin-bottom: 8px; }
.project p { color: var(--muted); font-size: .92rem; }

/* Contact / CTA */
.section-cta { background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-text h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.contact-text p { color: #c7d6ee; margin-bottom: 26px; font-size: 1.05rem; }
.contact-details { list-style: none; display: grid; gap: 16px; }
.contact-details li { display: flex; flex-direction: column; }
.contact-details strong { color: #9ec5ff; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact-details a, .contact-details span { color: #fff; font-size: 1.05rem; }
.contact-details a:hover { color: #9ec5ff; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fcfdff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,235,.15);
}
.field textarea { resize: vertical; }
.field.error input, .field.error textarea { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.form-status { margin-top: 14px; font-size: .9rem; font-weight: 500; text-align: center; min-height: 20px; }
.form-status.success { color: #16a34a; }
.form-status.fail { color: #e5484d; }

/* Footer */
.site-footer { background: #07182f; color: #b9c7dc; padding: 44px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.brand-footer .brand-text, .brand-footer .brand-text small { color: #fff; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #b9c7dc; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.copyright { width: 100%; text-align: center; font-size: .85rem; color: #6f86a6; border-top: 1px solid #16314f; padding-top: 22px; margin-top: 6px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px;
    gap: 16px; align-items: stretch; transform: translateY(-150%);
    transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 6px 0; }
  .grid-3, .about-values { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
}
