
/* ══════════════════════════════════════════════════
   CARAGGIO NETWORK — BRAND DESIGN SYSTEM v3
   ══════════════════════════════════════════════════ */
:root {
  --red: #C8102E;
  --red-dark: #A00D24;
  --red-burgundy: #95182A;
  --red-glow: rgba(200,16,46,0.35);
  --black: #0B0B0B;
  --gold: #C9A227;
  --gold-light: #D4B84A;
  --gold-glow: rgba(201,162,39,0.35);
  --offwhite: #F7F5F2;
  --white: #FFFFFF;
  --footer-gray: #898989;
  --gray-100: #F0EDED;
  --gray-300: #AAAAAA;
  --gray-500: #666666;
  --gray-700: #333333;
  --gray-900: #1A1A1A;
  --font: 'Segoe UI', Arial, Helvetica, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-700); background: var(--white); line-height: 1.6; overflow-x: hidden; }

/* Typography */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.3; }
p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-offwhite { background: var(--offwhite); }
.section-gray { background: var(--gray-900); color: var(--white); }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-500); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }

/* ════════════════════════════════════════
   NAVIGATION — WHITE HEADER, BLACK LINKS
   ════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1800px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
  color: var(--black); transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-logo:hover { opacity: 0.92; }
.nav-logo img {
  height: 80px; width: auto; display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15));
}

.nav-links {
  display: flex; align-items: center; gap: 0.2rem;
  flex-wrap: nowrap; flex: 1 1 auto;
  justify-content: center; min-width: 0;
}
.nav-links a {
  color: #0B0B0B; text-decoration: none; font-size: 1.25rem;
  padding: 0.5rem 0.7rem; border-radius: 6px; transition: var(--transition);
  font-weight: 500; white-space: nowrap; cursor: pointer;
}
.nav-links a:hover, .nav-links a.active { color: var(--red); background: rgba(200, 16, 46, 0.08); }

.nav-ctas { display: inline-flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }

.nav-cta {
  background: var(--red); color: var(--white);
  padding: 0.5rem 1.2rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

.nav-cta-gold {
  background: var(--gold); color: #000000;
  padding: 0.5rem 1.2rem; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: var(--transition);
}
.nav-cta-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--black); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

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

/* Desktop Large (1400-1599): tighter spacing */
@media (max-width: 1599px) {
  .nav-inner { padding: 0 1.5rem; }
  .nav-links a { font-size: 0.95rem; padding: 0.5rem 0.5rem; }
  .nav-cta, .nav-cta-gold { padding: 0.5rem 1rem; font-size: 0.82rem; }
}

/* Desktop Standard (1280-1399): very tight, still single-line */
@media (max-width: 1399px) {
  .nav-inner { padding: 0 1rem; }
  .nav-links a { font-size: 1.15rem; padding: 0.45rem 0.4rem; }
  .nav-cta, .nav-cta-gold { padding: 0.45rem 0.85rem; font-size: 0.78rem; }
  .nav-logo img { height: 80px; }
}

/* Desktop Narrow (1100-1279): minimum viable single-line */
@media (max-width: 1279px) {
  .nav-inner { padding: 0 0.75rem; gap: 0.5rem; }
  .nav-links a { font-size: 1.05 rem; padding: 0.4rem 0.3rem; }
  .nav-cta, .nav-cta-gold { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .nav-logo img { height: 75px; }
}

/* Tablet landscape and below (1099 down): hamburger menu */
@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .nav-inner { padding: 0 1.5rem; justify-content: space-between; position: relative; }
  .nav-logo img { height: 60px; }


  .nav-links, .nav-ctas {
    display: none; position: absolute; left: 0; right: 0;
    background: #FFFFFF; padding: 0 1.5rem;
    flex-direction: column; align-items: stretch;
  }
  .nav-links {
    top: 80px; padding-top: 1rem; gap: 0.2rem; flex: none;
    justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.9rem 1rem; font-size: 1rem; color: #0B0B0B;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    text-align: left;
  }
  .nav-links a:last-of-type { border-bottom: none; }

  .nav-ctas {
    top: calc(80px + 10 * 49px + 1rem);
    gap: 0.6rem; padding: 1rem 1.5rem 1.5rem;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }
  .nav-ctas.open { display: flex; }
  .nav-ctas .nav-cta, .nav-ctas .nav-cta-gold {
    text-align: center; padding: 0.9rem 1.2rem;
    font-size: 0.95rem; border-radius: 8px;
    justify-content: center; display: block;
  }
}

