:root {
  --ice-blue: #e8f4fc;
  --mist-blue: #c4e0f5;
  --white: #ffffff;
  --deep-blue: #0b2240;
  --blue-accent: #2a7bd4;
  --lemon-yellow: #fce24f;
  --text-main: #1a2a40;
  --text-light: #5a7699;
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.8);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 8px 32px rgba(11, 34, 64, 0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--ice-blue);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(255,255,255,0.9) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(196,224,245,0.6) 0%, transparent 50%);
  background-attachment: fixed;
}

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

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(232, 244, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: transform 0.3s ease;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--deep-blue);
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--blue-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-download-small {
  background: var(--deep-blue);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.btn-download-small:hover {
  background: var(--blue-accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--deep-blue);
  cursor: pointer;
}

/* Sections Common */
section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 16px;
  text-align: center;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  position: relative;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 span {
  color: var(--blue-accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 80px;
}

.btn-primary {
  background: var(--blue-accent);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(42, 123, 212, 0.3);
}

.btn-primary:hover {
  background: var(--deep-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--deep-blue);
  padding: 14px 32px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(11, 34, 64, 0.05);
}

.btn-secondary:hover {
  background: var(--ice-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 34, 64, 0.1);
}

/* Floating Doors in Hero */
.hero-doors {
  display: flex;
  gap: 24px;
  justify-content: center;
  perspective: 1000px;
}

.door-card {
  width: 220px;
  height: 320px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.door-card:hover {
  transform: translateY(-10px) rotateY(5deg);
}

.door-card:nth-child(2) {
  margin-top: -40px;
}

.door-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.door-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(11,34,64,0.9), transparent);
  color: var(--white);
  text-align: left;
}

.door-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.door-info p {
  font-size: 12px;
  opacity: 0.8;
}

/* Mood Selector */
.mood-selector {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  box-shadow: var(--shadow-soft);
}

.mood-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.mood-btn {
  background: var(--ice-blue);
  border: 2px solid transparent;
  color: var(--deep-blue);
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.mood-btn:hover {
  background: var(--mist-blue);
}

.mood-btn.active {
  background: var(--blue-accent);
  color: var(--white);
  border-color: var(--blue-accent);
  box-shadow: 0 4px 12px rgba(42, 123, 212, 0.3);
}

.mood-result {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  background: var(--ice-blue);
  padding: 24px;
  border-radius: var(--radius-md);
}

.mood-result img {
  width: 120px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
}

.mood-result-text {
  text-align: left;
  max-width: 400px;
}

.mood-result-text h3 {
  font-size: 20px;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.mood-result-text p {
  font-size: 14px;
  color: var(--text-light);
}

/* Story Fork */
.fork-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.fork-path {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.fork-path:hover {
  border-color: var(--blue-accent);
  transform: translateY(-4px);
}

.fork-path.active {
  border-color: var(--blue-accent);
  background: var(--ice-blue);
}

.fork-path h3 {
  font-size: 20px;
  color: var(--deep-blue);
  margin-bottom: 12px;
}

.fork-path p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.fork-result {
  flex: 1;
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.fork-result.show {
  display: block;
}

.fork-result-inner {
  display: flex;
  gap: 24px;
  align-items: center;
}

.fork-result-inner img {
  width: 160px;
  height: 240px;
  border-radius: 12px;
  object-fit: cover;
}

/* Emotion Gauge */
.gauge-container {
  background: linear-gradient(135deg, var(--ice-blue), var(--mist-blue));
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  transition: background 0.4s;
}

.gauge-slider {
  -webkit-appearance: none;
  width: 100%;
  max-width: 600px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  outline: none;
  margin: 40px auto;
  display: block;
}

.gauge-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lemon-yellow);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gauge-result {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.gauge-result img {
  width: 140px;
  height: 210px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gauge-text {
  text-align: left;
  color: var(--deep-blue);
}

.gauge-text h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.gauge-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.gauge-tag {
  background: rgba(255,255,255,0.6);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--deep-blue);
}

/* POV Experience */
.pov-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  max-width: 800px;
  margin: 0 auto;
}

.pov-story {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 32px;
  line-height: 1.8;
}

.pov-options {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.pov-btn {
  flex: 1;
  background: var(--ice-blue);
  border: none;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--deep-blue);
  cursor: pointer;
  transition: background 0.2s;
}

.pov-btn:hover {
  background: var(--mist-blue);
}

.pov-reveal {
  display: none;
  background: var(--ice-blue);
  padding: 24px;
  border-radius: var(--radius-md);
  align-items: center;
  gap: 24px;
}

.pov-reveal.show {
  display: flex;
}

.pov-reveal img {
  width: 100px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
}

/* Time Experience */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.time-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  align-items: center;
}

.time-card img {
  width: 80px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
}

.time-card-info h3 {
  font-size: 18px;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.time-card-info p {
  font-size: 13px;
  color: var(--text-light);
}

/* Continuous Story */
.story-route {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding-bottom: 24px;
  scroll-snap-type: x mandatory;
}

.story-node {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.story-node img {
  width: 100%;
  height: 270px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

.story-node h3 {
  font-size: 16px;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.story-node p {
  font-size: 12px;
  color: var(--text-light);
}

/* Echo Board */
.echo-board {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.echo-note {
  background: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(11,34,64,0.05);
  font-size: 14px;
  color: var(--text-main);
  border-left: 4px solid var(--lemon-yellow);
}

/* Explore List */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.explore-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}

.explore-card:hover {
  transform: translateY(-4px);
}

.explore-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.explore-info {
  padding: 16px;
}

.explore-info h3 {
  font-size: 16px;
  color: var(--deep-blue);
  margin-bottom: 4px;
}

.explore-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* App Experience */
.app-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--ice-blue);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.feature-box h3 {
  font-size: 18px;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-light);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-question {
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--deep-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-light);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Download Section */
.download-section {
  background: var(--deep-blue);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  color: var(--white);
  margin: 80px auto;
  max-width: 1000px;
}

.download-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.download-section p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 40px;
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-download-large {
  background: var(--white);
  color: var(--deep-blue);
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}

.btn-download-large:hover {
  transform: translateY(-2px);
  background: var(--ice-blue);
}

/* Footer */
.site-footer {
  background: #07182d;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 24px 32px;
  font-size: 14px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
  section {
    padding: 80px 24px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-doors {
    flex-wrap: wrap;
  }
  .door-card:nth-child(2) {
    margin-top: 0;
  }
  .fork-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-soft);
  }
  .main-nav.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .hero-doors {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .door-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
  }
  .section-title {
    font-size: 26px;
  }
  .mood-result {
    flex-direction: column;
    text-align: center;
  }
  .mood-result-text {
    text-align: center;
  }
  .gauge-result {
    flex-direction: column;
    text-align: center;
  }
  .gauge-text {
    text-align: center;
  }
  .gauge-tags {
    justify-content: center;
  }
  .pov-options {
    flex-direction: column;
  }
  .pov-reveal {
    flex-direction: column;
    text-align: center;
  }
  .pov-reveal img {
    width: 120px;
    height: 180px;
  }
}