/* ============================================================
   Extreme Platform ONE Sub-Page — Shared Styles
   Used by all pages under /extreme/*.html
   ============================================================ */
:root {
  --sg: #A35BFF;
  --sg-dim: rgba(163,91,255,0.12);
  --sg-glow: rgba(163,91,255,0.35);
  --sg-deep: #5C16B3;
  --sg-magenta: #FF3DBE;
}

.eyebrow { color: var(--sg); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; font-family: 'Space Grotesk',sans-serif; margin-bottom: 18px; }
.s-heading { font-family: 'Space Grotesk',sans-serif; font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 20px; }
.s-sub { font-size: 16px; color: var(--grey-light); line-height: 1.75; max-width: 620px; }
.section-sep { width: 100%; height: 1px; max-width: 1100px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(163,91,255,0.2) 20%, rgba(255,255,255,0.05) 50%, rgba(163,91,255,0.2) 80%, transparent); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 8px; font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; border: 1px solid transparent; }
.btn-primary { background: var(--sg); color: #10001F; box-shadow: 0 4px 28px var(--sg-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 44px rgba(163,91,255,0.58); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.18); }
.btn-ghost:hover { border-color: var(--sg); color: var(--sg); }

/* Product hero */
.ph-wrap { position: relative; overflow: hidden; background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(163,91,255,0.08) 0%, transparent 60%), #000; }
.ph-wrap::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(163,91,255,0.12) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%); pointer-events: none; opacity: 0.7; }
.ph-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; mix-blend-mode: screen; }
.ph-orb-1 { width: 520px; height: 520px; top: -160px; right: -140px; background: radial-gradient(circle, rgba(163,91,255,0.38), transparent 70%); animation: phOrb1 28s ease-in-out infinite; }
.ph-orb-2 { width: 420px; height: 420px; bottom: -120px; left: -100px; background: radial-gradient(circle, rgba(92,22,179,0.32), transparent 70%); animation: phOrb2 34s ease-in-out infinite; }
@keyframes phOrb1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,80px) scale(1.1); } }
@keyframes phOrb2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,-60px) scale(1.12); } }

.ph { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 160px 56px 96px; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin-bottom: 40px; font-family: 'Space Grotesk',sans-serif; font-weight: 600; }
.breadcrumb a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.5; }
.breadcrumb .current { color: var(--sg); }

