/* ===================================
   CyberInfiniti - Ultra Modern Design System
   Advanced animations, glassmorphism, and visual excellence
   =================================== */

/* ===================================
   Font Imports
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

/* ===================================
   CSS Variables - Modern Color System
   =================================== */
:root {
  /* Primary Palette - Vibrant Cyber Blues */
  --primary: #0A2463;
  --primary-light: #1E3A8A;
  --primary-dark: #030B1F;
  --secondary: #0EA5E9;
  --secondary-light: #38BDF8;
  --accent: #F97316;
  --accent-light: #FB923C;
  --accent-dark: #EA580C;
  
  /* Neutrals with depth */
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: #334155;
  --bg-card-light: #475569;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border: #334155;
  --border-light: #475569;
  
  /* Glass effect colors */
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  
  /* Gradients - Rich and vibrant */
  --gradient-primary: linear-gradient(135deg, #0EA5E9 0%, #3B82F6 50%, #6366F1 100%);
  --gradient-accent: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(217, 100%, 50%, 0.3) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.3) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(25, 100%, 55%, 0.2) 0px, transparent 50%);
  
  /* Typography */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Shadows - Dramatic depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.7);
  --shadow-neon: 0 0 20px rgba(14, 165, 233, 0.5), 0 0 40px rgba(14, 165, 233, 0.3);
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-mesh);
  opacity: 0.5;
  z-index: -1;
  animation: meshMove 20s ease infinite;
}

@keyframes meshMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(5%, 5%) scale(1.05); }
  50% { transform: translate(-5%, 5%) scale(1.05); }
  75% { transform: translate(-5%, -5%) scale(1); }
}

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

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F8FAFC 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-3xl) 0;
  position: relative;
}

/* ===================================
   Glass Navigation Header
   =================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--transition-base);
}

.logo-container:hover {
  transform: translateY(-2px);
}

.logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--glass-border);
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-neon);
}

nav ul.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

nav ul.nav-links li a {
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

nav ul.nav-links li a:not(.btn):hover {
  color: var(--secondary-light);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

nav ul.nav-links li a:not(.btn)::before {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  box-shadow: var(--shadow-neon);
}

nav ul.nav-links li a:not(.btn):hover::before {
  width: 70%;
}

/* Mobile Menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  nav ul.nav-links {
    position: fixed;
    top: 81px;
    right: -100%;
    width: 100%;
    max-width: 320px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: calc(100vh - 81px);
    overflow-y: auto;
    border-left: 1px solid var(--glass-border);
  }
  
  nav ul.nav-links.open {
    right: 0;
  }
  
  nav ul.nav-links li {
    width: 100%;
  }
  
  nav ul.nav-links li a {
    display: block;
    width: 100%;
  }
}

/* Add padding to body for fixed header */
body {
  padding-top: 81px;
}

/* ===================================
   Buttons - Neon Glow Effects
   =================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

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

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-neon);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(14, 165, 233, 0.6);
}

.btn-outline {
  background: var(--glass-bg);
  color: var(--secondary-light);
  border: 2px solid var(--secondary);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

/* ===================================
   Hero Section - Stunning Visual
   =================================== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--spacing-3xl) 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
  animation: heroGlow 10s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Animated grid background */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

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

.hero-content {
  max-width: 800px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 0 40px rgba(14, 165, 233, 0.3);
}

.hero .lead {
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

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

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: float 15s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, 30px) rotate(90deg); }
  50% { transform: translate(0, 60px) rotate(180deg); }
  75% { transform: translate(-30px, 30px) rotate(270deg); }
}

/* ===================================
   Section Headers
   =================================== */
.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: var(--shadow-neon);
}

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

/* ===================================
   Page Header
   =================================== */
.page-header {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  margin-top: -81px;
  padding-top: calc(5rem + 81px);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.15) 0%, transparent 50%);
}

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

.page-header h1 {
  color: white;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   Glass Cards with Neon Borders
   =================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.5);
}

.card .icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
  animation: iconFloat 3s ease-in-out infinite;
}

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

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

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

/* ===================================
   Blog Cards
   =================================== */
.blog-list {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform var(--transition-base);
}

.blog-card:hover::before {
  transform: scaleY(1);
}

.blog-card:hover {
  transform: translateX(12px);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.5);
}

.blog-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color var(--transition-base);
}

.blog-card:hover h3 {
  color: var(--secondary-light);
}

.blog-card .meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.blog-card p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* ===================================
   Glass Forms
   =================================== */
.appointment-form,
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(14, 165, 233, 0.05);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1), var(--shadow-neon);
}

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

.form-group select {
  cursor: pointer;
}

/* ===================================
   CTA Block - Premium Glass Effect
   =================================== */
.cta-block {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  text-align: center;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-block > * {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-block p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* ===================================
   Footer - Premium Dark Glass
   =================================== */
.site-footer {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
}

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

.footer-brand .logo-container {
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  transition: all var(--transition-base);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  font-weight: 500;
}

.social-links a:hover {
  background: rgba(14, 165, 233, 0.1);
  border-color: var(--secondary);
  color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.footer-links h4 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-family: var(--font-display);
}

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

.footer-links ul li {
  margin-bottom: 0.875rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

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

/* ===================================
   Scroll Animations
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Utility Classes
   =================================== */
.text-center { text-align: center; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
  :root {
    --spacing-3xl: 4rem;
  }
  
  section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-block {
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
  }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
  .site-header,
  .site-footer,
  .hero-actions,
  .btn,
  .cta-block {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* ===================================
   Performance Optimizations
   =================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
