:root {
  --bg-color: #fcfcfc;
  --surface-color: rgba(252, 252, 252, 0.8);
  --text-primary: #111111;
  --text-secondary: #555555;
  --border-color: #e0e0e0;
}

[data-theme="dark"] {
  --bg-color: #0a0a0a;
  --surface-color: rgba(10, 10, 10, 0.8);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border-color: #333333;
}

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
  overflow-x: hidden;
}

h1,
h2,
.nav-brand {
  font-family: "Playfair Display", serif;
}

/* Navegación Glassmorphism */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--surface-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition:
    background-color 0.4s,
    border-color 0.4s;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Botones */
button {
  font-family: "Inter", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  padding: 8px 16px;
  border-radius: 4px;
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-color);
}

.btn-solid {
  background: var(--text-primary);
  color: var(--bg-color);
  border: 1px solid var(--text-primary);
  padding: 12px 24px;
  border-radius: 4px;
}

.btn-solid:hover {
  opacity: 0.8;
}

/* Secciones */
section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero */
.logo {
  width: 100%;
  max-width: 450px;
  margin-bottom: 3rem;
  transition: opacity 0.3s ease;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

/* Formulario */
.newsletter {
  min-height: 60vh;
}

.newsletter h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.newsletter p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 500px;
}

input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s;
}

input[type="email"]:focus {
  border-color: var(--text-primary);
}

.success-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4caf50;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.footer-icon {
  width: 30px;
  margin-bottom: 1rem;
}

.footer p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animaciones de Scroll (Intersection Observer) */
.hidden-element {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.show-element {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
  .form-group {
    flex-direction: column;
  }
}
