/* ==========================================
   VIBRANT DESIGN - MISTER EDUCATION
   Split-screen layout with animated gradients
   ========================================== */

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

:root {
  /* Brazilian Flag Colors */
  --brazil-green: #009739;
  --brazil-green-light: #00c853;
  --brazil-yellow: #FFDF00;
  --brazil-gold: #FFD700;
  --brazil-blue: #002776;
  --brazil-blue-light: #0047AB;
  --white: #ffffff;

  /* Brand Colors */
  --navy: #1a2f4f;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
}

html, body {
  min-height: 100%;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 1024px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
  }
}

/* ==========================================
   SPLIT SCREEN LAYOUT
   ========================================== */

.split-container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Left Panel - Brazilian Flag Inspired Design */
.left-panel {
  flex: 0 0 55%;
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;

  /* Brazilian Colors Animated Gradient - Vivid Green and Blue (Darker) */
  background: linear-gradient(
    135deg,
    #008540 0%,
    #00a344 15%,
    #0097a7 30%,
    #0277bd 50%,
    #01579b 70%,
    #013d6b 100%
  );
  background-size: 400% 400%;
  animation: brazilGradient 20s ease-in-out infinite;
}

@keyframes brazilGradient {
  0% { background-position: 0% 0%; }
  25% { background-position: 100% 50%; }
  50% { background-position: 100% 100%; }
  75% { background-position: 0% 50%; }
  100% { background-position: 0% 0%; }
}

/* Geometric shapes inspired by Brazilian flag */
.left-panel::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 223, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: floatSlow 25s ease-in-out infinite;
}

.left-panel::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 71, 171, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
  animation: floatSlow 20s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(60px, 60px) rotate(180deg) scale(1.15);
  }
}

/* Merged Badge - Método Varani + Coming Soon */
.metodo-varani {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.metodo-varani-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brazil-blue);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.metodo-varani-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brazil-green);
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  max-width: 750px;
  width: 100%;
  margin: auto;

  /* Glass morphism effect */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 1.5rem 2rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Right Panel - Shanghai Image */
.right-panel {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  background: url('../assets/shanghai.jpg') center/cover no-repeat;
  height: 100vh;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 3rem;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
}

/* Logo */
.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 0.7rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
  object-fit: cover;
  object-position: center;
  /* Zoom into the center to crop white borders */
  transform: scale(1.2);
}

.logo:hover {
  transform: rotate(360deg) scale(1.25);
}

/* Waitlist Badge */
.waitlist-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brazil-yellow), var(--brazil-gold));
  color: var(--brazil-blue);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 0.3rem 1rem;
  border-radius: 18px;
  margin: 0 auto 0.7rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 223, 0, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

/* Typography */
.headline {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  text-align: center;
  mix-blend-mode: difference;
  filter:
    drop-shadow(0 0 15px rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
}

.highlight {
  background: linear-gradient(to right, var(--brazil-yellow), var(--brazil-gold), var(--brazil-yellow));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  font-weight: 900;
  /* Enhanced contrast - add drop shadow for better visibility */
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 20px rgba(255, 223, 0, 0.6));
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.subheadline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 500;
}

.subheadline .highlight-text {
  font-size: 1.1em;
  font-weight: 700;
  background: linear-gradient(to right, var(--brazil-yellow), var(--brazil-gold), var(--brazil-yellow));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255, 223, 0, 0.6));
}

.subheadline strong {
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Preview Cards */
.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.preview-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1rem 0.8rem;
  text-align: center;
  position: relative;
  overflow: visible;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
}

.preview-card:active,
.preview-card:focus,
.preview-card:hover,
.preview-card:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  transform: none;
  box-shadow: none;
}

.priority-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(15deg);
  background: linear-gradient(135deg, #FF6B6B, #EE5A24);
  color: #ffffff;
  font-size: 0.42rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow:
    0 4px 15px rgba(238, 90, 36, 0.7),
    0 0 0 3px rgba(255, 255, 255, 0.3),
    inset 0 0 0 2px rgba(255, 255, 255, 0.2);
  z-index: 9999;
  line-height: 1.15;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.5);
}


