/*
Theme Name: TopStartNow
Theme URI: https://topstartnow.com
Author: TopStartNow
Author URI: https://topstartnow.com
Description: WordPress theme for TopStartNow - Business Registration Platform. Converted from Next.js to WordPress. Provides comprehensive business formation services including company registration, registered agent services, and compliance management.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: topstartnow
*/

/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
  --primary: #5BA5C7;
  --primary-dark: #4A94B5;
  --primary-light: #7BB8D4;
  --primary-bg: #B8D8E6;
  --primary-bg-light: #E8F4F8;
  --primary-bg-lighter: #F8FBFC;
  --text-dark: #000000;
  --text-heading: #1a202c;
  --text-body: #4A5568;
  --text-muted: #718096;
  --white: #ffffff;
  --border-color: rgba(184, 216, 230, 0.3);
  --border-color-strong: rgba(184, 216, 230, 0.5);
  --shadow-sm: 0 2px 10px rgba(184, 216, 230, 0.1);
  --shadow-md: 0 4px 20px rgba(184, 216, 230, 0.15);
  --shadow-lg: 0 10px 25px rgba(91, 165, 199, 0.3);
  --shadow-xl: 0 20px 60px rgba(91, 165, 199, 0.15);
  --gradient-primary: linear-gradient(135deg, #5BA5C7 0%, #7BB8D4 100%);
  --gradient-bg: linear-gradient(135deg, #B8D8E6 0%, #E8F4F8 50%, #ffffff 100%);
  --gradient-section: linear-gradient(135deg, #F8FBFC 0%, #E8F4F8 100%);
  --gradient-white: linear-gradient(135deg, #ffffff 0%, #F8FBFC 100%);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(91, 165, 199, 0.3);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(91, 165, 199, 0.4);
  color: var(--white);
}

.btn-primary-lg {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(91, 165, 199, 0.3);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}
.btn-primary-lg:hover {
  box-shadow: 0 15px 35px rgba(91, 165, 199, 0.4);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-outline {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-color-strong);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-link {
  background: none;
  color: var(--text-heading);
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
}
.btn-link:hover {
  color: var(--primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ============================================
   Form Elements
   ============================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="search"],
textarea,
select {
  color: #000000 !important;
  background-color: #ffffff !important;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color-strong);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(91, 165, 199, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
  color: #666666 !important;
  opacity: 1;
}

label {
  color: #000000 !important;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

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

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: var(--transition);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}
.nav-dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  width: 224px;
  background: var(--white);
  border: 1px solid var(--border-color-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(184, 216, 230, 0.2);
  z-index: 50;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-heading) !important;
  transition: background-color 0.2s;
}

.nav-dropdown-menu a:hover {
  background: rgba(91, 165, 199, 0.05);
}

.nav-dropdown-menu a::after {
  display: none;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-actions .btn-get-started {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(91, 165, 199, 0.3);
  transition: var(--transition);
}
.nav-actions .btn-get-started:hover {
  box-shadow: 0 8px 25px rgba(91, 165, 199, 0.4);
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border-color);
  padding: 1rem 0;
}
.mobile-menu.active {
  display: block;
}

.mobile-menu-item {
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-heading);
  display: block;
  border-radius: var(--radius-sm);
}
.mobile-menu-item:hover {
  background: rgba(184, 216, 230, 0.1);
  color: var(--primary);
}

.mobile-submenu-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-heading);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.mobile-submenu-toggle:hover {
  background: rgba(184, 216, 230, 0.1);
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
}
.mobile-submenu.active {
  display: block;
}
.mobile-submenu a {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--text-body);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}
.mobile-submenu a:hover {
  background: rgba(184, 216, 230, 0.1);
  color: var(--primary);
}

.mobile-actions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.mobile-actions .btn-login {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
}
.mobile-actions .btn-login:hover {
  background: rgba(184, 216, 230, 0.1);
  color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 450px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(184, 216, 230, 0.2);
  color: var(--primary);
  transition: var(--transition);
}
.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--text-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

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

.footer-col ul li a {
  color: var(--text-body);
  transition: opacity 0.3s;
}
.footer-col ul li a:hover {
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-body);
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom a {
  color: var(--primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  padding: 6rem 1.5rem;
  background: var(--gradient-bg);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.hero-inner h1 .highlight {
  color: var(--primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-inner p {
  font-size: 1.25rem;
  color: var(--text-body);
  max-width: 768px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-weight: 400;
}

.hero-visual {
  max-width: 1024px;
  margin: 0 auto;
  background: var(--gradient-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
}

.hero-visual-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-light) 100%);
  box-shadow: 0 10px 30px rgba(184, 216, 230, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-icon-circle svg {
  width: 48px;
  height: 48px;
  color: var(--primary);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 6rem 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-body);
  max-width: 768px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

.section-bg-primary {
  background: var(--gradient-bg);
}

.section-bg-gray {
  background: var(--gradient-section);
}

.section-bg-white {
  background: var(--white);
}

.section-cta {
  background: var(--gradient-primary);
  box-shadow: 0 -10px 40px rgba(91, 165, 199, 0.2);
  color: var(--white);
  padding: 6rem 1.5rem;
  text-align: center;
}

.section-cta h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.section-cta p {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 672px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  opacity: 0.95;
  color: var(--white);
}

/* ============================================
   Cards Grid
   ============================================ */
.cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-light) 100%);
  box-shadow: 0 8px 20px rgba(184, 216, 230, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-body);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.card ul li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-hero {
  padding: 6rem 1.5rem;
  background: var(--gradient-bg);
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--text-body);
  max-width: 672px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   Steps / Process
   ============================================ */
.steps-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(91, 165, 199, 0.3);
}

.step-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.step-item p {
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================
   Pricing Card
   ============================================ */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary);
  overflow: hidden;
  max-width: 896px;
  margin: 0 auto;
}

.pricing-header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.pricing-price {
  text-align: right;
}

.pricing-price .amount {
  font-size: 1.875rem;
  font-weight: 700;
}

.pricing-price .period {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.pricing-body {
  padding: 2rem 1.5rem;
}

.pricing-body > p {
  color: var(--text-body);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.pricing-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-features h4 {
  color: var(--text-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

.pricing-features ul li svg {
  color: #10b981;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.pricing-extra li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.contact-card h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.success-message {
  background: #d1fae5;
  border: 1px solid #10b981;
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.success-message p {
  color: #065f46;
  margin: 0;
}

.error-message {
  background: #fee2e2;
  border: 1px solid #f87171;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.error-message p {
  color: #991b1b;
  font-weight: 500;
  margin: 0;
}

/* ============================================
   Login Page
   ============================================ */
.login-page {
  min-height: 100vh;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  width: 100%;
  max-width: 500px;
}

.login-card h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
  text-align: center;
}

/* ============================================
   Dashboard
   ============================================ */
.dashboard-page {
  min-height: 100vh;
  background: var(--gradient-section);
}

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

.dashboard-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.welcome-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.company-list-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.company-list-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.company-list-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.company-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  transition: var(--transition);
  background: linear-gradient(135deg, #F8FBFC 0%, #fff 100%);
}

.company-item:hover {
  transform: translateY(-2px);
}

.company-item:last-child {
  margin-bottom: 0;
}

.company-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.company-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text-body);
}

.company-meta strong {
  color: var(--text-dark);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.empty-state {
  text-align: center;
  padding: 3rem;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-bg-light) 100%);
  box-shadow: 0 8px 20px rgba(184, 216, 230, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 672px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: var(--primary);
  padding: 5rem 1.5rem;
  text-align: center;
}

.stats-section h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item .stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   Admin Dashboard
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 250px;
  background: linear-gradient(180deg, #312e81 0%, #4338ca 100%);
  color: var(--white);
  padding: 1.5rem;
  flex-shrink: 0;
}

.admin-sidebar h3 {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.admin-nav-item {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  margin-bottom: 0.25rem;
  transition: background 0.2s;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.admin-main {
  flex: 1;
  padding: 2rem;
  background: #f3f4f6;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.admin-table {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-table th {
  background: #f9fafb;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.875rem;
}

/* ============================================
   WooCommerce Overrides
   ============================================ */
.woocommerce button.button.alt {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
}

.woocommerce button.button.alt:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
}

.woocommerce .button {
  border-radius: var(--radius-md) !important;
}

.woocommerce-checkout .entry-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-features {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner h1 {
    font-size: 2rem;
  }
  .hero-inner p {
    font-size: 1.125rem;
  }
  .section-header h2 {
    font-size: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
  }
  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
  }
}
