/* ==========================================================================
   CURT TOMLINSON — FROM BOARDROOM TO SEABED
   Shared stylesheet — styles.css
   v1.0.0
   ========================================================================== */

:root {
  --abyss: #02050d;
  --deep: #050d22;
  --ocean: #0a1e44;
  --mid: #1e3a6e;
  --surface: #4a90e2;
  --light: #7cc4f5;
  --foam: #d4e8f7;
  --paper: #f5efe6;
  --gold: #f5b800;
  --amber: #ffc933;
  --coral: #ff5544;
  --ink: #0a0f1c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--abyss);
  color: var(--foam);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.ocean-bg {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 144, 226, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(30, 58, 110, 0.4), transparent 70%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(10, 30, 68, 0.6), transparent 70%),
    linear-gradient(180deg, #050d22 0%, #02050d 50%, #01030a 100%);
}

.caustics {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(124, 196, 245, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(124, 196, 245, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(124, 196, 245, 0.12) 0%, transparent 35%);
  animation: caustics 18s ease-in-out infinite;
}
@keyframes caustics {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -30px) scale(0.98); }
}

.bubbles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute; bottom: -100px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), rgba(124, 196, 245, 0.1));
  border: 1px solid rgba(255,255,255,0.1);
  animation: rise linear infinite;
}
@keyframes rise { to { transform: translateY(-110vh) translateX(var(--drift, 20px)); opacity: 0; } }

nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  background: rgba(2, 5, 13, 0.7);
  border-bottom: 1px solid rgba(124, 196, 245, 0.1);
}
.logo {
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.3rem;
  letter-spacing: -0.02em; color: var(--foam); text-decoration: none;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.2rem; align-items: center; }
.nav-links a {
  color: var(--foam); text-decoration: none; font-size: 0.88rem;
  font-weight: 500; letter-spacing: 0.02em; opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--light); }
.nav-cta {
  background: var(--gold); color: var(--ink) !important;
  padding: 0.7rem 1.4rem; border-radius: 2px;
  font-weight: 700 !important; opacity: 1 !important;
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245, 184, 0, 0.4); }
.mobile-toggle { display: none; background: none; border: none; color: var(--foam); font-size: 1.5rem; cursor: pointer; }

main { padding-top: 80px; min-height: calc(100vh - 80px); }

