/* ============================================================
   SkoolSystem Marketing Site - Sleek Dark Mode Stylesheet
   ============================================================ */

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

:root {
  /* Color Tokens */
  --bg-dark: #0b0f19;
  --bg-slate: #0f172a;
  --bg-slate-light: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.15);
  --accent-indigo: #6366f1;
  --accent-indigo-glow: rgba(99, 102, 241, 0.15);
  
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --glass-bg: rgba(15, 23, 42, 0.65);
  
  /* Font Families */
  --font-display: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transition Speed */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-slate-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

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

.brand-icon {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-emerald));
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), #4f46e5);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.btn-accent {
  background: transparent;
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
  background: var(--accent-emerald-glow);
  border-color: var(--accent-emerald);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-indigo-glow);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 24px;
  font-weight: 800;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

/* Dashboard Mockup Display */
.hero-mockup {
  position: relative;
  background: var(--bg-slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 16px 24px 24px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-bar {
  flex: 1;
  background: var(--bg-dark);
  height: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
}

.mockup-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  text-align: left;
}

.mockup-sidebar {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-item {
  height: 12px;
  background: var(--bg-slate-light);
  border-radius: var(--radius-sm);
  width: 80%;
}

.sidebar-item:nth-child(2) {
  width: 60%;
  background: var(--accent-indigo);
  opacity: 0.8;
}

.mockup-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mockup-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  height: 120px;
}

.mockup-card-title {
  height: 10px;
  background: var(--bg-slate-light);
  border-radius: 4px;
  width: 50%;
  margin-bottom: 20px;
}

.mockup-card-val {
  height: 24px;
  background: var(--bg-slate);
  border-radius: 4px;
  width: 75%;
}

.mockup-card-large {
  grid-column: span 3;
  height: 150px;
}

/* Portal Finder Widget Section */
.portal-section {
  padding: 60px 0;
  position: relative;
}

.portal-card {
  background: linear-gradient(135deg, var(--bg-slate), #111827);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.portal-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.portal-card p {
  font-size: 14px;
  margin-bottom: 24px;
}

.portal-search-box {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px;
  transition: var(--transition);
}

.portal-search-box:focus-within {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.portal-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
}

.portal-search-box input::placeholder {
  color: var(--text-muted);
}

.portal-error-msg {
  color: #ef4444;
  font-size: 12px;
  margin-top: 10px;
  display: none;
}

/* Features Highlights Grid */
.features {
  padding: 100px 0;
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: var(--transition);
}

.feature-card:hover::before {
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-emerald));
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo);
  margin-bottom: 24px;
}

.feature-card:hover .feature-icon {
  color: var(--text-primary);
  background: var(--accent-indigo);
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  text-align: center;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-slate);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 100px;
  margin-bottom: 48px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-btn.active {
  background: var(--bg-slate-light);
  color: var(--text-primary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-hover);
}

.pricing-card.popular {
  border: 1.5px solid var(--accent-indigo);
  box-shadow: 0 10px 30px rgba(99,102,241,0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--accent-indigo);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.plan-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--text-primary);
}

.price-period {
  color: var(--text-muted);
  font-size: 14px;
  margin-left: 4px;
}

.plan-desc {
  font-size: 13px;
  margin-bottom: 30px;
  height: 40px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.plan-features i {
  color: var(--accent-emerald);
  font-size: 16px;
}

/* Contact / Demo Request Form */
.contact {
  padding: 100px 0;
  position: relative;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 40px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 14px;
  margin: 0;
}

.contact-form-wrapper {
  background: var(--bg-slate);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}

/* Toast Messages */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
}

.toast {
  background: var(--bg-slate);
  border-left: 4px solid var(--accent-emerald);
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  font-size: 14px;
  font-weight: 600;
  display: none;
}

/* Footer Section */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 44px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    gap: 16px;
    height: auto;
    padding: 16px;
  }
  .navbar {
    height: auto;
    position: relative;
  }
  .hero {
    padding-top: 80px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}
