/* Channmax - Design DNA from ultra8ktv.com */
/* Material Design dark theme: navy bg, Google Blue accents, green highlights */

:root {
  --cm-bg: #0f1623;
  --cm-nav-bg: #1b2434;
  --cm-card-bg: #191C26;
  --cm-card-bg-alt: #252831;
  --cm-accent: #1a73e8;
  --cm-accent-hover: #1557b0;
  --cm-green: #23EF6D;
  --cm-whatsapp: #25D366;
  --cm-red: #EF233C;
  --cm-text: #ffffff;
  --cm-text-muted: #99a9c4;
  --cm-text-dim: #8b94a7;
  --cm-border: #2d394b;
  --cm-footer-bg: #0a0f16;
  --cm-light-bg: #eaf0ff;
  --cm-light-text: #1b2434;
  --cm-radius: 12px;
  --cm-radius-sm: 8px;
  --cm-max-w: 1140px;
  --cm-font: 'Roboto', 'Inter', Arial, sans-serif;
  --cm-font-alt: 'Roboto Slab', 'Poppins', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--cm-font);
  background: var(--cm-bg);
  color: var(--cm-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cm-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cm-green); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p { margin-bottom: 1rem; }

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

/* NAV */
.cm-nav {
  background: var(--cm-nav-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--cm-border);
}
.cm-nav .cm-container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.cm-logo { font-size: 1.6rem; font-weight: 800; color: var(--cm-text); letter-spacing: -0.5px; }
.cm-logo span { color: var(--cm-accent); }
.cm-logo:hover { color: var(--cm-text); }
.cm-nav-links { display: flex; align-items: center; gap: 24px; }
.cm-nav-links a { color: var(--cm-text-muted); font-size: .9rem; font-weight: 500; transition: color .2s; }
.cm-nav-links a:hover, .cm-nav-links a.active { color: var(--cm-text); }
.cm-nav-cta {
  background: var(--cm-accent); color: #fff !important; padding: 10px 22px;
  border-radius: 6px; font-weight: 600; font-size: .9rem; transition: background .2s;
}
.cm-nav-cta:hover { background: var(--cm-accent-hover); color: #fff !important; }
.cm-hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 5px;
}
.cm-hamburger span { width: 26px; height: 2px; background: var(--cm-text); border-radius: 2px; transition: .3s; }