.btn {
  padding: 1.1rem 2rem; border-radius: 2px;
  font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em;
  cursor: pointer; border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex; align-items: center; gap: 0.7rem;
  text-decoration: none; font-family: 'Inter Tight', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 40px rgba(245, 184, 0, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 50px rgba(245, 184, 0, 0.5); }
.btn-secondary { background: transparent; color: var(--foam); border: 1.5px solid var(--surface); }
.btn-secondary:hover { background: var(--surface); transform: translateY(-3px); }
.btn-arrow { transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.urgency-strip {
  background: linear-gradient(90deg, var(--coral), #ff7d33, var(--coral));
  background-size: 200% 100%;
  animation: shimmer 8s linear infinite;
  padding: 0.9rem 2rem; text-align: center;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: white;
  display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap;
}
@keyframes shimmer { to { background-position: 200% 0%; } }
.urgency-strip svg { width: 20px; height: 20px; flex-shrink: 0; }

.page-header { padding: 5rem 3rem 3rem; text-align: center; max-width: 920px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 1rem; justify-content: center;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-label.left { justify-content: flex-start; }
h1.page-title, h2.section-title {
  font-family: 'Fraunces', serif; font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.05; letter-spacing: -0.025em;
  color: var(--foam); margin-bottom: 1.5rem;
}
h1.page-title em, h2.section-title em { color: var(--gold); font-style: italic; font-weight: 400; }
h2.section-title .blue { color: var(--light); }
.section-lead { font-size: 1.15rem; color: rgba(212, 232, 247, 0.75); max-width: 680px; margin: 0 auto; line-height: 1.6; }

section { padding: 4rem 3rem; position: relative; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.hero {
  min-height: calc(100vh - 80px); padding: 4rem 3rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem;
  align-items: center; position: relative;
}
.hero-content { position: relative; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: var(--ink); padding: 0.6rem 1.2rem; border-radius: 100px;
  font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 2rem; box-shadow: 0 10px 40px rgba(245, 184, 0, 0.3);
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 40px rgba(245, 184, 0, 0.3); }
  50% { box-shadow: 0 10px 60px rgba(245, 184, 0, 0.6); }
}
.badge-dot { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; animation: blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

h1.hero-title {
  font-family: 'Fraunces', serif; font-weight: 900;
  font-size: clamp(3rem, 7vw, 6.2rem); line-height: 0.92; letter-spacing: -0.035em;
  margin-bottom: 1.8rem; color: var(--foam);
}
h1.hero-title .from { display: block; font-size: 0.32em; font-weight: 400; letter-spacing: 0.4em; text-transform: uppercase; color: var(--light); margin-bottom: 1rem; opacity: 0.7; font-family: 'Inter Tight', sans-serif; }
h1.hero-title .boardroom { color: var(--gold); display: block; }
h1.hero-title .to { display: block; font-size: 0.45em; font-style: italic; font-weight: 300; color: var(--foam); margin: 0.2em 0; opacity: 0.6; }
h1.hero-title .seabed { color: var(--light); display: block; }

.hero-tagline {
  font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 300; font-style: italic; color: var(--foam);
  max-width: 540px; margin-bottom: 2rem; opacity: 0.9;
}
.hero-tagline strong { color: var(--gold); font-style: normal; font-weight: 600; }
.hero-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.author-tag { font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light); font-weight: 500; }
.author-tag strong { color: var(--foam); font-weight: 700; }
.divider { width: 40px; height: 1px; background: var(--surface); }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-book { position: relative; display: flex; justify-content: center; align-items: center; }
.book-3d {
  position: relative; width: clamp(280px, 28vw, 400px); aspect-ratio: 2/3;
  transform: perspective(1500px) rotateY(-15deg) rotateX(2deg);
  transform-style: preserve-3d; transition: transform 0.6s;
  animation: float 6s ease-in-out infinite;
}

.book-3d {
  position: relative;
  width: min(100%, 425px);
  aspect-ratio: 2/3;
  transform: perspective(1500px) rotateY(-15deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 0.6s;
  animation: float 6s ease-in-out infinite;
}

.book-3d img,
.book-image {
  display: block;
  width: 100%;
  max-width: 425px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.book-3d:hover { transform: perspective(1500px) rotateY(-8deg) rotateX(0deg) scale(1.03); }
@keyframes float {
  0%, 100% { transform: perspective(1500px) rotateY(-15deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1500px) rotateY(-15deg) rotateX(2deg) translateY(-15px); }
}
.book-cover {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #0a1e44 0%, #02050d 100%);
  box-shadow: -20px 30px 80px rgba(0,0,0,0.7), -5px 0 15px rgba(0,0,0,0.5), inset 5px 0 15px rgba(0,0,0,0.4);
  border-radius: 3px 6px 6px 3px;
  padding: 2.5rem 1.8rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.book-cover::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(74,144,226,0.4), transparent 60%), linear-gradient(180deg, transparent 0%, rgba(2,5,13,0.6) 100%);
}
.book-cover::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  background: linear-gradient(90deg, rgba(0,0,0,0.4), transparent);
}
.cover-badge {
  position: absolute; top: 1.2rem; left: 1.2rem;
  width: 90px; height: 90px;
  background: radial-gradient(circle, var(--gold), var(--amber));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 0.55rem; font-weight: 800; color: var(--ink); line-height: 1.1;
  box-shadow: 0 8px 25px rgba(245, 184, 0, 0.5);
  text-transform: uppercase; z-index: 2; padding: 0.5rem;
}
.cover-badge .winner { color: var(--coral); font-size: 0.7rem; display: block; margin-top: 2px; }
.cover-title { position: relative; z-index: 1; margin-top: auto; }
.cover-from { font-size: 0.65rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 0.3rem; }
.cover-main { font-family: 'Fraunces', serif; font-weight: 900; line-height: 0.95; text-transform: uppercase; }
.cover-board { color: var(--gold); font-size: 2.4rem; letter-spacing: -0.02em; }
.cover-to { color: var(--foam); font-size: 1rem; font-style: italic; font-weight: 300; margin: 0.3rem 0; opacity: 0.6; }
.cover-sea { color: var(--light); font-size: 2.4rem; letter-spacing: -0.02em; }
.cover-rule { width: 100%; height: 1px; background: var(--gold); margin: 1.2rem 0 0.8rem; }
.cover-sub { font-size: 0.7rem; color: var(--foam); line-height: 1.4; }
.cover-sub .pursue { color: var(--gold); font-weight: 600; }
.cover-sub .stage { color: var(--light); font-weight: 600; }
.cover-rule-bot { width: 100%; height: 1px; background: var(--gold); margin: 0.8rem 0; }
.cover-author { text-align: center; margin-top: auto; padding-top: 1rem; }
.cover-name { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.1em; color: var(--foam); }
.cover-url { font-size: 0.55rem; color: var(--light); opacity: 0.7; margin-top: 0.3rem; letter-spacing: 0.05em; }

.book-glow {
  position: absolute; inset: -50px;
  background: radial-gradient(ellipse, rgba(74, 144, 226, 0.25), transparent 70%);
  filter: blur(40px); z-index: -1;
  animation: glow 4s ease-in-out infinite;
}
@keyframes glow { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }

.retailers {
  padding: 4rem 3rem;
  background: linear-gradient(180deg, transparent, rgba(74, 144, 226, 0.05));
  border-top: 1px solid rgba(124, 196, 245, 0.1);
  border-bottom: 1px solid rgba(124, 196, 245, 0.1);
}
.retailer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 2rem auto 0;
}
.retailer {
  background: rgba(10, 30, 68, 0.4); border: 1px solid rgba(124, 196, 245, 0.15);
  padding: 2rem 1.5rem; text-align: center;
  transition: all 0.3s; cursor: pointer; text-decoration: none; color: var(--foam);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  border-radius: 4px;
}
.retailer:hover { background: rgba(74, 144, 226, 0.15); border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.retailer-name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.3rem; color: var(--foam); }
.retailer-format { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light); opacity: 0.7; }
.retailer-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-top: 0.3rem; }
.retailer-available { font-size: 0.7rem; color: var(--coral); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.press-strip {
  background: linear-gradient(135deg, rgba(245, 184, 0, 0.08), rgba(255, 85, 68, 0.05));
  border: 1px solid rgba(245, 184, 0, 0.2);
  padding: 2.5rem; border-radius: 6px; margin-top: 3rem;
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
}
.press-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); flex-shrink: 0;
}
.press-text strong { font-family: 'Fraunces', serif; font-size: 1.3rem; color: var(--foam); display: block; margin-bottom: 0.3rem; }
.press-text span { color: rgba(212, 232, 247, 0.7); font-size: 0.95rem; }
.press-text .big-num { color: var(--gold); font-weight: 700; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.about-text p {
  font-family: 'Fraunces', serif; font-size: 1.15rem; line-height: 1.7;
  color: rgba(212, 232, 247, 0.85); margin-bottom: 1.5rem;
}
.about-text p:first-of-type::first-letter {
  font-family: 'Fraunces', serif; font-size: 4.5rem; font-weight: 800;
  color: var(--gold); float: left; line-height: 1; margin: 0.1rem 0.8rem -0.1rem 0;
}
.pull-quote {
  border-left: 3px solid var(--gold); padding: 1.5rem 0 1.5rem 2rem; margin: 2.5rem 0;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--foam);
}
.pull-quote-author { display: block; font-size: 0.85rem; font-style: normal; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light); margin-top: 1rem; }
.stats-card {
  background: rgba(10, 30, 68, 0.4); border: 1px solid rgba(124, 196, 245, 0.15);
  padding: 3rem 2.5rem; border-radius: 6px; position: sticky; top: 100px;
}
.stat { padding: 1.5rem 0; border-bottom: 1px solid rgba(124, 196, 245, 0.1); }
.stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat:first-child { padding-top: 0; }
.stat-num { font-family: 'Fraunces', serif; font-weight: 800; font-size: 3rem; color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: rgba(212, 232, 247, 0.7); margin-top: 0.5rem; letter-spacing: 0.05em; }

