/* MaxTelly - Design DNA from iptv-4ksmart.com | Clean Corporate White + Amber */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-dark: #000000;
  --accent: #ffab00;
  --accent-hover: #e69a00;
  --secondary: #6070a0;
  --secondary-hover: #4e5e8a;
  --text: #000000;
  --text-body: #333333;
  --text-muted: #555555;
  --text-light: #888888;
  --text-on-dark: #ffffff;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --shadow: rgba(0,0,0,0.08);
  --shadow-md: rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1200px;
  --font: Arial, Helvetica, sans-serif;
  --transition: 0.3s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text-body); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--text); line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* Navigation */
.site-nav { background: var(--bg-dark); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px var(--shadow-md); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-on-dark); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-on-dark); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color var(--transition), color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-cta { background: var(--accent); color: var(--bg-dark) !important; padding: 0.5rem 1.2rem; border-radius: var(--radius); font-weight: 700; border-bottom: none !important; transition: background var(--transition); }
.nav-cta:hover { background: var(--accent-hover); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-on-dark); margin: 5px 0; transition: var(--transition); }

/* Hero */
.hero { background: var(--bg-dark); color: var(--text-on-dark); padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(96,112,160,0.3) 100%); z-index: 1; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-on-dark); }
.hero h1 .accent { color: var(--accent); }
.hero .subtitle { font-size: 1.2rem; color: #ccc; max-width: 700px; margin: 0 auto 2rem; }
.hero .btn { margin-top: 1rem; }

/* Stats Bar */
.stats-bar { background: var(--bg-alt); padding: 2rem 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item strong { display: block; font-size: 2rem; color: var(--accent); font-weight: 800; }
.stat-item span { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; text-transform: uppercase; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section--dark .section-header p { color: #aaa; }

/* Buttons */
.btn { display: inline-block; padding: 0.8rem 2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border: none; border-radius: var(--radius); cursor: pointer; text-align: center; transition: background var(--transition), transform var(--transition); font-size: 0.95rem; }
.btn-primary { background: var(--accent); color: var(--bg-dark); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: var(--text-on-dark); }
.btn-secondary:hover { background: var(--secondary-hover); color: var(--text-on-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg-dark); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pricing-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px var(--shadow-md); }
.pricing-card.featured { border-color: var(--accent); position: relative; }
.pricing-card.featured::before { content: "BEST VALUE"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--bg-dark); font-size: 0.75rem; font-weight: 800; padding: 0.25rem 1rem; border-radius: 99px; letter-spacing: 1px; }
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; text-transform: uppercase; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--accent); margin: 1rem 0; }
.pricing-card .price small { font-size: 0.9rem; color: var(--text-muted); }
.pricing-card ul { margin: 1.5rem 0; text-align: left; }
.pricing-card ul li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--text-body); position: relative; padding-left: 1.5rem; }
.pricing-card ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-card .btn { width: 100%; margin-top: 1rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 2rem; text-align: center; border: 1px solid var(--border); transition: transform var(--transition); }
.feature-card:hover { transform: translateY(-3px); }
.feature-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

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

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: var(--bg); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); }
.testimonial-card .stars { color: var(--accent); font-size: 1.2rem; margin-bottom: 0.75rem; }
.testimonial-card p { font-style: italic; color: var(--text-body); margin-bottom: 1rem; }
.testimonial-card .author { font-weight: 700; color: var(--text); font-size: 0.9rem; }
.testimonial-card .location { font-size: 0.8rem; color: var(--text-light); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; cursor: pointer; font-weight: 700; background: var(--bg-alt); transition: background var(--transition); }
.faq-question:hover { background: var(--border-light); }
.faq-question .icon { font-size: 1.2rem; color: var(--accent); transition: transform var(--transition); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding: 1rem 1.5rem 1.5rem; }

/* Channels */
.channels-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.channel-card { background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem; text-align: center; border: 1px solid var(--border); transition: transform var(--transition); }
.channel-card:hover { transform: translateY(-3px); }
.channel-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.channel-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.channel-card span { font-size: 0.85rem; color: var(--text-muted); }

/* Forms */
.form-wrap { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; background: var(--bg); color: var(--text-body); transition: border-color var(--transition); min-height: 44px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-trust { text-align: center; margin-top: 0.75rem; font-size: 0.8rem; color: var(--text-light); }
.form-message { padding: 0.75rem 1rem; border-radius: var(--radius); margin-top: 1rem; font-size: 0.9rem; text-align: center; }
.form-message--success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-message--error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Trial Section */
.trial-section { background: linear-gradient(135deg, var(--bg-dark), var(--secondary)); color: var(--text-on-dark); padding: 4rem 0; }
.trial-section .section-header p { color: #ccc; }
.trial-section .form-group label { color: var(--text-on-dark); }
.trial-section .form-group input { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: var(--text-on-dark); }
.trial-section .form-group input::placeholder { color: #aaa; }
.trial-section .form-group input:focus { border-color: var(--accent); }

/* Guide */
.guide-content { max-width: 800px; margin: 0 auto; }
.guide-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--accent); }
.guide-content h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.guide-content p { margin-bottom: 1rem; }
.guide-content ul, .guide-content ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.guide-content ul li, .guide-content ol li { margin-bottom: 0.4rem; list-style: disc; }
.guide-content ol li { list-style: decimal; }
.guide-content img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: 0 4px 12px var(--shadow); }
.guide-toc { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 2rem; margin-bottom: 2rem; }
.guide-toc h4 { margin-bottom: 0.75rem; }
.guide-toc ul { margin-left: 1rem; }
.guide-toc ul li { margin-bottom: 0.3rem; list-style: disc; }
.guide-toc a { color: var(--secondary); }
.guide-toc a:hover { color: var(--accent); }

/* Footer */
.site-footer { background: var(--bg-dark); color: #bbb; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--text-on-dark); margin-bottom: 1rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; color: #999; font-size: 0.9rem; margin-bottom: 0.4rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.9rem; color: #999; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #333; padding-top: 1.5rem; text-align: center; font-size: 0.85rem; color: #666; }

/* Breadcrumb */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 0.5rem; }

/* Page Header */
.page-header { background: var(--bg-dark); color: var(--text-on-dark); padding: 3rem 0; text-align: center; }
.page-header h1 { margin-bottom: 0.5rem; color: var(--text-on-dark); }
.page-header p { color: #aaa; max-width: 600px; margin: 0 auto; }

/* Legal */
.legal-content { max-width: 800px; margin: 0 auto; padding: 2rem 0 4rem; }
.legal-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.4rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.15rem; }
.legal-content p { margin-bottom: 1rem; color: var(--text-body); }
.legal-content ul, .legal-content ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li, .legal-content ol li { margin-bottom: 0.4rem; list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-content table th, .legal-content table td { padding: 0.6rem 1rem; border: 1px solid var(--border); text-align: left; }
.legal-content table th { background: var(--bg-alt); font-weight: 700; }

/* Reseller */
.reseller-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.reseller-benefit { background: var(--bg-alt); border-radius: var(--radius); padding: 1.5rem; text-align: center; border: 1px solid var(--border); }
.reseller-benefit .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.reseller-benefit h4 { margin-bottom: 0.5rem; }
.reseller-benefit p { font-size: 0.9rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .channels-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .reseller-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .two-col { grid-template-columns: 1fr; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-dark); flex-direction: column; padding: 1.5rem; gap: 1rem; box-shadow: 0 8px 24px var(--shadow-md); z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .channels-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .reseller-benefits { grid-template-columns: 1fr; }
}
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
