/* Landing pages (radio imaging, business, radio ads, on-hold). Ported from the approved
   prototypes; header and footer come from base.html. Scoped under .landing where it matters. */

:root {
  --primary: #667eea; --primary-dark: #5a6fd6; --primary-light: #8b9cf5;
  --secondary: #764ba2; --secondary-dark: #5d3a80;
  --accent: #53C4EC; --accent-blue: #2563eb;
  --success: #10b981; --success-dark: #059669; --success-light: #d1fae5;
  --warning: #f59e0b; --warning-dark: #d97706; --warning-light: #fef3c7;
  --error: #ef4444; --info: #3b82f6; --info-light: #dbeafe;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db;
  --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563; --gray-700: #374151;
  --gray-800: #1f2937; --gray-900: #111827; --white: #fff;
  --shadow-sm: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --radius: .5rem; --radius-md: .75rem; --radius-lg: 1rem; --radius-xl: 1.5rem; --radius-full: 9999px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
html { scroll-behavior: smooth; }
.landing { font-family: var(--font-sans); color: var(--gray-800); line-height: 1.6; overflow-x: hidden; }
.landing a { color: var(--primary); }
.landing h1, .landing h2, .landing h3, .landing h4 { line-height: 1.25; margin: 0 0 .75rem; color: var(--gray-900); }
.landing h2 { font-size: 1.75rem; font-weight: 800; }
.landing h3 { font-size: 1.2rem; font-weight: 700; }
.landing p { margin: 0 0 1rem; }
.landing .prose ul, .landing .card ul, .landing .widget ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1rem; }
.landing ol { list-style: decimal; padding-left: 1.25rem; }
.landing li { margin-bottom: .35rem; }
.landing .package-features, .landing .file-list { list-style: none; padding-left: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute; left: -9999px; }
.muted { color: var(--gray-500); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fa-solid, .fa-brands, .fa-regular { line-height: 1; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: all .2s; font-family: inherit; }
.btn-primary { background: var(--grad); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-secondary { background: var(--white); color: var(--gray-700); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }

/* Hero with animated waveform */
.hero { position: relative; background: var(--gray-50); padding: 2.5rem 0 3rem; overflow: hidden; }
.hero-wave { position: absolute; inset: auto 0 0 0; height: 140px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; opacity: .18; pointer-events: none; }
.hero-wave span { width: 6px; border-radius: 3px 3px 0 0; background: var(--grad); animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 12%; } 50% { height: var(--h, 80%); } }
.hero-content { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: start; }
.value-prop { background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%); border-radius: var(--radius-xl); padding: 2rem; margin-bottom: 1.5rem; border: 1px solid rgba(83,196,236,.25); }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); margin-bottom: .6rem; }
.value-prop-title { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin-bottom: .5rem; }
.value-prop-subtitle { font-size: 1.15rem; font-weight: 600; color: var(--accent-blue); margin-bottom: 1rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.hero-badge { padding: .3rem .8rem; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.hero-badge.green { background: var(--success-light); color: var(--success-dark); }
.hero-badge.blue { background: var(--info-light); color: #1d4ed8; }
.hero-badge.purple { background: #ede9fe; color: #6d28d9; }
.hero-badge.amber { background: var(--warning-light); color: #92400e; }
.price-answer { background: #fff; border: 1px solid var(--gray-200); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 0 0 1.25rem; font-size: 1rem; display: flex; gap: .75rem; align-items: flex-start; }
.price-answer i { color: var(--accent); margin-top: .2rem; }
.price-answer strong { color: var(--gray-900); }
/* .landing prefix: the .landing h3 reset above would otherwise zero the top margin */
.landing .section-heading { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin: 2.25rem 0 1.25rem; display: flex; align-items: center; gap: .5rem; }
.section-heading i { color: var(--primary); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; margin-top: 1.25rem; }
.stat { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: .8rem; text-align: center; }
.stat .n { font-size: 1.4rem; font-weight: 800; color: var(--gray-900); }
.stat .l { font-size: .75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.stat i { color: var(--primary); margin-bottom: .2rem; }

/* Steps / timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1rem 0; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 3px; background: var(--grad); opacity: .35; }
.tl { position: relative; text-align: center; }
.tl .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto .5rem; box-shadow: var(--shadow-md); font-size: 1.1rem; }
.tl h4 { font-size: .95rem; margin-bottom: .2rem; }
.tl p { font-size: .85rem; color: var(--gray-600); margin: 0; }
.tl .when { font-size: .72rem; font-weight: 700; color: var(--secondary); text-transform: uppercase; }

/* Packages panel */
.packages-panel { background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 1.5rem; position: sticky; top: 92px; }
.packages-panel-title { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: .25rem; }
.packages-panel-sub { text-align: center; color: var(--gray-500); font-size: .9rem; margin-bottom: 1.25rem; }
.package-option { display: block; border: 2px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem; transition: all .2s; cursor: pointer; text-decoration: none; color: inherit; position: relative; background: #fff; }
.package-option:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.package-option.popular { border-color: #3b82f6; background: linear-gradient(135deg, rgba(59,130,246,.05) 0%, rgba(139,92,246,.05) 100%); }
.package-option.best-value { border-color: #f59e0b; background: linear-gradient(135deg, rgba(254,243,199,.5) 0%, rgba(252,211,77,.2) 100%); }
.package-option.quote { border-style: dashed; border-color: var(--gray-300); background: var(--gray-50); }
.package-option.recommended { outline: 3px solid var(--accent); outline-offset: 2px; }
.package-badge-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #3b82f6; color: #fff; padding: .25rem 1rem; border-radius: 9999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.package-option.best-value .package-badge-label { background: #f59e0b; color: #000; }
.package-header { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin-bottom: .5rem; }
.package-name { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); display: flex; align-items: center; gap: .45rem; }
.package-name i { color: var(--primary); }
.package-price { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); white-space: nowrap; }
.package-price small { font-size: .75rem; font-weight: 500; color: var(--gray-500); }
.package-per { font-size: .85rem; color: var(--success-dark); font-weight: 600; margin-bottom: .5rem; }
.package-features { list-style: none; padding: 0; margin: 0 0 .9rem; font-size: .9rem; color: var(--gray-700); }
.package-features li { padding-left: 1.3rem; position: relative; margin-bottom: .3rem; }
.package-features li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--success); position: absolute; left: 0; font-size: .8rem; top: .2rem; }
.package-cta { display: block; text-align: center; padding: .65rem; border-radius: var(--radius); background: var(--grad); color: #fff; font-weight: 600; font-size: .95rem; }
.package-option.quote .package-cta { background: #fff; color: var(--gray-800); border: 1px solid var(--gray-300); }
.landing .packages-note { font-size: .8rem; color: var(--gray-500); text-align: center; margin: .5rem 0 0; }
.packages-note a { color: var(--primary); }

/* Sections */
.landing section { padding: 3.25rem 0; }
.landing section.alt { background: var(--gray-50); }
.landing section.dark { background: #0f172a; color: #e2e8f0; }
.landing section.dark h2, .landing section.dark h3 { color: #fff; }
.section-title { text-align: center; font-size: 1.9rem; font-weight: 800; margin-bottom: .5rem; }
.section-sub { text-align: center; color: var(--gray-500); margin: 0 auto 2rem; max-width: 720px; }
.landing section.dark .section-sub { color: #94a3b8; }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card h3 { font-size: 1.05rem; }
.card p { font-size: .95rem; color: var(--gray-600); margin: 0; }
.icon-circle { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: #fff; background: var(--grad); margin-bottom: .75rem; box-shadow: var(--shadow-sm); }
.icon-circle.teal { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.icon-circle.amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.icon-circle.green { background: linear-gradient(135deg, #10b981, #06b6d4); }

/* Widget shell */
.widget { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.widget-head { background: var(--grad); color: #fff; padding: 1rem 1.5rem; display: flex; align-items: center; gap: .75rem; }
.widget-head h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.widget-head small { opacity: .85; display: block; font-weight: 400; }
.widget-body { padding: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.widget-body.single { grid-template-columns: 1fr; }
.widget-result { background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid var(--gray-200); }
.result-big { font-size: 2rem; font-weight: 800; color: var(--gray-900); line-height: 1.1; }
.result-big small { font-size: .9rem; font-weight: 500; color: var(--gray-500); }
.result-row { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px dashed var(--gray-200); font-size: .92rem; }
.result-row:last-child { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--gray-300); background: #fff; padding: .4rem .8rem; border-radius: var(--radius-full); font-size: .85rem; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; transition: all .15s; font-family: inherit; }
.chip:hover { border-color: var(--primary); }
.chip.active { background: var(--grad); color: #fff; border-color: transparent; }
.field { margin-bottom: .9rem; }
.field label { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; color: var(--gray-700); }
.field label output { color: var(--primary); }
.field input, .field select, .field textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--gray-300); border-radius: var(--radius); font-family: inherit; font-size: .95rem; background: #fff; }
.field input[type=range] { padding: 0; accent-color: var(--primary); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary-light); border-color: var(--primary); }
.field .error { color: var(--error); font-size: .8rem; margin-top: .25rem; display: none; }
.field.invalid .error { display: block; }
.field.invalid input { border-color: var(--error); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .6rem .8rem; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: .6rem; cursor: pointer; background: #fff; }
.switch span.t { font-size: .9rem; font-weight: 600; }
.switch span.d { font-size: .78rem; color: var(--gray-500); display: block; font-weight: 400; }
.toggle { position: relative; width: 44px; height: 24px; flex: none; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .knob { position: absolute; inset: 0; background: var(--gray-300); border-radius: 24px; transition: .2s; }
.toggle .knob::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.toggle input:checked + .knob { background: var(--primary); }
.toggle input:checked + .knob::before { transform: translateX(20px); }
.meter { height: 10px; background: var(--gray-200); border-radius: 5px; overflow: hidden; margin: .5rem 0; }
.meter > div { height: 100%; background: var(--grad); transition: width .3s; }
.meter.over > div { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.script-box { background: #0f172a; color: #e2e8f0; border-radius: var(--radius-md); padding: 1.1rem 1.25rem; font-family: 'SF Mono', Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.7; white-space: pre-wrap; min-height: 180px; }
.script-box b { color: #67e8f9; font-weight: 600; }
.script-box i { color: #fbbf24; font-style: normal; }

/* Tabs */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tab { padding: .55rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--gray-300); background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; font-family: inherit; }
.tab.active { background: var(--grad); color: #fff; border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem; }
.file-list li { display: flex; align-items: center; gap: .55rem; font-size: .9rem; padding: .45rem .6rem; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.file-list li i { color: var(--primary); width: 18px; text-align: center; }
.file-list li .cnt { margin-left: auto; font-weight: 700; color: var(--gray-900); font-size: .8rem; background: var(--gray-100); padding: .1rem .5rem; border-radius: var(--radius-full); }

/* Comparison table */
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
table.compare th, table.compare td { border-bottom: 1px solid var(--gray-200); padding: .7rem .8rem; text-align: left; vertical-align: top; }
table.compare th { background: var(--gray-50); font-weight: 700; }
table.compare tr.us td { background: #ecfeff; font-weight: 600; }
.tick { color: var(--success); } .cross { color: var(--gray-400); }

/* Custom demo player */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.player { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1rem; display: flex; align-items: center; gap: .9rem; transition: box-shadow .2s; }
.player:hover { box-shadow: var(--shadow-md); }
.player button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 1rem; cursor: pointer; flex: none; display: flex; align-items: center; justify-content: center; }
.player .meta { flex: 1; min-width: 0; }
.player .t { font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .s { font-size: .8rem; color: var(--gray-500); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 22px; width: 34px; flex: none; }
.eq span { width: 4px; background: var(--gray-300); height: 30%; border-radius: 2px; }
.player.playing .eq span { background: var(--primary); animation: eq .8s ease-in-out infinite; }
.player.playing .eq span:nth-child(2) { animation-delay: .15s; } .player.playing .eq span:nth-child(3) { animation-delay: .3s; } .player.playing .eq span:nth-child(4) { animation-delay: .45s; } .player.playing .eq span:nth-child(5) { animation-delay: .6s; }
@keyframes eq { 0%,100% { height: 25%; } 50% { height: 100%; } }
.player.todo { border: 2px dashed var(--warning); background: var(--warning-light); }
.player.todo button { background: var(--warning); }
.player audio { display: none; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); position: relative; }
.testimonial .q { position: absolute; top: 12px; right: 16px; font-size: 2rem; color: var(--gray-200); }
.testimonial-text { font-style: italic; color: var(--gray-700); font-size: .95rem; }
.testimonial-stars { margin: .5rem 0; color: #f59e0b; }
.testimonial-author { font-weight: 700; font-size: .9rem; }
.testimonial-author span { display: block; font-weight: 400; color: var(--gray-500); }
.testimonial iframe { width: 100%; height: 120px; border: 0; margin-top: .75rem; border-radius: var(--radius); }

/* About */
.about { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: center; }
.about-badge { background: #fff; border-radius: var(--radius-lg); padding: 1.25rem; text-align: center; border: 1px solid var(--gray-200); }
.about-badge img { height: 48px; width: auto; display: block; margin: 0 auto; }

/* FAQ accordion */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--gray-200); border-left: 4px solid var(--primary); border-radius: var(--radius-md); margin-bottom: .75rem; overflow: hidden; }
.faq-item.green { border-left-color: var(--success); } .faq-item.purple { border-left-color: var(--secondary); } .faq-item.yellow { border-left-color: var(--warning); } .faq-item.teal { border-left-color: var(--accent); }
.faq-question { width: 100%; text-align: left; background: none; border: 0; padding: 1rem 1.25rem; font-size: 1.02rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: inherit; color: var(--gray-900); }
.faq-question i { transition: transform .2s; color: var(--gray-400); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { color: var(--gray-600); font-size: .95rem; margin: 0; padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height .3s, padding .3s; }
.faq-item.open .faq-answer { padding: 0 1.25rem 1rem; max-height: 400px; }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; text-align: center; border-radius: var(--radius-xl); padding: 2.5rem 1.5rem; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); right: -80px; top: -120px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 1.25rem; }
.cta-band .btn-primary { background: #fff; color: var(--secondary); }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--gray-200); padding: .6rem 16px; display: none; gap: .6rem; z-index: 1500; box-shadow: 0 -6px 16px rgba(0,0,0,.08); }
.sticky-cta .btn { flex: 1; padding: .65rem .5rem; font-size: .9rem; }
@media (max-width: 960px) { .sticky-cta { display: flex; } }

/* Quote modal */
.lq-backdrop { position: fixed; inset: 0; background: rgba(17,24,39,.6); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 16px; }
.lq-backdrop.open { display: flex; }
.lq-modal { background: #fff; border-radius: var(--radius-xl); max-width: 540px; width: 100%; padding: 1.75rem; box-shadow: var(--shadow-xl); max-height: 92vh; overflow-y: auto; animation: fade .25s; }
.lq-modal h3 { font-size: 1.3rem; margin-bottom: .25rem; display: flex; align-items: center; gap: .5rem; }
.lq-modal .modal-sub { color: var(--gray-500); font-size: .9rem; margin-bottom: 1rem; }
.modal-actions { display: flex; gap: .75rem; justify-content: flex-end; margin-top: 1rem; }
.modal-success { text-align: center; padding: 1rem 0; display: none; }
.modal-success .big { font-size: 2.5rem; color: var(--success); margin-bottom: .5rem; }
.lq-modal.sent form { display: none; }
.lq-modal.sent .modal-success { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Toast */
.toast { position: fixed; bottom: 76px; left: 50%; transform: translateX(-50%); background: var(--gray-900); color: #fff; padding: .7rem 1.1rem; border-radius: var(--radius-full); font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s; pointer-events: none; z-index: 4000; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-wave span, .player.playing .eq span { animation: none; } }

/* Responsive */
@media (max-width: 960px) {
  .hero-content, .two-col, .about, .widget-body { grid-template-columns: 1fr; }
  .packages-panel { position: static; }
  .cards-3, .demo-grid, .testimonials, .cards-4, .timeline, .stats { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .value-prop { padding: 1.4rem; }
  .value-prop-title { font-size: 1.6rem; }
  .cards-3, .cards-4, .demo-grid, .testimonials, .timeline, .file-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.5rem; }
  .logo img { height: 48px; }
  .landing section { padding: 2.25rem 0; }
  .widget-body { padding: 1rem; }
}

/* Specificity fixes against the generic .landing link/heading rules */
.landing .value-prop-title { color: var(--accent); }
.landing a.btn-primary, .landing a.package-cta, .landing .package-cta { color: #fff; text-decoration: none; }
.landing .package-option.quote .package-cta { color: var(--gray-800); }
.landing a.btn-secondary { color: var(--gray-700); text-decoration: none; }
.landing .cta-band a.btn-primary { color: var(--secondary); }
.landing a.package-option { color: inherit; text-decoration: none; }
.landing .cta-band h2, .landing section.dark > .container > h2 { color: #fff; }
/* White elements inside a dark section get dark text back */
.landing section.dark .card { color: var(--gray-800); }
.landing section.dark .card h3 { color: var(--gray-900); }
.landing section.dark .card p, .landing section.dark .card li { color: var(--gray-600); }
.landing section.dark .card strong { color: var(--gray-900); }
.landing section.dark .tab { color: var(--gray-800); }
.landing section.dark .tab.active { color: #fff; }
.landing .widget-head h3 { color: #fff; }
/* .landing p resets margins (0 0 1rem); classes that centre or tighten paragraphs must out-rank it */
.landing .section-sub { margin: 0 auto 2rem; }
.landing .faq-answer { margin: 0; }
.landing .faq-item.open .faq-answer { margin: 0; }

/* Grid columns must be able to shrink below a long track title (ellipsis instead of overflow) */
.demo-grid, .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.player { min-width: 0; }
@media (max-width: 960px) { .demo-grid, .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .demo-grid, .strip { grid-template-columns: minmax(0, 1fr); } }