.preview-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
}

.preview-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}


.preview-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
}

.preview-description {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  font-weight: 500;
}

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

/* Language Selector */
.language-selector {
  margin-bottom: 1rem;
}

.language-label {
  display: block;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.language-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.language-pill {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  font-family: inherit;
  white-space: nowrap;
}

.language-pill:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.language-pill.selected {
  background: linear-gradient(135deg, var(--brazil-yellow), var(--brazil-gold));
  border-color: transparent;
  color: var(--brazil-blue);
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(255, 223, 0, 0.5);
  transform: scale(1.08);
}

.language-pill:active {
  transform: scale(0.95);
}

/* Form */
.waitlist-form {
  margin-bottom: 0.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a2f4f;
  font-family: inherit;
  transition: all 0.3s ease;
}

input[type="email"]:focus {
  outline: none;
  border-color: var(--brazil-yellow);
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 223, 0, 0.4);
}

input[type="email"]::placeholder {
  color: rgba(26, 47, 79, 0.5);
}

/* Input error messages */
.input-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: -0.4rem;
  margin-bottom: 0.4rem;
  padding-left: 0.5rem;
  font-weight: 500;
  text-align: left;
}

/* Phone Input Group */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.country-code-select {
  flex: 0 0 105px;
  padding: 0.75rem 0.7rem;
  font-size: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a2f4f;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.country-code-select:focus {
  outline: none;
  border-color: var(--brazil-yellow);
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 223, 0, 0.4);
}

input[type="tel"] {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a2f4f;
  font-family: inherit;
  transition: all 0.3s ease;
}

input[type="tel"]:focus {
  outline: none;
  border-color: var(--brazil-yellow);
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 223, 0, 0.4);
}

input[type="tel"]::placeholder {
  color: rgba(26, 47, 79, 0.35);
  font-style: italic;
  font-size: 0.95em;
}

/* Enhanced validation states for phone input */
input[type="tel"].valid {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(132, 204, 22, 0.6);
}

input[type="tel"].invalid {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(239, 68, 68, 0.6);
}

input[type="tel"].formatting {
  transition: all 0.2s ease;
}

button[type="submit"] {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brazil-green), var(--brazil-green-light));
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 151, 57, 0.5);
  position: relative;
  overflow: hidden;
}

button[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

button[type="submit"]:hover:not(:disabled)::before {
  left: 100%;
}

button[type="submit"]:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.6);
  background: linear-gradient(135deg, var(--brazil-green-light), var(--brazil-green));
}

button[type="submit"]:active:not(:disabled) {
  transform: translateY(-1px);
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden {
  display: none !important;
}

/* Feedback */
.feedback {
  margin-top: 0.8rem;
  padding: 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  text-align: center;
  font-weight: 600;
  animation: slideIn 0.3s ease-out;
}

.feedback.success {
  background: rgba(132, 204, 22, 0.9);
  color: #ffffff;
}

.feedback.error {
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
}

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

/* Footer (Compact) */
.footer-compact {
  text-align: center;
  margin-top: 0.8rem;
}

.footer-compact p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
}

.footer-compact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-compact a:hover {
  color: var(--brazil-yellow);
}

