/* ============================================
   TYROTECH COMPLETE CSS - IMPROVED COLORS & TYPOGRAPHY
   ============================================ */

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0f0f1a;
  color: #f0f0f5;
  line-height: 1.7;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

a {
  color: inherit;
}

/* ============================================
   IMPROVED THEME VARIABLES
   ============================================ */
:root {
  /* Primary Colors - Enhanced contrast */
  --primary: #c0392b;
  --primary-dark: #a93226;
  --primary-light: #e74c3c;
  --primary-hover: #922b21;
  
  /* Secondary Colors */
  --secondary: #5d6dbe;
  --secondary-dark: #4a5aad;
  --secondary-light: #7a8cd9;
  
  /* Accent Colors */
  --accent: #f39c12;
  --accent-hover: #d68910;
  
  /* Neutral Colors - Better contrast */
  --dark: #0f0f1a;
  --dark-secondary: #1a1a2e;
  --dark-tertiary: #16213e;
  --surface: #1e1e3a;
  --surface-light: #2a2a4a;
  
  /* Text Colors - Improved contrast */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e8;
  --text-muted: #a0a0b8;
  --text-faint: #70708a;
  
  /* UI Colors */
  --light: #f5f5fa;
  --gray-light: #e8e8f0;
  --gray: #8888a0;
  --success: #27ae60;
  --success-light: #2ecc71;
  --error: #e74c3c;
  --error-light: #f1948a;
  --warning: #f39c12;
  --info: #3498db;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
  --gradient-secondary: linear-gradient(135deg, #5d6dbe 0%, #4a5aad 100%);
  --gradient-dark: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
  
  /* Effects */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --transition: all 0.3s ease;
  
  /* Typography */
  --font-primary: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Poppins', sans-serif;
  --font-heading: 'Segoe UI', 'Poppins', sans-serif;
  --font-mono: 'Courier New', monospace;
}

/* ============================================
   IMPROVED TYPOGRAPHY
   ============================================ */

/* Headings - Better hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: clamp(3.6rem, 6vw, 6.4rem);
  line-height: 1.08;
  font-weight: 800;
}

h2 {
  font-size: clamp(3rem, 4.5vw, 4.4rem);
  line-height: 1.15;
  font-weight: 700;
}

h3 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.3;
  font-weight: 600;
}

h4 {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  line-height: 1.35;
  font-weight: 600;
}

/* Paragraphs - Better readability */
p {
  font-size: 1.6rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Lead text */
.lede {
  font-size: clamp(1.8rem, 2.2vw, 2.2rem);
  color: var(--text-secondary);
  max-width: 65ch;
  line-height: 1.8;
  font-weight: 400;
}

/* Section Titles */
.section-title {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title-center {
  text-align: center;
}

.section-title-center::after {
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 2rem auto 4rem;
  text-align: center;
  line-height: 1.7;
}

/* Eyebrow labels */
.eyebrow {
  display: inline-block;
  background: rgba(192, 57, 43, 0.15);
  color: var(--primary-light);
  padding: 0.6rem 2rem;
  border-radius: 5rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(192, 57, 43, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
}

/* ============================================
   IMPROVED BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 1.6rem 3.8rem;
  border-radius: 5rem;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.5px;
  text-align: center;
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

.btn-success:hover {
  background: #219a52;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.5);
}

.btn-lg {
  padding: 1.8rem 4.5rem;
  font-size: 1.8rem;
  min-width: 220px;
}

.btn-sm {
  padding: 1rem 2.2rem;
  font-size: 1.3rem;
  min-width: auto;
}

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

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(192, 57, 43, 0.08);
  transform: translateY(-3px);
}

.btn-ember {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-ember:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
}

/* ============================================
   IMPROVED HEADER / NAV
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  background: rgba(15, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
  padding: 0.8rem 5%;
  background: rgba(15, 15, 26, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.logo {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.logo span {
  color: var(--text-primary);
  font-weight: 300;
}

.logo:hover {
  transform: scale(1.05);
}

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

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

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 0.8rem 2.2rem;
  font-size: 1.2rem;
  min-width: auto;
  border-radius: 5rem;
}

.nav-cta .btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(192, 57, 43, 0.3);
}

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

.nav-cta .btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.nav-cta .btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(192, 57, 43, 0.08);
}

.nav-cta .btn::after {
  display: none !important;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

/* ============================================
   IMPROVED DROPDOWNS
   ============================================ */
.has-dropdown {
  position: relative;
}

.has-dropdown > .dropdown-trigger {
  color: var(--text-secondary);
  font-size: 1.4rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  padding: 0.4rem 0;
}

.has-dropdown > .dropdown-trigger:hover {
  color: var(--text-primary);
}

.dropdown-trigger i {
  font-size: 0.8rem;
  margin-left: 0.4rem;
  transition: var(--transition);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 15, 26, 0.98);
  backdrop-filter: blur(12px);
  min-width: 220px;
  border-radius: 12px;
  padding: 0.8rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 2rem;
  font-size: 1.3rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(192, 57, 43, 0.08);
  color: var(--primary-light);
  padding-left: 2.5rem;
}

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

.dropdown-menu.open {
  display: block;
}

@media (min-width: 769px) {
  .has-dropdown:hover .dropdown-menu {
    display: block;
  }
  .has-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
  }
}

/* ============================================
   MOBILE MENU
   ============================================ */
#menuBtn {
  display: none;
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

#menuBtn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

@media (max-width: 992px) {
  #menuBtn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: rgba(15, 15, 26, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    backdrop-filter: blur(12px);
    gap: 2rem;
    padding: 2rem;
    overflow-y: auto;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.8rem;
  }
  
  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 0;
    display: none;
  }
  
  .has-dropdown:hover .dropdown-menu {
    display: none;
  }
  
  .has-dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu a {
    padding: 0.5rem 2rem;
    text-align: center;
    font-size: 1.5rem;
  }
  
  .nav-cta .btn {
    display: none;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.8rem 4%;
  }
  
  .logo {
    font-size: 2rem;
  }
}

