/* ============================================
   Freemann SEO Pages — Shared Stylesheet
   freemannsites.com
   ============================================ */

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

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

/* --- Variables --- */
:root {
  --bg: #070b16;
  --bg-2: #0a1020;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent: #8b5cf6;
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --border: rgba(255,255,255,0.07);
  --border-blue: rgba(59,130,246,0.25);
  --section-py: clamp(60px, 8vw, 100px);
  --container-px: clamp(20px, 5vw, 40px);
  --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--container-px); }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 1rem;
  border-radius: 50px; border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(59,130,246,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.5); }
.btn-primary.btn-large { padding: 18px 42px; font-size: 1.1rem; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: transparent; color: var(--text); font-weight: 600; font-size: 1rem;
  border-radius: 50px; border: 1px solid var(--border-blue);
  cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(59,130,246,0.08); border-color: var(--primary); transform: translateY(-2px); }

.btn-nav {
  display: inline-block; padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 600; font-size: 0.9rem;
  border-radius: 50px; transition: all 0.3s ease;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(59,130,246,0.4); }

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 40px);
  background: rgba(7,11,22,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand-logo { height: 120px; width: auto; mix-blend-mode: screen; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* --- Mobile Menu Toggle --- */
.mobile-menu-toggle {
  display: none; flex-direction: column; gap: 6px;
  cursor: pointer; background: none; border: none; padding: 6px; z-index: 1001;
}
.mobile-menu-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.3s ease;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Sections --- */
.section { padding: var(--section-py) 0; }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-2); line-height: 1.7; }

.section-tag {
  display: inline-block; padding: 5px 14px;
  background: rgba(59,130,246,0.12); color: var(--primary-light);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 50px;
  border: 1px solid rgba(59,130,246,0.2); margin-bottom: 14px;
}

/* --- Hero --- */
.hero {
  position: relative; padding: 210px 0 100px;
  text-align: center; overflow: hidden;
  background-size: cover; background-position: center center;
  background-repeat: no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom,
    rgba(7,11,22,0.78) 0%,
    rgba(7,11,22,0.55) 40%,
    rgba(7,11,22,0.85) 100%);
}
.hero-glow {
  position: absolute; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(100px);
}
.hero-glow--blue {
  background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
}
.hero-glow--purple {
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  bottom: -200px; right: -100px;
}
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.25);
  border-radius: 50px; font-size: 0.88rem; font-weight: 600;
  color: var(--primary-light); margin-bottom: 28px;
}
.hero-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 900;
  line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-2);
  max-width: 620px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Stats Bar --- */
.stats-bar {
  padding: 48px 0; background: var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.85rem; color: var(--text-2); line-height: 1.4; }

/* --- Why Grid --- */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.why-card {
  padding: 32px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: all 0.3s ease;
}
.why-card:hover { background: var(--bg-card-hover); border-color: var(--border-blue); transform: translateY(-3px); }
.why-icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 12px; padding: 12px; flex-shrink: 0;
}
.why-icon svg { width: 100%; height: 100%; }
.why-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-2); line-height: 1.7; font-size: 0.95rem; }

/* --- Features Grid --- */
.features-section { background: var(--bg-2); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card {
  padding: 30px 28px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.05), rgba(139,92,246,0.05));
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-blue); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px; height: 44px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light);
  background: rgba(59,130,246,0.08);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 10px; padding: 10px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 0.9rem; line-height: 1.65; }

/* --- Process --- */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; text-align: center; }
.process-step { padding: 32px 20px; position: relative; }
.process-step:not(:last-child)::after {
  content: ''; position: absolute; top: 42px; right: -6px;
  width: 50%; height: 2px;
  background: linear-gradient(90deg, var(--border-blue), transparent);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border: 1px solid var(--border-blue); border-radius: 50%;
  font-size: 1.2rem; font-weight: 800; color: var(--primary-light);
  margin: 0 auto 18px;
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.process-step p { color: var(--text-2); font-size: 0.88rem; line-height: 1.65; }

/* --- Pricing Preview --- */
.pricing-preview-section { background: var(--bg-2); }
.pricing-preview-card {
  display: flex; align-items: center; gap: 56px; padding: 56px;
  background: linear-gradient(135deg, rgba(30,58,138,0.3), rgba(91,33,182,0.2));
  border: 1px solid rgba(59,130,246,0.2); border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.pricing-preview-card::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
  pointer-events: none;
}
.pricing-preview-text { flex: 1; position: relative; z-index: 1; }
.pricing-preview-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.pricing-preview-text > p { color: var(--text-2); margin-bottom: 28px; }
.pricing-highlight { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.price-big {
  font-size: clamp(2.5rem, 5vw, 3.2rem); font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.price-note { font-size: 1rem; color: var(--text-2); }
.pricing-list { margin-bottom: 32px; }
.pricing-list li { padding: 8px 0; color: var(--text-2); font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.pricing-list li:last-child { border: none; }
.pricing-badge {
  flex-shrink: 0; width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border: 2px solid var(--border-blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 4px; position: relative; z-index: 1;
}
.badge-big { font-size: 1.3rem; font-weight: 900; color: var(--primary-light); }
.badge-small { font-size: 0.78rem; color: var(--text-2); line-height: 1.3; }

/* --- FAQ --- */
.faq-section { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--border-blue); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--bg-card);
  font-size: 1rem; font-weight: 600; color: var(--text);
  border: none; cursor: pointer; text-align: left; gap: 16px; transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-icon { font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; font-style: normal; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-2); line-height: 1.7; font-size: 0.95rem; }

/* --- CTA Section --- */
.cta-section { background: var(--bg-2); }
.cta-card {
  text-align: center; padding: 80px 40px;
  background: linear-gradient(135deg, rgba(30,58,138,0.25), rgba(91,33,182,0.15));
  border: 1px solid rgba(59,130,246,0.2); border-radius: var(--r-xl);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
  pointer-events: none;
}
.cta-card h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-card > p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 36px; position: relative; }
.cta-card .btn-primary { position: relative; }
.cta-note { margin-top: 20px; font-size: 0.85rem; color: var(--text-3); position: relative; }

/* --- Footer --- */
.footer {
  padding: 60px 0 0;
  background: #050810;
  border-top: 1px solid var(--border);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 108px; margin-bottom: 20px; mix-blend-mode: screen; }
.footer-brand p { color: var(--text-3); font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-links-group h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a { color: var(--text-3); font-size: 0.9rem; transition: color 0.2s; }
.footer-links-group a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px 0; text-align: center;
}
.footer-bottom p { color: var(--text-3); font-size: 0.82rem; line-height: 1.6; }
.footer-brand-link { color: var(--primary-light); transition: opacity 0.2s; }
.footer-brand-link:hover { opacity: 0.8; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-step::after { display: none; }
  .pricing-preview-card { flex-direction: column; padding: 40px 28px; gap: 32px; }
  .pricing-badge { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .nav-links { gap: 16px; }
}
@media (max-width: 600px) {
  .mobile-menu-toggle { display: flex; }
  .nav-links {
    display: none; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,11,22,0.98);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 32px; backdrop-filter: blur(20px); z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a { font-size: 1.1rem; color: var(--text); }
  .nav-links .btn-nav { display: inline-flex; padding: 14px 40px; font-size: 1rem; color: #fff; }
  .why-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero { padding: 210px 0 70px; }
}
