/* ==========================================================================
   MIND SPRING SOFTWARE & MEDIA - Core Stylesheet (Redesigned Sharp Blue Theme)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Brand CSS Variables --- */
:root {
  --primary-deep: #0A3663;      /* Navy Blue from MindSpring Logo */
  --accent-cyan: #2A9BD3;       /* Electric Cyan/Teal from Brand */
  --accent-coral: #DB5B32;      /* Bright Coral Orange from Logo */
  --accent-gold: #FA9E55;       /* Golden Peach */
  
  /* Theme Backgrounds - Logo Blue Mode */
  --bg-main: #0A3663;           /* Vibrant Logo Blue */
  --bg-card: #FFFFFF;           /* White card boxes */
  --bg-card-hover: #F8FAFC;     /* Light Grey card hover state */
  --glass-bg: rgba(10, 54, 99, 0.95);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-glow: rgba(219, 91, 50, 0.08);

  /* Typography */
  --text-main: #FFFFFF;         /* White text for main areas on blue background */
  --text-muted: #CBD5E1;        /* Light Grey muted text on blue */
  --text-white: #FFFFFF;        /* Pure White for Headings on blue */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Borders */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 16px;
  --card-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 25px 50px -15px rgba(0, 0, 0, 0.35), 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent-coral);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Background Ambient Glows (Modified for Sharp Blue Background) */
.ambient-glow-1 {
  position: absolute;
  top: 5%;
  left: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(42, 155, 211, 0.12) 0%, rgba(10,54,99,0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: absolute;
  top: 40%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(219, 91, 50, 0.1) 0%, rgba(10,54,99,0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(90px);
}

.ambient-glow-3 {
  position: absolute;
  bottom: 10%;
  left: 15%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, rgba(42, 155, 211, 0.12) 0%, rgba(10,54,99,0) 70%);
  z-index: -2;
  pointer-events: none;
  filter: blur(70px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text-white); }
h3 { font-size: 1.6rem; margin-bottom: 1rem; color: var(--text-white); }
p { margin-bottom: 1.25rem; font-weight: 400; color: var(--text-main); }

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-coral {
  background: linear-gradient(135deg, var(--accent-coral) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Layout & Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
  padding: 6.5rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

/* --- Card & Panel Redesign (Lighter Cards for Contrast) --- */
.glass-panel {
  background: var(--bg-card);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  color: var(--primary-deep);
}

.glass-panel h1, .glass-panel h2, .glass-panel h3, .glass-panel h4, .glass-panel h5, .glass-panel h6 {
  color: var(--primary-deep);
}

.glass-panel p, .glass-panel li, .glass-panel ul li span {
  color: var(--primary-deep);
}

.glass-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(219, 91, 50, 0.25);
}

.glass-panel-coral {
  border-color: rgba(219, 91, 50, 0.15);
}
.glass-panel-coral:hover {
  border-color: rgba(219, 91, 50, 0.35);
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-coral) 0%, #B8401C 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(219, 91, 50, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 91, 50, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-coral);
  border: 1.5px solid var(--accent-coral);
}

.btn-secondary:hover {
  background: var(--accent-coral);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-coral {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-coral) 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 15px rgba(219, 91, 50, 0.25);
}

.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 91, 50, 0.35);
}

/* --- Navigation Header & Spilling Logo Banner --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  background: rgba(10, 54, 99, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
  position: relative;
}

/* Spilling Logo Banner Wrapper */
.logo-banner-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px; /* Exact size matching the logo to remove cushion */
  background: linear-gradient(180deg, #FFFFFF 0%, #EBF4FC 100%);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* Removed cushion */
  z-index: 1001;
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo-banner-wrapper {
  height: 130px; /* Shrinks cleanly on scroll */
  width: 130px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.logo-banner-img {
  width: 270px;
  height: 270px; /* Exact 270x270px logo size */
  object-fit: contain;
  mix-blend-mode: multiply; /* Removes white background on centered logo */
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo-banner-img {
  width: 195px;
  height: 195px; /* Shrinks cleanly on scroll */
}

/* Push Navigation menu to the right to clear logo banner */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.85rem; /* Tighter gap to fit oval buttons */
  margin-left: 200px; /* Leave room for absolute logo banner */
  align-items: center;
}

/* Oval Nav Buttons */
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--accent-coral); /* Orange from logo */
  border-radius: 50px;
  background: transparent;
  text-align: center;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: var(--accent-coral) !important;
  border-color: var(--accent-coral) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(219, 91, 50, 0.35);
  transform: translateY(-1px);
}