/* ============================================
   FLOATING MASTER CLASS BUTTON
   ============================================ */
.floating-master-btn {
  position: fixed;
  bottom: 2.4rem;
  left: 2.4rem;
  z-index: 900;
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #1a1a2e;
  padding: 1.2rem 2.4rem;
  border-radius: 5rem;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 20px rgba(241, 196, 15, 0.4);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  white-space: nowrap;
}

.floating-master-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #f4d03f, #f39c12);
  box-shadow: 0 6px 30px rgba(241, 196, 15, 0.6);
}

.floating-master-btn i {
  font-size: 1.6rem;
}

@media (max-width: 768px) {
  .floating-master-btn {
    padding: 0.8rem 1.6rem;
    font-size: 1.1rem;
    bottom: 1.6rem;
    left: 1.6rem;
  }
  .floating-master-btn i {
    font-size: 1.2rem;
  }
}

/* ============================================
   IMPROVED HERO
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  gap: 6rem;
  min-height: 100vh;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(4rem, 6vw, 6.4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.hero-content h1 .highlight {
  color: var(--primary-light);
  position: relative;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary);
  opacity: 0.3;
  border-radius: 3px;
}

.hero p {
  font-size: 1.8rem;
  color: var(--text-secondary);
  max-width: 550px;
  line-height: 1.8;
  margin-bottom: 3rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-badge {
  display: inline-block;
  background: rgba(192, 57, 43, 0.2);
  color: var(--primary-light);
  padding: 0.6rem 2rem;
  border-radius: 5rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(192, 57, 43, 0.25);
  backdrop-filter: blur(5px);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(192, 57, 43, 0.2);
  border: 5px solid rgba(192, 57, 43, 0.2);
  transition: var(--transition);
}

.hero-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 70px rgba(192, 57, 43, 0.3);
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat h3 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--primary-light);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-stat p {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin: 0;
  text-shadow: none;
}

@media (max-width: 991px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 10rem;
    gap: 3rem;
  }
  .hero p {
    margin: 0 auto 3rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image img {
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3.6rem;
  }
  .hero-stat h3 {
    font-size: 2.6rem;
  }
  .hero-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 450px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-stat h3 {
    font-size: 2.2rem;
  }
}

/* ============================================
   SPEC CARD - IMPROVED
   ============================================ */
.spec-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 3.5rem 3rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.spec-card:hover {
  transform: translateY(-8px);
  border-color: rgba(192, 57, 43, 0.2);
  box-shadow: var(--shadow-hover);
  background: var(--surface-light);
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.spec-card p {
  font-size: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.spec-card .icon {
  font-size: 2.8rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  display: block;
}

.spec-card .tag-row {
  margin-top: 1.5rem;
}

/* Paper section variant */
.section-paper {
  background: var(--light);
  color: var(--dark);
}

.section-paper h2,
.section-paper h3 {
  color: var(--dark);
}

.section-paper p {
  color: #444;
}

.section-paper .spec-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

.section-paper .spec-card h3 {
  color: var(--dark);
}

.section-paper .spec-card p {
  color: #555;
}

.section-paper .spec-card::before {
  background: var(--gradient-primary);
}

.section-paper .eyebrow {
  background: rgba(192, 57, 43, 0.1);
  color: var(--primary);
  border-color: rgba(192, 57, 43, 0.15);
}

.section-paper .section-title {
  color: var(--dark);
}

.section-paper .section-title::after {
  background: var(--gradient-primary);
}

.section-paper .btn-ghost {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--dark);
}

.section-paper .btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(192, 57, 43, 0.08);
}

