/* Dralvylkyt - Professional Design System */
:root {
  --bg-dark: #0b1326;
  --bg-surface: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #1e293b;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-soft: rgba(217, 119, 6, 0.15);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-radius-asym: 16px 2px 16px 2px;
  --shadow-inset: inset 0 2px 4px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.08);
  --shadow-offset: 12px 12px 0px var(--accent);
  --font-display: 'Fraunces', 'Noto Sans JP', serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
  position: relative;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: #fbbf24;
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 19, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.header-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-email {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: none;
}

@media (min-width: 768px) {
  .header-email { display: inline-block; }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-asym);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none !important;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--accent-light);
  color: var(--bg-dark);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Minimal Nav Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(11, 19, 38, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li {
  margin: 1.25rem 0;
}

.nav-links a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--text-primary);
}

.nav-links a:hover {
  color: var(--accent-light);
}

/* Layout Elements & Ghost Wordmark */
.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ghost-wordmark {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14vw;
  font-weight: 900;
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.section-title .accent-text {
  color: var(--accent-light);
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 3rem;
}

/* AXIS 1: Split Hero */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .hero-split {
    grid-template-columns: 55% 45%;
  }
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-light);
}

/* AXIS 9: Thick Offset Frame */
.hero-image-wrapper {
  position: relative;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-asym);
  box-shadow: var(--shadow-offset);
  border: 1px solid var(--border-color);
}

/* AXIS 6: Recessed/Inset Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-asym);
  padding: 2rem;
  box-shadow: var(--shadow-inset);
  position: relative;
  transition: transform 0.2s ease;
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--accent-light);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Tables & Lists for Credibility */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  background-color: var(--bg-card);
  border-radius: var(--border-radius-asym);
  box-shadow: var(--shadow-inset);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

th {
  background-color: rgba(0,0,0,0.2);
  font-family: var(--font-display);
  color: var(--accent-light);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

.stepped-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.stepped-item {
  background-color: var(--bg-card);
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius-asym);
  box-shadow: var(--shadow-inset);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

/* AXIS 12: Form Presentation (Card with Coloured Header Strip) */
.form-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-asym);
  box-shadow: var(--shadow-inset);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.form-header-strip {
  background-color: var(--accent);
  padding: 1.5rem 2rem;
  color: #ffffff;
}

.form-header-strip h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}

.form-body {
  padding: 2.5rem 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group-full {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
}

input:focus {
  border-color: var(--accent-light);
  outline: none;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input {
  margin-top: 0.25rem;
}

.error-msg {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.error-msg.active {
  display: block;
}

/* Success & Error Panels */
.status-panel {
  padding: 3rem 2rem;
  text-align: center;
  display: none;
}

.status-panel.active {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem auto;
  color: #10b981;
}

/* About Section Layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer {
  background-color: #060b17;
  border-top: 1px solid var(--border-color);
  padding: 4rem 1.5rem 2rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-card);
  border-top: 2px solid var(--accent);
  padding: 1.5rem;
  z-index: 300;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.cookie-banner.active {
  display: block;
}

.cookie-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.88rem;
  max-width: 800px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}