/* amzpodexplorer.com/assets/css/styles.css */
:root {
  /* New palette from your webapp */
  --bg: #f5f5ff; /* Webapp --light-gray */
  --card: #ffffff;
  --panel: #fcfcfc;
  --text: #333; /* Webapp --text-color */
  --muted: #37475a; /* Webapp --secondary-color */
  
  --primary: #ff9900; /* Webapp --accent-color */
  --primary-600: #e68a00; /* Darker orange */
  --primary-text: #ffffff; /* White text on orange */
  --primary-gradient: linear-gradient(135deg, #ff9900, #ff7e00);
  --primary-gradient-hover: linear-gradient(0deg, #e78b02, #cb6702dc);

  --success: #28a745; /* Webapp --success-color */
  --cancel: #dc3545;
  --warning: #f59e0b;
  --border: #ddd; /* Webapp --border-color */
  --ring: rgba(255, 153, 0, 0.2); /* Orange ring */
  
  /* Plan card gradients, using webapp colors */
  --plan-sub-start: #232f3e; /* Webapp --primary-color */
  --plan-sub-end: #37475a;   /* Webapp --secondary-color */
  --plan-pass-start: #28a745; /* Webapp --success-color */
  --plan-pass-end: #2a913f;  /* Darker green */
}

*{box-sizing:border-box}
/* Updated font to match webapp */
html,body{margin:0;height:100%;background:var(--bg);color:var(--text);font:16px/1.5 Arial,sans-serif;}

a{color:var(--primary);text-decoration:none}
a:hover{color:var(--primary-600)}
.container{max-width:1200px;margin:0 auto;padding:24px}

.header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    background: #fff4ca;
    padding: 10px 5px;
    border-radius: 10px;
    border: 1px solid orange;
}
.brand{
    font-weight: 800;
    font-size: 24px;
    letter-spacing: .2px;
    color: #363636;
    padding: 0px 5px;
  }
.brand a{
    color: var(--primary);
    text-decoration: none;
}
.brand a:hover{
    color: var(--primary-600);
}
.header nav a{margin-left:16px;font-weight:600;color:var(--muted)}
.header nav a:hover{color:var(--text)}

/* Added nav links for sign in/up */
.header nav a.nav-link-secondary {
  color: var(--primary);
  font-weight: 700;
  padding: 6px 12px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.header nav a.nav-link-secondary:hover {
  background: var(--primary);
  color: var(--primary-text);
}
.header nav a.nav-link-primary {
  background: var(--primary-gradient);
  color: var(--primary-text);
  padding: 7px 13px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.header nav a.nav-link-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
/* --- */


.card{background:var(--card);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 28px rgba(0,0,0,.05)} /* Softer shadow */
.hero{position:relative;overflow:hidden;padding:40px 28px;margin-bottom:20px;background:var(--card); border:1px solid var(--border);
  /* Updated dot grid to be lighter */
  background-image: radial-gradient(circle at 1px 1px, #ddd 1px, transparent 0);
  background-size: 20px 20px;
}
.card a:hover{
    color: black;
}
.hero h1{margin:0 0 10px;font-size:40px;line-height:1.2;color:var(--text)}
.hero h1 span{background:var(--primary-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero p{margin:0 0 16px;color:var(--muted);max-width:740px;font-size:18px}

/* CTA button updated */
.cta{display:inline-block;background:var(--primary-gradient);color:var(--primary-text);padding:12px 20px;border-radius:12px;font-weight:700;border:1px solid transparent;box-shadow:0 10px 20px var(--ring);transition:.2s}
.cta:hover{opacity:0.9;transform:translateY(-1px);box-shadow:0 14px 25px var(--ring)}

.blob{display:none} 
.carousel{position:relative;margin-top:18px; overflow: hidden;}
.slides{display:flex;gap:16px;transition:transform .6s ease;will-change:transform}
.slide{min-width:60%; background:var(--bg); border:1px solid var(--border); border-radius:14px; padding:16px; box-shadow:0 6px 16px rgba(0,0,0,.05)}
.slide h3{margin:0 0 6px;color:var(--primary)}
.slide p{margin:0;color:var(--muted)}
.carousel-controls{display:flex;align-items:center;gap:10px;margin-top:10px}
.dot{width:10px;height:10px;border-radius:50%;background:#ccc;cursor:pointer}
.dot.active{background:var(--primary)}
.arrow{border:1px solid var(--border);background:var(--card);color:var(--text);border-radius:8px;padding:6px 10px;cursor:pointer}

/* Toggles updated */
.mode-toggle{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:12px 0}
.mode-btn{display:flex;align-items:center;justify-content:center;gap:10px;border:2px solid var(--border);border-radius:14px;background:var(--card);padding:14px;cursor:pointer;font-weight:800; color:var(--text); box-shadow:0 6px 16px rgba(0,0,0,.05); transition:.15s}
.mode-btn:hover{transform:translateY(-1px);border-color:var(--muted)}
.mode-btn.selected{ border-color: var(--primary); background: #fffbeb;}

.switch{display:inline-flex;align-items:center;gap:10px;padding:6px 8px;border:1px solid var(--border);background:var(--card);border-radius:999px}
.switch .label{font-weight:700;color:var(--muted)}
.toggle{position:relative;width:46px;height:26px;background:var(--muted);border-radius:999px;cursor:pointer;transition:.2s}
.knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:.2s}
.toggle.on{background:var(--primary)}
.toggle.on .knob{left:23px}

.radio-group{display:flex;gap:8px;flex-wrap:wrap}
.radio{display:inline-flex;align-items:center}
.radio input{position:absolute;opacity:0;pointer-events:none}
.radio span{display:inline-block;padding:0px 15px;border:1px solid var(--border);border-radius:5px;background:var(--card);cursor:pointer;font-weight:700;color:var(--muted)}
.radio input:checked + span { border-color: var(--primary); color: var(--text); background: #fffbeb;}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:16px}
@media (max-width:980px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:680px){.grid{grid-template-columns:1fr}}

/* Plan cards updated */
.plan{padding:18px;display:flex;flex-direction:column;gap:12px;border:1px solid var(--border);border-radius:16px; color: #fff;}
.plan .title{display:flex;align-items:center;justify-content:space-between}
.plan .plan-name{font-weight:900;font-size:20px;color:var(--text)}
.badge{font-size:12px;color: #116601;
    background: rgb(172 255 159);padding:4px 8px;border-radius:10px;font-weight:600}
.price{font-size:32px;font-weight:900;display:flex;align-items:baseline;gap:8px;color:var(--text)}
.price small{font-size:13px;color:var(--muted)}
.strike{color:var(--muted);text-decoration:line-through;margin-left:6px;font-weight:600;font-size:14px}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:auto}

.btn{padding:10px 12px;border-radius:5px;border:1px solid var(--border);background:var(--card);color:var(--text);cursor:pointer;font-weight:700;transition:.2s}
.btn:hover{background:var(--panel);border-color:var(--muted)}
.btn.primary{background:var(--primary-gradient);color:var(--primary-text);border-color:transparent}
.btn.primary:hover{opacity:0.9;border-color:transparent;background:var(--primary-gradient);}

/* Re-tint plan text for readability on dark gradients */
body[data-mode="subscription"] .plan {
  background: linear-gradient(180deg, #ffe0c2, #eda96a);
  color: var(--text);
}
body[data-mode="pass"] .plan {
  background: linear-gradient(180deg, #98cdff, #bed7ff);
  color: var(--text);
}
body .plan .plan-name,
body .plan .price,
body .plan .note {
  color: var(--text);
}
body .plan .price small,
body .plan .strike {
  color: #c00000;
}
/* White buttons for dark plan cards */
body .plan .btn {
  background: #fff;
  color: #333;
  border-color: #fff;
}
body .plan .btn.primary {
  background: var(--primary-gradient);
  color: var(--primary-text);
  border-color: transparent;
}
body .plan .btn:hover {
  background: #f0f0f0;
}
body .plan .btn.primary:hover {
  background: var(--primary-gradient);
  opacity: 0.9;
}


/* --- NEW: Modal/Lightbox Styles --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.8); /* Dark bg with opacity */
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 16px;
  animation: fadeIn 0.2s ease-out;
}
.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  animation: zoomIn 0.2s ease-out;
  
  /* Light mode adjustments for modal */
  background: #fff;
  color: var(--text);
}
.modal-content h2 {
  margin: 0 0 10px;
  color: var(--text);
}
.modal-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end; /* Align buttons to the right */
}
.modal-actions .btn.primary {
  /* Ensure it uses the gradient */
  background: var(--primary-gradient);
  color: var(--primary-text);
}
.modal-actions .btn {
  background: var(--bg);
  border-color: var(--border);
}
.modal-actions .btn:hover {
  background: var(--primary-gradient-hover);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* --- End Modal Styles --- */


/* --- Features Table Styles --- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.features-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
.features-table th, 
.features-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.features-table thead th {
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  border-bottom-width: 2px;
  text-align: center;
}
.features-table thead th:first-child {
  text-align: left;
}
.features-table tbody tr:last-child td {
  border-bottom: none;
}
.features-table tbody tr:hover {
  background: var(--panel);
}
.features-table tbody td:first-child strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 2px;
}
.features-table tbody td:first-child .feature-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400; /* Use normal font weight */
  margin-top: 6px;
}
.features-table tbody td:first-child .feature-description ul {
  margin: 8px 0 0 0;
  padding-left: 18px; /* Indent list */
}
.features-table tbody td:first-child .feature-description li {
  margin-bottom: 4px;
}
.features-table td {
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  color: var(--text);
}
.features-table td:first-child {
  text-align: left;
  vertical-align: top;
  width: 40%;
}
.features-table tfoot td {
  padding-top: 20px;
  border-bottom: none;
  background: var(--panel);
}
.features-table tfoot td:first-child {
  border-bottom-left-radius: 12px;
}
.features-table tfoot td:last-child {
  border-bottom-right-radius: 12px;
}
.features-table .btn.cta-table-select {
  width: 100%;
  padding: 12px 8px;
  font-size: 14px;
}
.feat-yes {
  color: var(--success); /* #10b981 */
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}
.feat-no {
  color: #ef4444; /* Red */
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
/* --- End New Styles --- */

.section{padding:18px 22px;margin-top:16px}
.benefits{grid-template-columns:repeat(3,1fr)}
.benefit{padding:18px;display:flex;flex-direction:column;gap:12px;border-radius:14px;border:1px solid var(--border);background:var(--bg)}
.icon{font-size:24px;line-height:1;background:var(--primary-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.benefit strong{color:var(--text)}

/* --- FOOTER STYLES --- */
.footer {
  padding: 32px 28px;
  color: var(--muted);
  margin-top: 16px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-col .brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-col p.note {
  font-size: 14px;
  line-height: 1.6;
  max-width: 250px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col ul li a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* For small screens */
  gap: 12px;
}

.footer-bottom .note {
  font-size: 12px;
}



/* === NEW PAYMENT ICONS STYLE === */
.footer-payment-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-payment-icons i {
  font-size: 1.8rem; /* 1.8 * 16px = ~29px */
  color: var(--muted);
  transition: color 0.2s ease;
}
.footer-payment-icons i:hover {
  color: var(--text);
}
.footer-payment-icons i.payment-icon {
  font-size: 28px;
}
/* === END NEW STYLE === */


/* --- END FOOTER STYLES --- */

.error{background:#fecdd3;border:1px solid #fecdd3;color:#9f1239;padding:12px;border-radius:12px;margin:16px}

@media (max-width:980px){
  .grid{grid-template-columns:repeat(2,1fr)}
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:680px){
  .grid{grid-template-columns:1fr}
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}



/* ... existing code ... */
.form-status.loading {
  color: var(--muted);
  display: block;
}
/* --- End Form Styles --- */


/* --- NEW: Legal Page Styles --- */
.terms-card {
  padding: 30px 40px;
}
.terms-content h2 {
  color: var(--text);
  margin-top: 25px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}
.terms-content h3 {
  color: var(--text);
  opacity: 0.9;
  margin-top: 20px;
  margin-bottom: 10px;
}
.terms-content h4 {
  color: var(--text);
  opacity: 0.9;
  margin-top: 18px;
  margin-bottom: 8px;
}
.terms-content p {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--muted);
}
.terms-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}
.terms-content li {
  line-height: 1.7;
  margin-bottom: 8px;
  color: var(--muted);
}
.terms-content strong {
  color: var(--text);
}
.terms-content .highlight-warning {
  background-color: #ffe6c0;
  border: 1px solid var(--warning);
  color: #717171;
  padding: 15px;
  border-radius: 6px;
}
.terms-content .highlight-danger {
  background-color: #ffedc6;
  border: 1px solid #ef4444;
  color: #696969;
  padding: 15px;
  border-radius: 6px;
}
/* --- End Legal Page Styles --- */


/* --- NEW: Screenshot Carousel Styles --- */
.screenshots-section {
  padding: 30px; 
}
.screenshot-slider-container {
  position: relative;
  overflow: hidden; /* This is key */
  height: 600px; /* Your requested fixed height */
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* 1. The Animated Tech Background (Sits at the bottom) */
.ss-bg {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #e4740540;
    background-image: repeating-linear-gradient(-45deg, rgba(55, 71, 90, 0) 0, /* Transparent */ rgba(55, 71, 90, 0) 20px, /* Transparent */ rgb(0 117 255 / 30%) 20px, /* Lighter line (secondary color) */ rgb(6 46 95 / 30%) 22px /* Line thickness */);
    background-size: 200% 200%;
    animation: tech-bg-scroll 280s 
linear infinite;
}

/* 2. The Slides Container (Sits on top of the BG) */
.screenshot-slides {
    display: flex;
    height: 90%;
    transition: transform 0.6s ease;
    position: relative;
    z-index: 2;
    margin: 20px 0px;
    background: transparent;
}

/* 3. The Individual Slide */
.screenshot-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex; /* Center the inner image */
  justify-content: center;
  align-items: center;
  background: none; /* Make slide transparent */
}

/* 4. The Clean Image on Top */
.screenshot-slide img {
  display: block;
  height: 100%; 
  width: auto; 
  max-width: 100%;
  object-fit: fill; 
  position: relative;
  z-index: 3; /* Sits on top of its slide */
  
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 5. Controls (Sit on top of everything) */
.ss-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4; /* On top */
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.ss-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}
#ss-prev {
  left: 20px;
}
#ss-next {
  right: 20px;
}
.screenshot-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4; /* On top */
  display: flex;
  gap: 12px;
}
.ss-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.ss-dot.active {
  background: #fff;
}

/* --- Keyframes for animated background --- */
@keyframes tech-bg-scroll {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200% 200%;
  }
}
/* --- End Screenshot Carousel Styles --- */


/* --- NEW: FAQ Page Styles --- */
.faq-toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 30px;
}
.faq-toc h4 {
  margin: 0 0 12px;
  color: var(--text);
}
.faq-toc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-toc ul li a {
  font-weight: 600;
  text-decoration: underline;
}

.faq-category {
  margin-bottom: 20px;
}
.faq-category h2 {
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 20px;
  color: var(--text);
}
.faq-item {
  margin-bottom: 24px;
}
.faq-item h3 {
  color: var(--text);
  margin: 0 0 8px;
}
.faq-item p, .faq-item ul {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.faq-item ul {
  margin-top: 10px;
  padding-left: 20px;
}
.faq-item li {
  margin-bottom: 6px;
}
/* --- End FAQ Page Styles --- */



.plan_btn{
    background: linear-gradient(0deg, #19a001, #127b00);
    color: white;
}
.plan_btn:hover{
    color: #eeffdc !important;
    background: linear-gradient(0deg, #158202, #0d5002);
}

