:root {
  --primary: #f43f5e;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --ring: #f43f5e;
  --radius: 0.75rem;
}

.dark {
  --background: #020617;
  --foreground: #f8fafc;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --border: #1e293b;
  --card: #020617;
  --card-foreground: #f8fafc;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  transition: background-color 0.3s ease, color 0.3s ease;
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* Header */
header {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
  transition: all 0.2s;
}

.theme-toggle:hover {
  background-color: var(--muted);
}

.hidden {
  display: none;
}

/* Main Content */
main {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
}

@media (max-width: 1024px) {
  main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

/* Illustration & Blobs */
.illustration {
  position: relative;
  display: flex;
  justify-content: center;
}

.blob-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.blob {
  position: absolute;
  filter: blur(60px);
  opacity: 0.4;
  border-radius: 50%;
  z-index: -1;
  animation: blob-float 10s infinite alternate ease-in-out;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background-color: #3b82f6;
  top: -10%;
  left: -10%;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background-color: #f43f5e;
  bottom: -10%;
  right: -10%;
  animation-delay: -2s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background-color: #fbbf24;
  top: 40%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
  100% { transform: translate(-10px, 10px) scale(0.9); }
}

.image-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.illustration-image {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.illustration-image:hover {
  transform: scale(1.02);
}

/* Content */
.content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.countdown-timer {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .countdown-timer {
    justify-content: center;
  }
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--foreground);
}

.countdown-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.heading-primary {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
}

.heading-secondary {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.separator {
  width: 4rem;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .separator {
    margin: 0 auto;
  }
}

/* Notification Form */
.notification-form {
  margin-top: 1rem;
}

.form-group {
  display: flex;
  gap: 0.5rem;
  background-color: var(--muted);
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .form-group {
    flex-direction: column;
  }
}

input[type="email"] {
  flex: 1;
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--foreground);
  font-size: 1rem;
  outline: none;
}

button[type="submit"] {
  background-color: var(--foreground);
  color: var(--background);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: calc(var(--radius) - 0.25rem);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  margin-top: 2rem;
  animation: fadeIn 0.8s ease-out;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
}

@media (max-width: 1024px) {
  .contact-buttons {
    justify-content: center;
  }
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
}

.contact-button svg {
  transition: transform 0.3s ease;
}

.contact-button:hover svg {
  transform: scale(1.1);
}

.contact-button.whatsapp {
  background-color: #25d366;
  color: white;
  border-color: #25d366;
  box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.39);
}

.contact-button.facebook {
  background-color: #1877f2;
  color: white;
  border-color: #1877f2;
  box-shadow: 0 4px 14px 0 rgba(24, 119, 242, 0.39);
}

.contact-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

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