/* ==========================================================================
   Investimenti Protetti - Dedicated Theme Stylesheet
   Preserving Casper engine, perfectly tuned to match preview typography & colors
   ========================================================================== */

:root {
  --ip-navy-darkest: #040812;
  --ip-navy-base: #060C18;
  --ip-navy-card: #0A1324;
  --ip-navy-card-hover: #0E1A33;
  --ip-navy-border: rgba(255, 255, 255, 0.08);
  --ip-navy-border-hover: rgba(229, 184, 66, 0.35);

  --ip-gold-light: #F7DF87;
  --ip-gold: #E5B842;
  --ip-gold-dark: #C59B27;
  --ip-gold-border: rgba(229, 184, 66, 0.3);

  --ip-text-main: #FFFFFF;
  --ip-text-body: #CBD5E1;
  --ip-text-muted: #94A3B8;
  --ip-text-subtle: #64748B;

  --ip-font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ip-font-serif: "Cinzel", Georgia, serif;
}

/* ==========================================================================
   Base Reset: Overriding Casper's 62.5% html font-size
   ========================================================================== */
html {
  font-size: 16px !important; /* CRITICAL: Prevents 1rem from collapsing to 10px */
  -webkit-text-size-adjust: 100% !important;
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: var(--ip-navy-base) !important;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body,
.viewport,
.site-content {
  font-family: var(--ip-font-sans) !important;
  background-color: var(--ip-navy-base) !important;
  color: var(--ip-text-body) !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 !important;
  padding: 0 !important;
}

/* Neutralize Ghost dark-mode / auto-color charcoal overrides */
html.dark-mode body,
html.auto-color body,
html.dark-mode .viewport,
html.auto-color .viewport,
html.dark-mode .site-content,
html.auto-color .site-content {
  background-color: var(--ip-navy-base) !important;
  color: var(--ip-text-body) !important;
}

/* ==========================================================================
   Header Architecture & Native Ghost Navigation Layouts
   Preserves Ghost native layout settings: Left, Middle, or Stacked (under)
   ========================================================================== */
#gh-head {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(6, 12, 24, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--ip-navy-border) !important;
  color: #FFF !important;
  z-index: 1000 !important;
}

/* In standard left-logo and middle-logo modes, maintain a clean 72px min height */
:is(.is-head-left-logo, .is-head-middle-logo) #gh-head {
  min-height: 72px;
}

/* In stacked mode (logo on top, navigation underneath), let Ghost calculate height */
.is-head-stacked #gh-head {
  height: auto !important;
}

.gh-head-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

/* Allow Ghost's native logo link to display smoothly across all layout choices */
.gh-head-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px;
  color: #FFF !important;
  text-decoration: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.gh-head-logo img {
  max-height: 40px !important;
  width: auto;
}

/* Ensure Ghost header logo is always visible on home template across all 3 layout options */
.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-logo,
.is-head-middle-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-logo,
.is-head-stacked.home-template .gh-head:not(.is-header-hidden) .gh-head-logo {
  display: inline-flex !important;
}

.ip-head-brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ip-head-shield {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(229, 184, 66, 0.35));
}

.ip-head-title {
  font-family: var(--ip-font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #FFF;
}

/* Native Ghost Menu Navigation items styling */
.gh-head-menu .nav {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  list-style: none !important;
}

/* Ensure navigation items are always visible in Casper */
.gh-head-menu .nav > li {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  margin: 0 !important;
}

.gh-head-menu .nav li a {
  color: var(--ip-text-muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.gh-head-menu .nav li a:hover,
.gh-head-menu .nav li.nav-current a {
  color: var(--ip-gold) !important;
}

/* Header Actions & CTA */
.gh-head-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.gh-head-button {
  background: linear-gradient(135deg, var(--ip-gold), var(--ip-gold-dark)) !important;
  color: #060C18 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 38px !important;
  box-shadow: 0 4px 12px rgba(229, 184, 66, 0.25) !important;
}

.gh-head-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(229, 184, 66, 0.35) !important;
}

.gh-search.gh-icon-btn svg {
  stroke: #FFF !important;
}

.gh-burger::before,
.gh-burger::after {
  background-color: #FFF !important;
}

/* ==========================================================================
   Shared Container & Section Architecture
   Vertical Spacing Tuned for Tight, Professional Cadence
   ========================================================================== */
.ip-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ip-section {
  padding: 56px 0 !important;
  position: relative;
  border-bottom: 1px solid var(--ip-navy-border);
}

@media (max-width: 768px) {
  .ip-section {
    padding: 42px 0 !important;
  }
}

.ip-section-alt {
  background: var(--ip-navy-card) !important;
}

.ip-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px auto !important;
}

.ip-eyebrow {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--ip-gold) !important;
  margin-bottom: 12px !important;
}