.nav-link:active {
  background: #B8401C !important;
  border-color: #B8401C !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(1px);
}

/* Position Login button at the far end */
.nav-menu li:last-child {
  margin-left: auto;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #FFFFFF;
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(42, 155, 211, 0.12) 0%, rgba(10,54,99,0) 60%);
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 3.8rem;
  font-weight: 800;
  color: #FFFFFF;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-main);
  max-width: 550px;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 16/10;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  animation: float 6s ease-in-out infinite;
}

.hero-lobby-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  background: #F8FAFC;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 65%;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--accent-coral);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-radius: var(--border-radius);
  animation: float-delayed 6s ease-in-out infinite;
}

.hero-overlay-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-deep);
}

.hero-overlay-card p {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

/* --- About Mind Spring --- */
.about-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-label {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-img-box {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border: 1px solid var(--glass-border);
  position: relative;
  aspect-ratio: 16/10;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-img-box:hover .about-img {
  transform: scale(1.03);
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.25rem;
}

.stat-item {
  border-left: 3px solid var(--accent-coral);
  padding-left: 1.25rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: var(--font-heading);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- What We Do (Services) --- */
.services-section {
  background: radial-gradient(circle at center, rgba(56, 239, 125, 0.05) 0%, rgba(6, 11, 22, 0) 70%);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 239, 125, 0.1);
  border: 1.5px solid rgba(56, 239, 125, 0.25);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-card p {
  color: var(--primary-deep);
}

/* --- Software & AI Section --- */
.ai-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(255, 255, 255, 0.02) 50%, var(--bg-main) 100%);
}

.ai-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ai-pill {
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: var(--transition-smooth);
  cursor: default;
}

.ai-pill:hover {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

/* --- Featured Products / Our Latest Software --- */
.software-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.software-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-width: 1.5px;
}

.software-banner {
  height: 240px;
  background: #F8FAFC;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 73, 110, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.software-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.software-status-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 3;
}

/* EFAI-G Custom Theme styling */
/* EFAI-G Custom Theme styling */
.card-efaig {
  border-color: rgba(56, 239, 125, 0.15);
}
.card-efaig:hover {
  border-color: #38EF7D;
  box-shadow: 0 20px 45px rgba(56, 239, 125, 0.15);
}
.card-efaig .software-banner {
  background: radial-gradient(circle at center, rgba(56, 239, 125, 0.08) 0%, rgba(248, 250, 252, 0.95) 100%);
}
.card-efaig .software-status-tag {
  background: rgba(56, 239, 125, 0.1);
  color: #1E824C;
  border: 1.5px solid rgba(56, 239, 125, 0.25);
}

/* Foodie Biz Custom Theme styling */
.card-foodie {
  border-color: rgba(245, 130, 32, 0.15);
}
.card-foodie:hover {
  border-color: #F58220;
  box-shadow: 0 20px 45px rgba(245, 130, 32, 0.15);
}
.card-foodie .software-banner {
  background: radial-gradient(circle at center, rgba(245, 130, 32, 0.08) 0%, rgba(248, 250, 252, 0.95) 100%);
}
.card-foodie .software-status-tag {
  background: rgba(245, 130, 32, 0.1);
  color: #F58220;
  border: 1.5px solid rgba(245, 130, 32, 0.2);
}

/* Dragonfly Custom Theme styling */
.card-dragonfly {
  border-color: rgba(0, 180, 216, 0.15);
}
.card-dragonfly:hover {
  border-color: #00B4D8;
  box-shadow: 0 20px 45px rgba(0, 180, 216, 0.15);
}
.card-dragonfly .software-banner {
  background: radial-gradient(circle at center, rgba(0, 180, 216, 0.08) 0%, rgba(248, 250, 252, 0.95) 100%);
}
.card-dragonfly .software-status-tag {
  background: rgba(0, 180, 216, 0.1);
  color: #0F4B75;
  border: 1.5px solid rgba(0, 180, 216, 0.2);
}

/* Cosmos Project Custom Theme styling */
.card-cosmos {
  border-color: rgba(142, 45, 226, 0.15);
}
.card-cosmos:hover {
  border-color: #8E2DE2;
  box-shadow: 0 20px 45px rgba(142, 45, 226, 0.15);
}
.card-cosmos .software-banner {
  background: radial-gradient(circle at center, rgba(142, 45, 226, 0.08) 0%, rgba(248, 250, 252, 0.95) 100%);
}
.card-cosmos .software-status-tag {
  background: rgba(142, 45, 226, 0.12);
  color: #8E2DE2;
  border: 1.5px solid rgba(142, 45, 226, 0.25);
}

.software-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.software-card h3 {
  color: var(--primary-deep);
  font-size: 1.5rem;
}

.software-card p {
  flex-grow: 1;
  color: var(--primary-deep); /* Dark blue from logo */
  margin-bottom: 1.75rem;
}

/* --- Partners Section --- */
.partners-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0;
}

.coming-soon-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0.5;
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0% { opacity: 0.3; text-shadow: 0 0 10px rgba(255,255,255,0); }
  50% { opacity: 0.7; text-shadow: 0 0 20px rgba(255,255,255,0.4); }
  100% { opacity: 0.3; text-shadow: 0 0 10px rgba(255,255,255,0); }
}

