/* =============================================
   CHRONOTACT — Design System & Styles
   Time × Strategy × AI
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* =============================================
   1. CSS VARIABLES (Design Tokens)
   ============================================= */
:root {
  /* Background */
  --bg-primary: #02040a;
  --bg-secondary: #0a1628;
  --bg-card: #0d1f3c;
  --bg-card-hover: #112a4a;
  --bg-glass: rgba(10, 22, 40, 0.7);
  --bg-nav: rgba(2, 4, 10, 0.85);

  /* Brand Colors */
  --brand-blue: #448AFF;
  --brand-blue-dark: #2962FF;
  --brand-blue-light: #82B1FF;

  /* Neon Accents */
  --neon-green: #00FF9C;
  --neon-green-dim: #00cc7d;
  --neon-blue: #00D4FF;
  --neon-cyan: #00E5FF;

  /* Text */
  --text-primary: #E8ECF1;
  --text-secondary: #B0BEC5;
  --text-muted: #546E7A;
  --text-dim: #37474F;

  /* Glow Effects */
  --glow-blue: rgba(68, 138, 255, 0.4);
  --glow-green: rgba(0, 255, 156, 0.3);
  --glow-cyan: rgba(0, 212, 255, 0.3);

  /* Borders */
  --border-subtle: rgba(68, 138, 255, 0.12);
  --border-card: rgba(68, 138, 255, 0.15);
  --border-hover: rgba(0, 255, 156, 0.4);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #02040a 0%, #0a1628 50%, #0d1f3c 100%);
  --gradient-card: linear-gradient(145deg, rgba(13,31,60,0.8) 0%, rgba(10,22,40,0.6) 100%);
  --gradient-neon: linear-gradient(90deg, var(--neon-green), var(--brand-blue), var(--neon-cyan));
  --gradient-text: linear-gradient(90deg, var(--neon-green), var(--brand-blue));

  /* Typography */
  --font-primary: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --section-padding: clamp(4rem, 10vh, 8rem);
  --container-max: 1200px;
  --container-padding: clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

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

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

ul { list-style: none; }

::selection {
  background: var(--brand-blue);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-blue);
  border-radius: 3px;
}

/* =============================================
   3. UTILITY CLASSES
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.neon-text {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-border {
  border: 1px solid var(--border-card);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.glow-border:hover {
  border-color: var(--border-hover);
  box-shadow: 0 0 30px var(--glow-green), inset 0 0 30px rgba(0, 255, 156, 0.03);
}

/* Section Label */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--neon-green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '──';
  color: var(--text-dim);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   4. NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--transition-base), background var(--transition-base);
}

.nav.scrolled {
  padding: 0.6rem 0;
  background: rgba(2, 4, 10, 0.95);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.nav-logo-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--text-primary);
}

.nav-logo-text span {
  color: var(--brand-blue);
}

.nav-logo-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--neon-green);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--neon-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--brand-blue);
  color: var(--brand-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.nav-cta:hover {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 0 20px var(--glow-blue);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem;
  background: rgba(10, 22, 40, 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.4rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  opacity: 0.8;
  background: rgba(68, 138, 255, 0.1);
}

.lang-btn.active {
  opacity: 1;
  border-color: var(--brand-blue);
  background: rgba(68, 138, 255, 0.15);
  box-shadow: 0 0 8px rgba(68, 138, 255, 0.2);
}

.lang-btn svg {
  display: block;
  border-radius: 2px;
}

/* Select Dropdown */
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  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 d='M6 8L1 3h10z' fill='%23546E7A'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 15px rgba(68, 138, 255, 0.15);
}

.form-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0.5rem;
}

/* Mobile Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

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

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

/* =============================================
   5. HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

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

/* Grid overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(68, 138, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 138, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.06);
  border: 1px solid rgba(0, 255, 156, 0.2);
  border-radius: 100px;
  padding: 0.5rem 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--neon-green); }
  50% { opacity: 0.4; box-shadow: 0 0 8px var(--neon-green); }
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero-title .brand {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.hero-title .blue {
  color: var(--brand-blue);
  text-shadow: 0 0 40px var(--glow-blue);
}

.hero-slogan {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.hero-slogan .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--neon-green);
  margin-left: 4px;
  animation: blink-cursor 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.9;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  background: var(--brand-blue);
  color: #fff;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--brand-blue-dark);
  box-shadow: 0 0 30px var(--glow-blue), 0 4px 20px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
}

.btn-outline:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 20px var(--glow-green);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float-down 2s ease-in-out infinite;
}

.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

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

@keyframes float-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes scroll-pulse {
  0% { opacity: 0; height: 0; }
  50% { opacity: 1; height: 40px; }
  100% { opacity: 0; height: 40px; }
}

/* =============================================
   6. ABOUT SECTION
   ============================================= */
.about {
  padding: var(--section-padding) 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-clock {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate-slow 60s linear infinite;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-clock::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(68, 138, 255, 0.08);
}

.about-clock-center {
  width: 12px;
  height: 12px;
  background: var(--brand-blue);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--glow-blue);
  animation: rotate-slow 60s linear infinite reverse;
}

