/* Desi Mail Booster - shared modern styles */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #14142b;
  --muted: #6b7280;
  --border: #e7e8f2;
  --brand: #6d5bff;
  --brand-dark: #4f3ff0;
  --brand-light: #eef0ff;
  --success: #16a34a;
  --error: #dc2626;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 60px -20px rgba(20, 20, 43, 0.15);
  --shadow-card: 0 10px 30px -12px rgba(20, 20, 43, 0.12);
  --container: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* Header */
.site-header {
  padding: 28px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), #a78bfa);
  color: #fff;
  font-size: 1rem;
}

/* Hero / background glow */
.glow-bg {
  position: relative;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.glow-bg > .wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.glow-bg::before,
.glow-bg::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  z-index: 0;
  opacity: 0.35;
}

.glow-bg::before {
  background: var(--brand);
  top: -160px;
  left: -160px;
}

.glow-bg::after {
  background: #ff7ab8;
  bottom: -160px;
  right: -180px;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Home hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  padding: clamp(24px, 6vw, 56px) 0 clamp(56px, 8vw, 96px);
}

.hero-image {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 100%;
  text-align: center;
}

.hero-image .frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-image img {
  width: min(420px, 100%);
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}

.hero-content {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-content h2 {
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  margin-bottom: 12px;
}

.hero-content .lede {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 46ch;
}

/* Contact form card */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 4vw, 32px);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.form-row .field {
  flex: 1 1 200px;
  min-width: 0;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: inherit;
  background: #fbfbfe;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-light);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(109, 91, 255, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(109, 91, 255, 0.6);
}

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

.form-message {
  margin-top: 16px;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

/* Unsubscribe page */
.confirmation-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.confirmation {
  max-width: 480px;
  width: 100%;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 6vw, 48px);
}

.confirmation .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation .icon svg {
  width: 30px;
  height: 30px;
}

.confirmation h1 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.confirmation p {
  color: var(--muted);
  font-size: 1rem;
  margin: 0 0 24px;
}

.confirmation .btn {
  display: inline-block;
}

/* Footer */
.site-footer {
  padding: 32px 0 48px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    text-align: center;
  }

  .hero-content .lede {
    margin-left: auto;
    margin-right: auto;
  }
}
