/* ==========================================================================
   Digifull Lab. (デジフルラボ) - Modern Design System & Stylesheet
   ========================================================================== */

/* 1. CSS Custom Properties / Tokens */
:root {
  /* Brand Palette (Synced with Logo) */
  --primary-rgb: 26, 86, 219;
  --primary: #1a56db;           /* Deep Royal Blue */
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  
  --secondary: #0ea5e9;         /* Vibrant Cyan Sky */
  --secondary-light: #e0f2fe;

  --accent-rgb: 249, 115, 22;
  --accent: #f97316;            /* Warm Energetic Orange */
  --accent-hover: #ea580c;
  --accent-light: #fff7ed;

  /* Neutral Surface & Grayscale */
  --bg-main: #f8fafc;           /* Clean Off-White */
  --bg-surface: #ffffff;        /* Pure White Card */
  --bg-surface-subtle: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-focus: #93c5fd;

  /* Typography Colors */
  --text-primary: #0f172a;      /* Deep Slate for maximum legibility */
  --text-secondary: #475569;    /* Muted Slate */
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Fonts */
  --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 20px 30px -10px rgba(26, 86, 219, 0.15);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* 2. Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* 3. Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--transition-normal);
}

.header--scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom-color: var(--border-subtle);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.nav__logo-img:hover {
  transform: scale(1.03);
}

.nav__menu-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* 4. Section Common Components */
.section {
  padding: 6rem 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 5. Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  background: radial-gradient(100% 80% at 50% 0%, #eff6ff 0%, #ffffff 70%, var(--bg-main) 100%);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.3);
}

.btn--primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

.btn--outline {
  background-color: #ffffff;
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.hero__stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item__value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__logo-frame {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatSlow 6s ease-in-out infinite;
}

.hero__logo-frame img {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* 6. About & Philosophy Section */
.about {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about__philosophy-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
}

.about__concept-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.concept-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.concept-pill:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.concept-pill__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.concept-pill__meaning {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.about__founder-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.founder-card__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.founder-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.founder-card__name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.founder-card__role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* 7. Products Section */
.products {
  background-color: var(--bg-main);
}

.products__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background-color: var(--bg-surface-subtle);
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.25);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(26, 86, 219, 0.3);
}

.product-card__header {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card__cover-img {
  transform: scale(1.05);
}

.product-card__app-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: transform var(--transition-normal);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover .product-card__app-icon-wrapper {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.28);
}

.product-card__icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.75rem;
  transition: transform var(--transition-normal);
}

.product-card:hover .product-card__icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.product-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.japan-only-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #c2410c;
  background-color: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.product-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: var(--bg-surface-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.product-card__footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Store Badge Buttons */
.btn-store {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-store--apple {
  background-color: #000000;
  color: #ffffff;
}

.btn-store--apple:hover {
  background-color: #27272a;
  transform: translateY(-1px);
}

.btn-store--apple i {
  font-size: 1.6rem;
}

.btn-store--google {
  background-color: #0f172a;
  color: #ffffff;
}

.btn-store--google:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

.btn-store--google i {
  font-size: 1.4rem;
  color: #38bdf8;
}

.btn-store--web {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-store--web:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-store--web i {
  font-size: 1.2rem;
}

.btn-store__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.btn-store__sub {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-store__main {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Note Banner */
.note-banner {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
}

.note-banner__content {
  max-width: 650px;
}

.note-banner__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.note-banner__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.note-banner__desc {
  font-size: 0.95rem;
  opacity: 0.92;
}

.btn--note {
  background-color: #ffffff;
  color: #047857;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.85rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.btn--note:hover {
  background-color: #f0fdf4;
  transform: translateY(-2px);
}

/* 8. Strengths Section */
.strengths {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.strength-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
}

.strength-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.strength-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.strength-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.strength-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 9. Contact Section (Google Form Integration) */
.contact {
  background-color: var(--bg-main);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact__form-header {
  margin-bottom: 1.5rem;
}

.contact__form-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.contact__form-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.google-form-container {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-color: #f8fafc;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.google-form-container iframe {
  width: 100%;
  height: 550px;
  border: none;
}

.contact__info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-box__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.info-box__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btn--x {
  background-color: #000000;
  color: #ffffff;
  width: 100%;
}

.btn--x:hover {
  background-color: #262626;
  transform: translateY(-2px);
}

/* 10. Legal Section */
.legal {
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
}

.legal__tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-tab-btn {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.legal-tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.legal__content-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.legal-panel {
  display: none;
}

.legal-panel.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal__doc h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--primary);
  padding-left: 0.6rem;
}

.legal__doc h3:first-child {
  margin-top: 0;
}

.legal__doc p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal__doc ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.legal__doc li {
  margin-bottom: 0.4rem;
}

.legal__updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Commercial Disclosure Table */
.commerce-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.commerce-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.commerce-table th,
.commerce-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.commerce-table th {
  width: 28%;
  min-width: 160px;
  font-weight: 700;
  color: var(--text-primary);
  background-color: rgba(241, 245, 249, 0.6);
  border-right: 1px solid var(--border-subtle);
}

.commerce-table td {
  background-color: #ffffff;
}

.commerce-table tr:last-child th,
.commerce-table tr:last-child td {
  border-bottom: none;
}

.commerce-table code {
  background: var(--bg-surface-subtle);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.9em;
  color: var(--primary);
}

.commerce-table small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .commerce-table th,
  .commerce-table td {
    display: block;
    width: 100%;
  }
  .commerce-table th {
    border-right: none;
    border-bottom: none;
    padding-bottom: 0.4rem;
    background-color: var(--bg-surface-subtle);
  }
  .commerce-table td {
    padding-top: 0.2rem;
    padding-bottom: 1rem;
  }
}

/* 11. Footer */
.footer {
  background-color: #0b1329;
  color: #94a3b8;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid #1e293b;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer__brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.footer__tagline {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.footer__col-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* 12. Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero__title {
    font-size: 2.75rem;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .strengths__grid {
    grid-template-columns: 1fr;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
  .nav__menu-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
  }
  .nav__menu-wrapper.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu {
    flex-direction: column;
    width: 100%;
    gap: 1.25rem;
    text-align: center;
  }
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__subtitle {
    font-size: 1.05rem;
  }
  .note-banner {
    flex-direction: column;
    text-align: center;
  }
  .legal__content-box {
    padding: 1.75rem;
  }
}