/* HERO */
.cm-hero { padding: 80px 0 60px; text-align: center; background: linear-gradient(180deg, var(--cm-nav-bg) 0%, var(--cm-bg) 100%); }
.cm-hero h1 { margin-bottom: 16px; }
.cm-hero h1 .cm-hl { color: var(--cm-accent); }
.cm-hero p { color: var(--cm-text-muted); font-size: 1.1rem; max-width: 680px; margin: 0 auto 32px; }
.cm-hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.cm-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 6px; font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none; transition: all .2s; text-align: center;
}
.cm-btn-primary { background: var(--cm-accent); color: #fff; }
.cm-btn-primary:hover { background: var(--cm-accent-hover); color: #fff; }
.cm-btn-outline { background: transparent; color: var(--cm-accent); border: 2px solid var(--cm-accent); }
.cm-btn-outline:hover { background: var(--cm-accent); color: #fff; }
.cm-btn-green { background: var(--cm-whatsapp); color: #fff; }
.cm-btn-green:hover { background: #1fb855; color: #fff; }

/* FEATURES BAR */
.cm-features-bar { padding: 40px 0; border-bottom: 1px solid var(--cm-border); }
.cm-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cm-feature-item {
  text-align: center; padding: 24px 16px; background: var(--cm-card-bg);
  border-radius: var(--cm-radius); border: 1px solid var(--cm-border);
}
.cm-feature-item .cm-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.cm-feature-item h3 { font-size: 1rem; margin-bottom: 6px; }
.cm-feature-item p { color: var(--cm-text-muted); font-size: .85rem; margin: 0; }

/* STATS */
.cm-stats { padding: 32px 0; background: var(--cm-card-bg); border-bottom: 1px solid var(--cm-border); }
.cm-stats-grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.cm-stat-item { text-align: center; }
.cm-stat-num { font-size: 2rem; font-weight: 800; color: var(--cm-accent); }
.cm-stat-label { color: var(--cm-text-muted); font-size: .85rem; }

/* SECTIONS */
.cm-section { padding: 64px 0; }
.cm-section-light { background: var(--cm-light-bg); color: var(--cm-light-text); }
.cm-section-light .cm-text-muted { color: #5f6368; }
.cm-section-dark { background: var(--cm-card-bg); }
.cm-section-title { text-align: center; margin-bottom: 48px; }
.cm-section-title h2 { margin-bottom: 12px; }
.cm-section-title p { color: var(--cm-text-muted); max-width: 600px; margin: 0 auto; }
.cm-section-light .cm-section-title p { color: #5f6368; }

/* PRICING */
.cm-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cm-price-card {
  background: var(--cm-card-bg-alt); border-radius: var(--cm-radius);
  border: 1px solid var(--cm-border); padding: 32px 24px; text-align: center;
  position: relative; transition: transform .2s, border-color .2s;
}
.cm-price-card:hover { transform: translateY(-4px); border-color: var(--cm-accent); }
.cm-price-card.cm-popular { border-color: var(--cm-green); }
.cm-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--cm-accent); color: #fff; padding: 4px 16px; border-radius: 20px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; white-space: nowrap;
}
.cm-badge-green { background: var(--cm-green); color: #000; }
.cm-price-duration { font-size: 1rem; color: var(--cm-text-muted); margin-bottom: 12px; }
.cm-price-amount { font-size: 2.8rem; font-weight: 800; margin-bottom: 4px; }
.cm-price-amount .cm-cur { font-size: 1.4rem; vertical-align: super; }
.cm-price-period { color: var(--cm-text-muted); font-size: .85rem; margin-bottom: 20px; }
.cm-price-features { text-align: left; margin-bottom: 24px; }
.cm-price-features li {
  padding: 6px 0; color: var(--cm-text-muted); font-size: .9rem;
  display: flex; align-items: center; gap: 8px;
}
.cm-price-features li::before { content: "\2713"; color: var(--cm-green); font-weight: 700; }
.cm-price-card .cm-btn { width: 100%; }

/* IMAGE SCROLL */
.cm-image-scroll { display: flex; gap: 16px; overflow-x: auto; padding: 0 20px 16px; scrollbar-width: thin; }
.cm-image-scroll img { flex: 0 0 240px; height: 140px; object-fit: cover; border-radius: var(--cm-radius-sm); }

/* CARDS */
.cm-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cm-card {
  background: var(--cm-card-bg-alt); border-radius: var(--cm-radius);
  border: 1px solid var(--cm-border); padding: 32px 24px; text-align: center;
  transition: border-color .2s;
}
.cm-card:hover { border-color: var(--cm-accent); }
.cm-card .cm-icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }
.cm-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.cm-card p { color: var(--cm-text-muted); font-size: .9rem; margin: 0; }

/* TESTIMONIALS */
.cm-testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cm-testimonial {
  background: var(--cm-card-bg); border-radius: var(--cm-radius);
  border: 1px solid var(--cm-border); padding: 28px 24px;
}
.cm-stars { color: #ffd646; font-size: 1.1rem; margin-bottom: 12px; }
.cm-testimonial p { color: var(--cm-text-muted); font-style: italic; font-size: .95rem; }
.cm-testimonial-author { margin-top: 12px; font-weight: 600; color: var(--cm-text); font-size: .85rem; }

/* FAQ */
.cm-faq-list { max-width: 800px; margin: 0 auto; }
.cm-faq-item { border: 1px solid var(--cm-border); border-radius: var(--cm-radius-sm); margin-bottom: 12px; overflow: hidden; }
.cm-faq-q {
  width: 100%; background: var(--cm-card-bg-alt); border: none; color: var(--cm-text);
  padding: 18px 24px; font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--cm-font);
}
.cm-faq-q:hover { background: var(--cm-card-bg); }
.cm-faq-q::after { content: "+"; font-size: 1.4rem; transition: transform .2s; }
.cm-faq-item.active .cm-faq-q::after { content: "\2212"; }
.cm-faq-a {
  display: none; padding: 0 24px 18px; color: var(--cm-text-muted); font-size: .95rem;
  background: var(--cm-card-bg-alt); line-height: 1.7;
}
.cm-faq-item.active .cm-faq-a { display: block; }

/* FORMS */
.cm-form-wrap {
  max-width: 600px; margin: 0 auto; background: var(--cm-card-bg-alt);
  border-radius: var(--cm-radius); border: 1px solid var(--cm-border); padding: 40px 32px;
}
.cm-form-group { margin-bottom: 20px; }
.cm-form-group label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; color: var(--cm-text); }
.cm-form-group input,
.cm-form-group select,
.cm-form-group textarea {
  width: 100%; padding: 14px 16px; background: var(--cm-bg); border: 1px solid var(--cm-border);
  border-radius: 6px; color: var(--cm-text); font-size: 1rem; font-family: var(--cm-font); transition: border-color .2s;
}
.cm-form-group input:focus,
.cm-form-group select:focus,
.cm-form-group textarea:focus { outline: none; border-color: var(--cm-accent); }
.cm-form-group textarea { resize: vertical; min-height: 120px; }
.cm-form-group input[name="website"] { display: none; }
.cm-form-trust { text-align: center; margin-top: 12px; color: var(--cm-text-muted); font-size: .8rem; }
.form-message { padding: 12px 16px; border-radius: 6px; margin-top: 16px; font-size: .9rem; }
.form-message--success { background: rgba(35, 239, 109, .15); color: var(--cm-green); }
.form-message--error { background: rgba(239, 35, 60, .15); color: var(--cm-red); }

/* CHANNELS */
.cm-channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cm-channel-cat {
  background: var(--cm-card-bg-alt); border-radius: var(--cm-radius);
  border: 1px solid var(--cm-border); padding: 24px;
}
.cm-channel-cat h3 { margin-bottom: 8px; font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.cm-channel-cat p { color: var(--cm-text-muted); font-size: .85rem; margin: 0; }

/* SETUP GUIDE */
.cm-guide-content { max-width: 800px; margin: 0 auto; }
.cm-guide-content h2 { margin: 32px 0 16px; font-size: 1.5rem; }
.cm-guide-content h3 { margin: 24px 0 12px; font-size: 1.2rem; }
.cm-guide-content p { color: var(--cm-text-muted); }
.cm-guide-content ol, .cm-guide-content ul { padding-left: 24px; margin-bottom: 16px; color: var(--cm-text-muted); }
.cm-guide-content ol { list-style: decimal; }
.cm-guide-content ul { list-style: disc; }
.cm-guide-content li { margin-bottom: 8px; }

/* FOOTER */
.cm-footer { background: var(--cm-footer-bg); padding: 48px 0 24px; border-top: 1px solid var(--cm-border); }
.cm-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.cm-footer-brand .cm-logo { margin-bottom: 12px; display: inline-block; }
.cm-footer-brand p { color: var(--cm-text-muted); font-size: .85rem; }
.cm-footer h4 { font-size: .9rem; text-transform: uppercase; color: var(--cm-text); margin-bottom: 16px; letter-spacing: .5px; }
.cm-footer-links a { display: block; color: var(--cm-text-muted); font-size: .85rem; padding: 4px 0; }
.cm-footer-links a:hover { color: var(--cm-text); }
.cm-footer-bottom { border-top: 1px solid var(--cm-border); padding-top: 20px; text-align: center; color: var(--cm-text-dim); font-size: .8rem; }

/* BREADCRUMB */
.cm-breadcrumb { padding: 16px 0; font-size: .85rem; color: var(--cm-text-muted); }
.cm-breadcrumb a { color: var(--cm-accent); }
.cm-breadcrumb span { margin: 0 6px; }

/* PAGE HEADER */
.cm-page-header { padding: 48px 0 32px; text-align: center; background: linear-gradient(180deg, var(--cm-nav-bg), var(--cm-bg)); }
.cm-page-header h1 { margin-bottom: 12px; }
.cm-page-header p { color: var(--cm-text-muted); max-width: 600px; margin: 0 auto; }

/* LEGAL */
.cm-legal-content { max-width: 800px; margin: 0 auto; }
.cm-legal-content h2 { margin: 32px 0 12px; font-size: 1.4rem; }
.cm-legal-content h3 { margin: 20px 0 8px; font-size: 1.1rem; }
.cm-legal-content p, .cm-legal-content li { color: var(--cm-text-muted); }
.cm-legal-content ul, .cm-legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.cm-legal-content ul { list-style: disc; }
.cm-legal-content ol { list-style: decimal; }
.cm-legal-content li { margin-bottom: 6px; }
.cm-legal-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.cm-legal-content th, .cm-legal-content td { border: 1px solid var(--cm-border); padding: 10px 14px; text-align: left; font-size: .9rem; }
.cm-legal-content th { background: var(--cm-card-bg); color: var(--cm-text); }
.cm-legal-content td { color: var(--cm-text-muted); }
.cm-legal-content strong { color: var(--cm-text); }

/* CHECKOUT */
.cm-checkout-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.cm-order-summary { background: var(--cm-card-bg); border-radius: var(--cm-radius); border: 1px solid var(--cm-border); padding: 32px; }

/* TIERS */
.cm-tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ABOUT */
.cm-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.cm-about-grid img { border-radius: var(--cm-radius); }

/* LIVE STATUS */
.cm-live-status {
  background: var(--cm-card-bg); border: 1px solid var(--cm-border); border-radius: var(--cm-radius-sm);
  padding: 16px 24px; text-align: center; max-width: 600px; margin: 24px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .9rem; color: var(--cm-text-muted);
}
.cm-live-dot { width: 10px; height: 10px; background: var(--cm-green); border-radius: 50%; display: inline-block; animation: cm-pulse 1.5s infinite; }
@keyframes cm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cm-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .cm-footer-grid { grid-template-columns: 1fr 1fr; }
  .cm-checkout-wrap { grid-template-columns: 1fr; }
  .cm-about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cm-nav-links { display: none; }
  .cm-nav-links.active {
    display: flex; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--cm-nav-bg); padding: 24px; gap: 16px; z-index: 999; overflow-y: auto;
  }
  .cm-hamburger { display: flex; }
  .cm-features-grid { grid-template-columns: repeat(2, 1fr); }
  .cm-cards-grid { grid-template-columns: 1fr; }
  .cm-testimonials-grid { grid-template-columns: 1fr; }
  .cm-tiers-grid { grid-template-columns: 1fr; }
  .cm-footer-grid { grid-template-columns: 1fr; }
  .cm-stats-grid { gap: 24px; }
  .cm-hero { padding: 48px 0 40px; }
  .cm-form-wrap { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .cm-pricing-grid { grid-template-columns: 1fr; }
  .cm-features-grid { grid-template-columns: 1fr; }
}