.ph-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.ph-title { font-family: 'Space Grotesk',sans-serif; font-size: clamp(40px, 5.5vw, 68px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 24px; }
.ph-title .accent { color: var(--sg); }
.ph-desc { font-size: 17px; color: var(--grey-light); line-height: 1.7; margin-bottom: 36px; max-width: 560px; }

.ph-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.ph-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(163,91,255,0.08); border: 1px solid rgba(163,91,255,0.25); border-radius: 100px; font-family: 'Space Grotesk',sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sg); }
.ph-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sg); box-shadow: 0 0 10px var(--sg-glow); }
.ph-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right visual */
.ph-visual { position: relative; aspect-ratio: 1 / 1.05; display: flex; align-items: center; justify-content: center; }
.ph-engine, .ph-stack { position: relative; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.ph-engine-title, .ph-stack-title { font-family: 'Space Grotesk',sans-serif; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sg); text-align: center; margin-bottom: 6px; font-weight: 700; }
.ph-engine-row, .ph-layer { background: rgba(20,26,40,0.7); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 18px 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 0.25s, border-color 0.25s, background 0.25s; display: flex; align-items: center; gap: 14px; }
.ph-engine-row:hover, .ph-layer:hover { transform: translateX(4px); border-color: rgba(163,91,255,0.4); background: rgba(163,91,255,0.05); }
.ph-engine-tag, .ph-layer-num { font-family: 'Space Grotesk',sans-serif; font-size: 10px; color: var(--sg); letter-spacing: 0.14em; font-weight: 700; min-width: 60px; }
.ph-engine-body, .ph-layer-body { flex: 1; }
.ph-engine-name, .ph-layer-name { font-family: 'Space Grotesk',sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ph-engine-desc, .ph-layer-desc { font-size: 12px; color: var(--grey); line-height: 1.4; }
.ph-engine-foot, .ph-stack-foot { text-align: center; margin-top: 4px; font-size: 11px; color: var(--grey); letter-spacing: 0.1em; text-transform: uppercase; font-family: 'Space Grotesk',sans-serif; }

/* Generic sections */
.pp-section { max-width: 1100px; margin: 0 auto; padding: 96px 56px; position: relative; }

/* Pain cards */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pain-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 28px 26px; position: relative; transition: border-color 0.3s, background 0.3s; }
.pain-card:hover { border-color: rgba(227,24,55,0.35); background: rgba(227,24,55,0.03); }
.pain-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(227,24,55,0.12); border: 1px solid rgba(227,24,55,0.3); display: flex; align-items: center; justify-content: center; color: #ff5d6c; margin-bottom: 18px; }
.pain-icon svg { width: 20px; height: 20px; }
.pain-title { font-family: 'Space Grotesk',sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pain-desc { font-size: 14px; color: var(--grey-light); line-height: 1.6; }
.pain-stat { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,0.08); font-family: 'Space Grotesk',sans-serif; font-size: 11px; color: #ff5d6c; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.feat-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 32px 28px; transition: border-color 0.3s, transform 0.25s, background 0.3s; position: relative; overflow: hidden; }
.feat-card:hover { border-color: rgba(163,91,255,0.3); background: rgba(163,91,255,0.03); transform: translateY(-3px); }
.feat-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(163,91,255,0.1); border: 1px solid rgba(163,91,255,0.3); display: flex; align-items: center; justify-content: center; color: var(--sg); margin-bottom: 22px; }
.feat-icon svg { width: 22px; height: 22px; }
.feat-title { font-family: 'Space Grotesk',sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feat-desc { font-size: 14px; color: var(--grey-light); line-height: 1.65; }

/* Comparison table */
.cmp-wrap { margin-top: 48px; border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.02); }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table thead th { background: rgba(163,91,255,0.06); padding: 22px 24px; text-align: left; font-family: 'Space Grotesk',sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--white); }
.cmp-table thead th.cmp-us { background: rgba(163,91,255,0.14); color: var(--sg); position: relative; }
.cmp-table thead th.cmp-us::after { content: 'NAT'; position: absolute; top: 8px; right: 12px; font-size: 9px; letter-spacing: 0.14em; background: var(--sg); color: #10001F; padding: 2px 8px; border-radius: 100px; font-weight: 700; }
.cmp-table tbody td { padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 14px; color: var(--grey-light); vertical-align: top; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table tbody td:first-child { color: var(--white); font-family: 'Space Grotesk',sans-serif; font-weight: 600; font-size: 13px; }
.cmp-table tbody td.cmp-us { background: rgba(163,91,255,0.04); color: var(--white); }
.cmp-check { color: var(--sg); font-weight: 700; }
.cmp-cross { color: #ff5d6c; }
.cmp-partial { color: #ffb946; }

/* Use cases */
.uc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.uc-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; padding: 32px; transition: border-color 0.3s, background 0.3s; }
.uc-card:hover { border-color: rgba(163,91,255,0.3); background: rgba(163,91,255,0.03); }
.uc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.uc-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(163,91,255,0.1); border: 1px solid rgba(163,91,255,0.3); display: flex; align-items: center; justify-content: center; color: var(--sg); }
.uc-icon svg { width: 22px; height: 22px; }
.uc-title { font-family: 'Space Grotesk',sans-serif; font-size: 20px; font-weight: 700; }
.uc-tag { font-size: 11px; color: var(--sg); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; font-family: 'Space Grotesk',sans-serif; margin-top: 2px; }
.uc-desc { font-size: 14px; color: var(--grey-light); line-height: 1.7; margin-bottom: 18px; }
.uc-checks { display: flex; flex-direction: column; gap: 8px; }
.uc-check { font-size: 13px; color: var(--grey-light); display: flex; align-items: center; gap: 10px; }
.uc-check::before { content: '✓'; color: var(--sg); font-weight: 700; }

/* Proof bar */
.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, rgba(163,91,255,0.04), rgba(163,91,255,0.01)); }
.proof-item { padding: 32px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.06); }
.proof-item:last-child { border-right: none; }
.proof-num { font-family: 'Space Grotesk',sans-serif; font-size: 36px; font-weight: 800; letter-spacing: -0.02em; color: var(--sg); margin-bottom: 6px; }
.proof-label { font-size: 12px; color: var(--grey); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; font-family: 'Space Grotesk',sans-serif; }

