/* ---------- EPIC AI Global Styles (mobile-first, dark, neon) ---------- */

:root{
  --bg:#050816;
  --bg2:#070c20;
  --card:#0d1328;
  --card-soft:#101732;
  --text:#e3ecff;
  --muted:#97a8d5;
  --accent1:#86d9ff;
  --accent2:#a8b4ff;
  --accent3:#79f2c2;
  --danger:#ff6b81;
  --ring: rgba(134,217,255,.45);
}

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

/* --- Keyframe for border rotation REMOVED --- */

html,body{
  height:100%;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",system-ui,sans-serif;
  background: transparent; /* THIS FIXES THE PAGE FILL BUG */
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}

/* --- UPDATED: Video Background --- */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.1; /* DIALED WAY BACK */
  filter: brightness(1.1);
}
/* Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 0% 0%,rgba(134,217,255,.08),transparent 50%),
    radial-gradient(circle at 100% 0%,rgba(168,180,255,.10),transparent 55%),
    radial-gradient(circle at 50% 120%,rgba(121,242,194,.20),transparent 65%),
    var(--bg);
  opacity: 0.95; /* Dark overlay */
  z-index: -1;
}
/* --- End Video Background --- */

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
}

/* Containers */

.container{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:0 16px;
  position: relative; /* Ensure content stays above video */
  z-index: 2;
}

/* --- UPDATED: Nav Bar --- */

.nav{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(5,8,22,.65); /* More transparent */
  backdrop-filter:blur(24px); /* Stronger blur */
  border-bottom:1px solid rgba(134, 217, 255, 0.2); /* Accent border */
  width:100%;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
}

/* Brand text */
.brand-text{
  font-size:20px;
  font-weight:700;
  letter-spacing:.15em;
  text-transform:uppercase;
  display: flex; /* Added */
  align-items: center; /* Added */
  gap: 10px; /* Added */
  text-decoration: none; /* Added */
}

.brand-text img { /* Added */
  width: 24px;
  height: 24px;
  opacity: .9;
}

/* Right side (CTA + Menu) */
.nav-right{
  display:flex;
  align-items:center;
  gap:12px;
}

/* CTA button */
.cta-small{
  padding:6px 12px;
  border-radius:999px;
  border:1px solid rgba(134,217,255,.45);
  background:radial-gradient(circle at top left,rgba(134,217,255,.17),rgba(0,0,0,0));
  color:var(--text);
  font-size:13px;
  text-decoration:none;
  font-weight:500;
}
.cta-small:hover{
  background:rgba(134,217,255,.25);
}

/* Menu link */
.menu-simple{
  font-size:14px;
  color:var(--text);
  opacity:.85;
  text-decoration:none;
  padding:6px 12px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.15);
}
.menu-simple:hover{
  opacity:1;
  background:rgba(255,255,255,.08);
}

/* ---------- Hero ---------- */

.hero{
  padding:32px 0 40px;
}

/* --- REMOVED: Glowing Border Wrapper --- */

