/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(0, 102, 204, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 153, 255, 0.02) 0%, transparent 50%);
  transition: background-color 0.3s, color 0.3s;
}

/* CSS Custom Properties for Theming */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --accent: #0066cc;
  --accent-hover: #0052a3;
  --glass-bg: rgba(255, 255, 255, 0.25);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent: #0099ff;
  --accent-hover: #007acc;
  --glass-bg: rgba(26, 26, 26, 0.25);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 1000;
  padding: 1rem 0;
}

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

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  color: var(--text-primary);
}

.theme-toggle:hover {
  background: var(--glass-bg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.logo-mark {
  background: linear-gradient(135deg, #0066cc, #0099ff);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-bar {
  width: 1.5rem;
  height: 2px;
  background: #1a1a1a;
  margin: 2px 0;
  transition: 0.3s;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #0066cc;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: var(--bg-secondary);
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0,102,204,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,153,255,0.15) 0%, transparent 50%),
    var(--bg-secondary);
  transform: translateZ(0);
  will-change: transform;
}

.backdrop-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.orb-1 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 150px;
  height: 150px;
  background: #0099ff;
  bottom: 20%;
  right: 15%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.eyebrow {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pill {
  background: #e3f2fd;
  color: #0066cc;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.pill-strong {
  background: #0066cc;
  color: white;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Enhanced button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}

.btn-primary:hover {
  background: #0052a3;
  border-color: #0052a3;
}

.btn-outline {
  background: transparent;
  color: #0066cc;
  border-color: #0066cc;
}

.btn-outline:hover {
  background: #0066cc;
  color: white;
}

.btn-ghost {
  background: transparent;
  color: #666;
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(0, 102, 204, 0.1);
  color: #0066cc;
}

.hero-metrics {
  display: flex;
  gap: 2rem;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0066cc;
}

.metric-label {
  font-size: 0.9rem;
  color: #666;
}

.hero-media {
  position: relative;
  z-index: 2;
}

.hero-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 1rem;
  padding: 2rem;
  animation: float 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

.panel-top {
  margin-bottom: 1.5rem;
}

.panel-kicker {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.panel-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #666;
}

.dot {
  width: 6px;
  height: 6px;
  background: #0066cc;
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-soft {
  background: #f1f3f4;
  color: #666;
  font-size: 0.8rem;
}

.trust-panel {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid #e5e5e5;
}

.trust-inner {
  text-align: center;
}

.trust-label {
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 1rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-chip {
  background: #f8f9fa;
  color: #666;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #f8f9fa;
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.highlight-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.3s;
  transform-style: preserve-3d;
}

.highlight-card:hover {
  transform: rotateY(3deg) rotateX(3deg) translateZ(15px);
  box-shadow: var(--shadow-medium);
}

.highlight-label {
  color: #0066cc;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-card p {
  color: #666;
  line-height: 1.6;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-media {
  position: relative;
}

/* Enhanced glassmorphism for better visual appeal */
.dashboard {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 
    var(--shadow-medium),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 1.5rem;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.dashboard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.05) 0%, rgba(0,153,255,0.05) 100%);
  pointer-events: none;
  border-radius: inherit;
}

.dashboard-header {
  margin-bottom: 1.5rem;
}

.dashboard-header h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.dashboard-metrics {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1rem;
}

.dashboard-metrics.secondary {
  margin-bottom: 0;
}

.dashboard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

.dashboard-content {
  animation: dashboardFadeIn 0.8s ease-out;
}

.dashboard-metrics .metric-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.dashboard-metrics .metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dashboard-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  flex: 1;
  margin-top: 1.5rem;
}

.chart-container {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chart-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.chart-container canvas {
  width: 100% !important;
  height: 160px !important;
  border-radius: 0.5rem;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.chip {
  background: #e3f2fd;
  color: #0066cc;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.3s;
  transform-style: preserve-3d;
  position: relative;
}

.service-card:hover {
  transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
  box-shadow: var(--shadow-heavy), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,153,255,0.1));
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
  pointer-events: none;
}

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

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #0066cc, #0099ff);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon img {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.process-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.3s;
  transform-style: preserve-3d;
}

.process-card:hover {
  transform: rotateY(3deg) rotateX(3deg) translateZ(15px);
  box-shadow: var(--shadow-medium);
}

.step-number {
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: #0066cc;
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.process-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.process-card p {
  color: #666;
  line-height: 1.6;
}

/* CTA */
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg, #0066cc, #0099ff);
  color: white;
  padding: 4rem;
  border-radius: 1rem;
  text-align: center;
}

.cta-content {
  text-align: left;
}

.cta-content .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-actions .btn {
  background: white;
  color: #0066cc;
  border-color: white;
}

.cta-actions .btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cta-actions .btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-actions .btn-outline:hover {
  background: white;
  color: #0066cc;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-card blockquote::before {
  content: '"';
  font-size: 3rem;
  color: var(--accent);
  position: absolute;
  top: -0.5rem;
  left: -1rem;
  font-family: serif;
}

.testimonial-card cite {
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-card cite strong {
  color: var(--accent);
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e5e5;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1a1a1a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0066cc;
}

.error-message {
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 500;
}

.contact-aside h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-aside p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.contact-details li {
  margin-bottom: 0.5rem;
  color: #666;
}

.contact-note {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #0066cc;
}

.contact-note p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ccc;
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.3), transparent);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark-small {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.8rem;
}

.footer-text {
  font-size: 0.9rem;
}

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

.footer-links a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0066cc;
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enhanced focus styles */
.btn:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

/* Skip link for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
  animation: fadeIn 0.8s ease-out 0.6s both;
}

/* Enhanced focus states for better accessibility */
.btn:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.theme-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(0, 102, 204, 0.2);
}

/* Smooth transitions for theme changes */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Enhanced mobile experience */
@media (max-width: 768px) {
  .hero-inner,
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .section {
    padding: 4rem 0;
  }

  .dashboard {
    padding: 1.5rem;
  }

  .dashboard-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .dashboard-metrics.secondary {
    margin-top: 1.5rem;
  }

  .dashboard-charts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .chart-container canvas {
    height: 140px !important;
  }

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