.ip-section-title {
  font-family: var(--ip-font-sans) !important;
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--ip-text-main) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 14px 0 !important;
}

@media (min-width: 768px) {
  .ip-section-title {
    font-size: 42px !important;
  }
}

.ip-section-subtitle {
  font-size: 17px !important;
  color: var(--ip-text-muted) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Buttons */
.ip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px !important;
  border-radius: 9999px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.ip-btn-primary {
  background: linear-gradient(135deg, var(--ip-gold), var(--ip-gold-dark)) !important;
  color: #060C18 !important;
  box-shadow: 0 4px 16px rgba(229, 184, 66, 0.25) !important;
}

.ip-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 184, 66, 0.4) !important;
}

.ip-btn-secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #FFF !important;
}

.ip-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--ip-gold) !important;
  color: var(--ip-gold) !important;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.ip-hero {
  position: relative;
  min-height: auto !important;
  display: flex;
  align-items: center;
  padding: 24px 0 44px 0 !important;
  overflow: hidden;
  background: var(--ip-navy-base) !important;
  border-bottom: 1px solid var(--ip-navy-border);
}

@media (max-width: 768px) {
  .ip-hero {
    padding: 16px 0 32px 0 !important;
  }
}

.ip-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.ip-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: contrast(1.1) brightness(0.8);
}

.ip-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.85) 0%, rgba(6, 12, 24, 0.98) 100%);
}

.ip-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.ip-hero-headline {
  font-family: var(--ip-font-sans) !important;
  font-size: 38px !important;
  font-weight: 900 !important;
  color: #FFF !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  margin: 0 0 20px 0 !important;
}

@media (min-width: 768px) {
  .ip-hero-headline {
    font-size: 56px !important;
  }
}

.ip-hero-target {
  color: var(--ip-gold);
  display: inline-block;
  background: linear-gradient(135deg, #FFFFFF, var(--ip-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ip-hero-pillars {
  display: inline-block;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #FFF !important;
  border-left: 3px solid var(--ip-gold);
  padding-left: 12px;
  margin-bottom: 20px !important;
}

.ip-hero-subtext {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--ip-text-body) !important;
  max-width: 720px;
  margin: 0 0 32px 0 !important;
}

.ip-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   2. POSSIBLE WAYS TO APPROACH THE OBJECTIVE SECTION (#approcci)
   ========================================================================== */
#approcci {
  background-color: var(--ip-navy-card) !important;
}

.ip-ways-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 800px) {
  .ip-ways-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ip-way-card {
  background: var(--ip-navy-base) !important;
  border: 1px solid var(--ip-navy-border) !important;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.ip-way-card:hover {
  border-color: var(--ip-navy-border-hover) !important;
  transform: translateY(-3px);
  background: #081020 !important;
}

.ip-way-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.ip-way-title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #FFF !important;
  margin: 0 0 10px 0 !important;
}

.ip-way-desc {
  font-size: 15px !important;
  color: var(--ip-text-body) !important;
  line-height: 1.55 !important;
  margin-bottom: 20px !important;
}

.ip-way-risk {
  font-size: 13px !important;
  padding: 12px !important;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--ip-text-muted);
  line-height: 1.5;
}

.ip-way-risk strong {
  color: #FFF;
}

