/* ── TOSON ROBOTICS — SHARED STYLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080808;
  --surface:   #0f0f0f;
  --surface2:  #161616;
  --border:    #1e1e1e;
  --border2:   #2a2a2a;
  --white:     #f4f4f4;
  --muted:     #888;
  --muted2:    #555;
  --accent:    #ff5a00;
  --accent-dim:#7a2b00;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 10px 22px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #e04e00; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: all 0.25s;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 998;
  padding: 1.5rem 5%;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--white); }

@media (max-width: 900px) {
  .nav-links, .nav > .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ── SECTION COMMON ── */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 6% 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,0,0.06) 0%, transparent 70%);
}
.page-hero-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding: 4rem 6%;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--accent); }
.footer-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-links-group { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer-col a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-addr {
  font-family: 'Outfit', sans-serif;
  font-size: 0.83rem;
  color: var(--muted);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 6%;
  border-top: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: var(--muted2);
  flex-wrap: wrap;
  gap: 0.5rem;
}
