/* ==========================================================================
   QR MENU Landing Page - Vanilla CSS Style
   Font: 'Taviraj', sans-serif
   ========================================================================== */

:root {
  --font-family: 'Taviraj', sans-serif;

  /* Color Palette: Primary #00a3c4 & Accent #f6ad55 */
  --brand-primary: #00a3c4;
  --brand-primary-hover: #00b4d8;
  --brand-primary-dark: #007791;
  --brand-dark: #053f4b;
  --brand-darker: #02242b;

  --brand-accent: #f6ad55;
  --brand-accent-hover: #ed8936;
  --brand-accent-dark: #dd6b20;
  --brand-accent-light: #feebc8;

  --brand-light: #f0fbfd;
  --brand-light-gradient-start: #f5fcfe;
  --brand-light-gradient-mid: #eaf7fa;
  --brand-light-gradient-end: #dff2f7;
  --brand-surface: #e6f6f9;
  --brand-border: #bcecf3;
  --brand-border-subtle: rgba(188, 236, 243, 0.7);

  --bg-page: #f1f5f9;
  --bg-white: #ffffff;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-brand: #053f4b;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
}

/* CSS Reset & Basics */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  padding: 24px 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font-family: inherit;
}

/* Main Container */
.main-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-image:
    linear-gradient(to right, rgba(2, 36, 43, 0.78) 0%, rgba(2, 36, 43, 0.55) 50%, rgba(2, 36, 43, 0.40) 100%),
    url('images/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-border-subtle);
}

.hero-bg-blur-1,
.hero-bg-blur-2 {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* QR Menu Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: rgba(5, 63, 75, 0.95);
  color: #ffffff;
  border: 1px solid rgba(0, 163, 196, 0.5);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  width: fit-content;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--brand-accent);
}

/* Headline & Subtitle */
.hero-title {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 2px 2px 2px rgba(37, 37, 37, 0.9);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: #ffc277;
  text-shadow: 2px 2px 2px rgba(37, 37, 37, 0.9);
}

/* Feature Checkmarks */
.hero-checklist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 4px;
}

.hero-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #f8fafc;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.check-icon-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--brand-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-shadow: 2px 2px 2px rgba(37, 37, 37, 0.9);
}

.check-icon-circle svg {
  width: 14px;
  height: 14px;
}

/* Pricing Row */
.hero-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  /* padding-top: 8px; */
}

.price-badge-pill {
  /* background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark)); */
  color: #ffffff;
  /* padding: 12px 28px; */
  border-radius: var(--radius-full);
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
  /* box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 163, 196, 0.35); */
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
}

.price-badge-label {
  font-size: 20px;
  color: #e0f7fa;
  font-weight: 600;
}

.price-badge-num {
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.price-badge-unit {
  font-size: 20px;
  font-weight: 600;
  color: #e0f7fa;
}

/* One-time Badge */
.one-time-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0px;
}

.doodle-sparkle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  color: var(--brand-accent);
  filter: drop-shadow(0 0 4px rgba(246, 173, 85, 0.6));
}

.doodle-sparkle svg {
  width: 24px;
  height: 14px;
}

.one-time-pill {
  background-color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
  color: #fff;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.4);
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.5);
}


/* Hero Visuals (Stand & Phone Mockups) */
.hero-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
}

.hero-visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Showcase: Acrylic Stand (qrmenu.jpeg) + Realistic Phone (menu.png)
   ========================================================================== */
.hero-showcase {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  padding: 10px 0 20px;
}

/* 1. ป้ายตั้งโต๊ะอะคริลิค (Acrylic Stand) */
.acrylic-stand-card {
  position: relative;
  width: 48%;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.95);
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: rotate(-3deg) translateY(-8px);
  z-index: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.acrylic-stand-card:hover {
  transform: rotate(-1deg) translateY(-12px);
}