/* --- UPDATED: Hero Card for Business/Personal Homepages --- */
.hero-card {
  background: rgba(13, 21, 40, 0.75); /* Glassmorphism */
  backdrop-filter: blur(24px); /* Stronger blur */
  border: 1px solid rgba(134, 217, 255, 0.2); /* Accent border */
  border-radius: 20px;
  padding: 20px;
  position: relative;
  z-index: 2; 
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
@media (min-width: 720px) {
  .hero-card {
    padding: 30px;
  }
}
/* --- End Hero Card --- */


.hero h1{
  font-size:clamp(30px,7.2vw,44px);
  line-height:1.05;
  margin:8px 0 10px;
}

.grad{
  background:linear-gradient(120deg,#86d9ff,#a8b4ff,#79f2c2);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.sub{
  font-size:15px;
  color:var(--muted);
  max-width:640px;
}

/* KPIs / sample questions */

.kpis{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

/* --- NEW: KPI styles when inside hero-card --- */
.hero-card .kpis {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(134, 217, 255, 0.2);
}
.hero-card .kpi {
  background: rgba(5, 8, 22, 0.7);
  border-color: rgba(134, 217, 255, 0.2);
}
.hero-card .kpi:hover {
  background: rgba(134, 217, 255, 0.15);
  border-color: rgba(134, 217, 255, 0.4);
}
/* --- End KPI styles --- */

.kpi{
  padding:9px 11px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.06);
  background:rgba(10,18,42,.8);
  font-size:12px;
  color:#c8d6ff;
  text-decoration: none; /* Added */
  transition: background .18s ease, transform .18s ease; /* Added */
}

.kpi:hover { /* Added */
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}


/* Buttons / CTAs */

.ctas{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
  margin-top:22px;
}

.btn{
  border:none;
  border-radius:999px;
  padding:13px 18px;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  background:linear-gradient(120deg,#86d9ff,#79f2c2);
  color:#04101f;
  text-align:center;
  text-decoration:none;
  box-shadow:0 10px 25px rgba(0,0,0,.6);
}
.btn:hover{
  transform:translateY(-1px);
}

.btn.alt{
  background:transparent;
  border:1px solid rgba(134,217,255,.45);
  color:var(--text);
  box-shadow:none;
}
/* Small button used in demo header */
.btn-small {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(134,217,255,.35);
  background: rgba(8,12,30,.6);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.btn-small:hover {
  background: rgba(134,217,255,.15);
}


/* Sections */

.section{
  padding:40px 0;
  /* Removed border-top */
}

.section:first-of-type{
  padding-top:0;
}

/* --- NEW: Content Card Wrapper --- */
.content-card {
  background: rgba(13, 21, 40, 0.75); /* Glassmorphism */
  backdrop-filter: blur(24px); /* Stronger blur */
  border: 1px solid rgba(134, 217, 255, 0.2); /* Accent border */
  border-radius: 20px;
  padding: 20px;
  position: relative;
  z-index: 2; 
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}
@media (min-width: 720px) {
  .content-card {
    padding: 30px;
  }
}
/* --- End Content Card --- */


.section h1{
  font-size:26px;
  margin:4px 0 10px;
}

.section h2{
  font-size:22px;
  margin:0 0 6px;
}

.lead{
  color:var(--muted);
  font-size:15px;
  max-width:720px;
}

/* Badges */

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.badge{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(134,217,255,.35);
  font-size:12px;
  background:rgba(10,18,42,.85);
  color:#cbe2ff;
  text-decoration: none; /* Added */
  transition: background .18s ease, transform .18s ease; /* Added */
}

.badge:hover { /* Added */
  background: rgba(134,217,255,.15);
  transform: translateY(-1px);
}


/* Grids / Cards */

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:22px;
}

.usegrid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:20px;
}

.card{
  border-radius:18px;
  background:linear-gradient(145deg,rgba(15,23,57,.92),rgba(6,10,26,.95));
  border:1px solid rgba(255,255,255,.06);
  padding:16px;
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:-60%;
  background:radial-gradient(circle at top,var(--accent1),transparent 55%);
  opacity:0;
  transition:opacity .25s;
  pointer-events:none;
}

.card:hover::before{
  opacity:.08;
}

/* ### STYLES FOR CLICKABLE CARDS ### */
a.card {
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px rgba(0,0,0,.65);
  border-color: rgba(255,255,255,.12);
}
/* ### END STYLES ### */

/* --- NEW: Promo Card Style for Blog links --- */
.card.promo-card {
  background: linear-gradient(145deg, rgba(121, 242, 194, .1), rgba(6, 10, 26, .95));
  border-color: rgba(121, 242, 194, .3);
}
.card.promo-card:hover {
  border-color: var(--accent3);
}
.card.promo-card h3 {
  color: var(--accent3);
}
/* --- End Promo Card --- */


.card h3{
  margin:0 0 6px;
  font-size:16px;
}

.card p{
  margin:0;
  font-size:14px;
  color:var(--muted);
}

/* Muted text */

.muted{
  color:var(--muted);
  font-size:13px;
}

/* Tables */

.table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
  margin-top:16px;
}

.table th,
.table td{
  padding:8px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.table th{
  text-align:left;
  color:#cfe0ff;
  font-weight:500;
}

/* Forms */

.form-wrap{
  margin-top:26px;
}

.form{
  margin-top:10px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(134,217,255,.35);
  background:radial-gradient(circle at top,rgba(134,217,255,.12),rgba(5,8,22,.95));
  box-shadow:0 22px 50px rgba(0,0,0,.7);
}

.row2{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:10px;
}

label{
  font-size:13px;
  color:#c8d6ff;
}

input,
textarea,
select{
  width:100%;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(9,13,32,.95);
  color:var(--text);
  padding:9px 11px;
  font-size:14px;
}

textarea{
  min-height:96px;
  resize:vertical;
}

input::placeholder,
textarea::placeholder{
  color:#6f7fb0;
}

input:focus,
textarea:focus,
select:focus{
  outline:none;
  border-color:var(--accent1);
  box-shadow:0 0 0 3px var(--ring);
}

/* Tags */

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}

.tag{
  position:relative;
  display:inline-flex;
  align-items:center;
  cursor:pointer;
}

.tag input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.tag span{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(134,217,255,.35);
  background:rgba(10,18,42,.9);
  font-size:13px;
  color:#cbe2ff;
  transition:background .18s,border-color .18s,transform .12s,color .18s,box-shadow .18s;
}

.tag:has(input:checked) span{
  background:linear-gradient(120deg,#86d9ff,#79f2c2);
  color:#04101f;
  border-color:transparent;
  font-weight:600;
  transform:translateY(-1px);
}

/* --- UPDATED: Footer --- */

.footer{
  background:rgba(5,8,22,.65); /* Glassmorphism */
  backdrop-filter:blur(24px);
  border-top:1px solid rgba(134, 217, 255, 0.2); /* Accent border */
  padding:18px 0 26px;
  margin-top:40px;
  font-size:12px;
  color:var(--muted);
}

.footer .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Demo Chat */

.demo-shell{
  margin-top:20px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:radial-gradient(circle at top,rgba(134,217,255,.16),rgba(5,8,22,.98));
  box-shadow:0 22px 50px rgba(0,0,0,.8);
  padding:14px 16px;
}

.demo-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  font-size:12px;
  color:var(--muted);
}

.demo-chat{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:280px;
  overflow:auto;
  padding-right:4px;
}

.bubble{
  padding:8px 11px;
  border-radius:14px;
  max-width:88%;
  font-size:13px;
  line-height:1.4;
}

.bubble.user{
  align-self:flex-end;
  background:rgba(134,217,255,.18);
  border:1px solid rgba(134,217,255,.5);
}

.bubble.ai{
  align-self:flex-start;
  background:rgba(8,12,30,.96);
  border:1px solid rgba(121,242,194,.25);
}

.demo-typing{
  height:18px;
  display:flex;
  align-items:center;
  gap:4px;
  font-size:11px;
  color:var(--muted);
}

/* ---------- Responsive upgrades ---------- */

@media(min-width:720px){
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
  .usegrid.two-cols{
    grid-template-columns:repeat(2,1fr);
  }
}

/* --- Demo Page Chat UI (matches homepage chat) --- */

.demo-shell{
  margin-top:20px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:radial-gradient(circle at top,rgba(134,217,255,.16),rgba(5,8,22,.98));
  box-shadow:0 22px 50px rgba(0,0,0,.8);
  padding:16px;
}

.demo-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
  font-size:13px;
  color:var(--muted);
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: none;            /* ← remove scrollbox */
  overflow: visible;           /* ← remove scrollbox completely */
  padding-right: 4px;
}


