/* === Nainacore · Global Site Styles === */

/* Theme tokens */
:root {
  --bg: #05060b;
  --bg-alt: #0c0f1a;
  --card: #101321;
  --accent: #41f4ff;
  --accent-soft: rgba(65, 244, 255, 0.08);
  --text: #e9f5ff;
  --muted: #9fb4cc;
  --border: #20263a;
  --danger: #ff4b81;
  --success: #4dffb5;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base layout */
html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text',
    sans-serif;
  background: radial-gradient(
    circle at top,
    #101527 0,
    #05060b 45%,
    #020309 100%
  );
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Shell */
.shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 16px 64px;
}

/* Header & nav */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff,
    #41f4ff 35%,
    #101321 70%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #020309;
  box-shadow: 0 0 0 1px rgba(65, 244, 255, 0.25), var(--shadow-soft);
}

.brand-text-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav a.nav-active {
  border-color: rgba(65, 244, 255, 0.3);
  background: radial-gradient(
    circle at top,
    rgba(65, 244, 255, 0.22),
    rgba(16, 19, 33, 0.9)
  );
  color: var(--text);
}

.nav a:hover {
  border-color: rgba(65, 244, 255, 0.35);
}

/* Hero */
.hero {
  padding: 16px 0 32px;
}

.hero-full {
  background-image: url("../og/nainacore-hero-wide-1920.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}


/* Dark overlay on top of image */
.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at left,
    rgba(15, 23, 42, 0.95),
    rgba(3, 7, 18, 0.75)
  );
}

/* Inner grid */
.hero-full-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 28px;
  align-items: center;
}

.hero-full-left {
  max-width: 620px;
  z-index: 1;
}

.hero-full-right {
  z-index: 1;
  justify-self: end;
  align-self: flex-start;
  width: 100%;
  max-width: 420px;
}

@media (max-width: 900px) {
  .hero-full-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-full {
    margin: 0 -10px 24px;
    padding: 56px 14px 56px;
  }

  .hero-full-right {
    justify-self: start;
    margin-top: 12px;
  }
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  border: 1px solid rgba(65, 244, 255, 0.3);
  background: linear-gradient(
    120deg,
    rgba(65, 244, 255, 0.12),
    rgba(16, 19, 33, 0.9)
  );
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(77, 255, 181, 0.2);
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.7rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 18px;
}

/* Buttons */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: radial-gradient(
    circle at top left,
    #41f4ff,
    #1384ff 60%,
    #2c4cff 100%
  );
  color: #020309;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn-ghost,
.btn-secondary {
  border-color: rgba(65, 244, 255, 0.4);
  background: rgba(8, 12, 24, 0.95);
  color: var(--text);
}

.btn-ghost:hover,
.btn-secondary:hover {
  background: rgba(18, 24, 42, 0.95);
  text-decoration: none;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.hero-meta span {
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(65, 244, 255, 0.18);
  background: rgba(10, 15, 30, 0.9);
}

/* Hero image */
.hero-image-placeholder {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, #141a30, #050814 70%);
  border: 1px solid rgba(65, 244, 255, 0.25);
  box-shadow: var(--shadow-soft);
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 420px;
  margin-left: auto;
}

.hero-image-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.hero-image-frame {
  margin-top: 6px;
  border-radius: 12px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  padding: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-image-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 840px) {
  .hero-image-placeholder {
    max-width: 100%;
    margin-top: 16px;
    margin-left: 0;
  }
}

/* Sections */
section {
  margin-top: 32px;
}

.section-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Grids & cards */
.grid-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px;
}

@media (max-width: 840px) {
  .grid-two {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  background: radial-gradient(
    circle at top,
    rgba(38, 52, 92, 0.55),
    rgba(3, 7, 18, 0.96)
  );
  border-radius: var(--radius-lg);
  padding: 14px 14px 16px;
  border: 1px solid rgba(31, 41, 75, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 600;
}

.badge-soft {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.9);
}

.card-body {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.card-list li::before {
  content: '• ';
  color: var(--accent);
}

/* Skills cards */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.skill-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 12px 12px 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.skill-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 4px;
}

.skill-name {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.skill-card p {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.skill-tag {
  font-size: 0.76rem;
  color: var(--accent);
}

/* Forms */
.card-form label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-form input,
.card-form textarea {
  width: 100%;
  background: #020617;
  border-radius: 10px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  color: var(--text);
  padding: 7px 10px;
  font-size: 0.82rem;
  margin-bottom: 8px;
  outline: none;
}

.card-form input:focus,
.card-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(65, 244, 255, 0.4);
}

.card-form small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Footer */
footer {
  margin-top: 60px;
  padding: 24px 0;
  border-top: 1px solid rgba(65, 244, 255, 0.2);
  text-align: center;
  color: #8bb5c8;
  font-size: 0.85rem;
}

footer .footer-links {
  margin-bottom: 10px;
}

footer .footer-links a {
  color: #41f4ff;
  margin: 0 12px;
  text-decoration: none;
}

footer .footer-sep {
  opacity: 0.4;
}

/* Simple lists for “legal” style pages */
.legal-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.legal-shell h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.legal-shell h2 {
  font-size: 1.1rem;
  margin-top: 22px;
  margin-bottom: 6px;
}

.legal-shell p,
.legal-shell ul {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-shell ul {
  margin-left: 18px;
  margin-top: 6px;
}
