/* ============================================
   NovaStar Limited - Crash+ Global Styles
   Dark Gaming Aesthetic Design System
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-tertiary: #1a1f36;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --accent-purple: #6c5ce7;
  --accent-purple-light: #a29bfe;
  --accent-teal: #00cec9;
  --accent-teal-light: #81ecec;
  --accent-pink: #fd79a8;
  --accent-gold: #fdcb6e;
  --text-primary: #ffffff;
  --text-secondary: #b2bec3;
  --text-muted: #636e72;
  --border-color: rgba(255, 255, 255, 0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.3);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent-purple);
  color: var(--text-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-body);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-purple);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-teal));
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

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

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), #5a4bd1);
  color: var(--text-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-purple);
  color: var(--accent-purple);
}

.btn-outline:hover {
  background: var(--accent-purple);
  color: var(--text-primary);
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-icon svg,
.btn-icon img {
  width: 20px;
  height: 20px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

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

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

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-teal);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Grid Layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-brand h3 {
  color: var(--accent-purple);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-contact p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent-purple);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(108, 92, 231, 0.6);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.4s; }
.animate-in:nth-child(6) { transition-delay: 0.5s; }

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(108, 92, 231, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 30%, rgba(0, 206, 201, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(253, 121, 168, 0.06) 0%, transparent 70%);
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 4px;
}

/* ---------- Features Section ---------- */
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(108, 92, 231, 0.2);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
  margin: 0 auto 20px;
  font-size: 1.75rem;
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.feature-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- App Showcase ---------- */
.showcase-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.showcase-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.showcase-text {
  padding-left: 40px;
}

.showcase-content.alt .showcase-text {
  padding-left: 0;
  padding-right: 40px;
  order: -1;
}

.showcase-text h2 {
  margin-bottom: 16px;
}

.showcase-text p {
  margin-bottom: 8px;
}

.showcase-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.showcase-list li::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Stats Section ---------- */
.stats-section {
  background: var(--bg-secondary);
}

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

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s ease;
}

.stat-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-card .stat-number {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.9rem;
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at center, rgba(108, 92, 231, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.google-play-badge {
  max-width: 200px;
  transition: var(--transition);
  display: inline-block;
}

.google-play-badge:hover {
  transform: scale(1.05);
}

.google-play-badge img {
  width: 100%;
}

/* ---------- Page Header (Inner Pages) ---------- */
.page-header {
  padding: 140px 0 60px;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 400px 300px at 30% 40%, rgba(108, 92, 231, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 70% 60%, rgba(0, 206, 201, 0.06) 0%, transparent 70%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 8px;
}

.page-breadcrumb {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.9rem;
}

.page-breadcrumb a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.page-breadcrumb a:hover {
  color: var(--accent-purple);
}

.page-breadcrumb span {
  margin: 0 8px;
}

/* ---------- Content Pages ---------- */
.content-section {
  padding: 80px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.75rem;
}

.content-wrapper h3 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.content-wrapper p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-wrapper ul {
  padding-left: 24px;
  margin-bottom: 16px;
  list-style: disc;
}

.content-wrapper li {
  margin-bottom: 8px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.content-wrapper a {
  color: var(--accent-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-wrapper a:hover {
  color: var(--accent-purple-light);
}

/* ---------- About Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s ease;
}

.team-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.team-card h4 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.team-card .team-role {
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--accent-purple);
  margin-top: 40px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -49px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.timeline-year {
  color: var(--accent-purple);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.timeline-content {
  margin-top: 8px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.timeline-content h4 {
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 1.1rem;
}

/* ---------- Contact Page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-purple);
  outline: none;
  box-shadow: var(--shadow-glow);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--accent-purple);
  outline: none;
  box-shadow: var(--shadow-glow);
}

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

.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.4s ease;
}

.contact-info-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
}

/* ---------- Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mx-auto { margin-left: auto; margin-right: auto; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Responsive Breakpoints ---------- */

/* Tablet landscape */
@media (max-width: 1024px) {
  .section {
    padding: 80px 0;
  }

  h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .hero-stats {
    gap: 32px;
  }

  .showcase-content {
    gap: 40px;
  }

  .showcase-text {
    padding-left: 20px;
  }

  .showcase-content.alt .showcase-text {
    padding-right: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet portrait / Mobile landscape */
@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-auth {
    position: absolute;
    top: calc(72px + var(--nav-links-height, 200px));
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0 24px 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    display: none;
  }

  .nav-auth.active {
    display: flex;
  }

  .nav-auth .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero */
  .hero {
    padding-top: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Showcase */
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-text {
    padding-left: 0;
  }

  .showcase-content.alt .showcase-text {
    padding-right: 0;
    order: 0;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 60px 0 24px;
  }

  /* Page Header */
  .page-header {
    padding: 120px 0 40px;
  }
}

/* Mobile small */
@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

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

  .card {
    padding: 24px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 60px 0;
  }

  .contact-form {
    padding: 24px;
  }

  .page-header {
    padding: 100px 0 32px;
  }

  .content-section {
    padding: 60px 0;
  }

  .timeline {
    padding-left: 28px;
  }

  .timeline-item::before {
    left: -37px;
    width: 12px;
    height: 12px;
  }
}

/* ---------- Scrollbar (Webkit) ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* ---------- Print Styles ---------- */
@media print {
  .navbar,
  .footer,
  .nav-toggle,
  .cta-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .page-header {
    padding: 20px 0;
  }
}