.bubble{
  max-width:85%;
  padding:10px 14px;
  border-radius:16px;
  font-size:14px;
  line-height:1.45;
  opacity:0;
  transform:translateY(6px);
  transition:opacity .25s ease, transform .25s ease;
}

.bubble.show {
  opacity: 1;
  transform: translateY(0);
}

.bubble.user{
  align-self:flex-end;
  background:rgba(134,217,255,.15);
  border:1px solid rgba(134,217,255,.35);
}

.bubble.ai{
  align-self:flex-start;
  background:rgba(8,12,30,.96);
  border:1px solid rgba(121,242,194,.22);
}

.demo-typing{
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}

/* Remove underlines in menu cards */
.menucard h3,
.menucard p {
  text-decoration: none;
}

.menucard {
  text-decoration: none !important;
  color: var(--text);
}

.menucard:hover h3,
.menucard:hover p {
  text-decoration: none;
}


/* ### NEW MENU PAGE STYLES ### */

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}

.nav-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-soft);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.nav-list-item:hover {
  background: var(--card);
  border-color: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.nav-list-content h3 {
  margin: 0 0 4px;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

.nav-list-content p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.nav-list-arrow {
  font-size: 22px;
  color: var(--accent1);
  opacity: 0.6;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-list-item:hover .nav-list-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Primary CTA item in list */
.nav-list-item.primary {
  background: linear-gradient(120deg, var(--accent1), var(--accent3));
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(0,0,0,.6);
}

.nav-list-item.primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,.7);
}

.nav-list-item.primary .nav-list-content h3 {
  color: #04101f;
}

.nav-list-item.primary .nav-list-content p {
  color: #04101f;
  opacity: .85;
}

.nav-list-item.primary .nav-list-arrow {
  color: #04101f;
  opacity: 1;
}

/* --- NEW MODE TOGGLE STYLES --- */
.mode-toggle-wrap {
  display: flex;
  justify-content: center; /* Center the entire toggle component */
  margin-top: 15px; /* Space below the main subtitle */
  margin-bottom: 20px; /* Space above the CTA or next content */
}

.mode-toggle-wrap .toggle-btn-group {
  display: flex;
  background: var(--card); /* Dark background for the group */
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, .4);
}

