/* CSS Variables for Color Palette */
:root {
  /* User specified colors: #2D2D42, #F2F2F2, #FF7300, #000000 */
  
  /* Light mode colors */
  --background: #F2F2F2;
  --foreground: #000000;
  --card: #FFFFFF;
  --card-foreground: #000000;
  --border: #E0E0E0;
  --primary: #ff6600f8;
  --primary-foreground: #2D2D42;
  --muted: #F8F8F8;
  --muted-foreground: #666666;
  --accent: #F0F0F0;
  --accent-foreground: #000000;
  
  /* Interaction states */
  --elevate-1: rgba(0, 0, 0, 0.03);
  --elevate-2: rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] {
  /* Dark mode colors */
  --background: #2D2D42;
  --foreground: #F2F2F2;
  --card: #383853;
  --card-foreground: #F2F2F2;
  --border: #4A4A5E;
  --primary: #ff6600f8;
  --primary-foreground: #000000;
  --muted: #343449;
  --muted-foreground: #B0B0B0;
  --accent: #404055;
  --accent-foreground: #F2F2F2;
  
  /* Interaction states */
  --elevate-1: rgba(255, 255, 255, 0.04);
  --elevate-2: rgba(255, 255, 255, 0.09);
}

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

/* 404 Specific Styles */
.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.error-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: color-mix(in srgb, var(--primary) 90%, black);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--accent);
  transform: translateY(-1px);
}

.btn .lucide {
  margin-right: 0.5rem;
  width: 1.125rem;
  height: 1.125rem;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Theme Toggle Button */
.theme-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--foreground);
}

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

.theme-toggle .sun-icon {
  display: none;
}

.theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

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

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom right, var(--background), var(--background), var(--card));
}

.geometric-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.05;
}

.pattern-box {
  position: absolute;
  border: 1px solid var(--primary);
}

.pattern-1 {
  top: 25%;
  left: 25%;
  width: 8rem;
  height: 8rem;
  transform: rotate(45deg);
  border-color: var(--primary);
  opacity: 0.2;
}

.pattern-2 {
  top: 33%;
  right: 33%;
  width: 6rem;
  height: 6rem;
  transform: rotate(12deg);
  border-color: var(--primary);
  opacity: 0.15;
}

.pattern-3 {
  bottom: 25%;
  left: 33%;
  width: 7rem;
  height: 7rem;
  transform: rotate(45deg);
  border-color: var(--primary);
  opacity: 0.1;
}

.pattern-4 {
  bottom: 33%;
  right: 25%;
  width: 5rem;
  height: 5rem;
  transform: rotate(-12deg);
  border-color: var(--primary);
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.brand-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container {
  position: relative;
  margin-right: 1rem;
}

.shield-icon {
  width: 8rem;
  height: 8rem;
  color: var(--primary);
}

.shield-icon.lucide {
  width: 100%;
  height: 100%;
}

.lock-icon {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.lock-icon.lucide {
  width: 100%;
  height: 100%;
}

.brand-title {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.025em;
}

.brand-accent {
  color: var(--primary);
}

.tagline {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Value Proposition Section */
.value-section {
  padding: 6rem 2rem;
  background-color: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.feature-content {
  padding: 2rem;
  text-align: center;
}

.feature-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: color-mix(in srgb, var(--primary) 10%, transparent);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* Footer */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-shield {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-right: 0.75rem;
}

.footer-brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.footer-description {
  color: var(--muted-foreground);
}

.footer-contact,
.footer-services {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.contact-item {
  display: flex;
  align-items: center;
  color: var(--muted-foreground);
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-right: 0.75rem;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.copyright {
  color: var(--muted-foreground);
}

/* Responsive Design */
@media (max-width: 768px) {
  .brand-title {
    font-size: 2.5rem;
  }
  
  .tagline {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .brand-section {
    flex-direction: column;
    align-items: center;
  }
  
  .logo-container {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Icon fallback for browsers that don't support Lucide */
.lucide {
  width: 1em;
  height: 1em;
  display: inline-block;
}