.ip-ways-summary {
  margin-top: 36px !important;
  padding: 22px 28px !important;
  text-align: center;
  background: rgba(229, 184, 66, 0.06) !important;
  border: 1px solid var(--ip-gold-border) !important;
  border-radius: 14px;
}

.ip-ways-summary h4 {
  color: var(--ip-gold) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  margin: 0 0 8px 0 !important;
}

.ip-ways-summary p {
  color: var(--ip-text-body) !important;
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.55;
}

/* ==========================================================================
   3. THE FOUR QUESTIONS SECTION (#quattro-domande)
   ========================================================================== */
#quattro-domande {
  background-color: var(--ip-navy-base) !important;
}

.ip-questions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .ip-questions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ip-questions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ip-question-card {
  background: var(--ip-navy-card) !important;
  border: 1px solid var(--ip-navy-border) !important;
  border-radius: 14px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}

.ip-question-card:hover {
  border-color: var(--ip-gold) !important;
  transform: translateY(-4px);
  background: var(--ip-navy-card-hover) !important;
}

.ip-question-badge {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: var(--ip-gold) !important;
  letter-spacing: 0.1em !important;
  margin-bottom: 12px !important;
}

.ip-question-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(229, 184, 66, 0.1);
  border: 1px solid var(--ip-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ip-gold);
  margin-bottom: 14px;
}

.ip-question-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #FFF !important;
  margin: 0 0 8px 0 !important;
}

.ip-question-query {
  font-size: 14px !important;
  color: var(--ip-text-body) !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

/* ==========================================================================
   4. FREE 2025 REPORT (#report-2025)
   ========================================================================== */
#report-2025 {
  background-color: var(--ip-navy-card) !important;
}

.ip-report-box {
  background: linear-gradient(135deg, #0A1428 0%, #060D1B 100%) !important;
  border: 1px solid var(--ip-gold-border) !important;
  border-radius: 20px;
  padding: 40px 32px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.ip-report-box::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 184, 66, 0.15) 0%, rgba(229, 184, 66, 0) 70%);
  pointer-events: none;
}

.ip-report-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .ip-report-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.ip-report-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ip-report-form input[type="email"] {
  background: rgba(4, 8, 18, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFF !important;
  font-size: 15px !important;
  padding: 14px 20px !important;
  border-radius: 9999px !important;
  width: 100% !important;
  outline: none;
  transition: border-color 0.2s;
}

.ip-report-form input[type="email"]:focus {
  border-color: var(--ip-gold) !important;
}

.ip-report-form .message-success {
  display: none;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86EFAC;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.ip-report-form .message-error {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
}

.ip-report-form.success .message-success {
  display: block;
}

.ip-report-form.error .message-error {
  display: block;
}

/* ==========================================================================
   5. PRINCIPI E STRATEGIA (#principi-e-strategia)
   ========================================================================== */
#principi-e-strategia {
  background-color: var(--ip-navy-base) !important;
}

.ip-principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 800px) {
  .ip-principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ip-principle-card {
  background: var(--ip-navy-card) !important;
  border: 1px solid var(--ip-navy-border) !important;
  border-radius: 14px;
  padding: 30px 24px;
  transition: all 0.25s ease;
}

.ip-principle-card:hover {
  border-color: var(--ip-gold) !important;
  transform: translateY(-3px);
  background: var(--ip-navy-card-hover) !important;
}

.ip-principle-card h3 {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #FFF !important;
  margin: 0 0 12px 0 !important;
}

.ip-principle-card p {
  font-size: 15px !important;
  color: var(--ip-text-body) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ==========================================================================
   6. PAID PRODUCT SECTION (#paid-product) - Cream Luxury Dossier
   ========================================================================== */
#paid-product {
  background: linear-gradient(180deg, #FAF8F5 0%, #F4EFE6 50%, #EFE8DA 100%) !important;
  color: #0F172A !important;
}

#paid-product .ip-section-title {
  color: #0F172A !important;
}

#paid-product .ip-section-subtitle {
  color: #475569 !important;
}

.ip-product-card {
  background: #FFFFFF !important;
  border: 1px solid #E2D9CC !important;
  border-radius: 20px;
  padding: 40px 32px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
  position: relative;
}

.ip-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 900px) {
  .ip-product-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }
}

