:root {
  --bg-main: #020617;         /* Deep Obsidian */
  --bg-card: #0F172A;         /* Slate 900 */
  --text-main: #F8FAFC;       /* Slate 50 */
  --text-muted: #94A3B8;      /* Slate 400 */
  --accent: #22D3EE;          /* Bioluminescent Cyan */
  --accent-hover: #06B6D4;    /* Cyan 600 */
  --accent-glow: rgba(34, 211, 238, 0.15);
  --border: rgba(255, 255, 255, 0.08);
  --gradient-main: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
  --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-main);
  /* Subtle glowing mesh gradient background */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(34, 211, 238, 0.08), transparent 30%),
    radial-gradient(circle at 85% 30%, rgba(59, 130, 246, 0.08), transparent 30%);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Main Page Layout --- */
.container {
  max-width: 850px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  flex: 1;
}

header { text-align: center; margin-bottom: 3rem; }

.brand {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.06em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px var(--accent-glow);
}

.subtitle { 
  color: var(--text-muted); 
  font-size: 0.9rem; 
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.2);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
}

h1 { 
  font-size: 2.25rem; 
  font-weight: 800; 
  margin-bottom: 1rem; 
  text-align: center;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.description { 
  text-align: center; 
  color: var(--text-muted); 
  margin-bottom: 3rem; 
  font-size: 1.15rem; 
  max-width: 650px; 
  margin-left: auto; 
  margin-right: auto; 
}

/* Developer Presentation Card */
.dev-presentation {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.dev-presentation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-main);
  box-shadow: 0 0 15px var(--accent);
}

.dev-presentation h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dev-presentation h2::before {
  content: "⚡";
  font-size: 1.5rem;
}

.dev-presentation h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.dev-presentation p { 
  margin-bottom: 1.125rem; 
  color: var(--text-muted); 
  line-height: 1.8; 
  font-size: 1.05rem;
}

.dev-presentation strong { 
  color: var(--text-main); 
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

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

label { 
  display: block; 
  font-size: 0.8rem; 
  font-weight: 700; 
  color: var(--text-main); 
  margin-bottom: 0.5rem; 
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input, textarea {
  width: 100%; 
  padding: 1rem; 
  border: 1px solid var(--border); 
  border-radius: 8px;
  font-size: 1rem; 
  font-family: inherit; 
  transition: all 0.2s ease; 
  background-color: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

input::placeholder, textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

input:focus, textarea:focus {
  outline: none; 
  border-color: var(--accent); 
  box-shadow: 0 0 0 3px var(--accent-glow); 
  background-color: rgba(255, 255, 255, 0.05);
}

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

button {
  width: 100%; 
  padding: 1.125rem; 
  background: var(--gradient-main);
  color: #020617; 
  border: none;
  border-radius: 8px; 
  font-size: 1rem; 
  font-weight: 800; 
  cursor: pointer; 
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

button:hover { 
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
}

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

.success-message {
  background-color: rgba(34, 197, 94, 0.1); 
  color: #4ADE80; 
  padding: 1.25rem; 
  border-radius: 8px;
  text-align: center; 
  margin-bottom: 1.5rem; 
  font-weight: 700; 
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* --- Legal Pages Accordion Style --- */
.legal-container { 
  max-width: 850px; 
  margin: 0 auto; 
  padding: 4rem 1.5rem; 
  flex: 1; 
}

.legal-header { 
  text-align: center; 
  margin-bottom: 3rem; 
  padding-bottom: 2rem; 
  border-bottom: 1px solid var(--border); 
}

/* Accordion Styles */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

details:hover { 
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.05);
}

summary {
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.3s;
  line-height: 1;
}

details[open] summary::after { 
  content: "−";
}

details[open] summary { 
  background: rgba(34, 211, 238, 0.05);
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}

.details-content {
  padding: 1.5rem;
  line-height: 1.8;
  color: var(--text-muted);
  background-color: var(--bg-card);
  font-size: 1.025rem;
}

.details-content p { margin-bottom: 1.125rem; }
.details-content ul { padding-left: 1.5rem; margin-bottom: 1.125rem; }
.details-content li { margin-bottom: 0.625rem; }
.details-content a { 
  color: var(--accent); 
  text-decoration: none; 
  font-weight: 600;
  border-bottom: 1px solid rgba(34, 211, 238, 0.3);
  transition: border-color 0.2s;
}
.details-content a:hover { border-bottom-color: var(--accent); }

/* Footer (Shared) */
footer {
  text-align: center; 
  padding: 2.5rem 1.5rem; 
  border-top: 1px solid var(--border);
  background-color: var(--bg-card); 
  margin-top: auto;
}

.footer-links { 
  display: flex; 
  justify-content: center; 
  gap: 2rem; 
  margin-bottom: 1rem; 
}

.footer-links a { 
  color: var(--text-muted); 
  text-decoration: none; 
  font-size: 0.8rem; 
  font-weight: 700; 
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-links a:hover { 
  color: var(--accent); 
}

.copyright { 
  font-size: 0.8rem; 
  color: var(--text-muted); 
}

@media (max-width: 600px) {
  .container, .legal-container { padding: 2.5rem 1rem; }
  .brand { font-size: 2.5rem; }
  .dev-presentation, .contact-form { padding: 1.5rem; }
}