/* IkaStream - Playful/Modern Theme inspired by bosstv.ca */
/* Sniglet font: rounded, friendly, energetic */

:root {
  --bg-body: #FFFFFF;
  --bg-nav: #333333;
  --bg-card: #F9F9F9;
  --bg-section-alt: #F4F4F4;
  --accent: #FF5733;
  --accent-hover: #E64A2E;
  --accent-light: rgba(255, 87, 51, 0.1);
  --text-primary: #333333;
  --text-muted: #696973;
  --text-white: #FFFFFF;
  --border: #E2E2E2;
  --footer-bg: #2A2A2A;
  --footer-text: #CCCCCC;
  --success: #28a745;
  --error: #dc3545;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Sniglet', 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sniglet', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === NAVIGATION === */
.nav-top {
  background: var(--bg-nav);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: 'Sniglet', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  color: var(--text-white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 400;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--accent);
  color: var(--text-white);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text-white);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 12px 16px; }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--bg-nav) 0%, #1a1a2e 50%, var(--bg-nav) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,87,51,0.15) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(5%, 3%); }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 3.2rem;
  color: var(--text-white);
  margin-bottom: 20px;
}
.hero h1 .highlight { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.hero-stat .label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Sniglet', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(255,87,51,0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,87,51,0.45);
  color: var(--text-white);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--text-white);
}
.btn-white {
  background: var(--text-white);
  color: var(--accent);
}
.btn-white:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
}

/* === SECTIONS === */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-section-alt);
}
.section-dark {
  background: var(--bg-nav);
  color: var(--text-white);
}
.section-dark h2,
.section-dark h3 { color: var(--text-white); }
.section-dark p { color: rgba(255,255,255,0.75); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title p {
  max-width: 600px;
  margin: 20px auto 0;
}

/* === GRID === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

@media (max-width: 992px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 50px 0; }
}

/* === CARDS === */
.card {
  background: var(--bg-body);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }

/* === PRICING === */
.pricing-card {
  background: var(--bg-body);
  border-radius: var(--radius);
  padding: 35px 30px;
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}
.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(255,87,51,0.2);
}
.pricing-card.popular::before {
  content: 'Populaire';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--text-white);
  padding: 6px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card .plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.pricing-card .plan-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin: 15px 0;
}
.pricing-card .plan-price .currency {
  font-size: 1.4rem;
  vertical-align: super;
}
.pricing-card .plan-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}
.pricing-card .plan-features {
  list-style: none;
  margin: 25px 0;
  text-align: left;
}
.pricing-card .plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 28px;
  position: relative;
}
.pricing-card .plan-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing-card .btn { width: 100%; margin-top: 10px; }