/* Responsive - Tablet */
@media (max-width: 1280px) {
  .left-panel {
    flex: 0 0 60%;
  }

  .right-panel {
    flex: 0 0 40%;
  }

  .logo {
    width: 90px;
    height: 90px;
    margin-bottom: 0.9rem;
    transform: scale(1.2);
  }

  .logo:hover {
    transform: rotate(360deg) scale(1.25);
  }

  .content-wrapper {
    max-width: 750px;
    padding: 1.3rem 1.8rem;
    margin: 0 auto;
  }

  .waitlist-badge {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
    margin-bottom: 0.8rem;
  }

  .metodo-varani-title {
    font-size: 1.6rem;
  }

  .preview-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.3rem;
  }

  .preview-card {
    padding: 1rem 0.8rem;
    min-height: 130px;
  }

  .preview-icon {
    width: 44px;
    height: 44px;
  }

  .preview-title {
    font-size: 0.88rem;
  }

  .preview-description {
    font-size: 0.75rem;
  }

  .priority-badge {
    font-size: 0.5rem;
    padding: 0.35rem 0.5rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 1024px) {
  .split-container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .left-panel {
    flex: 0 0 auto;
    min-height: auto;
    height: auto;
    overflow: visible;
    padding: 1.5rem;
  }

  .right-panel {
    flex: 0 0 auto;
    min-height: 50vh;
    height: auto;
    order: 2;
  }

  .content-wrapper {
    padding: 1.8rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1.2rem;
    transform: scale(1.2);
  }

  .logo:hover {
    transform: rotate(360deg) scale(1.25);
  }

  .waitlist-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.9rem;
    letter-spacing: 1.5px;
  }

  .headline {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .subheadline {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .preview-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .preview-card {
    padding: 0.8rem 0.4rem;
    min-height: 100px;
  }

  .preview-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.4rem;
  }

  .preview-title {
    font-size: 0.7rem;
  }

  .preview-description {
    font-size: 0.6rem;
  }

  .priority-badge {
    width: 50px;
    height: 50px;
    font-size: 0.28rem;
    padding: 0.3rem;
    top: -10px;
    right: -10px;
    transform: rotate(15deg);
    line-height: 1.1;
    border-width: 2px;
  }

  .language-label {
    font-size: 0.85rem;
  }

  .language-pills {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .language-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .phone-input-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .country-code-select {
    flex: 1 1 auto;
    width: 100%;
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  input[type="tel"] {
    width: 100%;
  }

  input[type="email"],
  input[type="tel"] {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
  }

  button[type="submit"] {
    font-size: 1rem;
    padding: 0.9rem 1.3rem;
  }

  .metodo-varani {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
  }

  .metodo-varani-title {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }

  .metodo-varani-subtitle {
    font-size: 0.65rem;
  }
}

@media (max-width: 640px) {
  .left-panel {
    padding: 1rem;
  }

  .content-wrapper {
    padding: 1.5rem;
    border-radius: 20px;
    margin: 0 auto;
  }

  .logo {
    width: 90px;
    height: 90px;
    margin-bottom: 1rem;
    transform: scale(1.2);
  }

  .logo:hover {
    transform: rotate(360deg) scale(1.25);
  }

  .waitlist-badge {
    font-size: 0.6rem;
    padding: 0.28rem 0.8rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1.2px;
  }

  .headline {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .subheadline {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .preview-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .preview-card {
    padding: 0.8rem 0.4rem;
    min-height: 95px;
  }

  .preview-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.4rem;
  }

  .preview-title {
    font-size: 0.68rem;
  }

  .preview-description {
    font-size: 0.58rem;
  }

  .priority-badge {
    width: 46px;
    height: 46px;
    font-size: 0.26rem;
    padding: 0.28rem;
    top: -9px;
    right: -9px;
    transform: rotate(15deg);
    line-height: 1.08;
    border-width: 2px;
  }

  .language-label {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .language-pills {
    gap: 0.35rem;
  }

  .language-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.7rem;
  }

  .phone-input-group {
    flex-direction: column;
    gap: 0.8rem;
  }

  .country-code-select {
    flex: 1 1 auto;
    width: 100%;
    font-size: 0.85rem;
    padding: 0.8rem 0.9rem;
  }

  input[type="tel"] {
    width: 100%;
  }

  input[type="email"],
  input[type="tel"] {
    font-size: 0.9rem;
    padding: 0.8rem 0.9rem;
  }

  button[type="submit"] {
    font-size: 0.95rem;
    padding: 0.85rem 1.2rem;
  }

  .footer-compact p {
    font-size: 0.7rem;
  }

  .right-panel {
    min-height: 40vh;
  }

  .metodo-varani {
    padding: 0.9rem 1.2rem;
    margin-bottom: 0.8rem;
  }

  .metodo-varani-title {
    font-size: 1rem;
    letter-spacing: 1.2px;
  }

  .metodo-varani-subtitle {
    font-size: 0.6rem;
  }
}

@media (max-width: 375px) {
  .content-wrapper {
    padding: 1.2rem;
    margin: 0 auto;
  }

  .logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0.8rem;
    transform: scale(1.2);
  }

  .logo:hover {
    transform: rotate(360deg) scale(1.25);
  }

  .waitlist-badge {
    font-size: 0.55rem;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
  }

  .headline {
    font-size: 1.4rem;
  }

  .subheadline {
    font-size: 0.85rem;
  }

  .preview-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    margin-bottom: 1rem;
  }

  .preview-card {
    padding: 0.7rem 0.3rem;
    min-height: 85px;
  }

  .preview-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 0.3rem;
  }

  .preview-title {
    font-size: 0.62rem;
  }

  .preview-description {
    font-size: 0.54rem;
  }

  .priority-badge {
    width: 40px;
    height: 40px;
    font-size: 0.24rem;
    padding: 0.25rem;
    top: -8px;
    right: -8px;
    transform: rotate(15deg);
    line-height: 1.05;
    border-width: 2px;
  }

  .language-pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }

  .phone-input-group {
    flex-direction: column;
    gap: 0.7rem;
  }

  .country-code-select {
    flex: 1 1 auto;
    width: 100%;
    font-size: 0.8rem;
    padding: 0.75rem 0.8rem;
  }

  input[type="tel"] {
    width: 100%;
    font-size: 0.85rem;
  }

  input[type="email"],
  input[type="tel"] {
    font-size: 0.85rem;
  }

  .right-panel {
    min-height: 35vh;
  }

  .metodo-varani {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
  }

  .metodo-varani-title {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .metodo-varani-subtitle {
    font-size: 0.55rem;
  }
}