.ip-product-price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  padding: 6px 16px;
  border-radius: 9999px;
  color: #92400E;
  font-weight: 800;
  margin-bottom: 16px;
}

.ip-product-price-tag .amount {
  font-size: 24px;
}

.ip-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 600px) {
  .ip-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.ip-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px !important;
  color: #334155 !important;
  line-height: 1.45;
}

.ip-checklist-icon {
  color: #B45309;
  flex-shrink: 0;
  margin-top: 2px;
}

.ip-product-disclaimer {
  font-size: 13px !important;
  color: #64748B !important;
  border-top: 1px solid #E2D9CC;
  padding-top: 16px !important;
  margin-top: 20px !important;
  line-height: 1.5;
}

/* 3D Dossier Book Mockup */
.ip-book-mockup {
  position: relative;
  width: 100%;
  max-width: 310px;
  height: 410px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0A1428 0%, #050B16 100%);
  border-left: 12px solid #03060C;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.ip-book-mockup:hover {
  transform: rotate(0deg) scale(1.02);
}

.ip-book-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ip-gold), var(--ip-gold-dark));
  color: #060C18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(229, 184, 66, 0.4);
}

.ip-book-badge .price {
  font-size: 22px;
  line-height: 1;
}

.ip-book-badge .sub {
  font-size: 10px;
  text-transform: uppercase;
}

/* ==========================================================================
   7. REALITY CHECK CALCULATOR (#reality-check)
   ========================================================================== */
#reality-check {
  background-color: var(--ip-navy-base) !important;
}

.ip-calc-container {
  background: var(--ip-navy-card) !important;
  border: 1px solid var(--ip-navy-border) !important;
  border-radius: 16px;
  padding: 32px !important;
  max-width: 820px;
  margin: 0 auto;
}

.ip-calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .ip-calc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }
}

.ip-calc-input-group {
  margin-bottom: 18px;
}