.about-clock .tick {
  position: absolute;
  width: 2px;
  height: 12px;
  background: var(--brand-blue);
  opacity: 0.4;
}

.about-orbit {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px dashed rgba(0, 255, 156, 0.15);
  border-radius: 50%;
  animation: rotate-slow 30s linear infinite reverse;
}

.about-orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--glow-green);
  transform: translateX(-50%);
}

.about-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.9;
  font-size: 0.95rem;
}

.about-text .highlight {
  color: var(--neon-green);
  font-weight: 600;
}

/* Stats */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  padding: 1.5rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 0 20px rgba(68, 138, 255, 0.1);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* =============================================
   7. SERVICES SECTION
   ============================================= */
.services {
  padding: var(--section-padding) 0;
  position: relative;
  background: var(--bg-secondary);
}

/* Subtle top divider */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-card), transparent);
}

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

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.services-tab {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
}

.services-tab.active,
.services-tab:hover {
  color: var(--neon-green);
  border-color: var(--neon-green);
  background: rgba(0, 255, 156, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-neon);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-green);
  transform: translateY(-4px);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(68, 138, 255, 0.1);
  border: 1px solid rgba(68, 138, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(0, 255, 156, 0.1);
  border-color: rgba(0, 255, 156, 0.3);
  box-shadow: 0 0 20px var(--glow-green);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.service-tag.b2b {
  color: var(--brand-blue);
  background: rgba(68, 138, 255, 0.1);
  border: 1px solid rgba(68, 138, 255, 0.25);
}

.service-tag.b2c {
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.08);
  border: 1px solid rgba(0, 255, 156, 0.25);
}

/* Tab content visibility */
.services-panel {
  display: none;
}
.services-panel.active {
  display: grid;
}

/* =============================================
   8. PRODUCTS SECTION
   ============================================= */
.products {
  padding: var(--section-padding) 0;
  position: relative;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.product-info .product-logo {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.product-info .product-logo .kai {
  color: var(--text-primary);
}

.product-info .product-logo .ros {
  color: var(--brand-blue);
  text-shadow: 0 0 30px var(--glow-blue);
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.08);
  border: 1px solid rgba(0, 255, 156, 0.25);
  border-radius: 3px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
}

.product-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-feature .check {
  color: var(--neon-green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-visual {
  position: relative;
}

.product-mockup {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all var(--transition-slow);
}

.product-mockup:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--glow-blue);
  transform: translateY(-5px) scale(1.01);
}

.product-mockup-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }

.product-mockup-body {
  padding: 1.5rem;
  min-height: 280px;
  position: relative;
}

.mockup-line {
  height: 8px;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  opacity: 0.15;
}

.mockup-line.w-80 { width: 80%; background: var(--brand-blue); }
.mockup-line.w-60 { width: 60%; background: var(--neon-green); }
.mockup-line.w-90 { width: 90%; background: var(--text-muted); }
.mockup-line.w-40 { width: 40%; background: var(--brand-blue); }
.mockup-line.w-70 { width: 70%; background: var(--neon-cyan); }

.mockup-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 1.5rem;
  height: 100px;
}

.mockup-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: height 1s ease;
}

/* Product floating glow */
.product-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.3;
  filter: blur(40px);
}

/* =============================================
   9. CONTACT SECTION
   ============================================= */
.contact {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-card), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-detail .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(68, 138, 255, 0.1);
  border: 1px solid rgba(68, 138, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-detail span {
  color: var(--text-secondary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(13, 31, 60, 0.5);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 15px rgba(68, 138, 255, 0.15);
}

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

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

.btn-submit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.9rem 2rem;
  background: var(--brand-blue);
  color: #fff;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  width: 100%;
}

.btn-submit:hover {
  background: var(--brand-blue-dark);
  box-shadow: 0 0 30px var(--glow-blue);
}

/* =============================================
   10. FOOTER
   ============================================= */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.footer-logo span {
  color: var(--brand-blue);
}

.footer-copyright {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-status .status-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 6px var(--glow-green);
  animation: pulse-dot 2s infinite;
}

/* =============================================
   11. RESPONSIVE DESIGN
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid,
  .product-showcase,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-visual {
    order: -1;
  }

  .about-clock {
    width: 240px;
    height: 240px;
  }

  .about-clock::before {
    width: 200px;
    height: 200px;
  }

  .about-orbit {
    width: 150px;
    height: 150px;
  }

  .product-visual {
    order: -1;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(2, 4, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right var(--transition-base);
    border-left: 1px solid var(--border-subtle);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-slogan {
    font-size: clamp(1rem, 4vw, 1.5rem);
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .services-tabs {
    flex-wrap: wrap;
  }

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

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-outline {
    text-align: center;
  }

  .about-clock {
    width: 200px;
    height: 200px;
  }

  .about-clock::before {
    width: 170px;
    height: 170px;
  }

  .about-orbit {
    width: 120px;
    height: 120px;
  }
}
