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

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

header {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 200, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

#codeCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #a0a0a0;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.3));
  transition: transform 0.3s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

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

h2 {
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  font-weight: 600;
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

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

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

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

.tech .card {
  max-width: none;
}

.card {
  background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffc107, #ff9800, #ff5722);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.3);
}

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

.card h3 {
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  color: #b0b0b0;
  line-height: 1.7;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

input, textarea {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
  background: #1f1f1f;
}

input::placeholder, textarea::placeholder {
  color: #666;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

button::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 ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
}

button:hover::before {
  left: 100%;
}

button:active {
  transform: translateY(0);
}

#thankYouModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

#thankYouModalContent {
  background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
  padding: 3rem;
  border-radius: 20px;
  max-width: 450px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#thankYouModalContent h3 {
  color: #ffffff;
  margin-bottom: 1rem;
}

#thankYouModalContent p {
  color: #b0b0b0;
  margin-bottom: 1.5rem;
}

#thankYouModalContent button {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  margin-top: 0.5rem;
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.95rem;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: #0a0a0a;
}

footer p {
  margin: 0.5rem 0;
  color: #e0e0e0;
}

footer nav {
  margin: 1rem 0;
}

footer nav a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 0.25rem;
}

footer nav a:hover {
  color: #ff9800;
  text-decoration: underline;
}

footer .footer-location {
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

/* Legal Container with Tabs */
.legal-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.tab-navigation {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  color: #b0b0b0;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #ffc107;
  border-bottom-color: #ffc107;
  background: rgba(255, 193, 7, 0.05);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* Legal Content Pages */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.75rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ffc107;
  font-size: 1.35rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #b0b0b0;
}

.legal-content ul {
  margin: 1rem 0 1rem 2rem;
  line-height: 1.8;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: #b0b0b0;
}

.legal-content a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-content a:hover {
  color: #ff9800;
  text-decoration: underline;
}

.legal-content strong {
  color: #ffffff;
}

.back-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
}

/* Cookie Consent Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
  border-top: 2px solid #ffc107;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: slideUp 0.4s ease-out;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner-text h3 {
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  font-size: 1.25rem;
}

.cookie-banner-text p {
  margin: 0 0 0.5rem 0;
  color: #b0b0b0;
  line-height: 1.6;
}

.cookie-banner-links {
  font-size: 0.9rem;
}

.cookie-banner-links a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cookie-banner-links a:hover {
  color: #ff9800;
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.cookie-btn-reject {
  background: transparent;
  color: #b0b0b0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 4rem 1.5rem 3rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  .services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    padding: 1.25rem 1.5rem;
  }
  
  .cookie-banner-text {
    min-width: 100%;
  }
  
  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .legal-content {
    padding: 1.5rem;
  }
  
  .legal-content h2 {
    font-size: 1.5rem;
  }
  
  .legal-content h3 {
    font-size: 1.2rem;
  }
  
  footer nav {
    font-size: 0.9rem;
  }
  
  .legal-container {
    padding: 1.5rem;
  }
  
  .tab-navigation {
    gap: 0.25rem;
  }
  
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    flex: 1;
    min-width: 100px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
