/* ===============================
   FutureLink - Global Styles
   Palette: Black / Gray / Green
   =============================== */

:root {
  --black: #0d0f0e;
  --dark: #161a18;
  --gray-900: #1e2320;
  --gray-700: #3a423d;
  --gray-500: #6b756e;
  --gray-300: #b9c0bb;
  --gray-100: #eef1ef;
  --white: #ffffff;
  --green: #2fbf71;
  --green-bright: #46e08a;
  --green-dark: #1f8f55;

  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;

  --maxw: 1160px;
  --radius: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: 1.8;
  color: var(--gray-100);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--green);
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 15, 14, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-700);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav a {
  font-size: 0.92rem;
  color: var(--gray-300);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}

nav a:hover,
nav a.active {
  color: var(--white);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px !important;
  background: var(--green);
  color: var(--black) !important;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--green-bright);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 10px 30px -10px var(--green);
}

.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-700);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ---------- Page header (sub pages) ---------- */
.page-head {
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--gray-700);
  background: radial-gradient(
    1000px 400px at 20% -10%,
    rgba(47, 191, 113, 0.14),
    transparent 60%
  );
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  font-weight: 700;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.page-head p {
  margin-top: 16px;
  color: var(--gray-300);
  max-width: 640px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 130px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      900px 500px at 75% 10%,
      rgba(47, 191, 113, 0.18),
      transparent 55%
    ),
    radial-gradient(
      700px 500px at 10% 90%,
      rgba(47, 191, 113, 0.08),
      transparent 60%
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.005em;
}

.hero h1 .accent {
  display: inline-block;
}

.hero p.lead {
  margin: 24px 0 36px;
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  border: 1px solid var(--gray-700);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8),
    0 0 60px -20px rgba(47, 191, 113, 0.35);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    transparent 55%,
    rgba(13, 15, 14, 0.55)
  );
  pointer-events: none;
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
  background: var(--dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat {
  padding: 40px 16px;
  border-right: 1px solid var(--gray-700);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
}

.stat .num span {
  color: var(--green);
}

.stat .label {
  color: var(--gray-500);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

/* ---------- Sections ---------- */
section.block {
  padding: 100px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
}

.section-head p {
  margin-top: 14px;
  color: var(--gray-300);
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  padding: 34px 30px;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    background 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--green);
  background: var(--dark);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(47, 191, 113, 0.12);
  color: var(--green);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

.card .more {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
}

/* numbered service list */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--gray-700);
  align-items: start;
}

.service-row:last-child {
  border-bottom: 1px solid var(--gray-700);
}

.service-row .no {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-700);
}

.service-row h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-row p {
  color: var(--gray-300);
  max-width: 720px;
}

.tags {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.78rem;
  padding: 6px 14px;
  border: 1px solid var(--gray-700);
  border-radius: 999px;
  color: var(--gray-300);
}

/* ---------- About values ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.value-list {
  list-style: none;
  display: grid;
  gap: 18px;
}

.value-list li {
  padding: 22px 24px;
  background: var(--gray-900);
  border: 1px solid var(--gray-700);
  border-left: 3px solid var(--green);
  border-radius: 8px;
}

.value-list li strong {
  display: block;
  color: var(--white);
  margin-bottom: 4px;
}

.value-list li span {
  color: var(--gray-300);
  font-size: 0.92rem;
}

/* ---------- Company table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--gray-700);
}

.info-table th,
.info-table td {
  padding: 22px 8px;
  border-bottom: 1px solid var(--gray-700);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 220px;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.info-table td {
  color: var(--gray-100);
}

/* ---------- CTA band ---------- */
.cta-band {
  margin: 0;
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--dark), var(--black));
  border-top: 1px solid var(--gray-700);
}

.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-band p {
  color: var(--gray-300);
  margin-bottom: 32px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  border-top: 1px solid var(--gray-700);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-700);
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-300);
  font-size: 0.92rem;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-bottom {
  padding-top: 24px;
  color: var(--gray-500);
  font-size: 0.82rem;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav ul {
    gap: 18px;
  }
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--gray-700);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  nav ul {
    display: none;
  }
  section.block {
    padding: 64px 0;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