.toggle-btn {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
  background: transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.toggle-btn:hover {
  color: var(--text);
  background: var(--card-soft);
}

.toggle-btn.active {
  color: #04101f;
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  box-shadow: 0 4px 10px rgba(121, 242, 194, .3); /* Accent shadow */
  font-weight: 600;
}

/* --- STYLES FOR NEW SELECTION PAGE (index.html) --- */
.selection-hero {
  padding: 80px 0 100px;
  text-align: center;
  max-width: 1000px; /* Wider max-width */
  margin: 0 auto;
}
.selection-hero h1 {
  font-size: clamp(50px, 12vw, 96px); /* SIGNIFICANTLY LARGER */
  line-height: 1;
  margin-bottom: 25px;
  font-weight: 900;
  text-shadow: 0 0 15px rgba(134, 217, 255, 0.2); /* Subtle text glow */
}
.selection-hero .lead {
  font-size: clamp(18px, 4vw, 24px); /* Larger lead text */
  margin-bottom: 60px; /* Increased separation */
  color: var(--muted);
  opacity: .95;
  font-weight: 500;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.selection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px; /* More space */
  margin-top: 40px;
}
@media (min-width: 720px) {
  .selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- UPDATED: Selection Card --- */
.selection-card {
  border-radius: 20px;
  padding: 40px 30px; /* Taller card */
  text-align: left;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  text-decoration: none;
  color: var(--text);
  
  background: rgba(13, 21, 40, 0.75); /* Glassmorphism */
  backdrop-filter: blur(24px); /* Stronger blur */
  border: 1px solid rgba(134, 217, 255, 0.2); /* Accent border */
  z-index: 2;
  box-shadow: 0 8px 30px rgba(0,0,0,.7); /* Deeper shadow */
}

/* --- REMOVED: .glowing-border and .card-content wrappers --- */

.selection-card:hover {
  transform: translateY(-10px); /* More dramatic lift */
  box-shadow: 0 25px 60px rgba(0,0,0,.9), 0 0 20px var(--accent1); /* Stronger glow for business */
}
.selection-card.card-personal:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,.9), 0 0 20px var(--accent2); /* Stronger glow for personal */
}
.selection-card h2 {
  font-size: 32px; /* Larger title */
  margin-top: 0;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(121, 242, 194, 0.4); /* Neon title glow */
}
.selection-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.selection-card .icon {
  font-size: 50px; /* Larger icon */
  line-height: 1;
  margin-bottom: 25px;
  color: var(--accent3); 
}

/* Business Mode Styling */
.card-business {
  border-color: var(--accent1);
}

/* Personal Mode Styling */
.card-personal {
  border-color: var(--accent2);
}


/* Button Overrides */
.selection-card .btn.alt {
  padding: 12px 25px;
  background: linear-gradient(120deg, var(--accent1), var(--accent3));
  color: #04101f;
  border: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,.7);
  transform: translateY(0);
  opacity: 0.98;
  transition: opacity .2s ease;
}
.selection-card:hover .btn.alt {
  opacity: 1;
}

/* --- NEW: Menu Page Card Container --- */
.menu-card-container {
  max-width: 720px;
  margin: 30px auto;
}

/* --- UPDATED: Menu Card --- */
.menu-card {
  background: rgba(13, 21, 40, 0.75); /* Glassmorphism */
  backdrop-filter: blur(24px); /* Stronger blur */
  border: 1px solid rgba(134, 217, 255, 0.2); /* Accent border */
  border-radius: 20px;
  padding: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
}

@media (min-width: 720px) {
  .menu-card {
    padding: 30px;
  }
}

