/* ===== LOAN HOUSE CENTRAL FLORIDA - Premium Light Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #ffffff;
  --primary-dark: #f7f8fc;
  --accent: #1a56db;
  --accent-light: #3b7dff;
  --accent-glow: rgba(26, 86, 219, 0.18);
  --gold: #b88a2e;
  --gold-light: #d4a843;
  --text: #1a1f36;
  --text-muted: #6b7a99;
  --text-secondary: #4a5578;
  --surface: rgba(26, 86, 219, 0.04);
  --surface-border: rgba(26, 86, 219, 0.1);
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(26, 86, 219, 0.12);
  --gradient-accent: linear-gradient(135deg, #1a56db, #3b7dff);
  --gradient-gold: linear-gradient(135deg, #b88a2e, #d4a843);
  --gradient-light: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.08);
  --shadow-glow: 0 8px 30px rgba(26, 86, 219, 0.13);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== UTILITY ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATED BG ===== */
.bg-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-particles .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.bg-particles .orb:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -10%; left: -5%;
}

.bg-particles .orb:nth-child(2) {
  width: 400px; height: 400px;
  background: #6c5ce7;
  top: 40%; right: -10%;
  animation-delay: -7s;
}

.bg-particles .orb:nth-child(3) {
  width: 350px; height: 350px;
  background: var(--gold);
  bottom: -5%; left: 30%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== ICONS ===== */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box.blue   { background: rgba(26, 86, 219, 0.1); color: var(--accent); }
.icon-box.purple { background: rgba(108, 92, 231, 0.1); color: #6c5ce7; }
.icon-box.gold   { background: rgba(184, 138, 46, 0.1); color: var(--gold); }
.icon-box.green  { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.icon-box.rose   { background: rgba(244, 63, 94, 0.12); color: #f43f5e; }

.icon-box i { font-size: 20px; }
.icon-box.lg { width: 56px; height: 56px; }
.icon-box.lg i { font-size: 24px; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-logo .logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--surface-border);
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--surface);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn-gold {
  background: var(--gradient-gold);
  color: white;
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 138, 46, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--surface-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--surface);
  color: var(--accent);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 60%);
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 580px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Mobile-only video in hero */
.hero-video-mobile {
  display: none;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.25s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.hero-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.hero-card-badge {
  padding: 4px 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

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

.product-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--primary-dark);
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  transition: var(--transition);
}

.product-item:hover {
  border-color: var(--accent);
  background: rgba(26, 86, 219, 0.04);
  box-shadow: var(--shadow-sm);
}

.product-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.product-item-rate {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-floating-card {
  position: absolute;
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: floating 6s ease-in-out infinite;
}

.hero-floating-card.top-right {
  top: -20px; right: -30px;
  animation-delay: -3s;
}

.hero-floating-card.bottom-left {
  bottom: -20px; left: -30px;
}

.floating-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-stat-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.floating-stat-icon.success { background: rgba(16, 185, 129, 0.12); color: #059669; }
.floating-stat-icon.accent  { background: rgba(26, 86, 219, 0.1); color: var(--accent); }

.floating-stat-value {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

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

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

/* ===== BANNER STRIP ===== */
.banner-strip {
  position: relative;
  z-index: 1;
  padding: 18px 0;
  background: var(--primary-dark);
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
}

.banner-track {
  display: flex;
  gap: 48px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.banner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.banner-item i {
  color: var(--accent);
  font-size: 14px;
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HERO PARTNER ===== */
.hero-partner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-partner-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
  white-space: nowrap;
}

.hero-partner-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* ===== WHY PARTNER ===== */
.why-partner {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--primary);
}

.why-partner .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-partner .section-desc { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26, 86, 219, 0.25);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 20px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== PARTNER CHANNELS ===== */
.channels {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--primary-dark);
}

.channels .section-header {
  text-align: center;
  margin-bottom: 64px;
}

.channels .section-desc { margin: 0 auto; }

.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.channel-card {
  background: var(--primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px 22px;
  text-align: center;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.channel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(26, 86, 219, 0.25);
  box-shadow: var(--shadow-glow);
}

.channel-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  color: white;
  margin-bottom: 24px;
}

.channel-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.channel-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  flex-grow: 1;
}

/* ===== PRODUCTS ===== */
.products {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--primary);
}

.products .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.products .section-desc { margin: 0 auto; }

.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.product-tab {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--primary-dark);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.product-tab:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.product-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.products-panel {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.products-panel.active { display: block; }

.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--primary);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 86, 219, 0.25);
  box-shadow: var(--shadow-glow);
}