.themes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.theme {
  background: rgba(10, 30, 68, 0.3); border: 1px solid rgba(124, 196, 245, 0.12);
  padding: 2.5rem 2rem; border-radius: 6px;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.theme::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s;
}
.theme:hover::before { transform: scaleX(1); }
.theme:hover { transform: translateY(-5px); background: rgba(10, 30, 68, 0.5); }
.theme-num { font-family: 'Fraunces', serif; font-weight: 300; font-size: 3rem; color: var(--gold); line-height: 1; opacity: 0.5; margin-bottom: 1rem; }
.theme h3 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: var(--foam); margin-bottom: 1rem; }
.theme p { color: rgba(212, 232, 247, 0.7); font-size: 0.95rem; }

.lead-magnet {
  background:
    radial-gradient(ellipse at top left, rgba(245, 184, 0, 0.12), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(74, 144, 226, 0.15), transparent 60%),
    rgba(10, 30, 68, 0.5);
  padding: 4rem; border-radius: 8px; border: 1px solid rgba(245, 184, 0, 0.2);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center;
}
.lead-magnet h3 { font-family: 'Fraunces', serif; font-weight: 800; font-size: 2.4rem; line-height: 1.05; margin-bottom: 1rem; color: var(--foam); }
.lead-magnet h3 em { color: var(--gold); font-style: italic; }
.lead-magnet p { color: rgba(212, 232, 247, 0.8); margin-bottom: 2rem; font-size: 1.05rem; }
.lead-form { display: flex; flex-direction: column; gap: 1rem; }
.lead-form input {
  background: rgba(2, 5, 13, 0.6); border: 1.5px solid rgba(124, 196, 245, 0.2);
  color: var(--foam); padding: 1rem 1.2rem; border-radius: 3px;
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s;
}
.lead-form input:focus { outline: none; border-color: var(--gold); }
.lead-form input::placeholder { color: rgba(212, 232, 247, 0.4); }