/* --- NEW: Sitemap Styles --- */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}
@media (min-width: 720px) {
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .sitemap-grid {
    grid-template-columns: repeat(3, 1fr); /* Three columns on large screens */
  }
}
.sitemap-column h2 {
  font-size: 22px;
  color: var(--accent1);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(134, 217, 255, 0.2);
  padding-bottom: 10px;
}
.sitemap-column.personal h2 {
  color: var(--accent2);
}
.sitemap-column.shared h2 {
  color: var(--accent3);
}

/* --- NEW: Blog Post Styles --- */
.blog-post-card {
    max-width: 800px;
    margin: 40px auto 60px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(13, 21, 40, 0.75); /* Glassmorphism */
    backdrop-filter: blur(24px); /* Stronger blur */
    border: 1px solid rgba(134, 217, 255, 0.2); /* Accent border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.blog-post-card h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.2;
}
.blog-body p, .blog-body li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 18px;
}
.blog-body h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--accent1);
    font-weight: 600;
}
.blog-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}
.blog-image {
    width: 90%; /* Sized down slightly */
    height: auto;
    border-radius: 12px;
    margin: 25px auto; /* Centered and moved */
    opacity: 0.9;
    display: block;
}
.cta-container {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- NEW: Scroll-to-Reveal Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---
FINALLY: The Correct Logo Grid Fix
--- */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; /* Spreads logos out */
  align-items: center;
  gap: 20px; /* Gap between logos */
  padding: 15px 0; /* Padding top/bottom */
}
.logo-grid img {
  height: 90px; /* MUCH larger logos */
  width: auto;
  opacity: 0.9;
  filter: none; /* Remove the global white filter */
  transition: opacity 0.3s ease;
}
.logo-grid img:hover {
  opacity: 1;
}

/* Specific fix for the BLACK Sage logo */
.logo-grid img[src="logo-sage.png"] {
  filter: brightness(0) invert(1); /* Applies white filter ONLY to Sage */
  opacity: 0.8; 
}
.logo-grid img[src="logo-sage.png"]:hover {
  opacity: 1;
}

/* Temporary fix for the Google logo's WHITE background */
.logo-grid img[src="logo-google.png"] {
  border-radius: 50%; /* Makes the white box a circle */
  height: 85px; /* Adjust height to match */
}

/* Fix for the Apple Health logo (it's white on white) */
.logo-grid img[src="logo-apple-health.png"] {
  background: rgba(255,255,255,.1);
  border-radius: 22%;
}

/* ---
================================
NEW STYLES FOR SPLASH PAGE (index.html)
================================
--- */

/* Special body tag for the splash page */
.splash-page-body {
  overflow: hidden; /* Prevents scrolling on the splash page */
}

/* Main logo, centered at the top */
.splash-logo-main {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.splash-logo-main:hover {
  opacity: 1;
}
.splash-logo-main img {
  width: 30px;
  height: 30px;
}

/* The main container holding the two panels */
.split-container {
  display: flex;
  width: 100vw;
  height: 100vh;
  background: #000;
}

.split-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: flex 0.7s cubic-bezier(0.61, .04, .2, .99);
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: var(--text);
}

/* The dark overlay on each panel */
.split-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.8));
  transition: background 0.5s ease;
}

/* Specific panel backgrounds */
.split-panel.business {
  /* Uses the "before/after" image of the stressed manager */
  background-image: url('blog-eod-report.jpg');
}
.split-panel.personal {
  /* Uses the "before/after" image of the person with bills */
  background-image: url('blog-finance-clarity.jpg');
}

/* Content (title, tagline, button) */
.split-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
}

.split-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.split-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  margin: 10px 0 25px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  max-width: 300px;
}

