@charset "UTF-8";

/* ===== Color / Design Tokens ===== */
:root {
  --main: #26a7e1;
  --main-rgb: 38, 167, 225;
  --main-light: #78d8ff;
  --main-dark: #0877af;
  --accent: #ff1493;
  --accent-rgb: 255, 20, 147;
  --accent-light: #ff8acb;
  --accent-dark: #ba075f;
  --bg: #06131d;
  --bg-deep: #02080e;
  --bg-blue: #061b29;
  --bg-purple: #170d25;
  --text: #f6fbff;
  --muted: #b4c4d9;
  --muted-dark: #91a5bd;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(142, 220, 255, 0.2);
  --success: #84eab7;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 38px;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.35);
  --container-width: 1200px;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
body, button, input, textarea, select { font-family: "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; background: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--container-width), calc(100% - 48px)); margin: 0 auto; }
.section { position: relative; padding: 140px 0; overflow: clip; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--main); font: 500 0.8rem/1 "DM Mono", monospace;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.section-label::before { width: 28px; height: 1px; background: currentColor; content: ""; }

.section-title {
  position: relative; margin: 18px 0 0; padding-left: 24px;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: clamp(2.55rem, 5.4vw, 5.4rem);
  font-weight: 700; line-height: 1.16; letter-spacing: -0.05em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.section-title::before {
  position: absolute; top: 0.12em; bottom: 0.12em; left: 0; width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--main-light) 0%, var(--accent) 100%);
  box-shadow: 0 0 18px rgba(var(--main-rgb), 0.45), 0 0 24px rgba(var(--accent-rgb), 0.32);
  content: "";
}
.section-title::after {
  display: block; width: min(170px, 42%); height: 2px; margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--main), var(--accent), transparent);
  content: "";
}
.title-accent {
  background: linear-gradient(100deg, var(--main-light) 0%, var(--main) 42%, var(--accent-light) 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.section-lead { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 1rem; }

/* ===== Buttons ===== */
.header-cta, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
  color: #ffffff; background: linear-gradient(135deg, var(--main), var(--main-light));
  box-shadow: 0 10px 30px rgba(var(--main-rgb), 0.28); font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.header-cta { min-height: 40px; padding: 0 18px; font-size: 0.82rem; }
.btn:hover, .header-cta:hover {
  background: linear-gradient(135deg, var(--main-light), var(--main));
  box-shadow: 0 16px 45px rgba(var(--main-rgb), 0.46); transform: translateY(-3px);
}
.btn-secondary {
  border-color: rgba(var(--main-rgb), 0.42); color: var(--text);
  background: rgba(255, 255, 255, 0.06); box-shadow: none;
}
.btn-secondary:hover {
  border-color: rgba(var(--accent-rgb), 0.7); background: rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 16px 40px rgba(var(--accent-rgb), 0.16);
}

/* ===== Header ===== */
.header {
  position: fixed; z-index: 100; top: 18px; left: 50%;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1240px, calc(100% - 32px)); padding: 12px 14px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 999px;
  background: rgba(3, 16, 28, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.brand { position: relative; z-index: 3; display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.header-nav { display: flex; gap: 24px; color: #cad7e8; font-size: 0.84rem; }
.header-nav a { transition: color 0.25s ease; }
.header-nav a:hover { color: var(--main-light); }
.header-actions { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; }
.mobile-nav-cta, .menu-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; display: flex; align-items: center; min-height: 100svh;
  padding: 150px 0 80px;
  background:
    radial-gradient(circle at 78% 28%, rgba(var(--accent-rgb), 0.3), transparent 27%),
    radial-gradient(circle at 38% 72%, rgba(var(--main-rgb), 0.22), transparent 32%),
    linear-gradient(145deg, #06131d 0%, #06243a 48%, #24102a 100%);
}
.hero::before, .hero::after { position: absolute; border-radius: 999px; pointer-events: none; content: ""; }
.hero::before {
  top: 11%; right: 4%; width: min(45vw, 670px); aspect-ratio: 1;
  border: 1px solid rgba(var(--main-rgb), 0.2);
  box-shadow: 0 0 0 80px rgba(var(--main-rgb), 0.04), 0 0 0 160px rgba(var(--accent-rgb), 0.025);
}
.hero::after {
  bottom: -10%; left: -8%; width: 52vw; height: 34vw;
  background: radial-gradient(ellipse, rgba(var(--main-rgb), 0.18), transparent 68%); filter: blur(32px);
}
.hero-grid {
  position: relative; z-index: 1; display: grid; align-items: stretch;
  grid-template-columns: 0.85fr 1.6fr; gap: 56px;
}
.hero-kicker {
  display: inline-flex; padding: 8px 12px; border: 1px solid rgba(var(--main-rgb), 0.35);
  border-radius: 999px; color: var(--main-light); background: rgba(var(--main-rgb), 0.1);
  font: 500 0.76rem/1 "DM Mono", monospace; letter-spacing: 0.08em;
}
.hero-title {
  max-width: 760px; margin: 24px 0; font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: clamp(3rem, 6.1vw, 6.3rem); font-weight: 700; line-height: 1.07; letter-spacing: -0.055em;
}
.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, var(--main-light) 45%, var(--accent-light) 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero-text { max-width: 580px; margin: 0; color: #c4d1e0; font-size: clamp(0.95rem, 1.5vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 12px; margin-top: 24px; color: #9fb1c8; font-size: 0.8rem; }
.hero-trust span {
  display: inline-flex; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 14px var(--success);
}
.hero-visual { position: relative; min-height: 820px; height: 100%; transition: transform 0.1s linear; }
.visual-orbit {
  position: absolute; top: 5%; right: 2%; width: 92%; aspect-ratio: 1;
  border: 1px solid rgba(var(--main-rgb), 0.25); border-radius: 50%;
  animation: spin 28s linear infinite;
}
.visual-orbit::before, .visual-orbit::after { position: absolute; border-radius: 50%; content: ""; }
.visual-orbit::before { top: 14%; left: 8%; width: 11px; height: 11px; background: var(--main); box-shadow: 0 0 24px var(--main); }
.visual-orbit::after { right: 8%; bottom: 16%; width: 9px; height: 9px; background: var(--accent); box-shadow: 0 0 22px var(--accent); }

.ai-portrait {
  position: absolute; z-index: 2; top: 50%; right: -24%;
  height: 165%; width: auto; aspect-ratio: 0.76;
  transform: translateY(-50%);
  overflow: hidden;
  border: none;
  border-radius: 220px 220px 34px 34px;
  background: none;
  box-shadow: none;
}
.ai-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.ai-portrait::after { display: none; }
.floating-card {
  position: absolute; z-index: 4; padding: 16px 18px;
  border: 1px solid rgba(215, 245, 255, 0.2); border-radius: 16px;
  background: rgba(7, 28, 48, 0.68); box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.floating-card small { display: block; color: #a7bad1; font-size: 0.7rem; }
.floating-card strong { display: block; margin-top: 2px; color: var(--main-light); font: 700 1.3rem/1.2 "Outfit", sans-serif; }
.floating-card--top { top: 10%; left: -8%; animation: float 5s ease-in-out infinite; }
.floating-card--bottom { right: -6%; bottom: 6%; animation: float 5s 1.5s ease-in-out infinite; }
.hero-stats { position: absolute; z-index: 5; bottom: 0%; left: -4%; display: flex; gap: 12px; }
.stat-card {
  min-width: 150px; padding: 15px 16px; border: 1px solid rgba(var(--main-rgb), 0.22);
  border-radius: 15px; background: rgba(8, 26, 48, 0.65);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.stat-card span { display: block; color: #afbed0; font-size: 0.68rem; }
.stat-card strong { display: block; margin-top: 5px; color: #ffffff; font: 700 1.25rem/1 "Outfit", sans-serif; }

/* ===== Service Movie ===== */
.video-section { background: radial-gradient(circle at 10% 0%, rgba(var(--main-rgb), 0.14), transparent 24%), var(--bg-blue); }
.video-layout {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr); gap: 48px; margin-top: 55px;
}
.video-frame {
  position: relative; overflow: hidden; border: 1px solid rgba(173, 227, 255, 0.2);
  border-radius: var(--radius-lg); background: var(--bg-deep); box-shadow: 0 30px 85px rgba(0, 0, 0, 0.35);
}
.video-frame::before {
  position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--main), var(--accent), transparent); content: "";
}
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-points { display: grid; gap: 18px; }
.video-point {
  padding: 18px; border-left: 1px solid rgba(var(--main-rgb), 0.6);
  background: linear-gradient(90deg, rgba(var(--main-rgb), 0.1), transparent);
}
.video-point strong {
  display: block; font-size: 1.1rem;
  color: var(--accent-light);
  text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.35);
}
.video-point p { margin: 6px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.75; }

/* ===== Features ===== */
.features-section { background: radial-gradient(circle at 88% 18%, rgba(var(--accent-rgb), 0.2), transparent 26%), linear-gradient(180deg, var(--bg-blue) 0%, #1b1028 100%); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.feature-card {
  position: relative; min-height: 500px; padding: 34px; overflow: hidden;
  border: 1px solid rgba(206, 236, 255, 0.17); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.45s ease, background 0.45s ease;
}
.feature-card::after {
  position: absolute; right: -18%; bottom: -20%; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--main-rgb), 0.22), transparent 67%); content: "";
  transition: transform 0.6s ease;
}
.feature-card:hover {
  border-color: rgba(var(--accent-rgb), 0.58);
  background: linear-gradient(145deg, rgba(var(--main-rgb), 0.17), rgba(var(--accent-rgb), 0.12));
  transform: translateY(-12px);
}
.feature-card:hover::after { transform: scale(1.45); }
.feature-number { color: rgba(255, 255, 255, 0.32); font: 600 0.82rem/1 "DM Mono", monospace; letter-spacing: 0.08em; }

.feature-icon {
  width: 100%; height: 180px; margin-top: 24px;
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid rgba(var(--main-rgb), 0.3);
  background: none; padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card:hover .feature-icon { border-color: rgba(var(--accent-rgb), 0.65); transform: scale(1.03); }

.feature-card h3 {
  position: relative; z-index: 1; margin: 24px 0 14px; color: var(--text);
  font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.45; text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.feature-card h3::after {
  display: block; width: 72px; height: 3px; margin-top: 16px; border-radius: 999px;
  background: linear-gradient(90deg, var(--main), var(--accent));
  box-shadow: 0 0 14px rgba(var(--main-rgb), 0.35), 0 0 18px rgba(var(--accent-rgb), 0.22);
  content: ""; transition: width 0.35s ease;
}
.feature-card:hover h3::after { width: 122px; }
.feature-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 0.9rem; }
.feature-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.feature-tags span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: #c3d5ea; font-size: 0.7rem; }

/* ===== Cases (3社カルーセル：中央固定＋左右自動並び替え) ===== */
.cases-section { background: radial-gradient(circle at 15% 82%, rgba(var(--main-rgb), 0.18), transparent 30%), var(--bg); }
.case-scroll { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 56px; position: relative; }
.case-card {
  flex: 0 0 auto; width: min(420px, 80vw); min-height: 410px; padding: 30px;
  border: 1px solid rgba(196, 230, 255, 0.17); border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.4s ease, opacity 0.4s ease, order 0.4s ease, border-color 0.35s ease, background 0.35s ease;
  opacity: 0.3; transform: scale(0.86);
}
.case-card.is-active { opacity: 1; transform: scale(1); z-index: 2; order: 2; border-color: rgba(var(--main-rgb), 0.45); }
.case-card.is-prev { order: 1; }
.case-card.is-next { order: 3; }
.case-category { color: var(--main-light); font: 500 0.72rem/1 "DM Mono", monospace; letter-spacing: 0.08em; }
.case-card h3 { margin: 12px 0 26px; font-size: 1.38rem; }
.case-flow { display: grid; gap: 10px; }
.case-flow-item { padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.045); }
.case-flow-item span { display: block; color: #9fb2ca; font-size: 0.68rem; }
.case-flow-item p { margin: 3px 0 0; font-size: 0.83rem; line-height: 1.55; }
.case-arrow { color: var(--accent); font-size: 1.2rem; text-align: center; line-height: 1; }
.case-result { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.case-result strong { display: block; color: var(--success); font-size: 0.9rem; }
.case-result p { margin: 4px 0 0; color: #d7e4ef; font-size: 0.82rem; }
.case-nav { display: flex; justify-content: center; gap: 20px; margin-top: 28px; }
.case-nav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(var(--main-rgb), 0.4); background: rgba(255, 255, 255, 0.06);
  color: var(--text); font-size: 1.2rem; cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.case-nav button:hover { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.15); }

/* ===== FAQ ===== */
.faq-section { background: radial-gradient(circle at 70% 0%, rgba(var(--accent-rgb), 0.2), transparent 25%), var(--bg-purple); }
.faq-wrap { max-width: 900px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid rgba(192, 223, 255, 0.18); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 23px 4px; color: var(--text); background: transparent; cursor: pointer; font-weight: 600; text-align: left;
}
.faq-question span:first-child { display: flex; gap: 14px; align-items: center; }
.faq-q { color: var(--main-light); font: 500 0.86rem/1 "DM Mono", monospace; }
.faq-icon { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.faq-icon::before, .faq-icon::after {
  position: absolute; top: 50%; left: 50%; width: 16px; height: 1px; background: var(--main);
  content: ""; transition: transform 0.3s ease, background 0.3s ease;
}
.faq-icon::before { transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: var(--accent); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-answer div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 38px 22px; color: var(--muted); font-size: 0.9rem; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* ===== Message ===== */
.message-section {
  padding: 100px 0; text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(var(--main-rgb), 0.16), transparent 40%), var(--bg-blue);
}
.message-text { max-width: 780px; margin: 0 auto; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.7; }
.message-accent {
  color: transparent;
  background: linear-gradient(100deg, var(--main-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* ===== CTA ===== */
.cta-section {
  padding: 110px 0 48px;
  background:
    radial-gradient(circle at 20% 20%, rgba(var(--main-rgb), 0.3), transparent 25%),
    radial-gradient(circle at 85% 75%, rgba(var(--accent-rgb), 0.3), transparent 28%),
    linear-gradient(135deg, #08648d, #18345b 52%, #5f0d4a);
}
.cta-box {
  padding: clamp(32px, 6vw, 80px); border: 1px solid rgba(237, 254, 255, 0.25);
  border-radius: var(--radius-xl); text-align: center; background: rgba(4, 12, 32, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.cta-box h2 {
  max-width: 850px; margin: 18px auto 0; font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.2; letter-spacing: -0.04em;
}
.cta-box p { max-width: 650px; margin: 22px auto 0; color: #d5e0ee; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ===== Footer ===== */
footer { background-color: #163a63; color: #fff; padding: 36px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 24px; align-items: start; }
.footer-logo { height: 28px; width: auto; margin-bottom: 10px; display: block; }
.footer-desc { font-size: 13px; color: #aaa; line-height: 1.7; margin-bottom: 8px; }
.footer-company { font-size: 13px; color: #aaa; margin-bottom: 20px; }
.footer-column h3 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #4db8f0; letter-spacing: 0.02em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; font-size: 13px; color: #aaa; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.footer-links a { color: #aaa; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact-icon { color: #4db8f0; font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.social-icon {
  display: flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  background-color: rgba(255, 255, 255, 0.1); border-radius: 50%;
  transition: background-color 0.2s ease; text-decoration: none;
}
.social-icon:hover { background-color: #4db8f0; }
.social-icon i { color: #fff; font-size: 16px; }
.footer-bottom { text-align: center; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #666; font-size: 12px; }

/* ===== To Top ボタン ===== */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
  border-radius: 999px; background: var(--main); color: #fff; font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, visibility 0.3s ease;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--main-dark); }

/* ===== Scroll Reveal ===== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.75, 0.25, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Animation ===== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }

/* ===== Tablet / Mobile Navigation ===== */
@media (max-width: 960px) {
  .menu-toggle {
    position: relative; display: grid; width: 42px; height: 42px; padding: 0; place-content: center; gap: 5px;
    border: 1px solid rgba(var(--main-rgb), 0.35); border-radius: 50%; color: var(--text);
    background: rgba(var(--main-rgb), 0.09); cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
  }
  .menu-toggle:hover { border-color: rgba(var(--accent-rgb), 0.7); background: rgba(var(--accent-rgb), 0.15); }
  .menu-toggle span {
    display: block; width: 18px; height: 1.5px; border-radius: 999px; background: var(--text);
    transform-origin: center; transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  }
  .menu-toggle[aria-expanded="true"] { border-color: var(--accent); background: rgba(var(--accent-rgb), 0.18); }
  .menu-toggle[aria-expanded="true"] span { background: var(--accent-light); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .header-nav {
    position: absolute; z-index: 2; top: calc(100% + 10px); right: 0; left: 0;
    display: grid; gap: 0; padding: 10px; border: 1px solid rgba(var(--main-rgb), 0.26);
    border-radius: 24px; background: rgba(3, 16, 28, 0.96); box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .header-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .header-nav a { padding: 13px 16px; border-radius: 14px; color: var(--text); font-size: 0.95rem; font-weight: 600; }
  .header-nav a:hover { color: #ffffff; background: rgba(var(--main-rgb), 0.14); }
  .header-nav .mobile-nav-cta {
    display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 6px; border-radius: 14px;
    color: #ffffff; background: linear-gradient(135deg, var(--main), var(--accent));
    box-shadow: 0 10px 24px rgba(var(--main-rgb), 0.24);
  }
  .hero-grid, .video-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-visual { min-height: 700px; }
  .hero-copy { max-width: 720px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ===== Smartphone ===== */
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container-width)); }
  .section { padding: 90px 0; }
  .header { top: 10px; width: calc(100% - 20px); padding-left: 14px; overflow: visible; }
  .header-cta { display: none; }
  .section-title { padding-left: 18px; font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .section-title::before { width: 4px; }
  .section-title::after { width: 115px; margin-top: 17px; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero-visual { min-height: 500px; }
  .ai-portrait { top: 2%; right: 0%; height: auto; width: 96%; transform: none; }
  .floating-card--top { left: 0; }
  .floating-card--bottom { right: 0; }
  .hero-stats { right: 0; bottom: 0; left: auto; gap: 8px; }
  .stat-card { min-width: 0; padding: 12px; }
  .stat-card strong { font-size: 1.02rem; }
  .video-layout { gap: 30px; }
  .feature-card { padding: 26px; }
  .case-card { width: 86vw; }
  .faq-question { gap: 14px; }
  .faq-answer p { padding-right: 8px; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}