/* 
   Ky iptv Replica Style Sheet
   Customized with tokens for LEMO TV / Aetheris Static HTML Engine
*/

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors - dynamic template replacements */
  --primary-color: #0284c7;
  --primary-hover: #0369A1;
  --accent-color: #0369A1;
  --accent-hover: #0284c7;
  --text-primary: #1D1D1D;
  --text-secondary: #616670;
  --bg-primary: #ffffff;
  --bg-secondary: #f5f8fd;
  --border-color: #d1d5db;
  --card-bg: rgba(255, 255, 255, 0.95);
  
  /* Layout */
  --container-width: 1200px;
  --font-headings: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

header, footer, header *, footer * {
  box-sizing: border-box;
}

header, footer {
  font-family: var(--font-body);
  line-height: 1.6;
}

header h1, header h2, header h3, header h4, header h5, header h6,
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

header a, footer a {
  transition: color 0.2s ease-in-out;
}

header .container, footer .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  color: #ffffff;
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Footer styles */
footer {
  background-color: #111111;
  color: #ffffff;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #cccccc;
}

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

.liability-shield {
  background-color: #1a1a1a;
  border-left: 4px solid var(--accent-color);
  padding: 1rem;
  font-size: 0.9rem;
  color: #bbbbbb;
  margin-top: 2rem;
}

.copyright-bar {
  text-align: center;
  border-top: 1px solid #222222;
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888888;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 16px rgba(2, 132, 199, 0.1);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-headings);
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* FAQ accordion style */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background-color: var(--bg-secondary);
  padding: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 1rem;
  display: none;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-primary);
}

@media(max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-links.active {
    display: flex;
  }
}

/* Fallback for Elementor animated widgets in case JavaScript is disabled, deferred or blocked */
.elementor-invisible {
  visibility: visible !important;
  opacity: 1 !important;
}


/* Accessibility & Contrast Overrides */
.text-text-muted {
  color: rgb(75 85 99) !important;
}
a.text-accent, span.text-accent, p.text-accent, div.text-accent {
  color: #002335 !important;
}
a.text-accent {
  text-decoration: underline !important;
}
a.text-accent:hover {
  color: #013755 !important;
}
svg.text-accent, .text-accent svg {
  color: inherit !important;
}
.bg-accent, .from-accent, .to-accent-dark,
#subscription .connection-btn.active,
#subscription .best-seller-card div.absolute,
#subscription .best-seller-card button,
#subscription button[data-plan="12M"],
.best-seller-card div.absolute,
.best-seller-card button,
button[data-plan="12M"] {
  background-color: #003855 !important;
  background-image: none !important;
  color: #ffffff !important;
}
#subscription .bg-accent *, #subscription .from-accent *, #subscription .to-accent-dark *,
.bg-accent *, .from-accent *, .to-accent-dark * {
  color: #ffffff !important;
}