.form-container { max-width: 920px; margin: 0 auto; padding: 0 1rem; }
.form-card {
  background: rgba(10, 30, 68, 0.4); border: 1px solid rgba(124, 196, 245, 0.15);
  border-radius: 8px; padding: 3.5rem; backdrop-filter: blur(20px);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 1.5rem; }
.form-row.three { grid-template-columns: 2fr 1fr 1fr; }
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--light); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(2, 5, 13, 0.5); border: 1.5px solid rgba(124, 196, 245, 0.2);
  color: var(--foam); padding: 0.95rem 1.1rem; border-radius: 3px;
  font-family: inherit; font-size: 0.95rem; transition: all 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(2, 5, 13, 0.8);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field select { cursor: pointer; }
.form-field .error-msg { color: var(--coral); font-size: 0.78rem; min-height: 1em; }
.form-submit { margin-top: 1.5rem; width: 100%; justify-content: center; }

.order-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.order-summary {
  background: rgba(10, 30, 68, 0.5); border: 1px solid rgba(124, 196, 245, 0.15);
  border-radius: 8px; padding: 2.5rem; position: sticky; top: 100px;
}
.product-select {
  background: rgba(10, 30, 68, 0.4); border: 1.5px solid rgba(124, 196, 245, 0.15);
  padding: 1.5rem; border-radius: 4px; margin-bottom: 1rem;
  cursor: pointer; transition: all 0.3s;
  display: flex; gap: 1rem; align-items: start;
}
.product-select:hover, .product-select.selected { border-color: var(--gold); background: rgba(245, 184, 0, 0.05); }
.product-radio {
  width: 20px; height: 20px; border: 2px solid var(--surface); border-radius: 50%;
  flex-shrink: 0; margin-top: 4px; position: relative; transition: all 0.3s;
}
.product-select.selected .product-radio { border-color: var(--gold); }
.product-select.selected .product-radio::after { content: ''; position: absolute; inset: 3px; background: var(--gold); border-radius: 50%; }
.product-info { flex: 1; }
.product-info .pname { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.15rem; color: var(--foam); margin-bottom: 0.2rem; }
.product-info .pdesc { font-size: 0.85rem; color: rgba(212, 232, 247, 0.65); margin-bottom: 0.5rem; }
.product-info .pbadge { display: inline-block; background: var(--coral); color: white; padding: 0.2rem 0.6rem; border-radius: 2px; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.product-price { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: var(--gold); }

.payment-methods { display: flex; gap: 0.8rem; margin: 1.5rem 0; flex-wrap: wrap; }
.pay-method {
  flex: 1; min-width: 80px; padding: 0.9rem;
  background: rgba(2, 5, 13, 0.5); border: 1.5px solid rgba(124, 196, 245, 0.2);
  border-radius: 3px; text-align: center; cursor: pointer; transition: all 0.3s;
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--foam);
}
.pay-method.selected { border-color: var(--gold); background: rgba(245, 184, 0, 0.08); color: var(--gold); }
.pay-method:hover { border-color: var(--light); }

.summary-row { display: flex; justify-content: space-between; padding: 0.8rem 0; color: rgba(212, 232, 247, 0.8); font-size: 0.95rem; }
.summary-row.total {
  border-top: 1px solid rgba(124, 196, 245, 0.2); margin-top: 0.5rem; padding-top: 1.2rem;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.4rem; color: var(--foam);
}
.summary-row.total .total-amt { color: var(--gold); }