/* ============================================
   IMPROVED GRIDS
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

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

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

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   IMPROVED FORMS
   ============================================ */
.form-group {
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.5rem 1.8rem;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-primary);
  font-size: 1.5rem;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}

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

.form-group textarea {
  min-height: 14rem;
  resize: vertical;
}

/* Paper section form overrides */
.section-paper .form-group label {
  color: #555;
}

.section-paper .form-group input,
.section-paper .form-group select,
.section-paper .form-group textarea {
  background: #f5f5fa;
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--dark);
}

.section-paper .form-group input:focus,
.section-paper .form-group select:focus,
.section-paper .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

/* ============================================
   IMPROVED STATS
   ============================================ */
.stat-num {
  font-size: clamp(3.6rem, 5vw, 5.6rem);
  font-weight: 800;
  color: var(--primary-light);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 1.4rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.stat-tick {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  margin-right: 0.8rem;
  animation: pulse 2s infinite;
}

/* ============================================
   IMPROVED NOTIFICATION
   ============================================ */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1.6rem 2.8rem;
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1.5rem;
  z-index: 10000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  max-width: 420px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification.success {
  background: rgba(39, 174, 96, 0.95);
  border-left: 5px solid var(--success);
}

.notification.error {
  background: rgba(231, 76, 60, 0.95);
  border-left: 5px solid var(--error);
}

.notification.info {
  background: rgba(52, 152, 219, 0.95);
  border-left: 5px solid var(--info);
}

/* ============================================
   IMPROVED FOOTER
   ============================================ */
footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 5rem 9% 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand .logo {
  font-size: 2.4rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

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

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

.footer-col ul li a {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

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

.footer-social a {
  color: var(--text-faint);
  font-size: 1.8rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--primary-light);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 450px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   IMPROVED PAGE HEADERS
   ============================================ */
.page-header {
  padding: 14rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

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

.page-header h1 {
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  max-width: 24ch;
  line-height: 1.1;
}

.page-header .lede {
  font-size: 1.9rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* ============================================
   IMPROVED TAGS
   ============================================ */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.tag {
  padding: 0.4rem 1.4rem;
  background: rgba(192, 57, 43, 0.12);
  color: var(--primary-light);
  border-radius: 5rem;
  font-size: 1.2rem;
  font-weight: 500;
  border: 1px solid rgba(192, 57, 43, 0.1);
}

/* ============================================
   IMPROVED SOCIAL ICONS
   ============================================ */
.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background-color: transparent;
  border: 2px solid var(--primary);
  font-size: 2.2rem;
  border-radius: 50%;
  transition: var(--transition);
  color: var(--text-secondary);
}

.social-icons a:hover {
  color: #fff;
  transform: scale(1.1);
  background-color: var(--primary);
  box-shadow: 0 0 30px rgba(192, 57, 43, 0.3);
}

/* ============================================
   IMPROVED TABS
   ============================================ */
.tab-titles {
  display: flex;
  margin: 2.5rem 0;
  gap: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

.tab-links {
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  padding: 1rem 2rem;
  transition: var(--transition);
  position: relative;
  color: var(--text-muted);
  border: none;
  background: none;
}

.tab-links::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

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

.tab-links.active-link {
  color: var(--text-primary);
}

.tab-links.active-link::after {
  width: 100%;
}

.tab-contents {
  display: none;
  padding: 2rem 0;
}

.tab-contents.active-tab {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.lede {
  font-size: 1.9rem;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.8;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  width: 100%;
  margin: 2.5rem 0;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.mt-8 {
  margin-top: 8rem;
}

.section-head {
  max-width: 70ch;
  margin-bottom: 4.5rem;
}

.section-head h2 {
  margin-top: 1.5rem;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 991px) {
  section {
    padding: 6rem 0;
  }
  .section-title {
    font-size: 3.2rem;
  }
  .page-header {
    padding: 12rem 0 4rem;
  }
  .page-header h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.8rem;
  }
  .spec-card {
    padding: 2.5rem;
  }
  .page-header {
    padding: 10rem 0 3rem;
  }
  .page-header h1 {
    font-size: 2.8rem;
  }
  .page-header .lede {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 1.5rem;
  }
  .btn {
    padding: 1.3rem 3rem;
    font-size: 1.4rem;
    min-width: 150px;
  }
  .btn-lg {
    padding: 1.5rem 3.5rem;
    font-size: 1.6rem;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1.4rem;
    padding: 1.2rem 1.4rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 52%;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .page-header h1 {
    font-size: 2.4rem;
  }
  .hero-content h1 {
    font-size: 2.6rem;
  }
  .btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    min-width: 120px;
  }
  .btn-lg {
    padding: 1.2rem 2.8rem;
    font-size: 1.4rem;
  }
}