:root {
  --bg-color: #0b0f19;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --accent-teal: #2dd4bf;
  --accent-purple: #c084fc;
  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Gradients & Glows */
.bg-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 30% 30%, rgba(192, 132, 252, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(45, 212, 191, 0.15) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

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

header {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--accent-purple), var(--accent-teal));
  -webkit-background-clip: text;
  color: transparent;
  text-decoration: none;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--text-primary);
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6rem 0;
}

.hero img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 40px rgba(45, 212, 191, 0.3);
  margin-bottom: 2rem;
  animation: float 6s ease-in-out infinite;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* Button */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-color);
  background: linear-gradient(to right, var(--accent-teal), var(--accent-purple));
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(192, 132, 252, 0.3);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Glassmorphism Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 4rem 0;
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 212, 191, 0.4);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
}

/* Content Pages */
.content-page {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.content-page h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.content-page h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--accent-teal);
}

.content-page p, .content-page ul {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-page ul {
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
}

/* Forms */
form {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

label {
  font-weight: 500;
  color: var(--text-primary);
}

input, textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.3s, outline 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
}

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

input[type="file"] {
  background: transparent;
  border: none;
  padding: 0;
}

input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  border-radius: 0.25rem;
  cursor: pointer;
  margin-right: 1rem;
  transition: background 0.3s;
}

input[type="file"]::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Formspree states */
input[data-fs-error], textarea[data-fs-error] {
  border-color: #ef4444;
}

[data-fs-error] {
  color: #ef4444;
  font-size: 0.875rem;
}

[data-fs-success] {
  padding: 1rem;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid var(--accent-teal);
  color: var(--accent-teal);
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 0 2rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.3s;
}

footer a:hover {
  color: var(--text-primary);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  .features {
    grid-template-columns: 1fr;
  }
}
