:root {
  --bg-color: #0b0f19;
  --bg-surface: #141b2d;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --primary: #1e40af;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --primary-light: #3b82f6;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.3);
  --pure-white: #ffffff;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.text-gold {
  color: var(--gold);
}

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

.mb-4 {
  margin-bottom: 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s;
}

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

.btn-contact-header {
  background-color: transparent;
  border: 1px solid var(--primary-light);
  color: var(--primary-light);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.btn-contact-header:hover {
  background-color: var(--primary-light);
  color: var(--pure-white);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* for subtle animation */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,15,25,0.9) 0%, rgba(11,15,25,0.4) 100%);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--primary-light);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero .title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero .description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  color: var(--pure-white);
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 25px var(--primary-glow);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--primary-glow);
}

.btn-primary .arrow {
  margin-left: 10px;
  transition: margin-left 0.3s;
}

.btn-primary:hover .arrow {
  margin-left: 15px;
}

.w-100 {
  width: 100%;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--primary-light);
  padding: 15px 35px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--pure-white);
  box-shadow: 0 5px 15px var(--primary-glow);
  transform: translateY(-2px);
}

.btn-outline .external-icon {
  margin-left: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: normal;
}

.sub-note {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Problem Section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  border: 1px solid var(--gold);
}

.problem-text p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.highlight-text {
  background-color: var(--bg-surface);
  padding: 20px;
  border-left: 4px solid var(--primary-light);
  border-radius: 0 8px 8px 0;
  margin-top: 30px;
}

.styled-img {
  width: 100%;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

.problem-image {
  position: relative;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: var(--primary-light);
  filter: blur(100px);
  opacity: 0.2;
  z-index: 1;
}

.gold-glow {
  background: var(--gold);
}

/* Video Demo */
.video-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  background-color: #000;
}

.demo-video {
  width: 100%;
  display: block;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.video-container .glow-effect {
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--primary-light);
  filter: blur(80px);
}

/* Features */
.features {
  background-color: var(--bg-surface);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 60px;
  font-size: 1.1rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--bg-color);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-icon {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-surface);
  -webkit-text-stroke: 1px var(--primary-light);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--pure-white);
}

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

.card .small {
  display: block;
  font-size: 0.8rem;
  margin-top: 10px;
  opacity: 0.7;
}

/* Models */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.model-card {
  background-color: var(--bg-surface);
  border-radius: 12px;
  padding: 40px 30px;
  border: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.model-header {
  margin-bottom: 30px;
  text-align: center;
}

.model-header h3 {
  font-size: 1.5rem;
}

.model-header span {
  font-family: 'Oswald', sans-serif;
  color: var(--text-muted);
  font-size: 1rem;
}

.model-body ul {
  list-style: none;
  flex-grow: 1;
}

.model-body li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
}

.model-body li::before {
  content: "✓";
  color: var(--primary-light);
  font-weight: bold;
  margin-right: 15px;
}

.model-body li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.model-body li.disabled::before {
  content: "✗";
  color: var(--text-muted);
}

.price-note {
  margin-top: 30px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.popular {
  transform: scale(1.05);
  border-color: var(--gold);
  position: relative;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #d4af37, #f3e5ab);
  color: #000;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Tobishi */
.tobishi-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.tobishi-image {
  position: relative;
}

.tobishi-lead {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--primary-light);
}

.strength-list {
  list-style: none;
}

.strength-list li {
  display: flex;
  margin-bottom: 30px;
}

.strength-icon {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 20px;
}

.strength-content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.strength-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Flow Section */
.flow {
  background-color: var(--bg-surface);
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 60px;
}

.step {
  text-align: center;
  width: 200px;
}

.step-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 15px;
}

.step h4 {
  margin-bottom: 15px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-arrow {
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  margin-top: 30px;
  position: relative;
}

.step-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  border-left: 10px solid var(--primary);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Form Messages */
.form-message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}
.form-message.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.form-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Contact */
.contact {
  position: relative;
}

.contact-box {
  background-color: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 50px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

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

.contact-phone {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.contact-phone-lead {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-phone-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  font-family: 'Oswald', sans-serif;
  line-height: 1.2;
}

.contact-phone-hours {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.required {
  background-color: #ef4444;
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 15px;
  background-color: var(--bg-color);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-light);
}

/* Footer */
.footer {
  background-color: #05070a;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-info h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-info p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-corporate {
  margin-top: 5px;
}

.footer-corporate a {
  color: var(--primary-light);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-corporate a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-links {
  text-align: right;
  color: var(--text-muted);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero .title { font-size: 3.5rem; }
  .problem-grid, .tobishi-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; max-width: 400px; margin: 50px auto 0; }
  .popular { transform: scale(1); }
  .flow-steps { flex-direction: column; align-items: center; gap: 30px; }
  .step-arrow { display: none; }
  .nav { display: none; } /* Simplified for mobile in demo */
}

@media (max-width: 768px) {
  .hero .title { font-size: 2.5rem; }
  .section { padding: 60px 0; }
  .contact-box { padding: 30px 20px; }
  .contact-phone-number { font-size: 2rem; }
  .footer-content { flex-direction: column; gap: 30px; }
  .footer-links { text-align: left; }
}
