:root {
  --bg: #0b0f19;
  --card-bg: #141b2d;
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  --primary: #a855f7; /* Violet */
  --accent: #06b6d4;  /* Cyan */
  --nav-bg: rgba(11, 15, 25, 0.95);
  --border-color: rgba(255, 255, 255, 0.08);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navigation */
nav {
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}
nav a {
  display: block;
  padding: 22px 25px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: all 0.3s;
  transform: translateX(-50%);
}
nav a:hover, nav a.active {
  color: var(--text);
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}
nav a:hover::after, nav a.active::after {
  width: 80%;
}

/* Main Content */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}
.tab-content {
  display: none;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-content.active {
  display: block;
}

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

/* Centerpiece Logo Section */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.logo-container {
  display: inline-block;
  position: relative;
  margin-bottom: 25px;
}
.logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  animation: pulseGlow 4s infinite alternate;
}
.asmat-logo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 3px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent)) border-box;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(6, 182, 212, 0.2);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.asmat-logo:hover {
  transform: scale(1.08) rotate(3deg);
}
.hero-section h1 {
  font-size: 4rem;
  margin: 10px 0;
  font-weight: 900;
  letter-spacing: 5px;
  background: linear-gradient(to right, var(--text) 30%, var(--accent) 70%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.tagline {
  font-size: 1.3rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 70px;
}
.feature-card {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.05);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-card h3 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: #fff;
}
.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Canvas Animation Area */
.animation-container {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 40px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  margin-bottom: 50px;
}
.section-title {
  font-size: 2rem;
  margin: 0 0 10px 0;
  color: white;
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
}
.canvas-wrapper {
  background: #070a12;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  height: 350px;
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* FAQ */
#faq {
  max-width: 800px;
  margin: 0 auto;
}
#faq h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}
.faq-item {
  background: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-question {
  padding: 22px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: white;
  transition: background 0.3s;
}
.faq-question:hover {
  background: rgba(255,255,255,0.02);
}
.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open {
  border-color: rgba(168, 85, 247, 0.3);
}
.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 25px;
}
.arrow {
  transition: transform 0.3s;
  color: var(--accent);
  font-size: 0.8rem;
}
.faq-item.open .arrow {
  transform: rotate(180deg);
}

/* Contact Form */
.form-card {
  background: var(--card-bg);
  padding: 50px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  max-width: 650px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.form-card h2 {
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: white;
}
.form-instructions {
  color: var(--text-muted);
  margin-bottom: 35px;
}
.form-group {
  margin-bottom: 25px;
}
label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
input, textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
  color: white;
  transition: all 0.3s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  background: rgba(0,0,0,0.5);
}
button.btn-submit {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: all 0.3s;
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}
button.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(6, 182, 212, 0.3);
}
button.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Legal Documents Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  line-height: 1.8;
}
.legal-content h1 {
  font-size: 2.2rem;
  margin-top: 0;
  color: white;
}
.legal-content h3 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-top: 30px;
}
.legal-content p, .legal-content li {
  color: var(--text-muted);
}
.legal-content ul {
  padding-left: 20px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 20px;
  background: #070a12;
  margin-top: 60px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.footer-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent);
}
.divider {
  color: rgba(255,255,255,0.1);
}
