/* Svenn Pricing Page */

/* ── Poppins Font ── */

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --border: #e0e0e8;
  --border-hover: #c8c8d4;
  --text: #1a1a2e;
  --text-secondary: #4a4a5c;
  --text-muted: #8888a0;
  --primary: #E93D82;
  --primary-hover: #D32D6C;
  --radius: 8px;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

/* ── Header ── */

.app-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.app-header .header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-header .logo {
  height: 32px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.15s;
}

.nav-link:hover {
  color: var(--text);
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-hover);
}

.btn-sm {
  padding: 5px 12px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
}

/* ── Pricing Section ── */

.pricing-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 53px);
  padding: 10px 20px;
  background:
    url('/images/robot.jpg') center center / cover no-repeat,
    var(--bg);
  position: relative;
}

.pricing-section::before {
  display: none;
}

.pricing-inner {
  text-align: center;
  max-width: 95%;
  position: relative;
  z-index: 1;
}

.pricing-inner h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pricing-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 40px;
}

/* ── Pricing Card ── */

.pricing-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-card h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 4px;
}

.price-dollar {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-value {
  font-size: 4rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-after {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── Features List ── */

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 600;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Embedded Checkout ── */

.checkout-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.checkout-container {
  width: 90%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.checkout-back {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 12px 16px;
  margin: 0;
  transition: color 0.15s;
}

.checkout-back:hover {
  color: var(--text);
}

#checkout-mount {
  min-height: 400px;
}

/* ── Result Pages (success / cancel) ── */

.result-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}

.result-success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.result-cancel {
  background: rgba(120, 120, 138, 0.15);
  color: var(--text-muted);
}

/* ── Footer ── */

.site-footer {
  background: var(--surface);
  padding: 32px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .pricing-section {
    background-image: url('/images/robot.jpg');
    background-size: cover;
    background-position: center center;
  }
  .pricing-inner h1 {
    font-size: 1.6rem;
  }
  .price-value {
    font-size: 3rem;
  }
  .pricing-card {
    padding: 32px 20px;
  }
  .checkout-container {
    width: 95%;
    padding: 20px;
  }
}
