/* =============================================
   LOGIQ - AI Dispatch Logistics Platform
   Style Sheet v1.0
   Color: Dark (#111827) + Cyan (#06B6D4) + White
   Fonts: Space Grotesk (EN) + Noto Sans JP (JP)
============================================= */

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

:root {
  --dark: #111827;
  --dark2: #1e293b;
  --dark3: #0f172a;
  --cyan: #06B6D4;
  --cyan-light: #22d3ee;
  --cyan-dim: rgba(6, 182, 212, 0.15);
  --cyan-glow: rgba(6, 182, 212, 0.25);
  --white: #FFFFFF;
  --gray: #94a3b8;
  --gray-light: #e2e8f0;
  --gray-dark: #475569;
  --green: #22c55e;
  --purple: #8b5cf6;
  --font-en: 'Space Grotesk', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-mid: 0.3s ease;
  --transition-slow: 0.6s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-cyan: 0 8px 30px rgba(6, 182, 212, 0.2);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

body {
  font-family: var(--font-jp);
  color: var(--white);
  background: var(--dark);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-jp);
}

::selection {
  background: var(--cyan);
  color: var(--dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}


/* ===== Sample Banner ===== */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--cyan);
  color: var(--dark);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-jp);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.sample-banner a {
  color: var(--dark);
  text-decoration: underline;
  font-weight: 700;
}

.sample-banner a:hover {
  opacity: 0.8;
}


/* ===== Header ===== */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.1);
  transition: background var(--transition-mid), box-shadow var(--transition-mid);
}

.header.scrolled {
  background: rgba(17, 24, 39, 0.96);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition-mid);
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-light);
  transition: color var(--transition-mid);
  position: relative;
  padding: 4px 0;
}

.nav-desktop a:hover {
  color: var(--cyan);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition-mid);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--cyan) !important;
  color: var(--dark) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  transition: all var(--transition-mid) !important;
}

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

.nav-cta:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-cyan);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-mid);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}


/* ===== Mobile Nav ===== */
.mobile-nav {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav a {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-light);
  transition: color var(--transition-mid), transform var(--transition-mid);
  letter-spacing: 0.02em;
}

.mobile-nav a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}


/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.6) 0%,
    rgba(17, 24, 39, 0.85) 60%,
    rgba(17, 24, 39, 0.95) 100%
  );
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--cyan);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}


/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-mid);
  border: none;
  cursor: pointer;
  font-family: var(--font-jp);
  letter-spacing: 0.02em;
  line-height: 1;
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cyan);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.05);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 16px;
  border-radius: var(--radius-md);
}


/* ===== Hero Metrics ===== */
.hero-metrics {
  display: flex;
  gap: 48px;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-metric {
  text-align: center;
}

.hero-metric-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  display: block;
}

.hero-metric-num small {
  font-size: 14px;
  color: var(--cyan);
  margin-left: 2px;
  font-weight: 500;
}

.hero-metric-label {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
  letter-spacing: 0.05em;
}


/* ===== Hero Scroll Indicator ===== */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ===== Sections Common ===== */
section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-title.white {
  color: var(--white);
}

.section-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 48px;
}

.section-desc.white {
  color: rgba(255, 255, 255, 0.7);
}


/* ===== About ===== */
.about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 48px;
  align-items: center;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 2;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-icon-item {
  background: var(--dark2);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition-mid), transform var(--transition-mid), box-shadow var(--transition-mid);
}

.about-icon-item:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.1);
}

.about-icon-item svg {
  margin: 0 auto 12px;
  transition: transform var(--transition-mid);
}

.about-icon-item:hover svg {
  transform: scale(1.1);
}

.about-icon-item span {
  font-size: 13px;
  color: var(--gray-light);
  font-weight: 500;
  display: block;
}


/* ===== AI Section ===== */
.ai-section {
  background: var(--dark3);
  padding: 100px 0 80px;
}

.ai-dashboard {
  margin: 48px 0 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition-slow);
}

.ai-dashboard:hover {
  box-shadow: 0 20px 80px rgba(6, 182, 212, 0.15);
}

.dashboard-svg {
  width: 100%;
  height: auto;
  display: block;
}

.pulse-dot {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ai-feature {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--dark);
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: border-color var(--transition-mid), transform var(--transition-mid), box-shadow var(--transition-mid);
}

.ai-feature:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.1);
}

.ai-feature-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: rgba(6, 182, 212, 0.2);
  margin-bottom: 12px;
  line-height: 1;
  transition: color var(--transition-mid);
}

.ai-feature:hover .ai-feature-num {
  color: rgba(6, 182, 212, 0.5);
}

.ai-feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.ai-feature p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
}


/* ===== Services ===== */
.services {
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: var(--cyan);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  margin-bottom: 24px;
  transition: transform var(--transition-mid);
}

.service-card:hover .service-icon {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 13px;
  color: var(--gray-light);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}