/* Phone (768 down) */
@media (max-width: 768px) {
  .nav-inner { padding: 0 1rem; height: 70px; }
  .nav-logo img { height: 55px; }
  .nav-links { top: 70px; }
  .nav-ctas { top: calc(70px + 10 * 49px + 1rem); }
  .nav-toggle span { width: 24px; }
  .hero-banner { padding-top: 100px; }
}

/* Small phone (480 down) */
@media (max-width: 480px) {
  .nav-logo img { height: 50px; }
  .hero-banner { padding-top: 90px; }
}

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 8px;
  font-family: var(--font); font-size: 1rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); text-align: center;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 30px var(--red-glow); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px var(--gold-glow); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
.btn-ghost-dark { background: transparent; color: var(--gray-700); border: 2px solid var(--gray-300); }
.btn-ghost-dark:hover { border-color: var(--red); color: var(--red); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.4); } 50% { box-shadow: 0 0 0 12px rgba(200,16,46,0); } }
.btn-pulse { animation: pulse 2.5s infinite; }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, #1a0a0e 40%, var(--black) 100%);
  overflow: hidden; padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(200,16,46,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 70%, rgba(201,162,39,0.05) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 3rem 2rem; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .subtitle { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--gray-300); margin-bottom: 1rem; line-height: 1.6; }
.hero .support-text { font-size: 1rem; color: var(--gray-500); max-width: 700px; margin: 0 auto 2.5rem; }
.hero-short { min-height: 70vh; }
.hero-medium { min-height: 60vh; }
.hero-tech { background: linear-gradient(135deg, #0B0B0B 0%, #0d1117 40%, #0B0B0B 100%); }

/* HOMEPAGE HERO — with lion banner background */
.hero-banner {
  position: relative; overflow: hidden; background: var(--black);
  padding-top: 120px; padding-bottom: 60px;
  min-height: 720px; max-height: 860px;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% center;
  z-index: 0;
}
.hero-tint {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(200, 16, 46, 0.15) 0%,
    rgba(120, 10, 25, 0.18) 50%,
    rgba(200, 16, 46, 0.15) 100%);
  mix-blend-mode: multiply;
  z-index: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 50%,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 40%,
    rgba(0, 0, 0, 0.25) 70%,
    rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
}
.hero-banner .hero-content { position: relative; z-index: 3; }
.hero-banner h1 { text-shadow: 0 4px 30px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6); }
.hero-banner .subtitle, .hero-banner .support-text { text-shadow: 0 2px 15px rgba(0,0,0,0.8); }
.hero-banner .support-text { color: #E5E5E5; }
.hero-banner .subtitle { color: #F5F5F5; }

@media (max-width: 900px) {
  .hero-banner { min-height: 640px; padding-top: 100px; padding-bottom: 40px; }
  .hero-bg { object-position: 70% center; }
  .hero-overlay {
    background: radial-gradient(ellipse 90% 70% at 50% 50%,
      rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 70%, rgba(0,0,0,0.3) 100%);
  }
}

/* Hero badge */
.hero-badge {
  display: inline-block; padding: 0.4rem 1rem;
  background: rgba(201, 162, 39, 0.18); border: 1px solid var(--gold);
  border-radius: 30px; color: var(--gold); font-size: 0.8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 1.5rem; backdrop-filter: blur(6px);
}

/* Trust Bar */
.trust-bar {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem;
  padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08); margin-top: 3rem;
}
.trust-item { text-align: center; }
.trust-item .number { font-size: 1.8rem; font-weight: 800; color: var(--gold); display: block; }
.trust-item .label { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; }

/* ════════════════════════════════════════
   CARDS, TABLES, COMPONENTS
   ════════════════════════════════════════ */
.card {
  background: var(--white); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-100); transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); border-color: rgba(200,16,46,0.15); }