/* --- Business Section --- */
.business-cards {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.upcoming-title-item {
  border-bottom: 1px solid rgba(10, 54, 99, 0.08);
  padding: 1.1rem 0;
}

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

.upcoming-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  color: var(--primary-deep);
}

.upcoming-meta strong {
  color: var(--primary-deep); /* Dark blue from logo */
}

.funding-progress {
  width: 100%;
  height: 6px;
  background: rgba(10, 54, 99, 0.08);
  border-radius: 10px;
  margin-top: 0.6rem;
  overflow: hidden;
}

.funding-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-coral), var(--accent-gold));
  border-radius: 10px;
}

/* --- Human Resources Section --- */
.hr-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hr-card-accent {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- Latest News Section --- */
.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card h3 {
  font-size: 1.35rem;
  color: var(--primary-deep);
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 0.75rem;
}

.blog-card p {
  color: var(--primary-deep); /* Dark blue from logo */
  flex-grow: 1;
}

.blog-card-link {
  color: var(--accent-coral);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  transition: var(--transition-smooth);
}

.blog-card-link:hover {
  color: var(--primary-deep);
  transform: translateX(4px);
}

/* --- Modal Overlay & Form Controls --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 17, 30, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  width: 90%;
  max-width: 550px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(15px);
  transition: var(--transition-smooth);
  color: var(--text-main);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-content h3 {
  color: var(--text-white);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-title {
  margin-bottom: 1.5rem;
  border-bottom: 1.5px solid rgba(0, 73, 110, 0.08);
  padding-bottom: 0.75rem;
  color: var(--primary-deep);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(6, 11, 22, 0.55);
  border: 1.5px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(6, 11, 22, 0.8);
  box-shadow: 0 0 10px rgba(56, 239, 125, 0.15);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- Social Media Connect & Contact --- */
.contact-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 73, 110, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: #64748B;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.social-item svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
  margin-bottom: 0.5rem;
}

.social-item span {
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.social-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.social-item.facebook:hover { color: #3b5998; border-color: #3b5998; background: rgba(59, 89, 152, 0.03); }
.social-item.x:hover { color: #000000; border-color: #000000; background: rgba(0,0,0,0.02); }
.social-item.youtube:hover { color: #cd201f; border-color: #cd201f; background: rgba(205, 32, 31, 0.03); }
.social-item.linkedin:hover { color: #0077b5; border-color: #0077b5; background: rgba(0, 119, 181, 0.03); }

.contact-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.submit-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

.outbox-console-wrapper {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
}

.console-header {
  background: rgba(6, 11, 22, 0.55);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--glass-border);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
}

.console-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

.console-body {
  background: #020617;
  padding: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  color: #10B981;
  min-height: 120px;
  max-height: 250px;
  overflow-y: auto;
}

.console-entry {
  margin-bottom: 1rem;
  border-bottom: 1px dashed rgba(16, 185, 129, 0.2);
  padding-bottom: 0.5rem;
}

/* --- Footer --- */
.site-footer {
  background: #030712;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-muted);
  margin-top: auto;
}

.site-footer h4 {
  color: var(--text-white);
}

.site-footer p {
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
  text-align: center;
}

.footer-logo {
  height: 120px;
  display: block;
  margin: 0 auto 1.5rem auto;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: var(--text-white);
  text-align: center;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent-coral);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--accent-coral);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Auxiliary Template Hero --- */
.page-hero {
  padding-top: 150px;
  padding-bottom: 4.5rem;
  background: linear-gradient(180deg, rgba(10, 54, 99, 0.2) 0%, rgba(10,54,99,0) 100%);
  text-align: center;
}

.page-hero h1 {
  color: #FFFFFF;
}

/* --- Support Page Styles --- */
.support-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  margin-bottom: 6rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0,0,0,0.01);
  color: #334155;
}

.faq-header {
  padding: 1.35rem 1.5rem;
  background: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-deep);
}

