/* ScholarPath Systems - Main Stylesheet */

:root {
  --color-bg-dark: #0a0f1c;
  --color-bg-card: rgba(30, 41, 59, 0.5);
  --color-bg-card-hover: rgba(45, 55, 72, 0.6);
  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-primary-dark: #4f46e5;
  --color-accent: #10b981;
  --color-warning: #f59e0b;
  --color-text: #ffffff;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-border: rgba(100, 116, 139, 0.3);
  --color-border-light: rgba(100, 116, 139, 0.2);
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--color-primary);
  padding: 10px 20px !important;
  border-radius: var(--radius-md);
  color: white !important;
  font-weight: 600 !important;
  transition: all 0.2s !important;
}

.nav-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

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

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.3), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.15), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(16, 185, 129, 0.1), transparent);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.sis-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  padding: 16px 32px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 16px;
}

.sis-badge span:first-child {
  font-weight: 600;
  color: var(--color-accent);
}

.sis-list {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

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

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

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

/* Products Section */
.products {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.03), transparent);
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.product-card.featured {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), var(--color-bg-card));
}

.product-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.product-content h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-tagline {
  color: var(--color-primary-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.product-description {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature strong {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature span {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.product-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Product Visual / Mockup */
.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.mockup-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--color-border-light);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28ca41; }

.mockup-content {
  padding: 24px;
}

.mock-progress {
  margin-bottom: 20px;
}

.mock-progress:last-child {
  margin-bottom: 0;
}

.mock-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.mock-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.mock-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 4px;
  transition: width 1s ease;
}

.mock-value {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-align: right;
}

.coming-soon {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
}

.coming-soon p {
  color: var(--color-text-dim);
}

.coming-soon a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

/* Portal Previews Section */
.portals {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.03), rgba(16, 185, 129, 0.03));
}

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

.portal-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

.portal-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.portal-header.student {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent);
}

.portal-header.counselor {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), transparent);
}

.portal-header.parent {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), transparent);
}

.portal-header.admin {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), transparent);
}

.portal-icon {
  font-size: 1.75rem;
}

.portal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.portal-preview {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.preview-mockup {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-md);
  padding: 16px;
  min-height: 260px;
}

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

.preview-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.preview-avatar.counselor-avatar {
  background: linear-gradient(135deg, var(--color-accent), #059669);
}

.preview-avatar.parent-avatar {
  background: linear-gradient(135deg, var(--color-warning), #d97706);
}

.preview-avatar.admin-avatar {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.preview-info {
  flex: 1;
}

.preview-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.preview-meta {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.preview-stat-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.preview-stat.warning .preview-stat-value {
  color: var(--color-warning);
}

.preview-stat.success .preview-stat-value {
  color: var(--color-accent);
}

.preview-stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text);
}

.preview-stat-label {
  font-size: 0.65rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.preview-progress-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-progress-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-cat {
  font-size: 0.75rem;
  width: 50px;
  color: var(--color-text-muted);
}

.preview-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.preview-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 3px;
}

.preview-student-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-student-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.preview-student-item.alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.student-name {
  color: var(--color-text-muted);
}

.student-status {
  font-size: 0.75rem;
}

.preview-admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.admin-label {
  color: var(--color-text-muted);
}

.admin-status {
  font-size: 0.7rem;
  color: var(--color-accent);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
}

.preview-child-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.child-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.child-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.child-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.child-grade {
  font-size: 0.75rem;
  color: var(--color-text-dim);
}

.child-progress {
  text-align: center;
}

.progress-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent) 68%, rgba(255,255,255,0.1) 68%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.ring-value {
  background: rgba(15, 23, 42, 0.95);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.progress-label {
  font-size: 0.65rem;
  color: var(--color-text-dim);
}

.preview-alert-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.alert-icon {
  font-size: 1rem;
}

.alert-text {
  color: var(--color-text-muted);
}

.portal-features {
  padding: 20px 24px 24px;
}

.portal-features p {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.portal-features ul {
  list-style: none;
}

.portal-features li {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.portal-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.portal-cta {
  text-align: center;
  margin-top: 48px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.portal-cta p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

/* About Section */
.about {
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.value-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.value strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}

.value p {
  margin: 0;
  font-size: 0.95rem;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 400px;
}

.about-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-card p {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-card-source {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05));
}

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

.contact-info h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--color-primary-light);
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--color-text);
}

.contact-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--color-border-light);
  padding: 60px 0 30px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-border-light);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-compliance {
  font-size: 0.8rem !important;
  color: var(--color-text-dim);
}

/* Legal Pages */
.legal-page {
  padding-top: 120px;
  min-height: 100vh;
}

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

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--color-text-dim);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-primary-light);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-content strong {
  color: var(--color-text);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.legal-content th,
.legal-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--color-border);
}

.legal-content th {
  background: rgba(99, 102, 241, 0.1);
  font-weight: 600;
  color: var(--color-text);
}

.legal-content td {
  color: var(--color-text-muted);
}

.legal-contact {
  margin-top: 32px;
  padding: 24px;
  background: rgba(99, 102, 241, 0.05);
  border-radius: var(--radius-md);
}

.legal-contact strong {
  display: block;
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }
  
  .product-visual {
    order: -1;
  }
  
  .product-features {
    grid-template-columns: 1fr;
  }
  
  .portal-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 15, 28, 0.98);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--color-border);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }
  
  .hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .product-card {
    padding: 24px;
  }
  
  .product-badge {
    position: static;
    display: inline-block;
    margin-bottom: 16px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .legal-content {
    padding: 24px;
    border-radius: var(--radius-lg);
  }
}