.ip-calc-label {
  display: block;
  font-size: 13px !important;
  font-weight: 700;
  color: var(--ip-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ip-calc-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 18px !important;
  font-weight: 700;
  color: #FFF;
  outline: none;
  transition: border-color 0.2s;
}

.ip-calc-input:focus {
  border-color: var(--ip-gold);
}

.ip-calc-result-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--ip-gold-border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.ip-calc-result-label {
  font-size: 13px !important;
  color: var(--ip-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.ip-calc-result-rate {
  font-size: 42px !important;
  font-weight: 800;
  color: var(--ip-gold);
  line-height: 1.1;
  margin-bottom: 8px;
}

.ip-calc-result-desc {
  font-size: 14px !important;
  color: var(--ip-text-body);
  line-height: 1.45;
}

/* ==========================================================================
   8. BLOG / ARTICLES SECTION (#blog)
   ========================================================================== */
#blog {
  background-color: var(--ip-navy-card) !important;
}

.ip-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .ip-article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ip-article-card {
  background: var(--ip-navy-base) !important;
  border: 1px solid var(--ip-navy-border) !important;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.ip-article-card:hover {
  border-color: rgba(229, 184, 66, 0.5) !important;
  transform: translateY(-3px);
}

.ip-article-img-wrap {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.ip-article-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 0.85;
}

.ip-article-card:hover .ip-article-img-wrap img {
  transform: scale(1.05);
}

.ip-article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.ip-article-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #FFF !important;
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.ip-article-card:hover .ip-article-title {
  color: var(--ip-gold) !important;
}

.ip-article-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  font-weight: 700;
  color: var(--ip-gold);
  border-top: 1px solid var(--ip-navy-border);
  padding-top: 14px;
}

/* ==========================================================================
   9. GLOBAL FOOTER (#gh-foot / .site-footer)
   ========================================================================== */
.site-footer {
  position: relative !important;
  margin: 0 !important;
  padding: 44px 0 32px 0 !important;
  background-color: var(--ip-navy-darkest) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--ip-text-muted) !important;
}

.site-footer .inner {
  display: block !important;
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  text-align: left !important;
}

.site-footer-content {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.site-footer .copyright,
.site-footer .copyright a {
  color: var(--ip-text-muted) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.site-footer-center {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 24px !important;
}

.site-footer-nav ul {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.site-footer-nav li a {
  color: var(--ip-text-body) !important;
  font-size: 13px !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.site-footer-nav li a:hover {
  color: var(--ip-gold) !important;
}

.site-footer-social-links {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.site-footer-social-links a {
  color: var(--ip-text-muted) !important;
  transition: color 0.2s !important;
}

.site-footer-social-links a:hover {
  color: #FFF !important;
}

.gh-powered-by {
  font-size: 12px !important;
  color: #64748B !important;
  font-family: monospace;
}

.site-footer-disclaimer {
  font-size: 12px !important;
  line-height: 1.7 !important;
  color: #64748B !important;
  padding-top: 20px !important;
}

.site-footer-disclaimer strong {
  color: var(--ip-text-muted);
}

/* ==========================================================================
   10. MOBILE POLISH & ARTICLE TEXT COLOR
   ========================================================================== */

/* Hero buttons side-by-side on mobile */
@media (max-width: 640px) {
  .ip-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .ip-hero-actions .ip-btn {
    flex: 1 1 0% !important;
    font-size: 11px !important;
    padding: 10px 12px !important;
    text-align: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
  }

  /* Center icons and text in "Le strade per avvicinarsi" section on mobile */
  .ip-way-card {
    text-align: center !important;
    align-items: center !important;
  }

  .ip-way-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ip-ways-summary h4 {
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* Case study 1 mobile containment & no overflow */
  .ip-case-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .ip-case-mockup-wrapper {
    overflow: hidden !important;
    width: 100% !important;
  }

  .ip-case-mockup {
    transform: scale(0.85) !important;
    transform-origin: center center !important;
  }
}

/* Ghost native article/post view typography: white article text */
.gh-article,
.gh-canvas,
.article-content,
.post-content,
.gh-content,
.gh-content p,
.gh-content li,
.gh-content blockquote,
.gh-article-title,
.article-title {
  color: #FFFFFF !important;
}

.gh-content h1,
.gh-content h2,
.gh-content h3,
.gh-content h4,
.gh-content h5,
.gh-content h6 {
  color: #FFFFFF !important;
}

.gh-content strong,
.gh-content b {
  color: #FFFFFF !important;
}

.gh-content a {
  color: var(--ip-gold) !important;
}

.gh-article-meta,
.article-meta,
.byline-meta-content {
  color: var(--ip-text-muted) !important;
}

/* ==========================================================================
   Landing Rev2 - Visual First 5-Block Layout Styles
   ========================================================================== */

/* 1. Hero Visual Flow */
.ip-hero-visual-flow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(10, 19, 36, 0.9);
  border: 1px solid rgba(229, 184, 66, 0.3);
  border-radius: 16px;
  padding: 16px 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .ip-hero-visual-flow {
    flex-direction: column;
    gap: 10px;
    padding: 14px 20px;
  }
}

.ip-hero-flow-box {
  text-align: center;
}

.ip-flow-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ip-text-muted);
  font-family: monospace;
  margin-bottom: 2px;
}

.ip-hero-flow-box.highlight .ip-flow-label {
  color: var(--ip-gold);
  font-weight: 700;
}

.ip-flow-val {
  font-size: 24px;
  font-weight: 900;
  color: #FFF;
  letter-spacing: -0.02em;
}

.ip-flow-val.gold {
  color: var(--ip-gold);
}

.ip-flow-val small {
  font-size: 15px;
  font-weight: 500;
  color: var(--ip-text-muted);
}

.ip-flow-arrow {
  color: var(--ip-gold);
  font-weight: 900;
  font-size: 20px;
}

/* 2. Problem Comparison Grid & Visual Bridge */
.ip-problem-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0 20px 0;
}

@media (max-width: 768px) {
  .ip-problem-compare-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ip-p-card {
  background: var(--ip-navy-card);
  border: 1px solid var(--ip-navy-border);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.ip-p-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ip-p-card-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFF;
  font-family: monospace;
}

.ip-badge-insufficient {
  font-size: 11px;
  font-weight: 700;
  color: #F87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.ip-badge-risky {
  font-size: 11px;
  font-weight: 700;
  color: #FBBF24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.ip-p-card-rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.ip-p-card-rate .val {
  font-size: 24px;
  font-weight: 900;
  color: #FFF;
}

.ip-p-card-rate .sub {
  font-size: 12px;
  color: var(--ip-text-muted);
}

.ip-p-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ip-text-body);
  margin: 0 0 16px 0;
}

.ip-p-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ip-text-subtle);
  border-top: 1px solid var(--ip-navy-border);
  padding-top: 12px;
}

