:root{
    --blue:#2da8ff;
    --blue-deep:#0c5db3;
    --yellow:#ffeb3b;
    --text-dark:#111;
}

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

body {
    margin:0;
    padding: 0;
    font-family:"Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:radial-gradient(circle at top right, #dff0ff, #ffffff 55%);
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:20px;
}

.container {
    max-width:900px;
    width:100%;
    background:white;
    border-radius:28px;
    box-shadow:0 15px 40px rgba(0,0,0,.2);
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    padding:40px;
    align-items:center;
}

.left h2 {
    margin:0;
    font-size:28px;
    font-weight:600;
    color:var(--text-dark);
}

.left .big {
    font-size:60px;
    font-weight:900;
    margin:10px 0;
    background:linear-gradient(135deg,var(--blue),var(--blue-deep));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
    
.left .big > .badge {
    color:#fff !important;
}

.badge {
  display: inline-block;
  margin-top: 20px;
  padding:18px 14px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  width: 100%;
  border: none;
  background: linear-gradient(135deg, #ffeb3b, #ffd700);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  cursor: pointer;
    font-weight:600;
    cursor:pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}


.left p {
    margin:20px 0 10px;
    font-size:16px;
}

.waitlist-form {
    margin-top:25px;
}

.waitlist-form input {
    width: 100%;
    padding: 18px 14px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:18px;
}

.flyer-slot {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, #eef7ff, #ffffff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #8fbbe6;
    border: 2px dashed #cfe6ff;
    text-align: center;
    overflow: hidden; /* hides cropped parts */
}

.flyer-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* fills the box completely */
    border-radius: 20px; /* optional: match container corners */
}


.message {
    background-color: #d4edda;       /* light green background */
    color: #155724;                  /* dark green text */
    border: 1px solid #c3e6cb;      /* green border */
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: none;
    font-family: sans-serif;
}

/* Error/Danger box */
.error {
    background-color: #f8d7da;       /* light red/pink background */
    color: #721c24;                  /* dark red text */
    border: 1px solid #f5c6cb;      /* red border */
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    display: none;
    font-family: sans-serif;
}

/* Optional: add an icon before text */
.message::before {
    content: "✔️";
    margin-right: 8px;
}

.error::before {
    content: "❌";
    margin-right: 8px;
}

.footerText {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

@media(max-width:900px) {
    .container {
        gap:0;
        padding:25px;
        text-align: center;
        grid-template-columns: 1fr;  
    }

    .container > * {
        display: block; 
    }

    .container > :nth-child(1) { order: 2; }
    .container > :nth-child(2) { order: 1; }

    .flyer-slot{
        height:350px;
    }
    
    .left .big{
        font-size:40px;
    }

    .headlineText {
        padding-top: 20px;
        display: block;
    }
}