.product-card:hover::before { transform: scaleX(1); }

.product-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.product-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.product-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.product-highlights li i {
  color: #10b981;
  font-size: 14px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--primary-dark);
}

.cta-card {
  background: linear-gradient(135deg, #1a56db 0%, #3b7dff 100%);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 50%);
  animation: rotateCTA 20s linear infinite;
}

@keyframes rotateCTA { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cta-card h2 {
  position: relative; z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: white;
}

.cta-card .cta-gold { color: #fbbf24; -webkit-text-fill-color: #fbbf24; }

.cta-card p {
  position: relative; z-index: 1;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-buttons {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn-white {
  background: white;
  color: var(--accent);
  font-weight: 700;
}

.cta-buttons .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-buttons .btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.cta-buttons .btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  position: relative;
  z-index: 1;
  padding: 120px 0;
  background: var(--primary);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto 48px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 86, 219, 0.12), 0 0 0 1px var(--surface-border);
  background: var(--primary-dark);
}

.video-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Contact Info Cards */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--primary-dark);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 86, 219, 0.25);
  box-shadow: var(--shadow-glow);
}

.contact-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-card a:hover {
  color: var(--accent-light);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  background: #1a1f36;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer .nav-logo .logo-img {
  filter: brightness(0) invert(1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.footer-legal { max-width: 800px; }

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-links a:hover { color: white; }

/* ===== HUBSPOT CONTACT MODAL ===== */
.hs-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeModalIn 0.25s ease;
}

.hs-modal-overlay.open {
  display: flex;
}

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

.hs-modal {
  background: var(--primary-dark);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,86,219,0.12);
  animation: slideModalUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideModalUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hs-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 20px 20px 0 0;
}

.hs-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.hs-modal-close:hover {
  background: rgba(26, 86, 219, 0.12);
  color: var(--accent);
  border-color: var(--accent);
}

.hs-modal-header {
  margin-bottom: 28px;
}

.hs-modal-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.hs-modal-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Style HubSpot form inputs to match site theme */
#hubspotForm .hs-form fieldset { max-width: 100% !important; }
#hubspotForm .hs-input {
  width: 100% !important;
  background: var(--primary) !important;
  border: 1px solid var(--surface-border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.95rem !important;
  transition: border-color 0.2s ease !important;
}
#hubspotForm .hs-input:focus {
  border-color: var(--accent) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.12) !important;
}
#hubspotForm .hs-button {
  background: var(--gradient-accent) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
}
#hubspotForm .hs-button:hover { opacity: 0.88 !important; }
#hubspotForm label { color: var(--text-secondary) !important; font-size: 0.88rem !important; }
#hubspotForm .hs-error-msgs { color: #f87171 !important; font-size: 0.82rem !important; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: white;
  z-index: 1001;
  padding: 80px 32px 32px;
  transition: right var(--transition);
  border-left: 1px solid var(--surface-border);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open { right: 0; }

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1000;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-nav-overlay.open { display: block; opacity: 1; }

.mobile-nav-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.mobile-nav-links a:hover { color: var(--accent); }

.mobile-nav-actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .channels-grid { grid-template-columns: 1fr 1fr; }
  .contact .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost, .nav-actions .btn-primary { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-floating-card { display: none; }
  .hero-video-mobile { display: block; }
  .video-section .video-wrapper { display: none; }
  .features-grid, .channels-grid { grid-template-columns: 1fr; }

  .product-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .product-cards { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section-title { font-size: 1.7rem; }
}
