@import url('/css/mobile-base.css');

/* Pricing page styles */
* { margin:0; padding:0; box-sizing:border-box }
body {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,sans-serif;
  background:#f9fafb;
  color:#1b2333;
  line-height:1.6;
}

.hidden {
  display:none !important;
}

.currency-warning {
  margin:12px 0 24px;
  padding:12px 16px;
  border-left:4px solid #fbbf24;
  border-radius:14px;
  background:rgba(251,191,36,0.12);
  color:#fef9c3;
  font-size:0.95rem;
  line-height:1.5;
}

body.pricing-page {
  background:
    radial-gradient(circle at top, rgba(88, 111, 255, 0.4), transparent 52%),
    radial-gradient(circle at bottom, rgba(19, 206, 197, 0.25), transparent 55%),
    linear-gradient(160deg, #050a19, #0f172a);
  color:#f8fbff;
}

.pricing-page .navbar {
  background:transparent;
  border-bottom:none;
  box-shadow:none;
  padding:32px 32px 12px;
}

.pricing-page .brand {
  color:#f7f9ff;
  display:flex;
  align-items:center;
  gap:14px;
  font-size:18px;
  letter-spacing:0.05em;
  text-transform:uppercase;
}

.pricing-page .brand::before {
  content:"";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:16px;
  background:
}
  border:1px solid rgba(255,255,255,0.15);
  box-shadow:0 18px 38px rgba(33,82,255,0.4);
}

.pricing-page .pricing-container {
  max-width:1100px;
  color:#e2e8f0;
}

.pricing-page .hero-section h1,
.pricing-page .hero-section p,
.pricing-page .free-tools-callout,
.pricing-page .free-tools-callout a {
  color:#e8edff;
}

.pricing-page .pricing-card {
  background:rgba(10,18,40,0.82);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 30px 60px rgba(2,6,23,0.6);
}

