/* ============================================================
   KautionGuard Teaser Stylesheet (Simple, Elegant, Focused)
   Colors: #00BFB3 (Vivid Teal), #0B2545 (Deep Navy), #F4F9FD (Ice Blue Canvas)
   ============================================================ */

:root {
  --brand-navy: #0B2545;
  --brand-teal: #00BFB3;
  --brand-teal-hover: #00A89D;
  --brand-teal-light: #E6F9F8;
  --canvas-bg: #F4F9FD;
  --surface-card: #FFFFFF;
  --border-color: #D6E6F2;
  --border-focus: #00BFB3;
  --text-main: #0B2545;
  --text-body: #344B65;
  --text-muted: #5A738E;
  --text-subtle: #8DA2B5;
  --emerald-pass: #059669;
  --emerald-bg: #ECFDF5;
  --amber-alert: #D97706;
  --amber-bg: #FEF3C7;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 3px rgba(11, 37, 69, 0.04);
  --shadow-card: 0 10px 30px -4px rgba(11, 37, 69, 0.08);
  --shadow-teal: 0 8px 24px -4px rgba(0, 191, 179, 0.35);

  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html {
  font-size: 16px;
  background-color: var(--canvas-bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--canvas-bg);
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F4F9FD 55%, #EAF3FA 100%);
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Subtle Brand Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow-teal {
  top: -150px;
  right: -100px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 191, 179, 0.12) 0%, rgba(244, 249, 253, 0) 70%);
  filter: blur(90px);
}

.glow-navy {
  bottom: 0;
  left: -120px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(11, 37, 69, 0.04) 0%, rgba(244, 249, 253, 0) 70%);
  filter: blur(100px);
}

/* ============================================================
   Header (Unobtrusive Language Toggle)
   ============================================================ */
.header {
  position: relative;
  z-index: 10;
  padding: 24px 0 12px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: var(--brand-teal);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 191, 179, 0.3);
}

.lang-btn:hover:not(.active) {
  color: var(--brand-navy);
}

/* ============================================================
   Main Hero (Prominent Logo & Core Text)
   ============================================================ */
.main-wrapper {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 60px;
}

.content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Big Prominent Logo Box */
.hero-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.hero-logo-emblem {
  width: clamp(76px, 10vw, 104px);
  height: clamp(80px, 10.5vw, 110px);
  flex-shrink: 0;
  filter: drop-shadow(0 8px 20px rgba(11, 37, 69, 0.1));
  transition: transform 0.25s ease;
}

.hero-logo-emblem:hover {
  transform: scale(1.04);
}

.hero-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand-name {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-navy);
  line-height: 1.05;
}

.brand-teal {
  color: var(--brand-teal);
}

.hero-brand-tagline {
  font-family: var(--font-sans);
  font-size: clamp(15.5px, 2.1vw, 19.5px);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
  margin-top: 6px;
}

/* The Core Product Description Paragraph */
.hero-description {
  font-size: clamp(16px, 1.8vw, 18.5px);
  line-height: 1.75;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 500;
}

/* ============================================================
   Notify Form
   ============================================================ */
.notify-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mobile grid when screen fits PLZ & button side by side */
@media (min-width: 420px) and (max-width: 579px) {
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .input-email {
    grid-column: 1 / -1;
  }

  .input-plz {
    grid-column: 1;
  }

  .btn-notify {
    grid-column: 2;
  }
}

/* Desktop & Tablet inline layout */
@media (min-width: 580px) {
  .form-row {
    flex-direction: row;
    align-items: stretch;
  }

  .input-email {
    flex: 1.7;
    min-width: 200px;
  }

  .input-plz {
    flex: 0 0 140px;
  }

  .btn-notify {
    flex-shrink: 0;
  }
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-subtle);
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 44px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.input-wrapper input:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 191, 179, 0.2);
}

.input-wrapper input::placeholder {
  color: var(--text-subtle);
}

.btn-notify {
  background: var(--brand-teal);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-teal);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-notify:hover {
  background: var(--brand-teal-hover);
  transform: translateY(-1px);
}

.btn-notify:active {
  transform: translateY(0);
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-notify:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.hidden {
  display: none !important;
}

/* Feedback Message */
.feedback-msg {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.feedback-msg.success {
  background: var(--emerald-bg);
  border: 1px solid rgba(5, 150, 105, 0.3);
  color: var(--emerald-pass);
}

.feedback-msg.error {
  background: var(--amber-bg);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--amber-alert);
}

/* ============================================================
   Minimal Clean Footer
   ============================================================ */
.footer {
  position: relative;
  z-index: 10;
  padding: 24px 0 28px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy {
  color: var(--text-muted);
}

.footer-contact {
  color: var(--brand-teal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-contact:hover {
  color: var(--brand-teal-hover);
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 520px) {
  .hero-logo-box {
    margin-bottom: 22px;
  }
  .hero-description {
    margin-bottom: 28px;
  }
}
