/* CSS Variables matching Brand Guidelines */
:root {
  --bg-color: #FFF9F0;          /* Warm Cream */
  --header-color: #FFAB85;      /* Peach Orange */
  --accent-pink: #FFA8A4;       /* Tulip Pink */
  --accent-blue: #8CC6EC;       /* Sky Blue */
  --accent-green: #A8DF8E;      /* Soft Sage Green */
  --text-dark: #2B2B2B;         /* Charcoal Brown */
  --card-bg: rgba(255, 255, 255, 0.9);
  --font-title: 'Fredoka', 'Quicksand', 'Comfortaa', sans-serif;
  --font-body: 'Quicksand', 'Inter', sans-serif;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Main Container Card */
.container {
  background: var(--card-bg);
  border: 4px solid var(--text-dark);
  border-radius: 24px;
  box-shadow: 8px 8px 0px var(--text-dark);
  max-width: 480px;
  width: 100%;
  padding: 30px;
  text-align: center;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.container:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0px var(--text-dark);
}

/* Header and Badge styling */
h1 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.2;
}

.highlight {
  color: var(--header-color);
  text-shadow: 1px 1px 0px var(--text-dark);
}

.badge {
  display: inline-block;
  background-color: var(--accent-blue);
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  border-radius: 12px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 2px 2px 0px var(--text-dark);
}

/* Graphic Container (Visual Mockup) */
.graphic-box {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #fff;
  border: 3px solid var(--text-dark);
  border-radius: 16px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
}

.graphic-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.desc {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #555;
  padding: 0 10px;
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

label {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 3px solid var(--text-dark);
  border-radius: 12px;
  background-color: #fff;
  color: var(--text-dark);
  outline: none;
  transition: box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus {
  box-shadow: 0 0 0 3px var(--accent-pink);
}

/* Button Styling (Neubrutalism micro-animation) */
.btn {
  background-color: var(--header-color);
  color: var(--text-dark);
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 14px;
  border: 3px solid var(--text-dark);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 4px 4px 0px var(--text-dark);
  transition: all 0.1s ease;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  display: block;
}

.btn:hover {
  background-color: #ffbe9e;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--text-dark);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--text-dark);
}

/* Success Download Styles */
.success-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  display: inline-block;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.success-message {
  font-size: 1.15rem;
  margin-bottom: 25px;
  color: var(--text-dark);
}

/* Footer / Watermark styling */
footer {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #777;
  display: flex;
  align-items: center;
  gap: 5px;
}

footer a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: bold;
}

/* Loading/Auto-redirect text */
.auto-text {
  font-size: 0.9rem;
  font-style: italic;
  color: #888;
  margin-top: 15px;
}