.ip-problem-bridge {
  background: linear-gradient(90deg, var(--ip-navy-card) 0%, rgba(14, 26, 50, 0.95) 50%, var(--ip-navy-card) 100%);
  border: 1px solid rgba(229, 184, 66, 0.35);
  border-radius: 18px;
  padding: 24px 24px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.ip-bridge-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ip-gold);
  font-family: monospace;
  margin-bottom: 8px;
}

.ip-bridge-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ip-text-body);
  max-width: 680px;
  margin: 0 auto;
}

.ip-bridge-text strong {
  color: #FFF;
}

.ip-bridge-link {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ip-gold);
}

/* 3. Solution Structure Card */
.ip-solution-structure-card {
  background: var(--ip-navy-card);
  border: 1px solid var(--ip-navy-border);
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.ip-structure-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ip-navy-base);
  border: 1px solid rgba(229, 184, 66, 0.4);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--ip-gold);
  text-transform: uppercase;
  font-family: monospace;
}

.ip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ip-gold);
}

.ip-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .ip-structure-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ip-structure-item {
  background: var(--ip-navy-base);
  border: 1px solid var(--ip-navy-border);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

.ip-structure-item.highlight {
  border-color: rgba(229, 184, 66, 0.35);
  box-shadow: 0 4px 16px rgba(229, 184, 66, 0.08);
}

.ip-structure-header {
  margin-bottom: 10px;
}

.ip-structure-idx {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  font-family: monospace;
  color: var(--ip-text-muted);
  margin-bottom: 2px;
}

.ip-structure-idx.gold {
  color: var(--ip-gold);
  font-weight: 700;
}

.ip-structure-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: #FFF;
  margin: 0;
}

.ip-structure-item p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ip-text-body);
  margin: 0;
}

