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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', 'Ubuntu', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== HEADER STYLES ========== */
.checkout-header {
  width: 100%;
  background: linear-gradient(90deg, #ffe7c7 0%, #fdd9f1 50%, #fcd3f9 100%);
  padding: 20px 24px;
}

.header-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
}

.logo {
  display: block;
  max-width: 120px;
  height: auto;
  flex-shrink: 0;
}

.header-badge {
  display: inline-block;
  border-radius: 56px;
  border: 1px solid #E57373;
  padding: 10px 24px;
  color: #E57373;
  background: transparent;
  font-weight: 600;
  font-size: 14px;
}

/* ========== MAIN CONTENT ========== */
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  padding: 24px 0;
}

#checkout {
  width: 100%;
  min-height: 400px;
}

section {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 112px;
  border-radius: 6px;
  justify-content: space-between;
}

p {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.154px;
  color: #242d60;
}

/* ========== FOOTER STYLES ========== */
.checkout-footer {
  width: 100%;
  background-image: url('https://cdn.partyplan.com/public/images/footer-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #333333;
}

.footer-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 40px 24px;
}

.footer-row {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
}

.footer-row + .footer-row {
  margin-top: 25px;
}

/* Footer Row 1: Logo and Tagline */
.footer-row-1 {
  align-items: center;
}

.footer-logo img {
  display: block;
  max-width: 120px;
  height: auto;
}

.footer-tagline {
  flex: 1;
  text-align: right;
}

.footer-tagline p {
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin: 0;
  padding: 0;
  height: auto;
  width: auto;
}

/* Footer Row 2: Address and Links */
.footer-address {
  flex: 1;
}

.company-name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px 0;
  padding: 0;
  height: auto;
  width: auto;
}

.address-text {
  color: #c3c3c3;
  font-size: 12px;
  line-height: 18px;
  margin: 0;
  padding: 0;
  height: auto;
  width: auto;
}

/* ========== RESPONSIVE STYLES ========== */

/* Large Desktop (1200px+) - already covered by base styles */

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
  .header-content,
  .footer-row {
    max-width: 960px;
  }

  .main-content {
    max-width: 960px;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .header-content,
  .footer-row {
    max-width: 720px;
    padding: 0 15px;
  }

  .main-content {
    max-width: 720px;
  }

  .checkout-header {
    padding: 18px 20px;
  }

  .logo {
    max-width: 100px;
  }

  .header-badge {
    padding: 8px 18px;
    font-size: 13px;
  }

  .footer-tagline p {
    font-size: 13px;
    line-height: 18px;
  }

}

/* Small Tablet (600px - 767px) */
@media (max-width: 767px) {
  .header-content,
  .footer-row {
    max-width: 100%;
    padding: 0 15px;
  }

  .main-content {
    max-width: 100%;
  }

  .checkout-header {
    padding: 16px;
  }

  .header-content {
    gap: 15px;
  }

  .logo {
    max-width: 90px;
  }

  .header-badge {
    padding: 7px 16px;
    font-size: 12px;
  }

  .footer-overlay {
    padding: 30px 16px;
  }

  .footer-row {
    gap: 20px;
  }

  .footer-row + .footer-row {
    margin-top: 20px;
  }

  .footer-logo img {
    max-width: 100px;
  }

  .footer-tagline p {
    font-size: 12px;
    line-height: 16px;
  }

  .company-name {
    font-size: 12px;
  }

  .address-text {
    font-size: 11px;
    line-height: 16px;
  }
}

/* Mobile (480px - 599px) */
@media (max-width: 599px) {
  .checkout-header {
    padding: 15px;
  }

  .header-content {
    gap: 12px;
  }

  .logo {
    max-width: 80px;
  }

  .header-badge {
    padding: 6px 14px;
    font-size: 11px;
  }

  .footer-overlay {
    padding: 25px 15px;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-row-1 {
    flex-direction: column;
  }

  .footer-tagline {
    text-align: center;
  }

  .footer-address {
    text-align: center;
  }

  .footer-row + .footer-row {
    margin-top: 18px;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 479px) {
  .checkout-header {
    padding: 12px;
  }

  .header-content {
    gap: 10px;
    padding: 0 10px;
  }

  .logo {
    max-width: 70px;
  }

  .header-badge {
    padding: 5px 12px;
    font-size: 10px;
  }

  .footer-overlay {
    padding: 20px 12px;
  }

  .footer-row {
    padding: 0 10px;
    gap: 12px;
  }

  .footer-logo img {
    max-width: 80px;
  }

  .footer-tagline p {
    font-size: 11px;
    line-height: 15px;
  }

  .company-name {
    font-size: 11px;
  }

  .address-text {
    font-size: 10px;
    line-height: 14px;
  }

  .footer-row + .footer-row {
    margin-top: 15px;
  }
}

/* ========== UTILITY CLASSES ========== */
.hidden {
  display: none;
}

/* ========== LEGAL PAGES STYLES (TERMS & PRIVACY) ========== */
.terms-content,
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  line-height: 1.8;
}

.terms-content h1,
.privacy-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.privacy-content h1 {
  margin-bottom: 32px;
}

.terms-content .last-updated {
  color: #666;
  font-size: 14px;
  margin-bottom: 32px;
}

.terms-content h2,
.privacy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.terms-content h3,
.privacy-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 24px;
  margin-bottom: 12px;
}

