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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2C3E50;
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

:root {
  --sub-primary: #FF6B00;
  --sub-primary-light: #FF8A33;
  --sub-primary-lighter: #FFB088;
  --sub-primary-bg: #FFF5EE;
  --sub-primary-bg-deep: #FFE8D6;
  --sub-primary-10: rgba(255, 107, 0, 0.10);
  --sub-primary-15: rgba(255, 107, 0, 0.15);
  --sub-primary-25: rgba(255, 107, 0, 0.25);
  --sub-dark: #1e293b;
  --sub-text: #4a5568;
  --sub-text-light: #64748b;
  --sub-border: #e2e8f0;
  --sub-bg-alt: #f8fafc;
}

.sub-page {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===================== HERO ===================== */

.sub-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #FFB088 0%, #FF8A33 40%, #FF6B00 80%, #E05E00 100%);
}

.sub-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 65%;
  height: 170%;
  background: radial-gradient(ellipse, rgba(255, 180, 120, 0.25) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.sub-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.sub-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sub-hero-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: subParticleFloat 8s ease-in-out infinite;
}

.sub-hero-particles span:nth-child(1) { left: 12%; top: 35%; animation-delay: 0s; animation-duration: 7s; width: 7px; height: 7px; }
.sub-hero-particles span:nth-child(2) { left: 28%; top: 55%; animation-delay: 1.5s; animation-duration: 9s; }
.sub-hero-particles span:nth-child(3) { left: 60%; top: 25%; animation-delay: 3s; animation-duration: 8s; width: 8px; height: 8px; background: rgba(255, 255, 255, 0.15); }
.sub-hero-particles span:nth-child(4) { left: 80%; top: 45%; animation-delay: 2s; animation-duration: 10s; width: 5px; height: 5px; }
.sub-hero-particles span:nth-child(5) { left: 88%; top: 30%; animation-delay: 4s; animation-duration: 7.5s; }

@keyframes subParticleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-18px) translateX(8px); opacity: 0.7; }
  50% { transform: translateY(-30px) translateX(-4px); opacity: 0.3; }
  75% { transform: translateY(-12px) translateX(12px); opacity: 0.6; }
}

.sub-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C360,80 720,20 1080,50 S1440,60 1440,60 L1440,80 L0,80 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 4;
  pointer-events: none;
}

.sub-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  padding: 150px 40px 100px;
  text-align: center;
}

.sub-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  opacity: 0;
  animation: subFadeUp 0.5s ease-out 0.1s forwards;
}

.sub-hero-breadcrumb a {
  color: #fff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.sub-hero-breadcrumb a:hover {
  opacity: 0.8;
}

.sub-hero-breadcrumb svg {
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.sub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: subFadeUp 0.5s ease-out 0.15s forwards;
}

.sub-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: subPulse 2s ease-in-out infinite;
}

@keyframes subPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.sub-hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
  opacity: 0;
  animation: subFadeUp 0.5s ease-out 0.2s forwards;
}

.sub-hero-title .sub-gradient {
  background: linear-gradient(135deg, #fff 0%, #FFD9BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.sub-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  opacity: 0;
  animation: subFadeUp 0.5s ease-out 0.25s forwards;
}

.sub-hero-meta-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

.sub-hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto;
  opacity: 0;
  animation: subFadeUp 0.5s ease-out 0.3s forwards;
}

.sub-hero-desc strong {
  color: #fff;
  font-weight: 600;
}

@keyframes subFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== CONTAINERS ===================== */

.sub-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

.sub-inner-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===================== SPLIT LAYOUTS ===================== */

.sub-split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.sub-split-reverse {
  grid-template-columns: 0.7fr 1.3fr;
}

.sub-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.sub-dark-highlight-light {
  position: relative;
  padding: 24px 28px 24px 32px;
  background: var(--sub-primary-bg);
  border: 1px solid var(--sub-primary-15);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
}

.sub-dark-highlight-light::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sub-primary-light), var(--sub-primary));
}

.sub-dark-highlight-light p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--sub-text);
  font-weight: 500;
}

.sub-dark-highlight-light p strong {
  color: var(--sub-dark);
}

/* ===================== ASIDE BOX ===================== */

.sub-aside-box {
  padding: 28px 24px;
  background: var(--sub-primary-bg);
  border: 1px solid rgba(255, 107, 0, 0.12);
  border-radius: 16px;
  position: sticky;
  top: 100px;
}

.sub-aside-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sub-primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.sub-aside-box-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sub-primary);
  fill: none;
}

.sub-aside-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--sub-dark);
  margin-bottom: 8px;
}

.sub-aside-box p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub-text);
}

/* ===================== ASIDE VISUAL ===================== */

.sub-aside-visual {
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.sub-aside-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  border-radius: 16px;
}

/* ===================== ASIDE CALLOUT ===================== */

.sub-aside-callout {
  position: relative;
  padding: 28px 24px 28px 28px;
  background: #fff;
  border: 1px solid var(--sub-border);
  border-radius: 16px;
  position: sticky;
  top: 100px;
  overflow: hidden;
}

.sub-aside-callout::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--sub-primary-light), var(--sub-primary));
}

.sub-aside-callout-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sub-primary);
  margin-bottom: 12px;
}

.sub-aside-callout p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--sub-text);
  margin-bottom: 12px;
}

.sub-aside-callout p:last-child {
  margin-bottom: 0;
}

/* ===================== CONTENT SECTION ===================== */

.sub-section {
  padding: 64px 0;
}

.sub-section-alt {
  background: var(--sub-bg-alt);
}

.sub-section-warm {
  background: var(--sub-primary-bg);
}

/* ===================== TYPOGRAPHY ===================== */