.ip-highlight-quote {
  display: inline-block;
  background: var(--ip-navy-card);
  border: 2px solid var(--ip-gold);
  border-radius: 16px;
  padding: 16px 28px;
  color: var(--ip-gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 6px 20px rgba(229, 184, 66, 0.1);
}

/* 4. Proof / 2025 Metrics */
.ip-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

@media (max-width: 640px) {
  .ip-metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.ip-metric-box {
  background: var(--ip-navy-card);
  border: 1px solid var(--ip-navy-border);
  border-radius: 16px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.ip-metric-value {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: #FFF;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.ip-metric-value.gold {
  color: var(--ip-gold);
}

.ip-metric-caption {
  font-size: 13px;
  color: var(--ip-text-body);
}

.ip-lead-box {
  background: var(--ip-navy-card);
  border: 1px solid rgba(229, 184, 66, 0.3);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* 5. Offer Card */
.ip-offer-card {
  background: linear-gradient(180deg, var(--ip-navy-card) 0%, var(--ip-navy-base) 100%);
  border: 2px solid rgba(229, 184, 66, 0.4);
  border-radius: 24px;
  padding: 44px 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
  position: relative;
}

@media (max-width: 640px) {
  .ip-offer-card {
    padding: 28px 20px;
  }
}

.ip-offer-target-badge {
  display: inline-block;
  background: var(--ip-navy-base);
  border: 1px solid rgba(229, 184, 66, 0.35);
  padding: 8px 20px;
  border-radius: 9999px;
  color: var(--ip-gold);
  font-weight: 800;
  font-size: 15px;
  font-family: monospace;
}

.ip-offer-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

@media (max-width: 640px) {
  .ip-offer-pillars-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.ip-offer-pillar {
  background: var(--ip-navy-base);
  border: 1px solid var(--ip-navy-border);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}

.ip-offer-pillar.highlight {
  border-color: rgba(229, 184, 66, 0.3);
}

.ip-offer-pillar h4 {
  font-size: 14px;
  font-weight: 800;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 4px 0;
}

.ip-offer-pillar.highlight h4 {
  color: var(--ip-gold);
}

.ip-offer-pillar p {
  font-size: 12px;
  color: var(--ip-text-muted);
  margin: 0;
}

.ip-offer-strong-lead {
  font-size: 16px;
  font-weight: 600;
  color: #FFF;
  text-align: center;
  max-width: 600px;
  margin: 24px auto;
  line-height: 1.5;
}

.ip-offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--ip-navy-border);
  padding-top: 28px;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .ip-offer-footer {
    flex-direction: column;
    text-align: center;
  }
}

.ip-offer-price-wrap {
  text-align: left;
}

@media (max-width: 640px) {
  .ip-offer-price-wrap {
    text-align: center;
  }
}

.ip-offer-price-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ip-text-muted);
  font-family: monospace;
}

.ip-offer-price-val {
  font-size: 42px;
  font-weight: 900;
  color: #FFF;
  line-height: 1;
}

.ip-offer-price-val small {
  font-size: 14px;
  color: var(--ip-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ip-btn-lg {
  padding: 16px 36px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
}

.ip-offer-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 11px;
  color: var(--ip-text-subtle);
  margin-top: 20px;
  flex-wrap: wrap;
}

/* 5.1 White Detached Card with 3D Book & Checklist */
.ip-offer-white-card {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
}

.ip-eyebrow-light {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  padding: 4px 14px;
  border-radius: 9999px;
  display: inline-block;
}

.ip-badge-light {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #020617 !important;
}

.ip-pillars-light .ip-offer-pillar {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.ip-pillars-light .ip-offer-pillar h4 {
  color: #0F172A;
}

.ip-pillars-light .ip-offer-pillar p {
  color: #64748B;
}

.ip-pillars-light .ip-offer-pillar.highlight {
  background: #FFFBEB;
  border: 2px solid #F59E0B;
}

.ip-pillars-light .ip-offer-pillar.highlight h4 {
  color: #B45309;
}

.ip-pillars-light .ip-offer-pillar.highlight p {
  color: #78350F;
}

.ip-bridge-box-light {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
}

.ip-bridge-box-light p {
  font-size: 17px;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ip-offer-white-card {
    padding: 32px 20px;
  }
}

.ip-offer-white-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .ip-offer-white-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ip-ow-title {
  font-size: 38px;
  font-weight: 900;
  color: #020617;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 10px 0;
}

@media (max-width: 640px) {
  .ip-ow-title {
    font-size: 28px;
    text-align: center;
  }
}

.ip-ow-subtitle {
  font-size: 19px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0 0 16px 0;
}

@media (max-width: 640px) {
  .ip-ow-subtitle {
    font-size: 16px;
    text-align: center;
  }
}

.ip-ow-lead {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

@media (max-width: 640px) {
  .ip-ow-lead {
    text-align: center;
  }
}

.ip-ow-lead strong {
  display: block;
  font-size: 15px;
  color: #020617;
  font-weight: 800;
  margin-bottom: 4px;
}

.ip-ow-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 16px 0 24px 0;
}

@media (max-width: 640px) {
  .ip-ow-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 320px;
    margin: 16px auto 24px auto;
  }
}

.ip-ow-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
  line-height: 1.4;
}

.ip-ow-item span {
  font-weight: 900;
  color: #020617;
  font-size: 13px;
  line-height: 1;
  margin-top: 2px;
}

.ip-ow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #E2E8F0;
  padding-top: 22px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .ip-ow-footer {
    flex-direction: column;
    text-align: center;
  }
}

