/* ===== Global Reset & Typography ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

.note {
  text-align: center;
  padding-top: 20px;
}
.link {
  text-align: center;
}

/* ===== Dark Mode Base ===== */
:root {
  --bg: #f8fdff;
  --card-bg: #ffffff;
  --text: #111827;
  --text-light: #525252;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0, 0, 0, 0.06);
  --accent: #FF9900;
  --accent-hover: #e68a00;
  --ku-green: #006400;
  --footer-text: #4b5563;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f151a;
    --card-bg: rgba(18, 24, 32, 0.64);
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: rgba(0, 0, 0, 0.2);
    --accent: #ffad33;
    --accent-hover: #ffb84d;
    --ku-green: #2e8b57;
    --footer-text: #94a3b8;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 153, 0, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(0, 100, 0, 0.03) 0%, transparent 30%);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  transition: background 0.4s ease;
}

/* Base paragraph styling */
p {
  margin-bottom: 1.1em;
  line-height: 1.7;
  color: var(--text);
}

/* ===== Layout ===== */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
  animation: fadeInUp 0.7s ease-out;
}

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

/* ===== Glass Cards (Liquid Frosted) ===== */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 760px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px var(--shadow), inset 0 0 0.5px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(14px);
  animation: cardIn 0.5s ease forwards;
}

@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Staggered Animation */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }

/* Hover: Slight lift + glow */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--shadow), 0 0 30px rgba(255, 153, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.16);
}

/* ===== Hero Card (Liquid Glass Showcase) ===== */
.hero {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255,153,0,0.04) 0%, transparent 60%);
  pointer-events: none;
  border-radius: 20px;
}

.eyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 12px;
}

.title {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 8px 0;
  color: #fff;
  background: #FF9900;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.15), transparent);
  border-radius: 8px;
}

.title:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,153,0,0.4); }
.title:active { transform: translateY(0); }

..positioning {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  margin: 6px 0;
  text-align: center;
  padding: 10px 14px;
  border-radius: 8px;

  /* Gradient background that matches turquoise + Amazon yellow */
  background: linear-gradient(
    135deg,
    #40E0D0 0%,
    #FF9900 100%
  );

  /* Optional: make text stand out more */
  color: #fff; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tagline {
  font-size: 1.06rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 24px;
  text-align: justify;
  background: turquoise;
  padding: 10px 14px;   /* adds breathing space inside the background */
  border-radius: 8px;   /* optional: makes the background look softer */
}

.cover {
  width: 90%; max-width: 500px; height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.16), 0 0 0 0.5px rgba(255,153,0,0.2);
  margin: 24px auto;
  display: block;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,153,0,0.3);
}

/* ===== Section Titles ===== */
.section-title {
  font-size: 1.4rem; font-weight: 600; color: var(--text);
  margin-bottom: 20px; text-align: center;
  position: relative; display: inline-block; padding: 0 16px;
}
.section-title::after {
  content: ''; position: absolute; bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 3px; background: var(--accent);
  border-radius: 3px; box-shadow: 0 0 12px rgba(255,153,0,0.3);
}

/* ===== Blockquote / Excerpt ===== */
.excerpt {
  font-style: italic; color: var(--text-light);
  line-height: 1.75; margin: 18px 0 24px; padding: 0 16px;
  text-align: center; font-size: 1.12rem; position: relative;
}
.excerpt::before, .excerpt::after {
  content: '"'; font-size: 2rem; color: var(--accent); opacity: 0.2;
  position: absolute; transform: translateY(-50%);
}
.excerpt::before { top: -8px; left: 0; }
.excerpt::after { bottom: -16px; right: 0; transform: translateY(50%); }

/* ===== Buttons ===== */
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 24px 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  min-width: 150px; transition: all 0.3s cubic-bezier(0.2,0,0,1);
  cursor: pointer; position: relative; overflow: hidden; border: none;
  box-shadow: 0 4px 12px rgba(255,153,0,0.16);
}
.btn--solid { background: var(--accent); color: #fff; }
.btn--solid:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,153,0,0.3); }
.btn--solid:active { transform: translateY(0); }
.btn--outline { background: rgba(255,255,255,0.12); color: var(--accent); border: 1px solid var(--accent); }
.btn--outline:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,153,0,0.2); }
.btn--ku { background: var(--ku-green); color: #fff; font-weight: 600; box-shadow: 0 4px 14px rgba(0,100,0,0.2); }
.btn--ku:hover { background: #007800; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,100,0,0.3); }
.btn::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px; background: rgba(255,255,255,0.6);
  border-radius: 50%; transform: translate(-50%,-50%) scale(0);
  transition: transform 0.8s, opacity 1s; opacity: 0;
}
.btn:active::after { transform: translate(-50%,-50%) scale(16); opacity: 1; transition: 0s; }

/* ===== Logo Row (Glass Icons) ===== */
.logo-row {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 16px;
}
.logo-row img {
  max-width: 160px;
  height: auto;
  object-fit: contain;
  height: 180px; 
  filter: grayscale(0.4) opacity(0.8);
  transition: all 0.3s ease;
  border-radius: 6px;
}
.logo-row img:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== Modal ===== */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.32); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 16px; }
.modal-content {
  background: var(--card-bg); border-radius: 20px; padding: 36px; width: 100%; max-width: 700px;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,0.24);
  animation: modalFadeIn 0.5s ease; max-height: 90vh; overflow-y: auto; backdrop-filter: blur(12px);
}
@keyframes modalFadeIn { from{opacity:0;transform:scale(0.92);} to{opacity:1;transform:scale(1);} }
.modal-content h2 { font-size: 1.75rem; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.modal-content p { color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.modal-image { width: 100%; border-radius: 14px; margin: 24px 0; border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.close { position: absolute; top: 16px; right: 16px; font-size: 28px; color: var(--text-light); background: rgba(255,255,255,0.1); border: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.close:hover { background: rgba(255,255,255,0.2); color: var(--text); transform: rotate(90deg); }

/* ===== Footer ===== */
footer {
  text-align: center;          /* center-aligns all text & inline elements */
  padding: 32px 16px;
  font-size: 0.95rem;
  color: var(--footer-text);
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  margin: 16px auto 0;          /* auto centers the block if max-width is set */
  border-radius: 0 0 20px 20px;
  max-width: 760px;
  width: 100%;
  box-sizing: border-box;       /* ensures padding doesn’t exceed max-width */
}

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

footer a:hover {
  text-decoration: underline;
}


/* ===== Responsive ===== */
@media (max-width: 767px) {
  .title { font-size: 2.2rem; }
  .card { padding: 24px; border-radius: 16px; }
  .btn { padding: 14px 20px; font-size: 16px; }
  .modal-content { padding: 28px; }
  .logo-row img { max-width: 120px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  p { margin-bottom: 1.2em; font-size: 1.3rem; line-height: 1.75; }
  .title { font-size: 2.8rem; }
  .positioning { font-size: 1.4rem; }
  .tagline { font-size: 1.2rem; }
  .card { padding: 36px; border-radius: 18px; }
  .btn { font-size: 17px; padding: 16px 26px; min-width: 170px; }
  .logo-row img { max-width: 260px; }
  .modal-content { padding: 34px; }
  footer { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .page { padding: 50px 24px; }
  .logo-row img { max-width: 200px; }
}
