/* DLTA4K IPTV — home page (phase 2). Builds on the tokens in dlta4k-theme.css. */

body.dl-home { background: var(--dl-bg); color: var(--dl-text); font-family: var(--dl-font); }
.dl-main h1, .dl-main h2, .dl-main h3, .dl-main summary { text-transform: none !important; letter-spacing: 0; }
.dl-main { overflow-x: clip; }
.dl-section { padding: clamp(56px, 8vw, 96px) 0; }
.dl-section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.dl-section-head-row { max-width: none; text-align: start; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.dl-kicker { display: inline-block; margin-bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(47, 107, 255, .14); color: #9db8ff; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.dl-section-head h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; line-height: 1.25; color: #fff; }
.dl-section-head p { margin: 0; color: var(--dl-muted); font-size: 16px; line-height: 1.8; }
.dl-section-head .dl-btn { margin-top: 18px; }
.dl-grid { display: grid; gap: 18px; }
.dl-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dl-btn-lg { min-height: 50px; padding: 0 26px; font-size: 15.5px; }

/* ------------------------------------------------------------------ hero */
.dl-hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(1200px 600px at 20% -10%, rgba(47, 107, 255, .35), transparent 60%), radial-gradient(900px 500px at 100% 100%, rgba(23, 70, 216, .25), transparent 60%), var(--dl-bg); overflow: hidden; }
.dl-hero::before { content: ""; position: absolute; inset: 0; background: var(--dl-hero-img) center / cover no-repeat; opacity: .16; filter: blur(2px); }
.dl-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, transparent, var(--dl-bg)); }
.dl-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.dl-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(47, 107, 255, .45); background: rgba(47, 107, 255, .12); color: #cfe0ff; font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.dl-eyebrow i { color: var(--dl-blue); }
.dl-hero h1 { margin: 0 0 16px; font-size: clamp(30px, 5vw, 56px); font-weight: 900; line-height: 1.2; color: #fff; letter-spacing: -.01em; }
.dl-hero h1 span { background: linear-gradient(90deg, #7aa2ff, #2f6bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-hero-copy > p { margin: 0 0 26px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9; color: var(--dl-muted); max-width: 560px; }
.dl-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.dl-hero-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; color: var(--dl-muted); font-size: 13.5px; font-weight: 700; }
.dl-hero-chips li { display: inline-flex; align-items: center; gap: 7px; }
.dl-hero-chips i { color: var(--dl-green); font-size: 12px; }
.dl-hero-visual { position: relative; }
.dl-hero-card { border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(47, 107, 255, .15); transform: perspective(1200px) rotateY(-6deg); }
[dir="rtl"] .dl-hero-card { transform: perspective(1200px) rotateY(6deg); }
.dl-hero-card img { display: block; width: 100%; height: auto; }
.dl-hero-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(11, 18, 38, .92); border: 1px solid var(--dl-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(10px); }
.dl-hero-float i { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(47, 107, 255, .18); color: #9db8ff; font-size: 16px; }
.dl-hero-float strong { display: block; font-size: 14px; color: #fff; }
.dl-hero-float span { font-size: 12px; color: var(--dl-muted); }
.dl-hero-float-a { top: 6%; inset-inline-start: -14px; }
.dl-hero-float-b { bottom: 8%; inset-inline-end: -10px; }

/* -------------------------------------------------------------- features */
.dl-card { padding: 26px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--dl-line); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.dl-card:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, .45); background: rgba(47, 107, 255, .08); }
.dl-card > i { width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(47, 107, 255, .16); color: #9db8ff; font-size: 19px; margin-bottom: 16px; }
.dl-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: #fff; }
.dl-card p { margin: 0; color: var(--dl-muted); font-size: 14.5px; line-height: 1.85; }

/* ----------------------------------------------------------------- plans */
.dl-plans { background: radial-gradient(900px 400px at 50% 0%, rgba(47, 107, 255, .16), transparent 60%); }
.dl-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px 22px; border-radius: 20px; background: #0e1730; border: 1px solid var(--dl-line); transition: transform .2s ease, box-shadow .2s ease; }
.dl-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.dl-plan.is-featured { border-color: rgba(47, 107, 255, .6); background: linear-gradient(180deg, rgba(47, 107, 255, .16), #0e1730 60%); box-shadow: 0 0 0 1px rgba(47, 107, 255, .3), 0 24px 60px rgba(23, 70, 216, .25); }
.dl-plan-badge { position: absolute; top: -12px; inset-inline-start: 20px; padding: 5px 12px; border-radius: 999px; background: var(--dl-blue); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 8px 18px rgba(47, 107, 255, .4); }
.dl-plan h3 { margin: 0 0 4px; font-size: 22px; font-weight: 900; color: #fff; }
.dl-plan-note { margin: 0 0 16px; color: var(--dl-muted); font-size: 13.5px; }
.dl-plan-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dl-plan-price del { color: var(--dl-muted); font-size: 15px; opacity: .8; }
.dl-plan-price strong { font-size: 32px; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.dl-plan-price .woocommerce-Price-currencySymbol { font-size: .55em; font-weight: 800; color: #9db8ff; margin-inline-end: 4px; }
.dl-plan-monthly { margin: 4px 0 18px; font-size: 13px; color: var(--dl-muted); }
.dl-plan-list { list-style: none; margin: 0 0 22px; padding: 18px 0 0; border-top: 1px solid var(--dl-line); display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.dl-plan-list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #dfe6f5; }
.dl-plan-list i { color: var(--dl-green); font-size: 12px; }
.dl-plan-actions { display: grid; grid-template-columns: 1fr 46px; gap: 8px; }
.dl-plan-actions .dl-btn { min-height: 46px; border-radius: 12px; }
.dl-plan-actions .dl-btn-ghost { padding: 0; }
.dl-plans-foot { text-align: center; margin: 26px 0 0; color: var(--dl-muted); font-size: 13.5px; }
.dl-plans-foot a { color: #9db8ff !important; }

/* --------------------------------------------------------------- devices */
.dl-device-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.dl-device-list li { text-align: center; padding: 22px 12px; border-radius: 16px; border: 1px solid var(--dl-line); background: var(--dl-surface); }
.dl-device-list i { font-size: 28px; color: #9db8ff; margin-bottom: 12px; display: block; }
.dl-device-list span { display: block; font-weight: 800; color: #fff; font-size: 15px; }
.dl-device-list small { display: block; margin-top: 4px; color: var(--dl-muted); font-size: 12.5px; }

/* ----------------------------------------------------------------- steps */
.dl-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: dl; }
.dl-step-list li { position: relative; padding: 28px 24px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--dl-line); }
.dl-step-n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--dl-blue); color: #fff; font-weight: 900; font-size: 16px; margin-bottom: 14px; box-shadow: 0 10px 22px rgba(47, 107, 255, .4); }
.dl-step-list h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: #fff; }
.dl-step-list p { margin: 0; color: var(--dl-muted); font-size: 14.5px; line-height: 1.8; }

/* ------------------------------------------------------------------- faq */
.dl-faq-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.dl-faq .dl-section-head { text-align: start; margin: 0; position: sticky; top: 96px; }
.dl-faq-list { display: flex; flex-direction: column; gap: 10px; }
.dl-faq-list details { border-radius: 14px; border: 1px solid var(--dl-line); background: var(--dl-surface); padding: 0 18px; }
.dl-faq-list details[open] { border-color: rgba(47, 107, 255, .45); background: rgba(47, 107, 255, .07); }
.dl-faq-list summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 800; font-size: 15.5px; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dl-faq-list summary::-webkit-details-marker { display: none; }
.dl-faq-list summary::after { content: "+"; font-size: 20px; color: #9db8ff; flex: 0 0 auto; transition: transform .2s ease; }
.dl-faq-list details[open] summary::after { transform: rotate(45deg); }
.dl-faq-list p { margin: 0 0 16px; color: var(--dl-muted); font-size: 14.5px; line-height: 1.9; }
.dl-faq-list a { color: #9db8ff !important; }

/* -------------------------------------------------------------- articles */
.dl-post { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; border: 1px solid var(--dl-line); background: var(--dl-surface); text-decoration: none !important; color: var(--dl-text) !important; transition: transform .2s ease, border-color .2s ease; }
.dl-post:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, .45); }
.dl-post-media { aspect-ratio: 16 / 9; background: #0e1730; overflow: hidden; }
.dl-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-post-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 32px; color: #fff; background: linear-gradient(135deg, rgba(23, 70, 216, .85), rgba(7, 11, 22, .9)), var(--dl-hero-img, none) center / cover; }
.dl-post-body { padding: 18px 20px 20px; }
.dl-post h3 { margin: 0 0 12px; font-size: 16.5px; font-weight: 800; line-height: 1.5; color: #fff; }
.dl-post-more { color: #9db8ff; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
[dir="ltr"] .dl-post-more i { transform: rotate(180deg); }

/* The home page no longer needs the sticky WhatsApp popup card that lived in
   the old Elementor content; the floating button stays. */

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
  .dl-plan-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-device-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .dl-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .dl-hero-copy > p { margin-inline: auto; }
  .dl-hero-actions, .dl-hero-chips { justify-content: center; }
  .dl-hero-visual { max-width: 560px; margin: 0 auto; }
  .dl-hero-card, [dir="rtl"] .dl-hero-card { transform: none; }
  .dl-grid-3 { grid-template-columns: 1fr 1fr; }
  .dl-step-list { grid-template-columns: 1fr; }
  .dl-faq-inner { grid-template-columns: 1fr; }
  .dl-faq .dl-section-head { position: static; text-align: center; margin-bottom: 8px; }
}
@media (max-width: 600px) {
  .dl-grid-3, .dl-plan-grid { grid-template-columns: 1fr; }
  .dl-device-list { grid-template-columns: repeat(2, 1fr); }
  .dl-hero-float { display: none; }
  .dl-hero h1 { font-size: 30px; }
  .dl-btn-lg { width: 100%; }
  .dl-section-head-row { flex-direction: column; align-items: flex-start; }
}