.acrylic-poster-img {
  width: 100%;
  height: auto;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

/* ฐานอะคริลิคใสตั้งโต๊ะ */
.acrylic-stand-base {
  position: absolute;
  bottom: -10px;
  left: -5%;
  width: 110%;
  height: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(203, 213, 225, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

/* 2. กรอบสมาร์ตโฟนเสมือนจริง (Realistic Smartphone Frame) */
.realistic-phone {
  position: relative;
  width: 52%;
  max-width: 235px;
  margin-left: -28px;
  /* ซ้อนทับกับป้ายอะคริลิคอย่างเป็นธรรมชาติ */
  background: #ffffff;
  border: 7px solid #1e293b;
  border-radius: 30px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 0 4px rgba(0, 0, 0, 0.8);
  transform: rotate(3deg) translateY(12px);
  z-index: 2;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  padding-top: 20px;
  padding-bottom: 8px;
  padding-left: 1px;
  padding-right: 1px;
}

.realistic-phone:hover {
  transform: rotate(1deg) translateY(8px);
}

/* Dynamic Island / รอยบากกล้องด้านบน */
.phone-notch-island {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 13px;
  background-color: #000000;
  border-radius: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.phone-camera-lens {
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #1e3a8a, #020617);
  border-radius: 50%;
  box-shadow: inset 0 0 1px rgba(255, 255, 255, 0.7);
}

/* หน้าจอโทรศัพท์ */
.phone-screen-frame {
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  position: relative;
  padding-bottom: 4px;
}

.phone-menu-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* แถบ Home Indicator ด้านล่างหน้าจอ */
.phone-home-indicator {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 4px;
  background-color: rgba(0, 0, 0, 0.28);
  border-radius: 4px;
  z-index: 10;
}

.hero-mockup-sim {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 360px;
}

/* Acrylic Stand */
.mockup-acrylic {
  width: 144px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px;
  text-align: center;
  transform: rotate(-2deg);
}

.mockup-acrylic-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}

.mockup-acrylic-icon span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--brand-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.mockup-acrylic-title {
  font-size: 9px;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-acrylic-sub {
  font-size: 8px;
  color: #64748b;
  margin-bottom: 8px;
}

.mockup-qr-box {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background-color: #0f172a;
  border-radius: 8px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-qr-inner {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-qr-inner svg {
  width: 60px;
  height: 60px;
  color: #1e293b;
}

.mockup-acrylic-btn {
  margin-top: 8px;
  background-color: var(--brand-dark);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.mockup-acrylic-footer {
  font-size: 7px;
  color: #94a3b8;
  margin-top: 4px;
}

/* Smartphone Mockup */
.mockup-phone {
  width: 144px;
  background: #0f172a;
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow-2xl);
  border: 2px solid #334155;
  transform: rotate(3deg);
}

.mockup-phone-screen {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  padding: 8px;
  text-align: left;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  font-weight: 700;
  color: #1e293b;
  padding-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}

.phone-header svg {
  width: 12px;
  height: 12px;
  color: #94a3b8;
}

.phone-tabs {
  display: flex;
  gap: 4px;
  margin: 6px 0;
  font-size: 7px;
}

.tab-active {
  background-color: var(--brand-primary);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.tab-inactive {
  background-color: #f1f5f9;
  color: #475569;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.phone-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 8px;
}

.phone-item-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f8fafc;
  padding: 4px;
  border-radius: 6px;
}

.item-thumb {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.item-thumb.curry {
  background-color: #fde68a;
}

.item-thumb.soup {
  background-color: #fecaca;
}

.item-thumb.salad {
  background-color: #fed7aa;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-name {
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-price {
  color: var(--brand-primary);
  font-weight: 600;
}

.item-plus {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--brand-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.mockup-hint-tag {
  margin-top: 12px;
  background-color: rgba(5, 63, 75, 0.9);
  color: #ffffff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   2. CHECKOUT / STRIPE PAYMENT SECTION
   ========================================================================== */
.checkout-section {
  padding: 40px 24px;
  background-color: #ffffff;
}

/* Canceled Alert */
.alert-canceled {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alert-canceled.hidden {
  display: none;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-content svg {
  width: 20px;
  height: 20px;
  color: #d97706;
  flex-shrink: 0;
}

.alert-close-btn {
  background: none;
  border: none;
  color: #b45309;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin-left: 16px;
}

.alert-close-btn:hover {
  color: #78350f;
}

.checkout-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: flex-start;
}

/* Left: Order Info */
.checkout-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 10px;
}

.order-badge-pill {
  padding: 8px 24px;
  background-color: #ff0c0c;
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.checkout-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-dark);
  margin-top: 18px;
  line-height: 1.25;
}

.checkout-desc {
  color: #475569;
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.5;
}

/* Order Summary Card */
.summary-card {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.summary-label {
  color: #475569;
}

.summary-val-dark {
  font-weight: 700;
  color: var(--brand-dark);
}

.summary-val-green {
  font-weight: 600;
  color: var(--brand-primary);
}

.summary-val-regular {
  font-weight: 700;
  color: #1e293b;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0px;
}

.summary-total-label {
  font-weight: 700;
  color: #1e293b;
  font-size: 16px;
}

.summary-total-val {
  text-align: right;
}

.total-number {
  font-size: 30px;
  font-weight: 900;
  color: var(--brand-primary);
}

.total-unit {
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  margin-left: 4px;
}

/* Trust checklist */
.trust-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #475569;
  font-weight: 500;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* Clickable Add-on Option Card */
.addon-link-card {
  display: block;
  padding: 16px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.addon-link-card:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
  border-color: var(--brand-primary);
  box-shadow: 0 8px 20px rgba(0, 163, 196, 0.12);
  transform: translateY(-2px);
}

.addon-card-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.addon-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.addon-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  transition: gap 0.2s ease;
}

.addon-link-card:hover .addon-card-arrow {
  gap: 8px;
  color: var(--brand-primary-dark);
}

.addon-card-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.addon-link-card:hover .addon-card-arrow svg {
  transform: translateX(3px);
}

.addon-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
}

.addon-card-title svg {
  width: 18px;
  height: 18px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* Right: Form Card */
.checkout-form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--brand-border);
}

.form-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

.form-subheading {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;
}

.required-star {
  color: #ef4444;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #cbd5e1;
  outline: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0, 163, 196, 0.2);
}

.form-hint {
  font-size: 11px;
  color: #94a3b8;
  margin-top: -10px;
}

.error-message-box {
  padding: 12px;
  border-radius: var(--radius-md);
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 12px;
}

.error-message-box.hidden {
  display: none;
}

.btn-submit-payment {
  width: 100%;
  padding: 16px;
  background: linear-gradient(to right, var(--brand-primary), var(--brand-primary-dark), #02242b);
  color: #ffffff;
  font-weight: 800;
  font-size: 17px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 163, 196, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-submit-payment:hover {
  background: linear-gradient(to right, var(--brand-primary-hover), var(--brand-primary), var(--brand-dark));
  box-shadow: 0 15px 30px -5px rgba(0, 163, 196, 0.6);
}

.btn-submit-payment:active {
  transform: scale(0.99);
}

.btn-submit-payment:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit-payment svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-submit-payment:hover svg:not(.spinner-icon) {
  transform: translateX(4px);
}

.spinner-icon {
  animation: spin 1s linear infinite;
}

.spinner-icon.hidden {
  display: none;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.stripe-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}

.stripe-security-note svg {
  width: 14px;
  height: 14px;
  color: var(--brand-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   6. FOOTER SECTION
   ========================================================================== */
.footer-section {
  padding: 0px 24px 32px;
  text-align: center;
  background-color: #ffffff;
}

.footer-slogan-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--brand-dark);
}

.footer-sparkle {
  display: flex;
  align-items: center;
  color: var(--brand-accent);
}

.footer-sparkle svg {
  width: 28px;
  height: 20px;
}

.footer-slogan-text {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Desktop & Mobile)
   ========================================================================== */
@media (max-width: 480px) {

  .hero-grid {
    gap: 0px;
  }

  .hero-title {
    font-size: 35px;
  }

  .hero-title span {
    font-size: 29px;
  }

  .one-time-pill {
    padding: 6px 18px;
    font-size: 16px;
  }

  .hero-showcase {
    max-width: 330px;
    padding-bottom: 12px;
  }

  .acrylic-stand-card {
    border-width: 4px;
    border-radius: 10px;
  }

  .acrylic-stand-base {
    height: 9px;
    bottom: -8px;
  }

  .realistic-phone {
    border-width: 5px;
    border-radius: 28px;
    margin-left: -20px;
  }

  .phone-screen-frame {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .phone-notch-island {
    width: 44px;
    height: 11px;
    top: 5px;
  }

  .phone-camera-lens {
    width: 4px;
    height: 4px;
  }

  .phone-home-indicator {
    width: 50px;
    height: 3px;
    bottom: 4px;
  }

  .price-badge-num {
    font-size: 32px;
  }

  .price-badge-pill {
    margin-top: 0px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (min-width: 640px) {
  body {
    padding: 40px 24px;
  }

  .hero-section {
    padding: 48px 36px;
  }

  .hero-grid {
    grid-template-columns: 8fr 6fr;
    gap: 20px;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-title span {
    font-size: 38px;
  }

  .price-badge-num {
    font-size: 38px;
  }

  .one-time-pill {
    padding: 8px 16px;
  }

  .hero-price-row {
    margin-top: -10px;
  }

  .price-badge-label,
  .price-badge-unit {
    font-size: 18px;
  }

  .price-badge-pill {
    margin-top: 36px;
  }


  .checkout-title {
    font-size: 28px;
  }

  .checkout-form-card {
    padding: 32px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 56px;
  }

  .hero-grid {
    grid-template-columns: 8fr 5fr;
    gap: 20px;
  }

  .hero-title {
    font-size: 58px;
  }

  .hero-title span {
    font-size: 56px;
  }

  .checkout-grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .checkout-title {
    font-size: 26px;
    line-height: 1.45;
  }
}