/* SprintForge.online Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-dark: #0B0F19;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-border: rgba(0, 240, 255, 0.15);
  --primary-cyan: #00F0FF;
  --primary-cyan-glow: rgba(0, 240, 255, 0.35);
  --accent-purple: #8A2BE2;
  --accent-purple-glow: rgba(138, 43, 226, 0.35);
  --text-main: #F3F4F6;
  --text-muted: #9CA3AF;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(138, 43, 226, 0.08) 0%, transparent 45%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Speedy Robo-Racer Widget Styling --- */
.speedy-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  font-family: system-ui, -apple-system, sans-serif;
}

.speedy-avatar {
  font-size: 2.8rem;
  background: rgba(11, 15, 25, 0.9);
  border: 2px solid #00F0FF;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.speedy-avatar:hover {
  transform: scale(1.1);
}

.speedy-bubble {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid #8A2BE2;
  border-radius: 12px;
  padding: 12px 16px;
  color: #F3F4F6;
  font-size: 0.85rem;
  max-width: 260px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

/* Modal Overlay & Styling */
.sf-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.sf-modal-content {
  background: #0F172A;
  border: 1px solid #00F0FF;
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  color: #F3F4F6;
}

.sf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sf-modal-close {
  font-size: 1.5rem;
  color: #9CA3AF;
  cursor: pointer;
}

.sf-btn-google {
  width: 100%;
  background: #FFFFFF;
  color: #1F2937;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.sf-btn-google:hover {
  background: #F3F4F6;
}

.sf-input {
  width: 100%;
  background: #1E293B;
  border: 1px solid #334155;
  color: #FFF;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.sf-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: #9CA3AF;
  margin: 12px 0 16px 0;
  cursor: pointer;
}

.sf-btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #00F0FF 0%, #8A2BE2 100%);
  color: #FFF;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}

.sf-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bounce {
  animation: bounce 0.6s ease;
}

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

/* Header & Nav */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 38px;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--primary-cyan);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary-cyan), var(--accent-purple));
  color: #000;
  font-weight: 700;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px var(--primary-cyan-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-cyan-glow);
}

/* Hero Section */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--primary-cyan);
  border-radius: 50px;
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--text-main) 60%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

/* LegalZoom Banner Placement */
.lz-banner-container {
  margin: 2.5rem 0 4rem;
  text-align: center;
}

.lz-banner-wrapper {
  display: inline-block;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
  max-width: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.lz-banner-wrapper:hover {
  transform: translateY(-3px);
  border-color: var(--primary-cyan);
}

.lz-banner-wrapper img {
  width: 100%;
  max-width: 1456px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Glass Cards & Grid */
.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.glass-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

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

/* Feature Spotlight: LegalZoom */
.spotlight-card {
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.9), rgba(18, 24, 38, 0.9));
  border: 1px solid var(--primary-cyan);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
}

.spotlight-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.spotlight-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.bullet-list {
  list-style: none;
  margin-bottom: 2rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-main);
}

.bullet-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
  font-weight: bold;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-cyan), #00A3FF);
  color: #000;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px var(--primary-cyan-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-cyan-glow);
}

/* Opt-In Lead Capture Section */
.optin-section {
  background: rgba(18, 24, 38, 0.8);
  border: 1px solid var(--accent-purple);
  border-radius: 24px;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 5rem;
  box-shadow: 0 0 40px var(--accent-purple-glow);
}

.optin-section h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.optin-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.optin-form input {
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(11, 15, 25, 0.8);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.optin-form input:focus {
  border-color: var(--primary-cyan);
}

/* Footer */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-cyan);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .spotlight-card { grid-template-columns: 1fr; padding: 2rem; }
}
