/* === Core Theme === */
:root {
  --bg: #0A0A0A;
  --bg-soft: #111;
  --text: #EDEDED;
  --muted: #B9B9B9;
  --brand: #ffc473;
  --brand-dark: #f9a942;
  --card: #141414;
  --stroke: #232323;
  --accent: rgba(255, 196, 115, 0.1);
}

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

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
}

body {
  margin: 0; 
  padding: 0; 
  background: var(--bg); 
  color: var(--text);
  font: 400 18px/1.7 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", "Noto Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) { 
  body { 
    font-size: 17px; 
    line-height: 1.68; 
  } 
}

@media (max-width: 480px) { 
  body { 
    font-size: 16px; 
    line-height: 1.65; 
  } 
}

a { 
  color: var(--brand) !important; 
  text-decoration: none; 
}

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

/* === Hero Section === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: linear-gradient(180deg, #0A0A0A 0%, #111 50%, #0A0A0A 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 196, 115, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(249, 169, 66, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1.5px solid var(--brand-dark);
  border-radius: 999px;
  background: rgba(255, 196, 115, 0.05);
  font-size: 13px;
  color: var(--brand);
  letter-spacing: 1px;
  margin-bottom: 32px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 0%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-dark), transparent);
  margin: 48px auto;
  opacity: 0;
  transform: scaleX(0);
  animation: scaleIn 1s ease 0.8s forwards;
}

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

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* === Container === */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
}

/* === Section Styles === */
.section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-number {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--brand-dark);
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
  line-height: 44px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* === Content Cards === */
.content-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(249, 169, 66, 0.15);
  border-color: var(--brand-dark);
}

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

@media (max-width: 768px) {
  .content-card {
    padding: 32px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .content-card {
    padding: 24px;
    border-radius: 18px;
  }
}

.card-title {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--brand);
  line-height: 1.3;
}

.card-content {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}

.card-content p {
  margin: 16px 0;
}

.card-content ul {
  margin: 16px 0;
  padding-left: 28px;
}

.card-content li {
  margin: 12px 0;
  line-height: 1.8;
}

.card-content li::marker {
  color: var(--brand);
}

/* === Performance Comparison === */
.performance-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}

@media (max-width: 768px) {
  .performance-comparison {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.performance-item {
  background: var(--bg-soft);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.performance-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.performance-score {
  font-size: 4rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 16px;
}

.performance-item.old .performance-score {
  color: #ff6b6b;
}

.performance-item.new .performance-score {
  color: #51cf66;
}

.performance-screenshot {
  width: 100%;
  min-height: 200px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.performance-screenshot::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.performance-screenshot img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* === Links === */
.article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand) !important;
  font-weight: 600;
  margin: 8px 0;
  transition: gap 0.3s ease;
}

.article-link:hover {
  gap: 12px;
  color: var(--brand-dark) !important;
}

.article-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-link:hover::after {
  transform: translateX(4px);
}

/* === Divider === */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stroke), transparent);
  margin: 64px 0;
}

/* === Reveal Animations === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
  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;
}

/* === Footer === */
footer {
  border-top: 1px solid var(--stroke);
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

footer p {
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  footer {
    padding: 32px 0;
  }
}

