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

/* Base Styles */
:root {
  --ai-primary: #1D3557;
  --ai-secondary: #A8A8A8;
  --linkedin-blue: #0A66C2;
  --stealth-green: #04D484;
  --stealth-glow: rgba(4, 212, 132, 0.4);
}

/* Theme Variables */
.theme-light {
  --bg-color: #FFFFFF;
  --text-color: #333333;
  --card-bg: #F7F9FC;
  --card-shadow: rgba(0, 0, 0, 0.05);
  --button-outline: rgba(0, 0, 0, 0.1);
  --toggle-bg: rgba(0, 0, 0, 0.1);
  --toggle-hover: rgba(0, 0, 0, 0.2);
  --footer-color: #888888;
  --service-bg: #F7F9FC;
  --icon-color: #555555;
}

.theme-dark {
  --bg-color: #121212;
  --text-color: #EEEEEE;
  --card-bg: #242424;
  --card-shadow: rgba(255, 255, 255, 0.03);
  --button-outline: rgba(255, 255, 255, 0.1);
  --toggle-bg: rgba(255, 255, 255, 0.1);
  --toggle-hover: rgba(255, 255, 255, 0.2);
  --footer-color: #777777;
  --service-bg: #1E1E1E;
  --icon-color: #AAAAAA;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.hidden {
  display: none;
}

/* Container & Layout */
header {
  position: relative;
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: flex-end;
}

.toggle-container {
  display: flex;
  gap: 10px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--toggle-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  padding: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
}

.toggle:hover, .toggle:focus {
  background-color: var(--toggle-hover);
  outline: none;
}

.toggle:focus-visible {
  outline: 2px solid var(--ai-primary);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-color);
}

.language-toggle {
  font-weight: 700;
}

.toggle-label {
  display: inline-block;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.column {
  width: 100%;
  text-align: center;
}

/* Logo */
.logo {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  transition: transform 0.3s;
}

.logo-symbol {
  font-size: 72px;
  font-weight: 700;
  color: var(--ai-primary);
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-name {
  font-size: 24px;
  color: var(--ai-secondary);
  font-weight: 500;
  margin-top: 10px;
  letter-spacing: 0.5px;
}

/* Stealth Mode Badge */
.stealth-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: 600;
}

.pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--stealth-green);
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}

.pulse:before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--stealth-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}

/* Typography */
.company-tagline {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ai-primary);
}

.founder {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--ai-secondary);
}

.company-description {
  margin-bottom: 35px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.company-description p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

/* Buttons */
.button-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover, .button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  outline: none;
}

.button:focus-visible {
  outline: 2px solid var(--ai-primary);
  outline-offset: 2px;
}

.button-email {
  background-color: var(--ai-primary);
}

.button-email:hover {
  background-color: #2a4a7a;
}

.button-linkedin {
  background-color: var(--linkedin-blue);
}

.button-linkedin:hover {
  background-color: #0c5396;
}

.icon {
  height: 20px;
  width: 20px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 35px;
}

.service-item {
  padding: 15px;
  background-color: var(--service-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--card-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--card-shadow);
}

.service-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--icon-color);
  transition: stroke 0.3s;
}

.service-item:hover .service-icon svg {
  stroke: var(--ai-primary);
}

.service-text {
  font-size: 14px;
  font-weight: 600;
}

/* Footer */
footer {
  color: var(--footer-color);
  margin-top: 20px;
  padding: 20px;
  text-align: center;
}

.company-legal {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.copyright {
  font-size: 13px;
}

/* Media Queries */
@media screen and (min-width: 768px) {
  .button {
    width: 380px;
    margin: 0 auto;
  }
  
  .services {
    margin-bottom: 40px;
  }

  .logo-symbol {
    font-size: 86px;
  }

  .logo-name {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .services {
    grid-template-columns: 1fr;
  }
  
  .company-description {
    max-width: 100%;
  }
  
  .toggle-container {
    top: 10px;
    right: 10px;
  }
  
  .toggle {
    width: 36px;
    height: 36px;
  }
}

/* Print styles */
@media print {
  body {
    background-color: #fff;
    color: #000;
  }
  
  .container {
    max-width: 100%;
  }
  
  .toggle-container {
    display: none;
  }
  
  .button-stack {
    display: none;
  }
  
  .hidden {
    display: block;
  }
}