/* OzloStream - Shared CSS */
/* Colors derived from swedeniptv.com reference: green primary, light bg */
:root {
  --primary: #27b931;
  --primary-dark: #1e9a28;
  --primary-light: #4cd955;
  --secondary: #1e202c;
  --bg-light: #f4f8ff;
  --bg-white: #ffffff;
  --bg-dark: #0d1117;
  --text-dark: #222222;
  --text-body: #555555;
  --text-light: #6c6c6c;
  --text-muted: #999999;
  --border: #e2e8f0;
  --accent-green: #18a717;
  --gradient-primary: linear-gradient(135deg, #27b931 0%, #1e9a28 100%);
  --gradient-dark: linear-gradient(135deg, #1e202c 0%, #0d1117 100%);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-light); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.text-center { text-align: center; }

/* Section Headers */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section-header .line { width: 60px; height: 4px; background: var(--primary); margin: 16px auto 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 1rem; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none; gap: 8px;
}
.btn--primary { background: var(--gradient-primary); color: #fff; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(39,185,49,0.35); color: #fff; }
.btn--outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn--white { background: #fff; color: var(--primary); }
.btn--white:hover { background: var(--bg-light); color: var(--primary-dark); }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }

/* Navigation */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.logo span { color: var(--primary); }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a {
  color: var(--text-dark); font-weight: 500; font-size: 0.95rem;
  position: relative; padding: 4px 0;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); }
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.3s;
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta .btn { padding: 10px 24px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text-dark);
  margin: 5px 0; transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.lang-switcher { display: flex; gap: 8px; margin-left: 16px; }
.lang-switcher a {
  padding: 4px 10px; border-radius: 6px; font-size: 0.85rem;
  font-weight: 600; text-transform: uppercase;
}
.lang-switcher a.active { background: var(--primary); color: #fff; }

/* Hero */
.hero {
  padding: 140px 0 100px;
  background: var(--bg-light);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: var(--gradient-primary); opacity: 0.05;
  border-radius: 0 0 0 50%;
}
.hero .container { display: flex; align-items: center; gap: 60px; position: relative; z-index: 2; }
.hero-content { flex: 1; }
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 30px; max-width: 540px; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); display: block; }
.hero-stats .stat-label { font-size: 0.85rem; color: var(--text-muted); }
.hero-image { flex: 1; text-align: center; }
.hero-image img { max-width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Features Grid */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 36px 28px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-card .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(39,185,49,0.1); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}
.feature-card h4 { margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pricing-card {
  background: var(--bg-white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  border: 2px solid var(--border); transition: var(--transition);
  position: relative; overflow: hidden;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.popular { border-color: var(--primary); }
.pricing-card.popular::before {
  content: 'POPULAR'; position: absolute; top: 16px; right: -32px;
  background: var(--primary); color: #fff; font-size: 0.7rem;
  padding: 4px 40px; transform: rotate(45deg); font-weight: 700;
}
.pricing-card .duration { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.pricing-card .price small { font-size: 0.9rem; color: var(--text-muted); }
.pricing-card .price-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.pricing-card ul { text-align: left; margin-bottom: 28px; }
.pricing-card ul li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.92rem; color: var(--text-body);
  display: flex; align-items: center; gap: 8px;
}
.pricing-card ul li::before { content: '\2713'; color: var(--primary); font-weight: 700; }
.pricing-card .btn { width: 100%; }

/* Channels */
.channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.channel-tag {
  background: var(--bg-light); border-radius: 8px; padding: 12px 16px;
  text-align: center; font-weight: 500; font-size: 0.9rem;
  color: var(--text-dark); border: 1px solid var(--border);
  transition: var(--transition);
}
.channel-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border);
}
.testimonial-card .stars { color: #f59e0b; font-size: 1.2rem; margin-bottom: 16px; }
.testimonial-card p { font-style: italic; margin-bottom: 20px; color: var(--text-body); }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.testimonial-card .author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-primary); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.testimonial-card .author-name { font-weight: 600; color: var(--text-dark); }
.testimonial-card .author-country { font-size: 0.85rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  padding: 20px 24px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-white); transition: var(--transition);
  color: var(--text-dark);
}
.faq-question:hover { background: var(--bg-light); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 24px 20px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--text-dark); font-size: 0.92rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 1rem; font-family: inherit;
  background: var(--bg-white); transition: var(--transition);
  color: var(--text-dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(39,185,49,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-message { padding: 12px 16px; border-radius: 8px; margin-top: 16px; font-weight: 500; }
.form-message--success { background: rgba(39,185,49,0.1); color: var(--primary-dark); }
.form-message--error { background: rgba(220,38,38,0.1); color: #dc2626; }
.hp-field { position: absolute; left: -9999px; }

/* Contact Info */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
  display: flex; gap: 16px; padding: 24px;
  background: var(--bg-light); border-radius: var(--radius);
  margin-bottom: 20px;
}
.contact-info-card .icon-box {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--gradient-primary); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 1.2rem; flex-shrink: 0;
}
.contact-info-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-info-card p { margin: 0; color: var(--text-light); font-size: 0.95rem; }

/* Footer */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer .footer-brand p { margin-bottom: 20px; font-size: 0.92rem; line-height: 1.7; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; margin-top: 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--primary); }

/* Page Header (inner pages) */
.page-header {
  padding: 130px 0 60px;
  background: var(--gradient-dark); color: #fff;
  text-align: center; position: relative;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--gradient-primary);
}
.page-header h1 { color: #fff; margin-bottom: 12px; font-size: 2.5rem; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-top: 12px; font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }

/* About Page */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.stat-box {
  text-align: center; padding: 32px 20px;
  background: var(--bg-white); border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-box .number { font-size: 2.2rem; font-weight: 700; color: var(--primary); display: block; }
.stat-box .label { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* Setup Guide */
.setup-content { max-width: 800px; margin: 0 auto; }
.setup-content h2 { margin: 40px 0 16px; }
.setup-content h3 { margin: 30px 0 12px; color: var(--primary); }
.setup-content p { line-height: 1.8; }
.setup-content img { border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow); }
.setup-content ol, .setup-content ul { margin: 16px 0; padding-left: 24px; }
.setup-content ol li, .setup-content ul li { margin-bottom: 10px; line-height: 1.7; list-style: decimal; }
.setup-content ul li { list-style: disc; }

/* Legal Pages */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin: 32px 0 16px; font-size: 1.6rem; }
.legal-content h3 { margin: 24px 0 12px; font-size: 1.3rem; }
.legal-content p { line-height: 1.8; }
.legal-content ul { margin: 16px 0; padding-left: 24px; }
.legal-content ul li { margin-bottom: 8px; list-style: disc; }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.order-summary {
  background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
}
.order-summary h3 { margin-bottom: 20px; }
.order-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-total { display: flex; justify-content: space-between; padding: 16px 0 0; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); }

/* Reseller */
.reseller-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.benefit-card {
  background: var(--bg-white); border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card .icon { font-size: 2.5rem; margin-bottom: 16px; }
.benefit-card h4 { margin-bottom: 10px; }
.benefit-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

/* CTA Banner */
.cta-banner {
  background: var(--gradient-primary); padding: 60px 0;
  text-align: center; color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.1rem; }

/* Two Column Layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  .container { padding: 0 24px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 60px 0; }
  .hero { padding: 110px 0 60px; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image { max-width: 400px; margin: 0 auto; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 20px; gap: 16px; border-bottom: 1px solid var(--border);
    transform: translateY(-120%); transition: var(--transition);
    box-shadow: var(--shadow);
  }
  .nav-menu.active { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .reseller-benefits { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .lang-switcher { margin-left: 0; }
  .page-header h1 { font-size: 2rem; }

  .hero { padding: 60px 0 40px; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .stats-row { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
@media (max-width: 360px) {
  .hero h1 { font-size: 1.25rem; }

/* ─── TOUCH & INTERACTION ─── */
@media (hover: none) and (pointer: coarse) {
  .btn, .nav-cta, a, button { min-height: 44px; min-width: 44px; }
  .nav-links a { padding: 12px 8px; }
  .faq-question { padding: 16px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ─── PRINT ─── */
@media print {
  .site-header, .site-footer, .nav-toggle, .whatsapp-btn, .skip-link, footer, header, nav { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .hero { background: none; padding: 20px 0; }
}
