/* ============================================================
   HOSHUTARO Delivery Platform — Design System & Styles
   Design Language: Inherited from HOSHUTARO App
   ============================================================ */

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

/* ============================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================================ */
:root {
  /* Colors — Pure Black Theme */
  --bg-primary: #000000;
  --bg-surface: #1e1e1e;
  --bg-surface-hover: #2a2a2a;
  --bg-glass: rgba(25, 25, 25, 0.85);
  --bg-glass-light: rgba(30, 30, 30, 0.6);
  --bg-glass-heavy: rgba(18, 18, 18, 0.95);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #666666;
  --text-accent: #90caf9;

  /* Borders */
  --border-color: #333333;
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-glow: rgba(255, 255, 255, 0.08);

  /* Accent Colors */
  --accent-blue: #90caf9;
  --accent-blue-dark: #64b5f6;
  --accent-green: #4caf50;
  --accent-amber: #ff9800;
  --accent-red: #f44336;

  /* Category Colors */
  --cat-feature: #90caf9;
  --cat-blog: #ce93d8;
  --cat-news: #80cbc4;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-dialog: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  --shadow-glow: 0 0 40px rgba(144, 202, 249, 0.15);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.5);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  --transition-hero: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-family: 'Roboto', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;
  --font-size-6xl: 4.5rem;

  /* Z-index */
  --z-base: 1;
  --z-card: 10;
  --z-nav: 100;
  --z-modal: 1000;

  /* Layout */
  --nav-height: 72px;
  --content-max-width: 1200px;
  --section-padding: clamp(4rem, 8vh, 8rem);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

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

a:hover {
  color: var(--accent-blue-dark);
}

ul, ol {
  list-style: none;
}

/* ============================================================
   3. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* ============================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #b3b3b3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent-gradient {
  background: linear-gradient(135deg, #90caf9 0%, #ce93d8 50%, #80cbc4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   5. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-title {
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-4xl));
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-secondary), transparent);
  margin: var(--space-lg) auto;
}

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  transition: all var(--transition-normal);
}

.nav.scrolled {
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-nav);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  transition: transform var(--transition-hero);
}

.nav-logo:hover .nav-logo-icon {
  transform: rotate(180deg);
}

.nav-logo-text {
  font-size: var(--font-size-lg);
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

/* Hamburger Menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-sm);
  z-index: calc(var(--z-nav) + 2);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition-normal);
  transform-origin: center;
}

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

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

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

/* Mobile Menu */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: calc(var(--z-nav) + 1);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.nav-mobile-overlay.active {
  opacity: 1;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: var(--bg-glass-heavy);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: calc(var(--z-nav) + 1);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  flex-direction: column;
  gap: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
}

.nav-mobile-menu.active {
  transform: translateX(0);
}

.nav-mobile-link {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-normal);
}

.nav-mobile-link:hover {
  color: var(--text-primary);
  padding-left: var(--space-md);
}

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

/* Particle Background */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) translateX(50px);
    opacity: 0;
  }
}

/* Radial Glow */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(144, 202, 249, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.hero-logo {
  width: 120px;
  height: 120px;
  cursor: pointer;
  transition: all var(--transition-hero);
  animation: pulseGlow 4s infinite alternate;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

.hero-logo:hover {
  transform: scale(1.1) rotate(180deg);
  filter: drop-shadow(0 0 40px rgba(144, 202, 249, 0.4));
}

@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
    transform: scale(1);
  }
  100% {
    filter: drop-shadow(0 0 30px rgba(144, 202, 249, 0.3));
    transform: scale(1.05);
  }
}

.hero-title {
  font-size: clamp(var(--font-size-4xl), 6vw, var(--font-size-6xl));
  font-weight: 100;
  letter-spacing: 12px;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-left: 12px; /* Compensate for letter-spacing on last char */
}

.hero-tagline {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-xl));
  color: var(--text-secondary);
  font-weight: 300;
  letter-spacing: 0.15em;
  max-width: 500px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-muted);
}

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

/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: #e0e0e0;
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #1a73e8, #4285f4);
  color: white;
  border: none;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66, 133, 244, 0.3);
  color: white;
}

/* ============================================================
   9. GLASS CARD
   ============================================================ */
.glass-card {
  background: var(--bg-glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.glass-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

/* ============================================================
   10. NEWS SECTION
   ============================================================ */
.news-grid {
  display: grid;
  gap: var(--space-lg);
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  padding: var(--space-xl);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.news-date {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 400;
  white-space: nowrap;
  min-width: 100px;
  font-variant-numeric: tabular-nums;
}

.news-category {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.news-category.feature { background: rgba(144, 202, 249, 0.15); color: var(--cat-feature); }
.news-category.blog    { background: rgba(206, 147, 216, 0.15); color: var(--cat-blog); }
.news-category.news    { background: rgba(128, 203, 196, 0.15); color: var(--cat-news); }

.news-content {
  flex: 1;
}

.news-title-text {
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--text-primary);
  margin-top: var(--space-xs);
  transition: color var(--transition-fast);
}

.news-item:hover .news-title-text {
  color: var(--text-accent);
}

/* ============================================================
   11. FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  padding: var(--space-2xl);
  position: relative;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--accent-blue);
  opacity: 0.8;
}

.feature-card-title {
  font-size: var(--font-size-xl);
  font-weight: 500;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.feature-card-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(144, 202, 249, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

/* ============================================================
   12. INTRODUCTION SECTION
   ============================================================ */
.intro-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(30, 30, 30, 0.3) 50%, var(--bg-primary) 100%);
}

.intro-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.intro-visual {
  position: relative;
}

.intro-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dialog);
  border: 1px solid var(--border-subtle);
}