.faq-header:hover {
  background: #F8FAFC;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--accent-coral);
  transition: var(--transition-smooth);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.5rem;
  color: #475569;
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--accent-coral);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* AI Chat Console Styles */
.ai-console-card {
  display: flex;
  flex-direction: column;
  height: 520px;
}

.ai-chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #F8FAFC;
  border-radius: 8px;
  border: 1px solid rgba(0, 73, 110, 0.06);
  margin-bottom: 1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.chat-bubble.ai {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 73, 110, 0.08);
  color: #0F172A;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.chat-bubble.user {
  background: linear-gradient(135deg, var(--accent-coral) 0%, #B8401C 100%);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 10px rgba(219, 91, 50, 0.15);
}

.ai-chat-input-wrapper {
  display: flex;
  gap: 0.75rem;
}

/* --- Legal Page Styles --- */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  margin-bottom: 6rem;
}

.legal-sidebar {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.legal-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-menu-link {
  display: block;
  padding: 0.65rem 1rem;
  color: #E2E8F0;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  border-left: 3px solid transparent;
}

.legal-menu-link:hover, .legal-menu-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--accent-coral);
}

.legal-content-card {
  padding: 3.5rem;
  color: #334155;
  background: #FFFFFF;
}

.legal-content-card h2 {
  color: var(--primary-deep);
}

.legal-content-card p {
  color: #475569;
}

.legal-article {
  margin-bottom: 4rem;
  border-bottom: 1.5px solid rgba(0, 73, 110, 0.08);
  padding-bottom: 3.5rem;
}

.legal-article:last-child {
  border-bottom: none;
}

.legal-article h2 {
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  color: var(--primary-deep);
}

.legal-article h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  color: var(--accent-coral);
}

.legal-article p {
  color: #475569;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.legal-article ul {
  list-style-type: square;
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #475569;
}

.legal-article li {
  margin-bottom: 0.5rem;
}

.search-highlight {
  background: rgba(250, 158, 85, 0.25);
  color: #000000;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 600;
}

/* --- Careers Page Styles --- */
.careers-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  margin-bottom: 6rem;
}

.job-card {
  margin-bottom: 1.75rem;
  background: #FFFFFF;
  color: #334155;
}

.job-card h3 {
  color: var(--primary-deep);
}

.job-card p {
  color: #475569;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.job-meta-pills {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.job-pill {
  padding: 0.25rem 0.85rem;
  background: #F8FAFC;
  border: 1px solid rgba(0, 73, 110, 0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  color: #64748B;
}

.job-pill.highlight {
  color: var(--accent-coral);
  border-color: rgba(219, 91, 50, 0.15);
  background: rgba(219, 91, 50, 0.02);
}

.job-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}

.profile-summary-box {
  text-align: center;
}

.user-avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-coral));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Simulated Email Popup Overlay */
.inbox-alert-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 73, 110, 0.12);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  color: #334155;
  max-width: 500px;
  width: 90%;
}