/* Mobile Landscape */
@media (max-width: 1024px) and (orientation: landscape) {
  .left-panel {
    min-height: auto;
    height: auto;
    padding: 1rem;
    overflow: visible;
  }

  .content-wrapper {
    padding: 1.2rem;
    margin: 0 auto;
  }

  .logo {
    width: 70px;
    height: 70px;
    margin-bottom: 0.8rem;
    transform: scale(1.2);
  }

  .logo:hover {
    transform: rotate(360deg) scale(1.25);
  }

  .waitlist-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.8rem;
    margin-bottom: 0.7rem;
  }

  .headline {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .subheadline {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .preview-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.8rem;
  }

  .preview-card {
    padding: 0.7rem 0.4rem;
    min-height: 90px;
  }

  .preview-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.3rem;
  }

  .preview-title {
    font-size: 0.65rem;
  }

  .preview-description {
    font-size: 0.56rem;
  }

  .priority-badge {
    width: 42px;
    height: 42px;
    font-size: 0.25rem;
    padding: 0.26rem;
    top: -8px;
    right: -8px;
    transform: rotate(15deg);
    line-height: 1.08;
    border-width: 2px;
  }

  .language-selector {
    margin-bottom: 1rem;
  }

  .language-label {
    margin-bottom: 0.6rem;
  }

  .language-pills {
    margin-bottom: 1rem;
  }

  .form-group {
    gap: 0.8rem;
  }

  .phone-input-group {
    flex-direction: column;
    gap: 0.7rem;
  }

  .country-code-select {
    flex: 1 1 auto;
    width: 100%;
    font-size: 0.85rem;
  }

  input[type="tel"] {
    width: 100%;
  }

  .footer-compact {
    margin-top: 1rem;
  }

  .right-panel {
    min-height: 40vh;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
