:root {
  /* Color Palette - Premium & Modern */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-color: #3b82f6;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;

  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;

  --white: #ffffff;

  /* Gradients */
  --hero-gradient: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  --mesh-gradient: radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.1) 0, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.1) 0, transparent 50%);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 8rem;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows - Layered for depth */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 4rem;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Header & Navigation - Glassmorphism */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--spacing-sm) 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

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

.logo {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--text-main) !important;
}

.logo b {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  text-decoration: none;
}

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

/* Hero Section */
.hero {
  background: var(--hero-gradient);
  color: var(--white);
  padding: clamp(8rem, 15vh, 12rem) 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.hero-subtext {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-white {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: #fdfdfd;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

/* Features Section */
.features {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-light);
  background-image: var(--mesh-gradient);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
}

.feature-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* About Section Fragment */
.about-preview {
  padding: var(--spacing-xxl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.about-highlight {
  background: var(--primary-light);
  padding: var(--spacing-xl);
  border-radius: 32px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  text-align: center;
  position: relative;
}

.about-highlight h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 1rem 0;
}

/* Page Content Base */
.page-content {
  padding: var(--spacing-xxl) 0;
  min-height: 80vh;
  background-color: var(--bg-light);
  margin-top: 60px;
}

.page-card {
  background: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: 3rem;
  color: var(--text-main);
  margin-bottom: 2rem;
  text-align: center;
}

.content-body {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.content-body h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.content-body ul {
  margin: 1.5rem 0;
}

.content-body li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.content-body li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-title b {
  color: var(--white);
}

.footer-title span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

/* Responsive Refinements */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xxl: 5rem;
    --spacing-xl: 3rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .nav-links {
    display: none;
    /* Mobile menu would go here */
  }
}

.section-visible {
  display: block;
}

.section-hidden {
  display: none;
}