/* Audience switcher */
.aud-switcher { display: inline-flex; padding: 5px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; margin: 0 auto 40px; }
.aud-switcher-wrap { display: flex; justify-content: center; margin-top: 16px; }
.aud-tab { padding: 11px 26px; background: transparent; border: none; font-family: 'Space Grotesk',sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--grey); border-radius: 100px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.aud-tab:hover { color: var(--white); }
.aud-tab.active { background: var(--sg); color: #10001F; box-shadow: 0 4px 18px var(--sg-glow); }
.aud-panels { position: relative; }
.aud-panel { display: none; animation: aud-fade 0.4s ease-out; }
.aud-panel.active { display: block; }
@keyframes aud-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 14px; padding: 30px 26px; text-decoration: none; color: inherit; display: block; transition: border-color 0.3s, transform 0.25s, background 0.3s; }
.aud-card:hover { border-color: rgba(163,91,255,0.35); background: rgba(163,91,255,0.03); transform: translateY(-3px); }
.aud-card-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(163,91,255,0.1); border: 1px solid rgba(163,91,255,0.3); display: flex; align-items: center; justify-content: center; color: var(--sg); margin-bottom: 20px; }
.aud-card-icon svg { width: 20px; height: 20px; }
.aud-card-title { font-family: 'Space Grotesk',sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.aud-card-desc { font-size: 13px; color: var(--grey-light); line-height: 1.65; margin-bottom: 16px; }
.aud-card-cta { font-family: 'Space Grotesk',sans-serif; font-size: 12px; color: var(--sg); letter-spacing: 0.08em; font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.aud-card:hover .aud-card-cta { gap: 10px; }

/* FAQ */
.faq-wrap { margin-top: 48px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: transparent; border: none; padding: 22px 4px; cursor: pointer; text-align: left; color: var(--white); font-family: 'Space Grotesk',sans-serif; font-size: 16px; font-weight: 600; transition: color 0.2s; }
.faq-q:hover { color: var(--sg); }
.faq-q-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s, border-color 0.2s, background 0.2s; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); border-color: var(--sg); background: rgba(163,91,255,0.12); color: var(--sg); }
.faq-q-icon::before { content: '+'; font-size: 18px; font-weight: 500; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 22px; }
.faq-a p { padding: 0 4px; font-size: 14px; color: var(--grey-light); line-height: 1.75; }

/* Final CTA */
.cta-banner { max-width: 1100px; margin: 64px auto 88px; padding: 0 56px; }
.cta-inner { position: relative; background: linear-gradient(135deg, rgba(163,91,255,0.12), rgba(163,91,255,0.04)); border: 1px solid rgba(163,91,255,0.3); border-radius: 24px; padding: 56px 48px; overflow: hidden; text-align: center; }
.cta-inner::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(163,91,255,0.25) 0%, transparent 60%); pointer-events: none; }
.cta-title { font-family: 'Space Grotesk',sans-serif; font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-desc { font-size: 15px; color: var(--grey-light); line-height: 1.7; max-width: 540px; margin: 0 auto 32px; position: relative; z-index: 1; }
.cta-actions { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; position: relative; z-index: 1; }

/* Final CTA — animated waves */
.cta-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 110px; pointer-events: none; z-index: 0; overflow: hidden; }
.cta-waves svg { width: 100%; height: 100%; display: block; }
.cta-waves use { animation: waveMove 12s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite; will-change: transform; }
.cta-waves use:nth-child(1) { animation-duration:  7s; animation-delay: -2s; }
.cta-waves use:nth-child(2) { animation-duration: 10s; animation-delay: -3s; }
.cta-waves use:nth-child(3) { animation-duration: 14s; animation-delay: -4s; }
.cta-waves use:nth-child(4) { animation-duration: 20s; animation-delay: -5s; }
@keyframes waveMove {
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d( 85px, 0, 0); }
}

.fade-up { opacity: 0; transform: translateY(32px); }

body.lang-tr .en-only { display: none !important; }
body.lang-en .tr-only { display: none !important; }

/* Responsive */
@media (max-width: 900px) {
  .ph { padding: 130px 24px 72px; }
  .ph-inner { grid-template-columns: 1fr; gap: 48px; }
  .ph-visual { max-width: 440px; margin: 0 auto; }
  .pain-grid, .feat-grid, .aud-grid { grid-template-columns: 1fr 1fr; }
  .uc-grid { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .proof-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .proof-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
  .proof-item:nth-last-child(-n+2) { border-bottom: none; }
  .pp-section { padding: 72px 24px; }
  .cta-banner { padding: 0 24px; }
  .cta-inner { padding: 48px 28px; }
  .cmp-table { font-size: 12px; }
  .cmp-table thead th, .cmp-table tbody td { padding: 14px 12px; }
}
@media (max-width: 600px) {
  .pain-grid, .feat-grid, .aud-grid { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .proof-num { font-size: 28px; }
  .aud-switcher { width: 100%; }
  .aud-tab { flex: 1; padding: 10px 14px; font-size: 12px; }
  .cmp-wrap { overflow-x: auto; }
  .cmp-table { min-width: 560px; }
  .breadcrumb { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .ph-orb { animation: none !important; }
  .cta-waves use { animation: none !important; }
  .fade-up { opacity: 1; transform: none; }
}