.intro-text h3 {
  font-size: var(--font-size-3xl);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.03em;
}

.intro-text h3 em {
  font-style: normal;
  color: var(--text-accent);
}

.intro-text p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   13. OPTIONS SECTION
   ============================================================ */
.options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.option-card {
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
}

.option-number {
  font-size: var(--font-size-5xl);
  font-weight: 100;
  color: rgba(144, 202, 249, 0.15);
  margin-bottom: var(--space-md);
  line-height: 1;
}

.option-title {
  font-size: var(--font-size-lg);
  font-weight: 500;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.option-desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   14. DOWNLOAD SECTION
   ============================================================ */
.download-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(30, 30, 30, 0.2) 50%, var(--bg-primary) 100%);
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.download-card {
  padding: var(--space-2xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.download-icon {
  width: 56px;
  height: 56px;
  color: var(--text-secondary);
}

.download-platform {
  font-size: var(--font-size-xl);
  font-weight: 500;
}

.download-detail {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

/* ============================================================
   15. CONTACT SECTION (Google Forms)
   ============================================================ */
.contact-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-intro {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.contact-intro p {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  line-height: 1.8;
}

.contact-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
}

.cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: 1.125rem 2.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #e8e8e8 100%);
  color: var(--bg-primary);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-full);
  isolation: isolate;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Soft accent halo, revealed on hover */
.cta-pill::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(144, 202, 249, 0.55), transparent 70%);
  opacity: 0;
  z-index: -1;
  filter: blur(14px);
  transition: opacity 0.4s ease;
}

.cta-pill:hover,
.cta-pill:focus-visible {
  transform: translateY(-2px);
  color: var(--bg-primary);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 0 0 1px rgba(144, 202, 249, 0.35),
    0 16px 36px rgba(0, 0, 0, 0.45);
  outline: none;
}

.cta-pill:hover::before,
.cta-pill:focus-visible::before {
  opacity: 0.85;
}

.cta-pill:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.cta-pill-label {
  white-space: nowrap;
}

.cta-pill-arrow {
  display: inline-flex;
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-pill-arrow svg {
  width: 100%;
  height: 100%;
}

.cta-pill:hover .cta-pill-arrow,
.cta-pill:focus-visible .cta-pill-arrow {
  transform: translate(3px, -3px);
}

@media (max-width: 480px) {
  .cta-pill {
    padding: 1rem 1.75rem;
    font-size: var(--font-size-sm);
  }
}

/* ============================================================
   16. BLOG SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-surface);
}

.blog-card-body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.blog-card-date {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.blog-card-title {
  font-size: var(--font-size-lg);
  font-weight: 500;
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.blog-card-excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--text-accent);
  margin-top: var(--space-lg);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.blog-card-link:hover {
  gap: var(--space-sm);
}

.blog-coming-soon {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  font-weight: 300;
  letter-spacing: 0.1em;
}

/* ============================================================
   17. TEAM SECTION
   ============================================================ */
.team-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.team-card {
  text-align: center;
  padding: var(--space-2xl);
  min-width: 240px;
  max-width: 300px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-surface);
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  border: 1px solid var(--border-subtle);
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.team-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  text-decoration: none;
}

.footer-logo img {
  width: 28px;
  height: 28px;
}

.footer-logo span {
  font-weight: 300;
  letter-spacing: 4px;
  font-size: var(--font-size-sm);
}

.footer-desc {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-links-group {
  display: flex;
  gap: var(--space-4xl);
}

.footer-col h4 {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-col a {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-subtle);
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* ============================================================
   19. SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.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; }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .intro-visual {
    order: -1;
  }
  .download-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(3rem, 6vh, 5rem);
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-overlay,
  .nav-mobile-menu {
    display: flex;
  }

  .hero-title {
    letter-spacing: 6px;
    margin-left: 6px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .btn {
    width: 100%;
  }

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

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

  .download-cards {
    grid-template-columns: 1fr;
  }

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

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

  .footer-links-group {
    gap: var(--space-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .news-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-links-group {
    flex-direction: column;
    gap: var(--space-xl);
  }
}

/* ============================================================
   CAROUSEL
   ============================================================ */
.carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  background: var(--surface-1);
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
  padding: 4px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(25, 25, 25, 0.5);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(25, 25, 25, 0.9);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-indicator {
  width: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.carousel-slide {
  cursor: pointer;
  border-radius: calc(var(--radius-lg) - 4px);
}

.carousel-zoom-hint {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 10;
  backdrop-filter: blur(5px);
}

.carousel-zoom-hint svg {
  width: 20px;
  height: 20px;
}

.carousel:hover .carousel-zoom-hint {
  opacity: 1;
  transform: scale(1);
}

