/*
Theme Name: Creator Tool Radar
Theme URI: https://creatortoolradar.com/
Author: Creator Tool Radar
Description: A modern, responsive affiliate overview theme designed for creator-software pre-sell pages.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creator-tool-radar
*/

:root {
  --ink: #12263f;
  --ink-soft: #4c6075;
  --paper: #f5f7f8;
  --white: #ffffff;
  --line: #dce4e8;
  --blue: #146d8e;
  --blue-dark: #0d4f6b;
  --sand: #f2c66d;
  --shadow: 0 22px 70px rgba(16, 48, 68, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); }

.hero { min-height: 760px; position: relative; display: flex; flex-direction: column; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, rgba(6,39,61,.20), rgba(8,46,57,.10) 54%, rgba(8,32,37,.35)), url('assets/hero-coast.png') center center / cover no-repeat, linear-gradient(145deg, #9ed2dd, #e7d5ac 72%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(11,44,50,.28)); }
.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; color: white; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; font-size: 11px; opacity: .76; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-content: center; gap: 3px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.brand-mark span { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.brand-mark span:nth-child(1) { width: 17px; }
.brand-mark span:nth-child(2) { width: 12px; }
.brand-mark span:nth-child(3) { width: 7px; }
.header-note { padding: 8px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(10,48,65,.14); backdrop-filter: blur(12px); }
.hero-inner { flex: 1; display: grid; place-items: center; padding: 46px 0 110px; }
.hero-card { width: 100%; display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px 42px; align-items: center; padding: 48px; border: 1px solid rgba(255,255,255,.75); border-radius: 24px; background: rgba(250,252,252,.91); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.eyebrow { margin-bottom: 14px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 520px; font-size: clamp(38px, 4.2vw, 59px); line-height: 1.02; letter-spacing: -.048em; }
.hero-lede { margin-top: 20px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.hero-points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-points li { color: #2e4960; font-size: 14px; }
.hero-points li::before { content: "✓"; margin-right: 9px; color: var(--blue); font-weight: 800; }
.video-column { text-align: center; }
.video-frame { position: relative; width: min(100%, 610px); margin-left: auto; aspect-ratio: 16 / 9; overflow: hidden; border: 8px solid rgba(255,255,255,.88); border-radius: 18px; background: linear-gradient(145deg, #143850, #0d2437); box-shadow: 0 20px 44px rgba(16,45,62,.24); }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 28px; color: white; text-align: center; }
.video-placeholder::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: radial-gradient(circle at 15% 20%, #90d3df 0 2px, transparent 3px), radial-gradient(circle at 78% 35%, #f2c66d 0 2px, transparent 3px); background-size: 54px 54px, 68px 68px; }
.video-placeholder > * { position: relative; }
.video-placeholder strong { font-size: 19px; }
.video-placeholder span:last-child { max-width: 310px; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.5; }
.play-button { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 4px; padding-left: 4px; border-radius: 50%; color: #173248; background: var(--sand); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.primary-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; padding: 0 22px; border-radius: 8px; color: white; background: var(--blue); box-shadow: 0 10px 22px rgba(20,109,142,.24); font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 14px 28px rgba(20,109,142,.3); }
.primary-button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #f2c66d; outline-offset: 3px; }
.button-note { margin-top: 8px; color: #758695; font-size: 10px; }
.disclosure { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid #d7e1e5; color: #667989; font-size: 11px; line-height: 1.55; text-align: center; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; width: 30px; height: 48px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.55); border-radius: 18px; }
.scroll-cue span { position: absolute; top: 9px; left: 50%; width: 4px; height: 8px; transform: translateX(-50%); border-radius: 4px; background: white; animation: scroll 1.8s ease-in-out infinite; }
@keyframes scroll { 0%, 100% { transform: translate(-50%, 0); opacity: .45; } 50% { transform: translate(-50%, 14px); opacity: 1; } }

.section { padding: 104px 0; }
.section-intro { background: white; text-align: center; }
.section h2 { margin: 0; font-size: clamp(32px, 4vw, 49px); line-height: 1.1; letter-spacing: -.04em; }
.section-lede { margin-top: 22px; color: var(--ink-soft); font-size: 18px; line-height: 1.8; }
.feature-section { background: #f1f5f6; }
.section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; }
.section-heading > p { color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 45px; }
.feature-card { min-height: 295px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.88); box-shadow: 0 12px 30px rgba(29,68,82,.05); }
.feature-number { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--blue); background: #e6f2f5; font-size: 11px; font-weight: 800; }
.feature-card h3 { margin: 50px 0 12px; font-size: 20px; letter-spacing: -.02em; }
.feature-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }

.audience-section { position: relative; overflow: hidden; background: white; }
.audience-section::before { content: ""; position: absolute; width: 380px; height: 380px; left: -180px; bottom: -150px; border: 1px dashed #cbdde3; border-radius: 50%; }
.audience-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 80px; align-items: start; }
.audience-copy > p:not(.eyebrow) { margin-top: 20px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.consider-card { margin-top: 34px; padding: 23px; border-left: 3px solid var(--sand); border-radius: 0 12px 12px 0; background: #f7f3ea; }
.consider-card strong { font-size: 13px; }
.consider-card p { margin-top: 8px !important; font-size: 12px !important; line-height: 1.65 !important; }
.audience-list { border-top: 1px solid var(--line); }
.audience-list article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.audience-list article > span { color: var(--blue); font-size: 11px; font-weight: 800; }
.audience-list h3 { margin: 0 0 7px; font-size: 18px; }
.audience-list p { color: var(--ink-soft); font-size: 13px; line-height: 1.65; }

.process-section { padding-top: 0; background: white; }
.process-card { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 50px; border-radius: 22px; color: white; background: var(--ink); }
.process-card h2 { font-size: clamp(28px, 3vw, 40px); }
.process-steps { display: grid; align-content: center; gap: 13px; }
.process-steps span { display: flex; align-items: center; gap: 14px; padding: 12px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: rgba(255,255,255,.8); font-size: 13px; }
.process-steps b { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: var(--ink); background: var(--sand); }
.faq-section { background: #f1f5f6; }
.faq-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 80px; }
.faq-list { border-top: 1px solid #cbd8dd; }
.faq-list details { border-bottom: 1px solid #cbd8dd; }
.faq-list summary { position: relative; padding: 23px 40px 23px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; color: var(--blue); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 42px 22px 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.offer-section { padding: 82px 0; color: white; background: linear-gradient(120deg, #0f4963, #146d8e); }
.offer-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: center; }
.offer-inner h2 { margin: 0; max-width: 700px; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; letter-spacing: -.04em; }
.offer-inner > div > p:not(.eyebrow) { margin-top: 16px; color: rgba(255,255,255,.72); line-height: 1.7; }
.eyebrow.light { color: #a9dfe9; }
.light-button { margin: 0; color: var(--ink); background: var(--sand); box-shadow: 0 12px 25px rgba(0,0,0,.18); }
.light-button:hover { color: white; background: #0b3044; }
.light-note { color: rgba(255,255,255,.55); }
.footer { padding: 54px 0 24px; color: #b8c8d0; background: #0a202e; }
.footer-grid { display: grid; grid-template-columns: .7fr 1.1fr .7fr; gap: 50px; align-items: start; }
.footer-brand { color: white; }
.footer-grid > p { font-size: 11px; line-height: 1.75; }
.footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 11px; }
.footer nav a:hover { color: white; }
.copyright { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; }
.content-page { min-height: 100vh; padding: 90px 0; background: #f5f7f8; }
.content-page article { padding: 48px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 18px 50px rgba(29,68,82,.08); }
.content-page h1 { margin: 18px 0 28px; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.04em; }
.content-brand { color: var(--blue); font-size: 12px; font-weight: 750; }
.entry-content { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.entry-content h2, .entry-content h3 { color: var(--ink); }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero-card, .audience-layout, .process-card, .faq-layout, .offer-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 700px; padding: 36px; }
  .video-frame { margin: 0 auto; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 28px; }
  .audience-layout, .faq-layout { gap: 50px; }
  .process-card { gap: 35px; }
  .offer-inner { gap: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 600px) {
  .shell, .narrow { width: min(100% - 26px, 1120px); }
  .header-note { display: none; }
  .site-header { min-height: 76px; }
  .brand small { font-size: 9px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 24px 0 80px; }
  .hero-card { gap: 28px; padding: 25px 20px; border-radius: 17px; }
  .hero h1 { font-size: 37px; }
  .hero-lede { font-size: 15px; }
  .disclosure { text-align: left; }
  .primary-button { width: 100%; padding: 0 14px; }
  .section { padding: 74px 0; }
  .section h2 { font-size: 34px; }
  .section-lede { font-size: 16px; }
  .feature-grid { margin-top: 30px; }
  .audience-layout { gap: 45px; }
  .process-card { padding: 30px 22px; }
  .offer-section { padding: 66px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > p { grid-column: auto; grid-row: auto; }
  .footer nav { max-width: 260px; }
  .content-page { padding: 50px 0; }
  .content-page article { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