.trust-row { display: flex; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(124, 196, 245, 0.1); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: rgba(212, 232, 247, 0.7); }
.trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.tier {
  background: rgba(10, 30, 68, 0.4); border: 1px solid rgba(124, 196, 245, 0.15);
  padding: 2.5rem; border-radius: 6px; transition: all 0.3s; position: relative;
}
.tier.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 184, 0, 0.08), rgba(10, 30, 68, 0.4));
  transform: scale(1.03);
}
.tier.featured::before {
  content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); padding: 0.3rem 1rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; border-radius: 2px;
}
.tier h3 { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.5rem; color: var(--foam); margin-bottom: 0.5rem; }
.tier-price { font-family: 'Fraunces', serif; font-weight: 800; font-size: 2.5rem; color: var(--gold); margin: 1rem 0; line-height: 1; }
.tier-price small { font-size: 1rem; color: rgba(212, 232, 247, 0.6); font-weight: 400; }
.tier-desc { color: rgba(212, 232, 247, 0.75); margin-bottom: 1.5rem; font-size: 0.95rem; }
.tier ul { list-style: none; margin-bottom: 2rem; }
.tier ul li {
  padding: 0.6rem 0; color: rgba(212, 232, 247, 0.85);
  font-size: 0.92rem; padding-left: 1.8rem; position: relative;
  border-bottom: 1px solid rgba(124, 196, 245, 0.08);
}
.tier ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.tier-cta {
  display: block; text-align: center; width: 100%; padding: 1rem; border-radius: 3px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem;
  cursor: pointer; transition: all 0.3s; text-decoration: none;
  border: 1.5px solid var(--surface); color: var(--foam); background: transparent;
}
.tier-cta:hover { background: var(--surface); transform: translateY(-2px); }
.tier.featured .tier-cta { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tier.featured .tier-cta:hover { background: var(--amber); }

footer {
  background: var(--abyss); border-top: 1px solid rgba(124, 196, 245, 0.1);
  padding: 4rem 3rem 2rem; margin-top: 4rem;
}
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { color: rgba(212, 232, 247, 0.6); margin-top: 1rem; font-size: 0.9rem; max-width: 320px; }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(212, 232, 247, 0.7); text-decoration: none; padding: 0.4rem 0; font-size: 0.92rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid rgba(124, 196, 245, 0.08);
  display: flex; justify-content: space-between;
  color: rgba(212, 232, 247, 0.5); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem;
}

.modal {
  position: fixed; inset: 0; background: rgba(2, 5, 13, 0.85);
  backdrop-filter: blur(10px); display: none;
  align-items: center; justify-content: center; z-index: 1000; padding: 2rem;
}
.modal.show { display: flex; }
.modal-content {
  background: linear-gradient(180deg, var(--ocean), var(--deep));
  border: 1px solid var(--gold); border-radius: 8px; padding: 3rem;
  max-width: 500px; text-align: center; animation: slideUp 0.4s ease-out;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-icon {
  width: 70px; height: 70px; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink);
}
.modal h3 { font-family: 'Fraunces', serif; font-size: 1.8rem; margin-bottom: 1rem; color: var(--foam); }
.modal p { color: rgba(212, 232, 247, 0.8); margin-bottom: 2rem; }

.loading-spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(0,0,0,0.2); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  nav.main-nav { padding: 1rem 1.5rem; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column; background: rgba(2, 5, 13, 0.98);
    padding: 2rem; gap: 1.5rem; display: none;
    border-bottom: 1px solid rgba(124, 196, 245, 0.1);
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: block; }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 3rem; text-align: center; }
  .hero-meta { justify-content: center; }
  .cta-row { justify-content: center; }
  section { padding: 3rem 1.5rem; }
  .page-header { padding: 3rem 1.5rem 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stats-card { position: static; }
  .lead-magnet { grid-template-columns: 1fr; padding: 2.5rem; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .form-card { padding: 2rem; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .press-strip { grid-template-columns: 1fr; text-align: center; }
  .retailers { padding: 3rem 1.5rem; }
  .urgency-strip { font-size: 0.7rem; padding: 0.7rem 1rem; }
  footer { padding: 3rem 1.5rem 2rem; }
}

/*@media (max-width: 560px) {
  h1.hero-title { font-size: 3rem; }
  .book-3d { width: 240px; }
  .cover-board, .cover-sea { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tier.featured { transform: scale(1); }
}*/

@media (max-width: 560px) {

  h1.hero-title {
    font-size: 3rem;
  }

  .hero {
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .hero-book {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .book-3d {
    width: min(75vw, 280px);
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .book-3d:hover {
    transform: none;
  }

  .book-glow {
    inset: -25px;
  }

  .cover-board,
  .cover-sea {
    font-size: 1.9rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .tier.featured {
    transform: scale(1);
  }
}

@media (max-width: 560px) {
  .book-3d {
    width: 220px;
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .book-3d img,
  .book-image {
    max-width: 220px;
  }
}