.ip-ow-price-lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #64748B;
  font-family: monospace;
}

.ip-ow-price-num {
  font-size: 38px;
  font-weight: 900;
  color: #020617;
  line-height: 1;
}

.ip-ow-price-num small {
  font-size: 13px;
  color: #D97706;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ip-ow-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #64748B;
  margin-top: 14px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .ip-ow-guarantee {
    justify-content: center;
  }
}

/* 3D Visual Stage in White Card */
.ip-offer-white-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.ip-3d-stage {
  position: relative;
  width: 320px;
  height: 420px;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .ip-3d-stage {
    width: 270px;
    height: 370px;
    transform: scale(0.92);
  }
}

/* Sheet behind */
.ip-3d-sheet {
  position: absolute;
  top: 14px;
  right: 0;
  width: 250px;
  height: 380px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  transform: rotate(6deg) translateX(12px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

@media (max-width: 480px) {
  .ip-3d-sheet {
    width: 215px;
    height: 330px;
    padding: 12px;
  }
}

.ip-sheet-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.ip-sheet-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

.ip-sheet-name {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  font-family: monospace;
}

.ip-sheet-rate {
  font-size: 10px;
  font-weight: 700;
  color: #059669;
  font-family: monospace;
}

.ip-sheet-grid {
  font-family: monospace;
  font-size: 9.5px;
}

.ip-sg-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px 0;
  border-bottom: 1px solid #F1F5F9;
  color: #64748B;
}

.ip-sg-row.head {
  background: #E2E8F0;
  border-radius: 6px;
  padding: 4px 6px;
  font-weight: 700;
  color: #334155;
}

.ip-sg-row span.g {
  color: #059669;
  font-weight: 700;
}

.ip-sg-row span.b {
  color: #2563EB;
  font-weight: 700;
}

.ip-sheet-target {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 9.5px;
  color: #065F46;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
}

/* 3D Dark Book in front */
.ip-3d-book {
  position: absolute;
  top: 0;
  left: 0;
  width: 245px;
  height: 400px;
  background: #070E1B;
  color: #FFFFFF;
  border-radius: 0 16px 16px 0;
  border-left: 10px solid #03060C;
  border-top: 1px solid #334155;
  border-right: 1px solid #334155;
  border-bottom: 1px solid #334155;
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

@media (max-width: 480px) {
  .ip-3d-book {
    width: 210px;
    height: 350px;
    padding: 16px;
  }
}

.ip-3d-book:hover {
  transform: rotate(0deg);
}

.ip-3d-badge {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F7DF87 0%, #E5B842 50%, #C99C2B 100%);
  color: #060C18;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 3px solid #FFFFFF;
}

.ip-badge-price {
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.ip-badge-sub {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ip-book-eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #E5B842;
  font-family: monospace;
  margin-bottom: 6px;
}

.ip-book-title {
  font-size: 24px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
}

.ip-book-sub {
  font-size: 20px;
  font-weight: 900;
  color: #E5B842;
  line-height: 1.2;
  margin-bottom: 8px;
}

.ip-book-tag {
  font-size: 10px;
  font-weight: 800;
  color: #E5B842;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: monospace;
  margin-bottom: 3px;
}

.ip-book-desc {
  font-size: 10px;
  color: #CBD5E1;
  line-height: 1.4;
}

.ip-book-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
  margin: auto 0;
  padding: 8px 0;
  border-top: 1px solid rgba(51, 65, 85, 0.7);
  border-bottom: 1px solid rgba(51, 65, 85, 0.7);
}

.ip-book-chart-card {
  background: rgba(4, 8, 18, 0.85);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 8px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ip-pie-svg {
  transform: rotate(-90deg);
  margin: 2px 0;
}

.ip-equity-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2px 0;
}

.ip-chart-lbl {
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: monospace;
  letter-spacing: 0.08em;
  color: #94A3B8;
  margin-top: 2px;
}

.ip-chart-lbl.green {
  color: #34D399;
}

.ip-book-footer {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #94A3B8;
  font-family: monospace;
  text-transform: uppercase;
}