.pricing-page .pricing-card .price-header {
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.pricing-page .pricing-card .amount {
  color:#f7f9ff;
}

.pricing-page .pricing-card .tax-note {
  color:rgba(226,232,240,0.7);
}

.pricing-page .features-list li,
.pricing-page .features-list strong {
  color:#f1f5ff;
}

.pricing-page .badge {
  background:rgba(255,255,255,0.1);
  color:#f8fbff;
  border:1px solid rgba(255,255,255,0.18);
}

.pricing-page .price-header h2,
.pricing-page .features-list h3 {
  color:#f8fbff;
}

.pricing-page .currency,
.pricing-page .period {
  color:rgba(226,232,240,0.8);
}

.pricing-page .features-list li:before {
  color:#22d3ee;
}

.pricing-page .pricing-card.enterprise-card,
.pricing-page .pricing-card.premium-card {
  border-color:rgba(255,255,255,0.2);
  background:rgba(14,22,52,0.88);
}

.pricing-page .cta-button {
  background:linear-gradient(135deg,#2152ff,#5274ff);
  border:none;
  box-shadow:0 18px 38px rgba(33,82,255,0.35);
}

.pricing-page .cta-button.dark {
  background:linear-gradient(135deg,#0f172a,#111c33);
  border:1px solid rgba(255,255,255,0.08);
}

.pricing-page .detail-card,
.pricing-page .faq-item {
  background:rgba(11,19,41,0.85);
  border:1px solid rgba(255,255,255,0.08);
  color:#e2e8f0;
  box-shadow:0 24px 48px rgba(4,8,24,0.55);
}

.pricing-page .detail-card h3,
.pricing-page .faq-item summary {
  color:#f8fbff;
}

.pricing-page .detail-card p,
.pricing-page .detail-card li,
.pricing-page .detail-card strong,
.pricing-page .detail-card ul,
.pricing-page .detail-card ol {
  color:rgba(226,232,240,0.88);
}

.pricing-page .detail-card a,
.pricing-page .faq-item a {
  color:#8fb3ff;
}

.pricing-page .faq-item summary:after {
  color:rgba(226,232,240,0.7);
}

.pricing-page .faq-item p {
  color:rgba(226,232,240,0.85);
}

.pricing-page .detail-card h3,
.pricing-page .details-section h2,
.pricing-page .faq-section h2,
.pricing-page .cta-section h2 {
  color:#f8fbff;
}

.pricing-page .cta-section {
  background:linear-gradient(135deg,#1b1f33,#131a2d);
  border:1px solid rgba(255,255,255,0.1);
  box-shadow:0 30px 60px rgba(3,7,23,0.6);
}

.pricing-page .cta-button-large {
  background:#fff;
  color:#0f172a;
}

.pricing-page footer,
.pricing-page .detail-card a,
.pricing-page .pricing-card .enterprise-footnote,
.pricing-page .pricing-card .enterprise-footnote a {
  color:#cbd5f5;
}

/* Navbar */
.navbar {
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  padding:16px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:100;
}
.brand { font-size:20px; font-weight:700; color:#2152ff }
.nav-actions { display:flex; gap:12px }
.button-secondary, .button-primary {
  padding:10px 20px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  font-size:15px;
  transition:all 0.2s;
  display:inline-block;
}
.button-secondary {
  background:#f3f4f6;
  color:#374151;
  border:1px solid #d1d5db;
}
.button-secondary:hover { background:#e5e7eb }
.button-primary {
  background:#2152ff;
  color:#fff;
  border:1px solid #2152ff;
}
.button-primary:hover { background:#1a42cc }

/* Main container */
.pricing-container {
  max-width:900px;
  margin:0 auto;
  padding:40px 24px 80px;
}

/* Hero section */
.hero-section {
  text-align:center;
  margin-bottom:48px;
}
.hero-section h1 {
  font-size:40px;
  font-weight:800;
  color:#111827;
  margin-bottom:16px;
  line-height:1.2;
}
.hero-section .lead {
  font-size:20px;
  color:#6b7280;
  max-width:600px;
  margin:0 auto;
}
.free-tools-callout {
  margin-top:18px;
  font-size:16px;
  color:#374151;
}
.free-tools-callout a {
  color:#2152ff;
  font-weight:600;
}

/* Pricing card */
.pricing-card {
  background:#fff;
  border:2px solid #2152ff;
  border-radius:16px;
  padding:40px;
  margin-bottom:48px;
  box-shadow:0 4px 12px rgba(33,82,255,0.08);
}
.price-header {
  text-align:center;
  margin-bottom:32px;
  padding-bottom:32px;
  border-bottom:1px solid #e5e7eb;
}
.badge {
  display:inline-block;
  background:#dbeafe;
  color:#1e40af;
  padding:6px 14px;
  border-radius:20px;
  font-size:13px;
  font-weight:600;
  margin-bottom:12px;
}
.price-header h2 {
  font-size:28px;
  font-weight:700;
  color:#111827;
  margin-bottom:16px;
}
.price {
  display:flex;
  align-items:baseline;
  justify-content:center;
  margin-bottom:8px;
}
.currency {
  font-size:28px;
  font-weight:600;
  color:#6b7280;
}
.amount {
  font-size:64px;
  font-weight:800;
  color:#2152ff;
  line-height:1;
}
.period {
  font-size:20px;
  color:#6b7280;
  margin-left:4px;
}
.tax-note {
  font-size:14px;
  color:#6b7280;
  font-style:italic;
}

/* Features list */
.features-list h3 {
  font-size:18px;
  font-weight:700;
  color:#111827;
  margin-bottom:16px;
}
.features-list ul {
  list-style:none;
  margin-bottom:32px;
}
.features-list li {
  padding:12px 0;
  border-bottom:1px solid #f3f4f6;
  font-size:15px;
  color:#374151;
  padding-left:28px;
  position:relative;
}
.features-list li:before {
  content:"✓";
  position:absolute;
  left:0;
  color:#10b981;
  font-weight:700;
  font-size:18px;
}
.features-list strong {
  color:#111827;
  font-weight:600;
}

/* CTA button */
.cta-button {
  display:block;
  width:100%;
  padding:16px;
  background:#2152ff;
  color:#fff;
  text-align:center;
  font-size:17px;
  font-weight:700;
  border-radius:12px;
  text-decoration:none;
  transition:all 0.2s;
  border:none;
  cursor:pointer;
}
.cta-button:hover {
  background:#1a42cc;
  transform:translateY(-1px);
  box-shadow:0 8px 16px rgba(33,82,255,0.2);
}

.cta-button.dark {
  background:#0f172a;
  border:1px solid #0f172a;
}

.cta-button.dark:hover {
  background:#020617;
  box-shadow:0 10px 18px rgba(2,6,23,0.35);
}

.pricing-card.enterprise-card {
  border-color:#0f172a;
  background:linear-gradient(135deg, #ffffff 0%, #f4f6ff 60%, #e3e7ff 100%);
}

.pricing-card.enterprise-card .price-header {
  border-bottom-color:rgba(15,23,42,0.1);
}

.pricing-card.enterprise-card .amount {
  color:#0f172a;
}

.pricing-card.enterprise-card .badge {
  background:#fef3c7;
  color:#92400e;
}

.pricing-card.premium-card {
  border-color:#9333ea;
  background:linear-gradient(135deg, #ffffff 0%, #f8f0ff 60%, #f2e7ff 100%);
  box-shadow:0 12px 32px rgba(147,51,234,0.15);
}

.pricing-card.premium-card .price-header {
  border-bottom-color:rgba(147,51,234,0.18);
}

.pricing-card.premium-card .amount {
  color:#7e22ce;
}

.pricing-card.premium-card .badge {
  background:#ede9fe;
  color:#5b21b6;
}

.pricing-card.premium-card .cta-button.dark {
  background:#7e22ce;
  border-color:#6d28d9;
}

.pricing-card.premium-card .cta-button.dark:hover {
  background:#6d28d9;
  box-shadow:0 14px 30px rgba(109,40,217,0.3);
}

.pricing-card .enterprise-footnote {
  margin-top:16px;
  font-size:13px;
  color:#4b5563;
  text-align:center;
}

.pricing-card .enterprise-footnote a {
  color:#0f172a;
  font-weight:600;
}

/* Details section */
.details-section, .legal-section, .faq-section {
  margin-bottom:48px;
}
.details-section h2, .legal-section h2, .faq-section h2 {
  font-size:32px;
  font-weight:700;
  color:#111827;
  margin-bottom:24px;
  text-align:center;
}

/* Detail cards */
.detail-card {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:24px;
  margin-bottom:16px;
}
.detail-card h3 {
  font-size:20px;
  font-weight:700;
  color:#111827;
  margin-bottom:12px;
}
.detail-card p {
  margin-bottom:12px;
  color:#374151;
  font-size:15px;
}
.detail-card ul, .detail-card ol {
  margin:12px 0 12px 24px;
  color:#374151;
}
.detail-card li {
  margin-bottom:8px;
  font-size:15px;
}
.detail-card strong {
  color:#111827;
  font-weight:600;
}
.detail-card a {
  color:#2152ff;
  text-decoration:none;
  font-weight:500;
}
.detail-card a:hover {
  text-decoration:underline;
}

/* FAQ items */
.faq-item {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:20px;
  margin-bottom:12px;
  cursor:pointer;
}
.faq-item summary {
  font-size:17px;
  font-weight:600;
  color:#111827;
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.faq-item summary::-webkit-details-marker {
  display:none;
}
.faq-item summary:after {
  content:"▼";
  font-size:12px;
  color:#6b7280;
  transition:transform 0.2s;
}
.faq-item[open] summary:after {
  transform:rotate(180deg);
}
.faq-item p {
  margin-top:16px;
  color:#374151;
  font-size:15px;
  line-height:1.6;
}
.faq-item a {
  color:#2152ff;
  text-decoration:none;
}
.faq-item a:hover {
  text-decoration:underline;
}

/* CTA section */
.cta-section {
  text-align:center;
  background:linear-gradient(135deg, #2152ff 0%, #1a42cc 100%);
  padding:48px 32px;
  border-radius:16px;
  color:#fff;
  margin-bottom:48px;
}
.cta-section h2 {
  font-size:32px;
  font-weight:700;
  margin-bottom:12px;
  color:#fff;
}
.cta-section p {
  font-size:18px;
  margin-bottom:24px;
  color:rgba(255,255,255,0.9);
}
.free-tools-link {
  margin-top:12px;
  color:#fff;
}
.free-tools-link a {
  color:#fff;
  font-weight:600;
  text-decoration:underline;
}
.cta-button-large {
  display:inline-block;
  padding:16px 40px;
  background:#fff;
  color:#2152ff;
  font-size:18px;
  font-weight:700;
  border-radius:12px;
  text-decoration:none;
  transition:all 0.2s;
  margin-bottom:16px;
}
.cta-button-large:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.2);
}
.footer-note {
  font-size:13px;
  color:rgba(255,255,255,0.8);
  margin-top:16px;
}
.footer-note a {
  color:#fff;
  text-decoration:underline;
}

/* Footer */
.footer {
  background:#fff;
  border-top:1px solid #e5e7eb;
  padding:32px 24px;
  text-align:center;
  color:#6b7280;
  font-size:14px;
}
.footer nav {
  margin-top:16px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px;
}
.footer a {
  color:#6b7280;
  text-decoration:none;
  transition:color 0.2s;
}
.footer a:hover {
  color:#2152ff;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 960px) {
  .pricing-container {
    padding: 32px 20px 60px;
  }

  .hero-section h1 {
    font-size: 34px;
  }

  .hero-section .lead {
    font-size: 18px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .amount {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    gap: 12px;
    padding: 14px 20px;
    flex-wrap: wrap;
  }

  .nav-actions {
    gap: 10px;
  }

  .button-secondary,
  .button-primary {
    padding: 10px 18px;
    font-size: 14px;
    min-height: 44px; /* Better touch target */
  }

  .pricing-container {
    padding: 24px 16px 60px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-section .lead {
    font-size: 18px;
  }

  .pricing-card {
    padding: 32px 20px;
  }

  .price-header {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .amount {
    font-size: 52px;
  }

  .currency {
    font-size: 24px;
  }

  .period {
    font-size: 18px;
  }

  .features-list h3 {
    font-size: 17px;
  }

  .features-list li {
    font-size: 14px;
    padding: 10px 0;
  }

  .cta-button {
    padding: 14px;
    font-size: 16px;
  }

  .details-section h2,
  .legal-section h2,
  .faq-section h2 {
    font-size: 28px;
  }

  .detail-card {
    padding: 20px;
  }

  .detail-card h3 {
    font-size: 18px;
  }

  .detail-card p,
  .detail-card li {
    font-size: 14px;
  }

  .faq-item {
    padding: 16px;
  }

  .faq-item summary {
    font-size: 16px;
  }

  .cta-section {
    padding: 36px 24px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-button-large {
    padding: 14px 32px;
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 12px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
  }

  .nav-actions .button-secondary,
  .nav-actions .button-primary {
    flex: 1;
  }

  .pricing-container {
    padding: 20px 14px 48px;
  }

  .hero-section {
    margin-bottom: 32px;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .hero-section .lead {
    font-size: 16px;
  }

  .pricing-card {
    padding: 24px 18px;
    margin-bottom: 36px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 12px;
  }

  .amount {
    font-size: 48px;
  }

  .currency {
    font-size: 22px;
  }

  .period {
    font-size: 16px;
  }

  .tax-note {
    font-size: 13px;
  }

  .features-list h3 {
    font-size: 16px;
  }

  .features-list li {
    font-size: 13px;
    padding-left: 24px;
  }

  .cta-button {
    padding: 14px;
    font-size: 15px;
  }

  .details-section,
  .legal-section,
  .faq-section {
    margin-bottom: 36px;
  }

  .details-section h2,
  .legal-section h2,
  .faq-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .detail-card {
    padding: 18px;
  }

  .detail-card h3 {
    font-size: 17px;
  }

  .faq-item {
    padding: 14px;
  }

  .faq-item summary {
    font-size: 15px;
  }

  .faq-item p {
    font-size: 14px;
    margin-top: 12px;
  }

  .cta-section {
    padding: 32px 20px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section p {
    font-size: 15px;
  }

  .cta-button-large {
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
  }

  .footer {
    padding: 24px 16px;
  }

  .footer nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 12px;
  }

  .brand {
    font-size: 16px;
  }

  .button-secondary,
  .button-primary {
    padding: 10px 14px;
    font-size: 13px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

  .hero-section .lead {
    font-size: 15px;
  }

  .pricing-card {
    padding: 20px 16px;
  }

  .amount {
    font-size: 42px;
  }

  .currency {
    font-size: 20px;
  }

  .period {
    font-size: 15px;
  }

  .features-list li {
    font-size: 13px;
  }

  .details-section h2,
  .legal-section h2,
  .faq-section h2 {
    font-size: 22px;
  }

  .detail-card {
    padding: 16px;
  }

  .detail-card h3 {
    font-size: 16px;
  }

  .detail-card p,
  .detail-card li {
    font-size: 13px;
  }

  .faq-item summary {
    font-size: 14px;
  }

  .cta-section {
    padding: 28px 18px;
  }

  .cta-section h2 {
    font-size: 22px;
  }

  .cta-section p {
    font-size: 14px;
  }

  .footer-note {
    font-size: 12px;
  }
}

/* Landscape phone optimization */
@media (max-width: 896px) and (orientation: landscape) {
  .pricing-container {
    padding: 20px 16px 40px;
  }

  .hero-section {
    margin-bottom: 24px;
  }

  .pricing-card {
    padding: 20px;
  }

  .cta-section {
    padding: 24px 20px;
  }
}

/* Ensure buttons are touch-friendly */
@media (max-width: 768px) {
  button,
  .button-primary,
  .button-secondary,
  .cta-button,
  .cta-button-large,
  a.button-primary,
  a.button-secondary {
    min-height: 44px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }

  /* Improve FAQ accordion touch targets */
  .faq-item summary {
    padding: 4px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .cta-section,
  .button-primary,
  .button-secondary,
  .cta-button,
  .cta-button-large {
    display: none !important;
  }

  .pricing-container {
    padding: 0;
  }

  .pricing-card,
  .detail-card,
  .faq-item {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}
