/* ══════════════════════════════════════════════════════════════════════════
   TONNAGE CLUB PITCH DECK — Main Stylesheet
   ══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --midnight:    #000814;
  --navy-deep:   #001D3D;
  --navy:        #003566;
  --gold:        #FFC300;
  --gold-lt:     #FFD60A;
  --white:       #FFFFFF;
  --mist:        #E0E1DD;
  --slate:       #415A77;
  --club-accent: #8ECAE6;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--midnight);
  color: var(--mist);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* ══════════════════════════════════════════════════════════════════════════
   SLIDE CONTAINER
   ══════════════════════════════════════════════════════════════════════════ */

.slide {
  width: 100vw;
  height: 100vh;
  display: grid;
  position: relative;
  overflow: hidden;
}

/* Two-column layout (default) */
.slide--two-col {
  grid-template-columns: 1fr 1fr;
}

.slide--two-col-wide-left {
  grid-template-columns: 1.1fr 0.9fr;
}

.slide--two-col-wide-right {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Single column centered layout */
.slide--centered {
  grid-template-columns: 1fr;
  place-items: center;
}

/* ── Background Texture ── */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 85% 50%, rgba(0,53,102,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,29,61,0.4) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255,195,0,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,195,0,0.4) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   CONTENT PANELS
   ══════════════════════════════════════════════════════════════════════════ */

.content-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 4vw 5vh 5vw;
}

.content-panel--right {
  padding: 5vh 5vw 5vh 2vw;
}

.content-panel--centered {
  align-items: center;
  text-align: center;
  padding: 5vh 10vw;
}

/* ══════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Slide Number ── */
.slide-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.2s ease both;
}

.slide-number::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.content-panel--centered .slide-number {
  justify-content: center;
}

.content-panel--centered .slide-number::before {
  display: none;
}

/* ── Headline ── */
.headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.35s ease both;
}

.headline--hero {
  font-size: clamp(4rem, 7vw, 6rem);
  margin-bottom: 1.5rem;
}

.headline em {
  font-style: italic;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: var(--gold);
}

/* ── Subtitle ── */
.subtitle {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.5s ease both;
}

.subtitle--large {
  font-size: 1.1rem;
  max-width: 500px;
}

.content-panel--centered .subtitle {
  max-width: 600px;
}

/* ══════════════════════════════════════════════════════════════════════════
   ICON ACCENT
   ══════════════════════════════════════════════════════════════════════════ */

.icon-accent {
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(255, 195, 0, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background: rgba(255, 195, 0, 0.04);
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.15s ease both;
}

.icon-accent--large {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 2.5rem;
}

.icon-accent svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-accent--large svg {
  width: 36px;
  height: 36px;
}

/* ══════════════════════════════════════════════════════════════════════════
   QUOTE CARDS
   ══════════════════════════════════════════════════════════════════════════ */

.quotes-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 5vw 5vh 2vw;
  gap: 1.25rem;
}

.quote-card {
  background: linear-gradient(135deg, rgba(0,29,61,0.7) 0%, rgba(0,29,61,0.35) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-left: 3px solid var(--gold);
  padding: 2rem 2.25rem;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  backdrop-filter: blur(8px);
}

.quote-card:nth-child(1) { animation: fadeSlideLeft 0.7s 0.5s ease both; }
.quote-card:nth-child(2) { animation: fadeSlideLeft 0.7s 0.7s ease both; }
.quote-card:nth-child(3) { animation: fadeSlideLeft 0.7s 0.9s ease both; }
.quote-card:nth-child(4) { animation: fadeSlideLeft 0.7s 1.1s ease both; }

.quote-card:hover {
  background: linear-gradient(135deg, rgba(0,29,61,0.9) 0%, rgba(0,53,102,0.4) 100%);
  border-left-color: var(--gold-lt);
  transform: translateX(-4px);
}

.quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'DM Serif Display', serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 195, 0, 0.08);
  user-select: none;
}

.quote-text {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--white);
  line-height: 1.45;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.quote-attr {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.quote-attr-line {
  width: 1.25rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.quote-attr-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--slate);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════════
   FEATURE CARDS / ROWS
   ══════════════════════════════════════════════════════════════════════════ */

.features-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 5vw 5vh 2vw;
  gap: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.03);
}

.feature-row {
  background: linear-gradient(135deg, rgba(0,29,61,0.5) 0%, rgba(0,29,61,0.2) 100%);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.feature-row:nth-child(1) { animation: fadeSlideLeft 0.7s 0.7s ease both; }
.feature-row:nth-child(2) { animation: fadeSlideLeft 0.7s 0.9s ease both; }
.feature-row:nth-child(3) { animation: fadeSlideLeft 0.7s 1.1s ease both; }
.feature-row:nth-child(4) { animation: fadeSlideLeft 0.7s 1.3s ease both; }

.feature-row:hover {
  background: linear-gradient(135deg, rgba(0,29,61,0.8) 0%, rgba(0,53,102,0.3) 100%);
  transform: translateX(-4px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,195,0,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255,195,0,0.03);
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.feature-desc {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO STAT
   ══════════════════════════════════════════════════════════════════════════ */

.hero-stat {
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeScaleIn 0.8s 0.5s ease both;
}

.hero-stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(6rem, 10vw, 9rem);
  line-height: 0.85;
  color: var(--gold);
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}

.hero-stat-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.hero-stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--mist);
  text-transform: uppercase;
  margin-top: 1rem;
}