.sub-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sub-primary);
  margin-bottom: 12px;
}

.sub-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--sub-dark);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 20px;
}

.sub-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--sub-text);
  margin-bottom: 24px;
}

.sub-prose:last-child { margin-bottom: 0; }

.sub-prose strong {
  color: var(--sub-dark);
  font-weight: 600;
}

/* ===================== CHECK LIST ===================== */

.sub-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.sub-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sub-text);
}

.sub-check-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--sub-primary);
  margin-top: 2px;
}

.sub-check-list-warning li svg {
  stroke: #b91c1c;
}

/* ===================== NUMBERED LIST ===================== */

.sub-numbered-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  counter-reset: numbered-counter;
}

.sub-numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sub-text);
  counter-increment: numbered-counter;
}

.sub-numbered-list li::before {
  content: counter(numbered-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sub-primary-10);
  color: var(--sub-primary);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===================== INLINE LINKS ===================== */

.sub-inline-link {
  color: var(--sub-primary);
  font-weight: 600;
  border-bottom: 1.5px solid var(--sub-primary-25);
  transition: all 0.2s ease;
  padding-bottom: 1px;
}

.sub-inline-link:hover {
  color: #E05E00;
  border-bottom-color: #E05E00;
}

.sub-inline-link-light {
  color: #FFB088;
  font-weight: 600;
  border-bottom: 1.5px solid rgba(255, 176, 136, 0.4);
  transition: all 0.2s ease;
  padding-bottom: 1px;
}

.sub-inline-link-light:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ===================== DIVIDER ===================== */

.sub-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sub-primary-light), var(--sub-primary));
  margin: 40px 0;
}

/* ===================== DARK SECTION ===================== */

.sub-section-dark {
  position: relative;
  background: #2C3E50;
  overflow: hidden;
  padding: 80px 0;
}

.sub-wave {
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}

.sub-wave-top {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,30 Q360,60 720,30 T1440,30 L1440,0 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.sub-wave-top-alt {
  top: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,30 Q360,60 720,30 T1440,30 L1440,0 Z' fill='%23f8fafc'/%3E%3C/svg%3E");
}

.sub-wave-bottom {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,30 Q360,0 720,30 T1440,30 L1440,60 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.sub-wave-bottom-warm {
  bottom: -1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0,60 L0,30 Q360,0 720,30 T1440,30 L1440,60 Z' fill='%23FFF5EE'/%3E%3C/svg%3E");
}

.sub-section-title-light { color: #fff; }

.sub-prose-light {
  color: rgba(255, 255, 255, 0.72);
}

.sub-prose-light strong {
  color: #fff;
}

.sub-dark-highlight {
  position: relative;
  padding: 24px 28px 24px 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}

.sub-dark-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--sub-primary-light), var(--sub-primary));
}

.sub-dark-highlight p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.sub-dark-highlight p strong {
  color: #fff;
}

/* ===================== FUTURE TOPICS LIST ===================== */

.sub-future-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0;
}

.sub-future-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.sub-future-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 138, 51, 0.15);
}

.sub-future-item-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sub-primary-light);
  flex-shrink: 0;
  opacity: 0.6;
}

.sub-future-item-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.4;
}

/* ===================== ROUTE CARDS (closing section) ===================== */

.sub-routes {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.sub-route-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--sub-border);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.sub-route-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--sub-primary-25);
}

.sub-route-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sub-primary-bg), var(--sub-primary-bg-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-route-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sub-primary);
  fill: none;
}

.sub-route-card-body {
  flex: 1;
}

.sub-route-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sub-primary);
  margin-bottom: 2px;
}

.sub-route-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--sub-dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.sub-route-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--sub-text-light);
}

.sub-route-card-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sub-primary-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.sub-route-card:hover .sub-route-card-arrow {
  background: var(--sub-primary);
}

.sub-route-card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: var(--sub-primary);
  fill: none;
  transition: stroke 0.3s ease;
}

.sub-route-card:hover .sub-route-card-arrow svg {
  stroke: #fff;
}

/* ===================== CLOSING ===================== */

.sub-closing {
  position: relative;
  padding: 24px 28px;
  background: var(--sub-primary-bg);
  border: 1px solid rgba(255, 107, 0, 0.12);
  border-radius: 14px;
  margin-top: 32px;
}

.sub-closing::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: linear-gradient(180deg, var(--sub-primary-light), var(--sub-primary));
}

.sub-closing p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--sub-text);
}

.sub-closing p strong {
  color: var(--sub-dark);
  font-weight: 600;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px) {
  .sub-hero-inner { padding: 120px 24px 80px; }
  .sub-hero-title { font-size: 2.1rem; }
  .sub-article { padding: 0 24px; }
  .sub-inner-wide { padding: 0 24px; }
  .sub-split { grid-template-columns: 1fr; gap: 32px; }
  .sub-split-reverse { grid-template-columns: 1fr; }
  .sub-two-col { grid-template-columns: 1fr; gap: 24px; }
  .sub-aside-box,
  .sub-aside-visual,
  .sub-aside-callout { position: static; }
  .sub-future-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .sub-hero-inner { padding: 100px 20px 64px; }
  .sub-hero-title { font-size: 1.7rem; }
  .sub-hero-desc { font-size: 15px; }
  .sub-hero-wave { height: 50px; }
  .sub-section { padding: 48px 0; }
  .sub-section-dark { padding: 56px 0; }
  .sub-section-title { font-size: 1.4rem; }
  .sub-article { padding: 0 20px; }
  .sub-inner-wide { padding: 0 20px; }
  .sub-route-card { flex-direction: column; text-align: center; }
  .sub-route-card-arrow { margin-top: 8px; }
  .sub-future-list { grid-template-columns: 1fr; }
}