.card-dark {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 2rem; transition: var(--transition);
}
.card-dark:hover { border-color: var(--gold); background: rgba(255,255,255,0.05); transform: translateY(-4px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.card-icon-red { background: rgba(200,16,46,0.1); color: var(--red); }
.card-icon-gold { background: rgba(201,162,39,0.1); color: var(--gold); }

.gold-divider { width: 80px; height: 3px; background: var(--gold); margin: 0 auto 2rem; border-radius: 2px; }
.gold-divider-left { margin: 0 0 2rem 0; }

.comparison-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; }
.comparison-table th {
  background: var(--red); color: var(--white); padding: 1rem;
  font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700;
}
.comparison-table th.highlight { background: var(--gold); color: var(--black); }
.comparison-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; }
.comparison-table tr:nth-child(even) td { background: var(--offwhite); }
.comparison-table td:first-child { font-weight: 600; color: var(--black); }
.check { color: #22c55e; font-weight: 700; }
.cross { color: var(--red); font-weight: 700; }

.calc-card {
  background: var(--gray-900); border: 2px solid var(--gold);
  border-radius: 16px; padding: 2.5rem; max-width: 700px; margin: 0 auto;
}
.calc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.calc-row:last-child { border-bottom: none; }
.calc-row .item { color: var(--gray-300); font-size: 0.95rem; }
.calc-row .value { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.calc-total { border-top: 2px solid var(--gold) !important; margin-top: 0.5rem; padding-top: 1rem !important; }
.calc-total .item { color: var(--white) !important; font-weight: 700; font-size: 1.1rem; }
.calc-total .value { color: var(--red); font-size: 1.3rem; }

.stats-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 3rem; padding: 3rem 0; }
.stat { text-align: center; }
.stat-number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--gold); display: block; }
.stat-label { font-size: 0.9rem; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem; }

.pricing-card { border-radius: 16px; padding: 2.5rem; text-align: center; transition: var(--transition); position: relative; }
.pricing-card.featured {
  border: 2px solid var(--gold); transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(201,162,39,0.15);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--black); font-size: 0.75rem;
  font-weight: 700; padding: 0.4rem 1.2rem; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.price { font-size: 3rem; font-weight: 800; margin: 1rem 0 0.5rem; }
.price-period { font-size: 0.9rem; color: var(--gray-500); }
.pricing-features { list-style: none; text-align: left; margin: 1.5rem 0; }
.pricing-features li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.95rem; }
.pricing-features li::before { content: '\2713  '; color: var(--gold); font-weight: 700; }

.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  width: 100%; text-align: left; padding: 1.3rem 0; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 1.05rem; font-weight: 600; color: var(--black);
  display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--red); }
.faq-question .arrow { font-size: 1.2rem; transition: var(--transition); color: var(--gold); }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 1.3rem; color: var(--gray-500); font-size: 0.95rem; line-height: 1.7; }
.faq-category { font-size: 0.85rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin: 2rem 0 0.5rem; }

.manifesto-item {
  padding: 1.5rem 2rem; border-left: 3px solid var(--gold);
  margin-bottom: 1rem; background: rgba(255,255,255,0.02); transition: var(--transition);
}
.manifesto-item:hover { background: rgba(201,162,39,0.05); }
.manifesto-num { color: var(--gold); font-size: 1.5rem; font-weight: 800; margin-right: 0.5rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.cat-tile {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 1.2rem; text-align: center; transition: var(--transition);
}
.cat-tile:hover { border-color: var(--gold); background: rgba(201,162,39,0.05); transform: translateY(-2px); }
.cat-tile .cat-name { font-weight: 700; font-size: 0.85rem; color: var(--white); margin-bottom: 0.3rem; }
.cat-tile .cat-count { font-size: 0.75rem; color: var(--gold); }

.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem;
}

/* Forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--gray-700); }
.form-input {
  width: 100%; padding: 0.8rem 1rem; border: 2px solid var(--gray-100);
  border-radius: 8px; font-family: var(--font); font-size: 1rem;
  transition: var(--transition); background: var(--white);
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }

/* ════════════════════════════════════════
   FOUNDER SECTION — 2-column layout
   ════════════════════════════════════════ */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.founder-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: block;
}
.founder-text h2 { line-height: 1.2; }
@media (max-width: 768px) {
  .founder-grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder-photo { max-width: 400px; margin: 0 auto; }
}

/* ════════════════════════════════════════
   FOOTER — GRAY WITH BURGUNDY HOVER
   ════════════════════════════════════════ */
.footer { background: var(--footer-gray); color: #FFFFFF; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-size: 1.50rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer a { color: #F5F5F5; text-decoration: none; font-size: 1.25rem; display: block; padding: 0.3rem 0; transition: var(--transition); cursor: pointer; }
.footer a:hover { color: var(--red-burgundy); }
.footer p { color: #F5F5F5; }

.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { max-width: 300px; height: auto; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.15); padding-top: 2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.85rem; color: #000000;
}
.footer-bottom .tagline { color: #000000; font-weight: 700; }
.footer-bottom .copyright { color: #000000; font-weight: 600; }

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Plan radio buttons */
.plan-options { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.plan-option {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem;
  border: 2px solid var(--gray-100); border-radius: 8px; cursor: pointer; flex: 1; min-width: 140px; font-size: 0.9rem;
}
.plan-option.recommended { border-color: var(--gold); background: rgba(201,162,39,0.05); font-weight: 600; }