.hero-stat-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════════════════════════════════ */

.comparison-table {
  width: 100%;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.5s ease both;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comparison-header-cell {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem;
  text-align: center;
}

.comparison-header-cell--left {
  color: var(--slate);
  background: rgba(65, 90, 119, 0.2);
  border: 1px solid rgba(65, 90, 119, 0.3);
}

.comparison-header-cell--right {
  color: var(--gold);
  background: rgba(255, 195, 0, 0.1);
  border: 1px solid rgba(255, 195, 0, 0.3);
}

.comparison-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.comparison-cell {
  padding: 1.25rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.comparison-cell--left {
  color: var(--slate);
  background: rgba(0, 29, 61, 0.3);
  border-left: 2px solid var(--slate);
}

.comparison-cell--right {
  color: var(--white);
  background: rgba(0, 29, 61, 0.5);
  border-left: 2px solid var(--gold);
}

/* ══════════════════════════════════════════════════════════════════════════
   AGENDA / BULLET LIST
   ══════════════════════════════════════════════════════════════════════════ */

.agenda-list {
  list-style: none;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.5s ease both;
}

.agenda-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 195, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.agenda-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════════════════════
   PROCESS STEPS
   ══════════════════════════════════════════════════════════════════════════ */

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
}

.process-step:nth-child(1) { animation: fadeSlideUp 0.7s 0.5s ease both; }
.process-step:nth-child(2) { animation: fadeSlideUp 0.7s 0.7s ease both; }
.process-step:nth-child(3) { animation: fadeSlideUp 0.7s 0.9s ease both; }

.process-step:last-child {
  border-bottom: none;
}

.process-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  width: 2.5rem;
  flex-shrink: 0;
}

.process-content {
  flex: 1;
}

.process-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════════════
   GUARANTEE BADGE
   ══════════════════════════════════════════════════════════════════════════ */

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 195, 0, 0.1);
  border: 1px solid rgba(255, 195, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.6s 0.3s ease both;
}

.guarantee-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.guarantee-badge-text {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRICE DISPLAY
   ══════════════════════════════════════════════════════════════════════════ */

.price-display {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeScaleIn 0.8s 0.5s ease both;
}

.price-amount {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 7rem);
  color: var(--gold);
  line-height: 1;
}

.price-period {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   SPECIAL OFFER CALLOUT
   ══════════════════════════════════════════════════════════════════════════ */

.offer-callout {
  background: linear-gradient(135deg, rgba(255, 195, 0, 0.15) 0%, rgba(255, 195, 0, 0.05) 100%);
  border: 1px solid rgba(255, 195, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s 0.8s ease both;
}

.offer-callout-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER BAR
   ══════════════════════════════════════════════════════════════════════════ */

.slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-top: 1px solid rgba(255,255,255,0.04);
  z-index: 10;
  background: rgba(0,8,20,0.5);
  backdrop-filter: blur(8px);
}

.footer-brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer-page {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--slate);
  letter-spacing: 0.15em;
}

/* ══════════════════════════════════════════════════════════════════════════
   DECORATIVE ELEMENTS
   ══════════════════════════════════════════════════════════════════════════ */

.corner-mark {
  position: absolute;
  top: 2rem;
  right: 3rem;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(255, 195, 0, 0.15);
  border-right: 2px solid rgba(255, 195, 0, 0.15);
  z-index: 2;
  opacity: 0;
  animation: fadeIn 0.8s 1.2s ease both;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION ARROWS
   ══════════════════════════════════════════════════════════════════════════ */

.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 29, 61, 0.8);
  border: 1px solid rgba(255, 195, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 100;
  text-decoration: none;
}

.nav-arrow:hover {
  background: rgba(0, 53, 102, 0.9);
  border-color: var(--gold);
}

.nav-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.nav-arrow--prev {
  left: 0;
  border-left: none;
  border-radius: 0 8px 8px 0;
}

.nav-arrow--prev:hover svg {
  transform: translateX(-3px);
}

.nav-arrow--next {
  right: 0;
  border-right: none;
  border-radius: 8px 0 0 8px;
}

.nav-arrow--next:hover svg {
  transform: translateX(3px);
}

/* Show arrows on hover */
.slide:hover .nav-arrow,
.nav-arrow:focus {
  opacity: 1;
}

/* Keyboard focus indicator */
.nav-arrow:focus {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.nav-arrow--disabled {
  pointer-events: none;
  opacity: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }

  .content-panel {
    padding: 8vh 2rem 2rem;
  }

  .content-panel--right,
  .quotes-panel,
  .features-panel {
    padding: 1rem 2rem 6rem;
  }

  .nav-arrow {
    width: 44px;
    height: 60px;
  }

  .nav-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   INDEX / SLIDE PICKER PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.index-page {
  min-height: 100vh;
  padding: 4rem 5vw;
  overflow-y: auto;
}

.index-header {
  text-align: center;
  margin-bottom: 4rem;
}

.index-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.index-subtitle {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
}

.slides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.slide-card {
  background: linear-gradient(135deg, rgba(0,29,61,0.6) 0%, rgba(0,29,61,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slide-card:hover {
  background: linear-gradient(135deg, rgba(0,29,61,0.9) 0%, rgba(0,53,102,0.4) 100%);
  border-color: rgba(255, 195, 0, 0.3);
  transform: translateY(-4px);
}

.slide-card-number {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.slide-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.2;
}

.slide-card-preview {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.5;
}

.slide-card-icon {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  opacity: 0.5;
}