/* ===== Numbers ===== */
.numbers {
  background: linear-gradient(135deg, var(--dark3) 0%, #0c1a2e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.numbers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.numbers::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
}

.numbers .container {
  position: relative;
  z-index: 1;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.number-item {
  padding: 32px 16px;
  transition: transform var(--transition-mid);
}

.number-item:hover {
  transform: translateY(-4px);
}

.number-value {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.2;
}

.number-unit {
  font-size: clamp(16px, 2vw, 24px);
  color: var(--cyan);
  margin-left: 2px;
  font-weight: 500;
}

.number-label {
  font-size: 15px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--white);
}

.number-desc {
  font-size: 12px;
  color: var(--gray);
  margin-top: 4px;
}


/* ===== Works ===== */
.works {
  background: var(--dark);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.work-card {
  background: var(--dark2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.1);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.1);
}

.work-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.work-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, var(--dark2));
  pointer-events: none;
}

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-img img {
  transform: scale(1.08);
}

.work-body {
  padding: 28px 24px;
}

.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.work-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.work-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

.work-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.work-stats div {
  font-size: 12px;
  color: var(--gray);
}

.work-stats strong {
  display: block;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 2px;
}


/* ===== Flow ===== */
.flow {
  background: var(--dark3);
}

.flow-steps {
  max-width: 700px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 22px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(6, 182, 212, 0.2) 10%,
    rgba(6, 182, 212, 0.2) 90%,
    transparent
  );
}

.flow-step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: background var(--transition-mid);
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  opacity: 0.3;
  min-width: 48px;
  line-height: 1;
  padding-top: 4px;
  transition: opacity var(--transition-mid);
}

.flow-step:hover .flow-num {
  opacity: 1;
}

.flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.flow-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
}


/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--dark);
  padding: 80px 0;
}

.cta-inner {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--white);
}

.cta-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
}

.cta-action {
  text-align: center;
  flex-shrink: 0;
}

.cta-note {
  display: block;
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
}

@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .cta-content {
    text-align: center;
  }
}


/* ===== Company ===== */
.company {
  background: var(--dark);
}

.company-table {
  max-width: 700px;
  margin: 40px auto 0;
}

.company-table table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-fast);
}

.company-table tr:hover {
  background: rgba(6, 182, 212, 0.03);
}

.company-table th {
  width: 160px;
  padding: 18px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  vertical-align: top;
}

.company-table td {
  padding: 18px 16px;
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

.company-map {
  max-width: 700px;
  margin: 40px auto 0;
}

.map-placeholder {
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.map-placeholder p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

.map-placeholder span {
  font-size: 12px;
  color: var(--gray);
}


/* ===== Contact ===== */
.contact {
  background: linear-gradient(135deg, var(--dark3) 0%, #0c1a2e 50%, var(--dark3) 100%);
  text-align: center;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.req {
  color: var(--cyan);
  font-size: 11px;
  margin-left: 4px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-jp);
  transition: border-color var(--transition-mid), box-shadow var(--transition-mid);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--dark2);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  display: block;
  width: 100%;
  margin-top: 8px;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}


/* ===== Footer ===== */
.footer {
  background: var(--dark3);
  padding: 60px 0 0;
  border-top: 1px solid rgba(6, 182, 212, 0.1);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  max-width: 300px;
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-light);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}

.footer-col a {
  font-size: 13px;
  color: var(--gray);
  transition: color var(--transition-mid);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: var(--gray);
}

.footer-bottom a {
  color: var(--cyan);
  transition: opacity var(--transition-mid);
}

.footer-bottom a:hover {
  opacity: 0.8;
}


/* ===== Fade-Up Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== Scrollbar Customization ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--dark2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-dark);
}


/* ===== Responsive: Tablet ===== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ai-features {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .work-img {
    height: 220px;
  }

  .flow-steps::before {
    display: none;
  }
}


/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  section {
    padding: 72px 0;
  }

  .hero {
    padding: 120px 16px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .hero-desc {
    font-size: 14px;
  }

  .hero-metrics {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-scroll {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .company-table th {
    width: 110px;
    padding: 14px 8px;
    font-size: 13px;
  }

  .company-table td {
    padding: 14px 8px;
    font-size: 13px;
  }

  .flow-step {
    gap: 16px;
  }

  .flow-num {
    font-size: 24px;
    min-width: 36px;
  }

  .about-icon-grid {
    gap: 16px;
  }

  .about-icon-item {
    padding: 20px 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .work-stats {
    flex-direction: column;
    gap: 12px;
  }
}


/* ===== Responsive: Small Mobile ===== */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .number-item {
    padding: 20px 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 16px 32px;
    font-size: 15px;
  }

  .sample-banner {
    font-size: 11px;
    padding: 6px 12px;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-desc {
    font-size: 14px;
  }

  .ai-feature {
    padding: 24px;
  }

  .ai-feature-num {
    font-size: 28px;
  }
}


/* ===== Print Styles ===== */
@media print {
  .sample-banner,
  .header,
  .mobile-nav,
  .hero-scroll,
  .contact-form,
  .hamburger {
    display: none !important;
  }

  body {
    background: white;
    color: #333;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  section {
    padding: 40px 0;
    break-inside: avoid;
  }
}
