/* Variables & Core Design Tokens */
:root {
  --bg-dark: #070913;
  --bg-gradient: radial-gradient(circle at top left, #0e122b 0%, #05060b 100%);
  --panel-bg: rgba(14, 18, 43, 0.5);
  --panel-border: rgba(99, 102, 241, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.4);
  --accent: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  
  --font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 19, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.header-logo {
  height: 38px;
  width: auto;
  display: block;
}

.logo-link {
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.02);
}

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.main-nav a:not(.nav-download-btn):hover {
  color: var(--text-primary);
}

.nav-download-btn {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* Hero Section */
.hero-section {
  padding: 10rem 2rem 6rem;
  position: relative;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Download CTA Button */
.primary-download-btn {
  display: inline-flex;
  align-items: center;
  background: var(--accent-gradient);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 16px;
  gap: 1.25rem;
  box-shadow: 0 10px 30px var(--primary-glow);
  transition: var(--transition-smooth);
}

.primary-download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.6);
}

.btn-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.btn-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.btn-label {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-sublabel {
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 400;
}

/* Mockup Presentation */
.hero-image-wrapper {
  position: relative;
  width: 100%;
}

.hero-mockup-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-mockup-image {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(0,0,0,0) 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* Section Common */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.feature-icon {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Requirements Section */
.requirements-section {
  background: rgba(14, 18, 43, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.requirements-box {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  display: flex;
  padding: 3rem;
  gap: 3rem;
}

.req-column {
  flex: 1;
}

.req-column h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.req-column ul {
  list-style: none;
}

.req-column li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.req-column strong {
  color: var(--text-primary);
}

.req-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.main-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #030408;
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-mockup-image {
    transform: none !important;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .requirements-box {
    flex-direction: column;
    gap: 2rem;
  }
  
  .req-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 640px) {
  .main-header {
    position: static;
  }
  
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-section {
    padding-top: 4rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
}
