/* ===========================================================
   Akamai Connected Cloud — 리뉴얼 디자인
   renewal.css 디자인 토큰(--sh-*, --ink, --radius, gradient) 재사용
   =========================================================== */

.contents,
.contents-wrap { background: #fff; }

/* 공통 섹션 */
.ak-section { padding: 88px 0; }
.ak-section-tint { background: var(--sh-bg-tint); }
.ak-section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.ak-section-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.ak-section-desc {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ===== HERO ===== */
.ak-hero {
  position: relative;
  padding: 120px 24px 96px;
  background: var(--sh-gradient);
  color: #fff;
  overflow: hidden;
}
.ak-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 10%, rgba(255, 255, 255, 0.14), transparent 60%);
  pointer-events: none;
}
.ak-hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.ak-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.ak-hero-title {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.ak-hero-desc {
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
  margin-bottom: 34px;
}
.ak-hero-cta { margin-bottom: 56px; }
.ak-hero-cta .rn-btn-primary {
  background: #fff;
  color: var(--sh-primary);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.ak-hero-cta .rn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}
.ak-hero-visual {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.4);
}
.ak-hero-visual img { width: 100%; height: auto; display: block; }

/* ===== STANDARDS (4 카드) ===== */
.ak-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.ak-standard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ak-standard-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.ak-standard-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.ak-standard-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.ak-standard-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.ak-standard-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== DIFFERENTIATION ===== */
.ak-diff-visual {
  max-width: 1000px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.ak-diff-visual img { width: 100%; height: auto; display: block; }

/* ===== PRICING (5 플랜) ===== */
.ak-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.ak-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ak-plan-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--sh-gradient);
  transition: width 0.35s ease;
}
.ak-plan-card:hover::before { width: 100%; }
.ak-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-brand);
  border-color: transparent;
}
.ak-plan-badge {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  background: var(--sh-bg-tint);
  color: var(--sh-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.ak-plan-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.35;
}
.ak-plan-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.ak-pricing-cta { text-align: center; margin-top: 48px; }

/* ===== 반응형 ===== */
@media (max-width: 1024px) {
  .ak-standards-grid { grid-template-columns: repeat(2, 1fr); }
  .ak-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ak-section { padding: 60px 0; }
  .ak-hero { padding: 96px 20px 72px; }
  .ak-standards-grid { grid-template-columns: 1fr; }
  .ak-pricing-grid { grid-template-columns: 1fr; }
}

/* ===== 일본어 폰트 (메인과 동일 정책) ===== */
html[lang="ja"] .ak-hero-title,
html[lang="ja"] .ak-section-title,
html[lang="ja"] .ak-standard-card h3,
html[lang="ja"] .ak-plan-card h3 {
  font-family: "Noto Sans JP", "Noto Sans KR", sans-serif !important;
}

/* 솔루션 카드 링크화 (메인 → /akamai) — a 태그가 기존 카드 스타일 유지 */
a.view-grid-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* akamai 페이지 헤더 nav: a 태그가 메인 li 글자색을 상속 (기본 파란색 방지) */
.desktop-navigation li a,
.mobile-sidebar-nav li a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.desktop-navigation li a:hover { color: inherit; }

/* 플랜 가격 표시 */
.ak-plan-price {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.ak-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--sh-primary);
  letter-spacing: -0.01em;
}
.ak-price-period {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