.terms-content p,
.privacy-content p {
  color: #333;
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.terms-content ul,
.privacy-content ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.terms-content li,
.privacy-content li {
  color: #333;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.terms-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

.terms-content ol li {
  color: #333;
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.terms-content .payment-methods {
  margin-left: 24px;
  margin-bottom: 16px;
}

.privacy-content strong {
  font-weight: 600;
  color: #1a1a1a;
}

/* Legal Pages Responsive Styles */
@media (max-width: 767px) {
  .terms-content,
  .privacy-content {
    padding: 30px 20px;
  }

  .terms-content h1,
  .privacy-content h1 {
    font-size: 26px;
  }

  .terms-content h2,
  .privacy-content h2 {
    font-size: 18px;
  }

  .terms-content h3,
  .privacy-content h3 {
    font-size: 15px;
  }

  .terms-content p,
  .terms-content li,
  .privacy-content p,
  .privacy-content li {
    font-size: 14px;
  }
}

/* ========== DATA DELETION PAGE STYLES ========== */
.data-deletion-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  line-height: 1.8;
}

.data-deletion-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  text-align: center;
}

.data-deletion-content .intro-text {
  color: #333;
  font-size: 16px;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.8;
}

.deletion-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin: 0 0 40px 0;
}

.deletion-steps > li {
  counter-increment: step-counter;
  margin-bottom: 40px;
  padding: 24px;
  background: #f9f9f9;
  border-radius: 12px;
  border-left: 4px solid #E57373;
}

.deletion-steps > li:last-child {
  margin-bottom: 0;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.step-content h3::before {
  content: counter(step-counter) ". ";
  color: #E57373;
  font-weight: 700;
}

.step-content > p {
  color: #555;
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.step-image {
  width: 100%;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

.warning-box {
  background: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.warning-box h3 {
  font-size: 18px;
  font-weight: 600;
  color: #856404;
  margin: 0 0 12px 0;
}

.warning-box p {
  color: #856404;
  font-size: 15px;
  margin: 0;
  line-height: 1.8;
}

.contact-info {
  background: #e3f2fd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.contact-info p {
  color: #1565c0;
  font-size: 15px;
  margin: 0;
  line-height: 1.8;
}

.contact-info a {
  color: #0d47a1;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.contact-info a:hover {
  opacity: 0.8;
}

/* Data Deletion Page Responsive Styles */
@media (max-width: 767px) {
  .data-deletion-content {
    padding: 30px 20px;
  }

  .data-deletion-content h1 {
    font-size: 26px;
  }

  .data-deletion-content .intro-text {
    font-size: 15px;
  }

  .deletion-steps > li {
    padding: 20px;
    margin-bottom: 30px;
  }

  .step-content h3 {
    font-size: 18px;
  }

  .step-content > p {
    font-size: 14px;
  }

  .warning-box {
    padding: 20px;
  }

  .warning-box h3 {
    font-size: 16px;
  }

  .warning-box p {
    font-size: 14px;
  }

  .contact-info {
    padding: 16px;
  }

  .contact-info p {
    font-size: 14px;
  }
}

@media (max-width: 479px) {
  .data-deletion-content {
    padding: 20px 15px;
  }

  .data-deletion-content h1 {
    font-size: 22px;
  }

  .data-deletion-content .intro-text {
    font-size: 14px;
  }

  .deletion-steps > li {
    padding: 16px;
    margin-bottom: 24px;
  }

  .step-content h3 {
    font-size: 16px;
  }

  .step-content > p {
    font-size: 13px;
  }

  .warning-box {
    padding: 16px;
  }

  .warning-box h3 {
    font-size: 15px;
  }

  .warning-box p {
    font-size: 13px;
  }

  .contact-info {
    padding: 14px;
  }

  .contact-info p {
    font-size: 13px;
  }
}