:root {
  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --bg-section: #f0f2f5;
  --text: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --accent: #e74c3c;
  --accent-light: #fdf2f2;
  --blue: #3498db;
  --blue-light: #ebf5fb;
  --green: #27ae60;
  --green-light: #eafaf1;
  --gold: #f39c12;
  --gold-light: #fef9e7;
  --purple: #9b59b6;
  --purple-light: #f5eef8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  opacity: 0;
  animation: pageLoad 0.5s ease forwards;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:active {
  transform: scale(0.95);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:active {
  transform: translateY(0);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

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

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

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

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.active {
  display: flex;
  animation: slideIn 0.3s ease;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 1rem 2rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--accent);
  transform: scale(1.05);
}

main {
  position: relative;
  z-index: 10;
  padding-top: 60px;
}

section {
  min-height: auto;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.hero {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #f0f7ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.hero-mid {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 50%, #fff5f5 100%);
}

.hero.hero-jungle {
  background: linear-gradient(135deg, #f5eef8 0%, #fff 50%, #fff5f5 100%);
}

.hero.hero-adcarry {
  background: linear-gradient(135deg, #fef9e7 0%, #fff 50%, #fff5f5 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.hero-badge.badge-mid {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}

.hero-badge.badge-jungle {
  background: var(--purple-light);
  border-color: var(--purple);
  color: var(--purple);
}

.hero-badge.badge-adcarry {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

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

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #c0392b;
}

.btn-primary.btn-mid {
  background: var(--blue);
}

.btn-primary.btn-mid:hover {
  background: #2980b9;
}

.btn-primary.btn-jungle {
  background: var(--purple);
}

.btn-primary.btn-jungle:hover {
  background: #8e44ad;
}

.btn-primary.btn-adcarry {
  background: var(--gold);
}

.btn-primary.btn-adcarry:hover {
  background: #e67e22;
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

.section-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--border);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-title .highlight {
  color: var(--accent);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-intro {
  max-width: 800px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-intro.intro-mid {
  border-left-color: var(--blue);
}

.section-intro.intro-jungle {
  border-left-color: var(--purple);
}

.section-intro.intro-adcarry {
  border-left-color: var(--gold);
}

.content-grid,
.card-grid,
.path-grid,
.portfolio-grid {
  max-width: 1200px;
  width: 100%;
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-grid {
  grid-template-columns: repeat(2, 1fr);
}

.content-grid,
.card-grid,
.path-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card,
.path-card,
.pos-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.card:hover,
.path-card:hover,
.pos-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.card.hero-type:hover,
.path-card.hero-type:hover,
.pos-card.hero-type:hover {
  border-color: var(--accent);
}

.card:active,
.path-card:active,
.pos-card:active {
  transform: translateY(-6px) scale(0.98);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.card:hover .card-icon,
.path-card:hover .card-icon,
.pos-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card h3,
.path-card h3,
.pos-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.card p,
.path-card p,
.pos-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
}

.card ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.card-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.card-detail p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.card-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: transform 0.2s ease;
}

.tag:hover {
  transform: scale(1.05);
}

.tag-support {
  background: var(--accent-light);
  color: var(--accent);
}

.tag-mid {
  background: var(--blue-light);
  color: var(--blue);
}

.tag-jungle {
  background: var(--purple-light);
  color: var(--purple);
}

.tag-adcarry {
  background: var(--gold-light);
  color: var(--gold);
}

.timeline {
  max-width: 800px;
  width: 100%;
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--border);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(8px);
}

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

.timeline-dot {
  position: absolute;
  left: -3rem;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-dot.dot-mid {
  background: var(--blue);
}

.timeline-dot.dot-jungle {
  background: var(--purple);
}

.timeline-dot.dot-adcarry {
  background: var(--gold);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(52, 152, 219, 0.4);
}

.timeline-item:hover .timeline-dot.dot-jungle {
  box-shadow: 0 4px 16px rgba(155, 89, 182, 0.4);
}

.timeline-item:hover .timeline-dot.dot-adcarry {
  box-shadow: 0 4px 16px rgba(243, 156, 18, 0.4);
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.timeline-desc {
  color: var(--text-secondary);
  line-height: 1.8;
}

.tips-grid {
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tip-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.tip-card.tip-mid {
  border-left-color: var(--blue);
}

.tip-card.tip-jungle {
  border-left-color: var(--purple);
}

.tip-card.tip-adcarry {
  border-left-color: var(--gold);
}

.tip-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
}

.tip-card:active {
  transform: translateY(-3px) scale(0.98);
}

.tip-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

.tip-box {
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
}

.tip-box.tip-blue {
  background: var(--blue-light);
  border-color: var(--blue);
}

.tip-box.tip-blue h4 {
  color: var(--blue);
}

.tip-box h4 {
  color: var(--gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tip-box ul {
  list-style: none;
}

.tip-box li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tip-box li::before {
  content: '▸';
  color: var(--gold);
  font-weight: bold;
}

.tip-box.tip-blue li::before {
  color: var(--blue);
}

.case-study {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.case-study h4 {
  color: var(--blue);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.case-study p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.case-study .scenario {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 10px 10px 0;
}

.case-study .action {
  color: var(--green);
  font-weight: 600;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
}

.comparison-card {
  padding: 2rem;
  border-radius: 16px;
  border: 2px solid;
  background: var(--bg-card);
}

.comparison-card.good {
  border-color: var(--green);
}

.comparison-card.bad {
  border-color: var(--accent);
}

.comparison-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comparison-card.good h3 {
  color: var(--green);
}

.comparison-card.bad h3 {
  color: var(--accent);
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.comparison-card li:last-child {
  border-bottom: none;
}

.comparison-detail {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.comparison-detail p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.priority-list {
  max-width: 800px;
  width: 100%;
}

.priority-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  flex-wrap: wrap;
}

.priority-item:nth-child(1) { border-color: var(--gold); }
.priority-item:nth-child(2) { border-color: var(--accent); }
.priority-item:nth-child(3) { border-color: var(--blue); }
.priority-item:nth-child(4) { border-color: var(--text-muted); }

.priority-item:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.priority-rank {
  font-size: 1.8rem;
  font-weight: 900;
  width: 50px;
  text-align: center;
}

.priority-item:nth-child(1) .priority-rank { color: var(--gold); }
.priority-item:nth-child(2) .priority-rank { color: var(--accent); }
.priority-item:nth-child(3) .priority-rank { color: var(--blue); }
.priority-item:nth-child(4) .priority-rank { color: var(--text-muted); }

.priority-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.priority-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.priority-skill {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.priority-skill strong {
  color: var(--text);
}

.priority-role {
  margin-left: auto;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.priority-item:nth-child(1) .priority-role {
  background: var(--gold-light);
  color: var(--gold);
}

.priority-item:nth-child(2) .priority-role {
  background: var(--accent-light);
  color: var(--accent);
}

.priority-item:nth-child(3) .priority-role {
  background: var(--blue-light);
  color: var(--blue);
}

.priority-item:nth-child(4) .priority-role {
  background: var(--bg-section);
  color: var(--text-muted);
}

.mistakes-list {
  max-width: 900px;
  width: 100%;
}

.mistake-item {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.mistake-text {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--accent-light);
  border-radius: 10px;
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 200px;
}

.mistake-text p {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.mistake-explain {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.mistake-arrow {
  font-size: 1.5rem;
  color: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
}

.fix-text {
  flex: 1;
  padding: 1rem 1.5rem;
  background: var(--green-light);
  border-radius: 10px;
  border-left: 3px solid var(--green);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 200px;
}

.fix-text p {
  color: var(--green);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.fix-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.progress-section {
  max-width: 800px;
  width: 100%;
}

.progress-stage {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.progress-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.progress-stage:nth-child(1) .progress-icon {
  background: var(--bg-section);
}

.progress-stage:nth-child(2) .progress-icon {
  background: var(--blue-light);
}

.progress-stage:nth-child(3) .progress-icon {
  background: var(--accent-light);
}

.progress-stage:nth-child(4) .progress-icon {
  background: var(--gold-light);
}

.progress-content h4 {
  color: var(--text);
  margin-bottom: 0.3rem;
}

.progress-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.progress-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.progress-tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-section);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.summary-section {
  background: linear-gradient(180deg, var(--bg-section), var(--bg));
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  width: 100%;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
}

.summary-item:hover {
  transform: translateX(6px);
  border-color: var(--accent);
}

.summary-icon {
  font-size: 2rem;
}

.summary-text {
  font-size: 1.1rem;
  color: var(--text);
}

.summary-text .highlight {
  color: var(--accent);
  font-weight: 700;
}

.summary-text .compare {
  color: var(--text-muted);
}

.flow-diagram {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.flow-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border-radius: 10px;
  margin: 0.5rem;
  border: 1px solid var(--border);
  font-weight: 500;
}

.flow-arrow {
  color: var(--text-muted);
  font-size: 1.5rem;
}

.warning-box {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  max-width: 800px;
  width: 100%;
}

.warning-box h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.warning-box ul {
  list-style: none;
}

.warning-box li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.warning-box li::before {
  content: '⚠';
  color: var(--accent);
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--text);
  color: white;
}

footer .highlight {
  color: var(--accent);
  font-weight: 700;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  min-width: 44px;
  min-height: 44px;
}

.back-to-top.back-mid {
  background: var(--blue);
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
}

.back-to-top.back-jungle {
  background: var(--purple);
  box-shadow: 0 4px 20px rgba(155, 89, 182, 0.4);
}

.back-to-top.back-adcarry {
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(231, 76, 60, 0.5);
}

.back-to-top.back-mid:hover {
  background: #2980b9;
  box-shadow: 0 8px 30px rgba(52, 152, 219, 0.5);
}

.back-to-top.back-jungle:hover {
  background: #8e44ad;
  box-shadow: 0 8px 30px rgba(155, 89, 182, 0.5);
}

.back-to-top.back-adcarry:hover {
  background: #e67e22;
  box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5);
}

.back-to-top:active {
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: transform, opacity;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pageLoad {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .portfolio-grid,
  .content-grid,
  .card-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

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

  .mistake-item {
    flex-direction: column;
    text-align: center;
  }

  .mistake-arrow {
    transform: rotate(90deg);
  }

  .progress-stage {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-dot {
    left: -2rem;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .card,
  .path-card,
  .pos-card {
    padding: 1.75rem;
    border-radius: 16px;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .card h3,
  .path-card h3,
  .pos-card h3 {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .step-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .hero-badge {
    font-size: 0.85rem;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .card,
  .path-card,
  .pos-card {
    padding: 1.5rem;
  }

  .card-icon {
    font-size: 2.2rem;
  }

  .card h3,
  .path-card h3,
  .pos-card h3 {
    font-size: 1.15rem;
  }

  .card p,
  .path-card p,
  .pos-card p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-badge,
  .orbit-center {
    animation: none !important;
  }
}