.inbox-header {
  background: #F8FAFC;
  border-bottom: 1.5px solid rgba(0, 73, 110, 0.08);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inbox-icon {
  color: var(--accent-gold);
}

.inbox-subject {
  font-weight: 700;
  color: var(--primary-deep);
}

.inbox-body {
  padding: 1.25rem 1rem;
  background: #FFFFFF;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   COMPANY DASHBOARD & LOGINS ADDITIONS
   ========================================================================== */

/* Login Modal Specifics */
.login-modal-content {
  max-width: 420px;
  padding: 3rem 2.5rem;
  border-top: 4px solid var(--accent-coral);
}

.login-error-msg {
  display: none;
  font-size: 0.85rem;
  color: var(--accent-coral);
  background: rgba(219, 91, 50, 0.08);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(219, 91, 50, 0.15);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

/* Full Screen Company Dashboard Panel */
.dashboard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F1F5F9;
  z-index: 3000;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  font-family: var(--font-body);
  color: #334155;
}

.dashboard-overlay h1, .dashboard-overlay h2, .dashboard-overlay h3, .dashboard-overlay h4, .dashboard-overlay h5, .dashboard-overlay h6 {
  color: var(--primary-deep);
}

.dashboard-overlay p {
  color: #475569;
}

.dashboard-overlay.active {
  display: flex;
}

.dash-header {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 73, 110, 0.08);
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.dash-user-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-deep);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.dash-body {
  flex-grow: 1;
  padding: 3rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Dashboard Tabs Navigation */
.dash-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid rgba(0, 73, 110, 0.06);
  margin-bottom: 2.5rem;
}

.dash-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #64748B;
  padding: 0.75rem 0.25rem 1rem 0.25rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.dash-tab-btn:hover {
  color: var(--primary-deep);
}

.dash-tab-btn.active {
  color: var(--primary-deep);
}

.dash-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-coral);
  border-radius: 10px;
}

.dash-tab-content {
  display: none;
}

.dash-tab-content.active {
  display: block;
}

/* Analytics Stats Grid */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dash-stat-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 73, 110, 0.06);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.dash-stat-card h4 {
  font-size: 0.85rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.dash-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1;
}

/* SVG Chart Visualizers */
.dash-chart-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 73, 110, 0.06);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 3rem;
}

.dash-chart-container {
  width: 100%;
  height: 280px;
  margin-top: 1.5rem;
  position: relative;
}

.svg-chart-path {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-chart-grid {
  stroke: rgba(0, 73, 110, 0.05);
  stroke-width: 1;
}

.svg-chart-bar {
  fill: var(--accent-coral);
  rx: 4;
}

.svg-chart-bar:hover {
  fill: var(--accent-gold);
}

/* Modern Dashboard Tables */
.dash-table-wrapper {
  background: #FFFFFF;
  border: 1px solid rgba(0, 73, 110, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dash-table th {
  background: #F8FAFC;
  padding: 1rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-deep);
  border-bottom: 1.5px solid rgba(0, 73, 110, 0.08);
}

.dash-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 73, 110, 0.04);
  font-size: 0.95rem;
  color: #475569;
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dash-badge.blue { background: rgba(42, 155, 211, 0.1); color: var(--accent-cyan); }
.dash-badge.orange { background: rgba(219, 91, 50, 0.1); color: var(--accent-coral); }
.dash-badge.green { background: rgba(46, 204, 113, 0.1); color: #1E824C; }
.dash-badge.purple { background: rgba(142, 45, 226, 0.1); color: #8E2DE2; }

/* Dashboard Actions */
.btn-icon-delete {
  background: none;
  border: none;
  color: var(--accent-coral);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}
.btn-icon-delete:hover {
  color: #B91C1C;
}

.btn-icon-edit {
  background: none;
  border: none;
  color: var(--accent-cyan);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 1rem;
  transition: var(--transition-smooth);
}
.btn-icon-edit:hover {
  color: var(--primary-deep);
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .legal-layout { grid-template-columns: 200px 1fr; }
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .mobile-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 85px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 85px);
    background: var(--primary-deep);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    margin-left: 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hero-section {
    padding-top: 120px;
    text-align: center;
  }
  
  .hero-text {
    margin: 0 auto 2rem auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 3rem;
  }
  
  .logo-banner-wrapper {
    left: 1rem;
    width: 140px;
    height: 105px;
  }
  
  .software-grid { grid-template-columns: 1fr; }
  .business-cards { grid-template-columns: 1fr; }
  .support-layout { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .careers-layout { grid-template-columns: 1fr; }
  .dash-stats-grid { grid-template-columns: 1fr; }
  .dash-header { padding: 1rem 1.5rem; }
  .dash-body { padding: 1.5rem; }
  
  .legal-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 2rem;
  }
  
  .legal-sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