.split-button {
  padding: 14px 30px;
  font-size: 16px;
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
  opacity: 0.8;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

/* ---
INTERACTIVE HOVER EFFECTS
--- */

/* When hovering a panel, it grows */
.split-panel:hover {
  flex: 3; /* Grow */
}

/* The button and overlay fade in/up on hover */
.split-panel:hover .split-button {
  opacity: 1;
  transform: translateY(0);
}
.split-panel:hover .split-overlay {
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

/* Specific accent colors on hover */
.split-panel.business:hover .split-title {
  color: var(--accent1); /* Business blue */
}
.split-panel.business:hover .split-button {
  background: var(--accent1);
  color: #04101f;
  border-color: var(--accent1);
}

.split-panel.personal:hover .split-title {
  color: var(--accent2); /* Personal purple */
}
.split-panel.personal:hover .split-button {
  background: var(--accent2);
  color: #04101f;
  border-color: var(--accent2);
}

/* ---
MOBILE STYLES
--- */
@media (max-width: 768px) {
  .split-container {
    flex-direction: column; /* Stack vertically on mobile */
  }
  
  .splash-logo-main {
    font-size: 20px;
  }
  .splash-logo-main img {
    width: 24px;
    height: 24px;
  }

  /* On mobile, the hover effect is meaningless */
  /* so we just make the content visible */
  .split-panel:hover {
    flex: 1; /* Don't grow */
  }
  
  .split-button {
    opacity: 1;
    transform: translateY(0);
  }
  
  .split-panel.business .split-button {
    background: var(--accent1);
    color: #04101f;
    border-color: var(--accent1);
  }
  .split-panel.personal .split-button {
    background: var(--accent2);
    color: #04101f;
    border-color: var(--accent2);
  }
}

/* ---
================================
NEW STYLES FOR index.html BUTTONS
================================
--- */

/* This container splits the buttons */
.ctas-split {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 15px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .ctas-split {
    grid-template-columns: 1fr 1fr; /* Side-by-side on desktop */
  }
}

/* This styles the big buttons */
.btn-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px 20px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.btn-split .btn-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.btn-split .btn-sub {
  font-size: 14px;
  opacity: 0.8;
}

/* Specific button colors */

/* Business Button */
.btn-split:not(.alt) {
  background: var(--accent1);
  color: #04101f;
  border: 1px solid var(--accent1);
}
.btn-split:not(.alt):hover {
  background: var(--accent1);
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(134, 217, 255, 0.3);
}

/* Personal Button */
.btn-split.alt {
  border: 1px solid var(--accent2);
  background: transparent;
  color: var(--accent2);
}
.btn-split.alt .btn-sub {
  color: var(--muted);
}
.btn-split.alt:hover {
  background: rgba(168, 180, 255, 0.1);
  color: var(--accent2);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(168, 180, 255, 0.2);
}

/* ---
================================
NEW "EPIC" HOMEPAGE STYLES (index.html)
================================
--- */

.fullscreen-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 900px; /* Wider than before */
  margin: 0 auto;
  padding: 6vh 0; /* Vertical padding */
  min-height: calc(100vh - 150px); /* 100vh minus nav/footer */
}

.fullscreen-hero h1 {
  font-size: clamp(50px, 12vw, 96px); /* MUCH BIGGER */
  font-weight: 900;
  margin: 0 0 15px 0;
  line-height: 1;
}

/* This is the random tagline */
.fullscreen-hero #rotating-tagline {
  font-size: clamp(24px, 5vw, 32px); /* Bigger tagline */
  font-weight: 500;
  color: var(--text);
  margin: 0 0 30px 0;
  line-height: 1.2;
}

.fullscreen-hero .lead {
  font-size: 18px; /* Bigger lead text */
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px; /* More space */
}

/* Tweak button container for this new layout */
.fullscreen-hero .ctas-split {
  width: 100%;
  max-width: 800px;
}

/* ---
================================
STYLES FOR index.html BUTTONS
================================
--- */

/* This container splits the buttons */
.ctas-split {
  display: grid;
  grid-template-columns: 1fr; /* Stack on mobile */
  gap: 15px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .ctas-split {
    grid-template-columns: 1fr 1fr; /* Side-by-side on desktop */
  }
}

/* This styles the big buttons */
.btn-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px 20px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
}

.btn-split .btn-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.btn-split .btn-sub {
  font-size: 14px;
  opacity: 0.8;
}

/* Specific button colors */

/* Business Button */
.btn-split:not(.alt) {
  background: var(--accent1);
  color: #04101f;
  border: 1px solid var(--accent1);
}
.btn-split:not(.alt):hover {
  background: var(--accent1);
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(134, 217, 255, 0.3);
}

/* Personal Button */
.btn-split.alt {
  border: 1px solid var(--accent2);
  background: transparent;
  color: var(--accent2);
}
.btn-split.alt .btn-sub {
  color: var(--muted);
}
.btn-split.alt:hover {
  background: rgba(168, 180, 255, 0.1);
  color: var(--accent2);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(168, 180, 255, 0.2);
}