/* === FEATURES BANNER === */
.features-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.features-banner .fb-item {
  padding: 40px 25px;
  text-align: center;
  color: var(--text-white);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.features-banner .fb-item:nth-child(1) { background: #FF5733; }
.features-banner .fb-item:nth-child(2) { background: #E64A2E; }
.features-banner .fb-item:nth-child(3) { background: #CC3D29; }
.features-banner .fb-item:nth-child(4) { background: #B33024; }
.features-banner .fb-item:hover { transform: scale(1.02); z-index: 1; }
.features-banner .fb-icon { font-size: 2.5rem; margin-bottom: 15px; }
.features-banner .fb-item h3 { color: var(--text-white); font-size: 1.2rem; margin-bottom: 8px; }
.features-banner .fb-item p { color: rgba(255,255,255,0.9); font-size: 0.9rem; }

@media (max-width: 768px) {
  .features-banner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-banner { grid-template-columns: 1fr; }
}

/* === TRUST/STATS BAR === */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.trust-item .trust-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.trust-item h4 { margin-bottom: 6px; }
.trust-item p { font-size: 0.9rem; }

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

/* === APP FEATURES === */
.app-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.app-features-list { list-style: none; }
.app-features-list li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.app-features-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}
.app-image { border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 768px) {
  .app-features { grid-template-columns: 1fr; }
}

/* === FAQ === */
.faq-item {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}
.faq-question:hover { background: var(--accent-light); }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  transition: var(--transition);
}
.faq-item.active .faq-question::after {
  content: '-';
}
.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 18px;
}
.faq-answer p { font-size: 0.95rem; }

/* === FORMS === */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Sniglet', sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-body);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-body);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-message {
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-message--success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.form-message--error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.honeypot { position: absolute; left: -9999px; }

/* === CHANNEL GRID === */
.channel-category {
  margin-bottom: 40px;
}
.channel-category h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.channel-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.channel-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.channel-flag img {
  width: 30px;
  height: 20px;
  border-radius: 2px;
  object-fit: cover;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

/* === PAGE HEADER === */
.page-header {
  background: linear-gradient(135deg, var(--bg-nav), #1a1a2e);
  padding: 50px 0;
  text-align: center;
  color: var(--text-white);
}
.page-header h1 { color: var(--text-white); margin-bottom: 10px; font-size: 2.4rem; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* === FOOTER === */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 30px;
  color: var(--footer-text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer p { color: var(--footer-text); font-size: 0.9rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-address { font-style: normal; font-size: 0.88rem; line-height: 1.8; }

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

/* === TESTIMONIALS === */
.testimonial-card {
  background: var(--bg-body);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.testimonial-location {
  color: var(--accent);
  font-size: 0.85rem;
}
.testimonial-stars {
  color: #FFC107;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* === LEGAL PAGES === */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 35px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.legal-content h3 {
  font-size: 1.2rem;
  margin: 25px 0 10px;
}
.legal-content ul, .legal-content ol {
  margin: 15px 0;
  padding-left: 25px;
}
.legal-content li {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.legal-content th, .legal-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.95rem;
}
.legal-content th {
  background: var(--bg-card);
  font-weight: 700;
}
.legal-content strong { color: var(--text-primary); }

/* === SETUP GUIDE === */
.guide-content {
  max-width: 800px;
  margin: 0 auto;
}
.guide-content h2 {
  margin: 35px 0 15px;
  color: var(--text-primary);
}
.guide-content h3 {
  margin: 25px 0 10px;
}
.guide-content img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin: 20px 0;
}
.guide-step {
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}
.guide-step h4 { margin-bottom: 10px; }

/* === RESELLER === */
.reseller-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.reseller-tier {
  background: var(--bg-body);
  border-radius: var(--radius);
  padding: 35px;
  border: 2px solid var(--border);
  text-align: center;
  transition: var(--transition);
}
.reseller-tier:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.reseller-tier h3 { margin-bottom: 10px; }
.reseller-tier .tier-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 15px 0;
}

@media (max-width: 768px) {
  .reseller-tiers { grid-template-columns: 1fr; }
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* === CHECKOUT === */
.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.order-summary {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}
.order-summary h3 { margin-bottom: 20px; }
.order-summary ul { list-style: none; }
.order-summary li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 25px;
  position: relative;
}
.order-summary li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .checkout-wrapper { grid-template-columns: 1fr; }
}

/* === CONTACT INFO === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.contact-info-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

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

/* === TRIAL FORM (HERO) === */
.trial-form-wrapper {
  max-width: 500px;
  margin: 40px auto 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.15);
}
.trial-form-wrapper h3 { color: var(--text-white); margin-bottom: 5px; text-align: center; }
.trial-form-wrapper .trial-subtitle { color: rgba(255,255,255,0.7); text-align: center; font-size: 0.9rem; margin-bottom: 20px; }
.trial-form-wrapper .form-group label { color: rgba(255,255,255,0.9); }
.trial-form-wrapper .form-group input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--text-white);
}
.trial-form-wrapper .form-group input::placeholder { color: rgba(255,255,255,0.5); }
.trial-form-wrapper .form-group input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.15);
}
.trial-trust {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
