:root{
  --bg-0: #02141a; /* deep teal base */
  --bg-1: #072f2b; /* rich forest teal */
  --muted: rgba(230,238,248,0.78);
  --primary: #c7e34a; /* yellow-green primary */
  --accent-red: #ff5757; /* warm red accent */
  --accent-red-600: #e64545;
  --primary-600: #9ec22a;
  --glass: rgba(255,255,255,0.03);
  --glass-2: rgba(255,255,255,0.02);
  --modal-bg: rgba(6,12,14,0.96);
  --panel-bg: rgba(8,14,16,0.94);
  --modal-text: #e8f9e3;
}

/* Reset & base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:'Poppins',system-ui,-apple-system,'Segoe UI',Roboto;color:#e6eef8;background:linear-gradient(180deg,var(--bg-0) 0%, var(--bg-1) 100%);-webkit-font-smoothing:antialiased}
/* constrain images globally to avoid accidental oversized images */
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:1280px;margin:0 auto;padding:28px 28px}

/* optional inner content width to preserve readability */
.content-inner{max-width:1320px;margin:0 auto}

/* slightly reduce backdrop intensity for cleaner look */
.backdrop{opacity:0.9}

/* Backdrop decorative layer */
.backdrop{position:fixed;inset:0;z-index:-2;background:
  radial-gradient(ellipse at 10% 18%, rgba(199,227,74,0.06) 0%, transparent 12%),
  radial-gradient(ellipse at 92% 78%, rgba(16,185,129,0.035) 0%, transparent 18%),
  linear-gradient(120deg,var(--bg-0) 0%, var(--bg-1) 100%);
  filter:saturate(1.02)}
.backdrop::after{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(transparent 50%, rgba(255,255,255,0.01) 50%);background-size:100% 4px;opacity:0.03}

/* Glass base */
.glass{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.04);backdrop-filter:blur(8px) saturate(110%);-webkit-backdrop-filter:blur(8px) saturate(110%);border-radius:12px;box-shadow:0 12px 34px rgba(2,6,23,0.45);padding:18px;color:var(--muted)}
.glass-sm{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.03);backdrop-filter:blur(6px);border-radius:10px;padding:12px;box-shadow:0 6px 22px rgba(2,6,23,0.5)}

/* Header */
.site-header{position:sticky;top:0;z-index:50;padding:14px 0;background:linear-gradient(180deg, rgba(2,7,10,0.12), transparent)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 12px}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:64px;height:64px;border-radius:12px;object-fit:cover;box-shadow:0 6px 20px rgba(0,0,0,0.45);border:1px solid rgba(255,255,255,0.04)}
.brand-text h1{margin:0;font-size:20px;color:var(--primary);letter-spacing:0.6px}
.brand-text .tag{margin:0;color:var(--muted);font-size:12px}

/* navigation */
.nav-list{display:flex;gap:10px;list-style:none;margin:0;padding:0}
.nav-list a{padding:8px 10px;border-radius:10px;color:var(--muted);font-weight:600}
.nav-list a:hover{background:rgba(255,255,255,0.02);transform:translateY(-1px);transition:all .15s ease}
#nav-toggle{display:none;background:none;border:none;color:var(--primary);font-size:20px}

/* HERO */
.hero{display:flex;gap:20px;align-items:stretch;margin:28px 0}
.hero-left{flex:1;display:flex;flex-direction:column;justify-content:center;gap:12px}
.hero-right{width:320px;display:flex;flex-direction:column;gap:12px}
.hero h2{margin:0;font-size:30px;color:var(--muted);line-height:1.05}
.accent{color:var(--primary);text-shadow:0 6px 24px rgba(199,227,74,0.05)}
.lead{margin:0;color:var(--muted)}
.hero-cta{display:flex;gap:12px;margin-top:8px}

/* subtle utilities */
.muted { color: var(--muted); }


/* Buttons */
.btn{display:inline-block;padding:10px 14px;border-radius:10px;font-weight:700;cursor:pointer}
.btn-primary{background:linear-gradient(90deg,var(--primary),var(--primary-600));color:#07220b;box-shadow:0 10px 34px rgba(34,197,94,0.12);border:none}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted)}

/* danger / attention */
.btn-danger{background:linear-gradient(90deg,var(--accent-red),var(--accent-red-600));color:#fff;border:none;box-shadow:0 10px 28px rgba(255,87,87,0.12)}

/* accent button for stats */
.btn-accent{background:linear-gradient(90deg,#ffd94d,var(--primary));color:#07220b;border:none;box-shadow:0 8px 26px rgba(255,200,60,0.08)}

/* outlined button (used for external links) */
.btn-outline{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--primary);padding:9px 12px;border-radius:10px;font-weight:700}
.btn-outline:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(34,197,94,0.06);}

/* small button variant */
.btn.small, .btn.smallish{padding:8px 10px;font-size:13px;border-radius:8px}

/* subtle pulse to draw attention (used sparingly) */
.pulse{animation:pulse 2200ms infinite ease-in-out}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(199,227,74,0.0)}50%{box-shadow:0 8px 30px 6px rgba(199,227,74,0.03)}100%{box-shadow:0 0 0 0 rgba(199,227,74,0)}}

/* modal embed iframe */
.embed-frame{width:100%;height:70vh;border:0;border-radius:8px;background:#021418}
.embed-fallback{padding:18px;color:var(--modal-text);display:flex;flex-direction:column;gap:12px}
.embed-actions{display:flex;gap:8px;align-items:center}

/* ensure acc-info shows svg and hide accidental text fallback (single-letter 'i') */
.acc-info{font-size:0;line-height:0;padding:0}
.acc-info svg{width:100%;height:100%;display:block}

/* hide tiny single-letter info markers that may be present in legacy markup */
.small-info-text{font-size:0 !important;opacity:0 !important}

/* Hide any acc-info elements entirely (user requested removing the small 'i' icons) */
.acc-info{display:none !important}

/* Pricing controls */
.pricing-controls{display:flex;align-items:center;gap:10px;margin:10px 0 6px 0}
.pricing-controls input[type="search"]{flex:1;min-width:220px;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,0.04);background:rgba(255,255,255,0.01);color:var(--muted)}
.pricing-actions{display:flex;gap:8px}

@media(max-width:880px){
  .pricing-controls{flex-direction:column;align-items:stretch}
  .pricing-actions{justify-content:flex-start}
}


/* Stats panel inside modal */
.qr-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:12px}
.qr-card .qr-title{font-weight:700;color:var(--primary);font-size:13px}
.qr-img{width:140px;max-width:100%;height:auto;object-fit:contain;border-radius:6px;border:1px solid rgba(255,255,255,0.06);background:rgba(255,255,255,0.01)}
.qr-actions{display:flex;gap:8px;align-items:center}
.qr-card.contact-qr{max-width:240px;margin-left:auto}

@media(max-width:880px){
  .qr-img{width:120px;height:120px}
  .qr-card.contact-qr{max-width:100%;margin-left:0}
}

/* contact grid: info + QR side-by-side */
.contact-grid{display:flex;gap:18px;align-items:center;justify-content:space-between}
@media(max-width:880px){.contact-grid{flex-direction:column;gap:12px}}

/* small visual tweak for hero QR to match hero-right width */
.hero-right .qr-card{width:100%;box-sizing:border-box}

/* Sort select & filter */
.sort-select{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted);padding:9px 10px;border-radius:8px}
.filter-input{width:140px;padding:9px 10px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);background:rgba(255,255,255,0.01);color:var(--muted)}

/* highlight for search matches */
.match-highlight{background:linear-gradient(90deg, rgba(199,227,74,0.16), rgba(199,227,74,0.06));padding:0 4px;border-radius:4px;color:#07220b}

/* theme light-mode override (simple) */
.light-mode{ --bg-0:#f7faf7; --bg-1:#eaf6ef; --muted:#0b2b2a; --primary:#0b8a2a; --modal-text:#052017; }
.light-mode body{background:linear-gradient(180deg,var(--bg-0),var(--bg-1)); color:var(--muted)}

/* Theme toggle small styling */
#theme-toggle{margin-left:12px}

/* Additional light-mode readability fixes */
.light-mode .acc-head h4,
.light-mode .price-card h4,
.light-mode .hero h2,
.light-mode .brand-text h1{
  color: var(--muted) !important;
}

.light-mode .acc-head span{background:rgba(11,138,42,0.08); color:var(--primary);}

.light-mode .match-highlight{background:linear-gradient(90deg, rgba(199,227,74,0.24), rgba(199,227,74,0.08));padding:0 4px;border-radius:4px;color:#07220b}

.light-mode .pricing-controls input[type="search"],
.light-mode .sort-select,
.light-mode .filter-input,
.light-mode .qr-card,
.light-mode .qr-img{background:#ffffff;border:1px solid rgba(11,43,42,0.06);color:var(--muted)}

.light-mode input::placeholder, .light-mode textarea::placeholder{color:#6b7c72;opacity:1}

.light-mode .btn-ghost{color:var(--muted);border-color:rgba(11,43,42,0.06)}
.light-mode .btn-outline{color:var(--primary);border-color:rgba(11,43,42,0.06)}

/* Ensure accordion bodies and tables use readable text in light mode */
.light-mode .acc-body, .light-mode .price-table td, .light-mode .price-table th, .light-mode .rules-list li{color:var(--muted)}

/* Slightly stronger separation for panels in light mode */
.light-mode .glass, .light-mode .glass-sm, .light-mode .modal, .light-mode .side-panel{background:linear-gradient(180deg, #ffffff, #fbfffb);border:1px solid rgba(11,43,42,0.04);box-shadow:0 12px 36px rgba(8,18,16,0.06)}

/* Floating Action Button */
.fab{position:fixed;right:18px;bottom:100px;z-index:240;display:flex;flex-direction:column;align-items:end;gap:8px}
.fab-btn{width:56px;height:56px;border-radius:12px;background:linear-gradient(90deg,var(--primary),var(--primary-600));border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:6px}
.fab-img{width:36px;height:36px;object-fit:contain;border-radius:6px}
.fab-actions{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.fab .btn{white-space:nowrap}
.fab .hidden{display:none}

/* toast message */
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:28px;background:rgba(0,0,0,0.72);color:#fff;padding:10px 14px;border-radius:10px;z-index:260}

/* subtle improvement for footer note readability */
.footer-note{color:rgba(230,238,248,0.85);font-size:13px}

/* Hotline floating button */
.hotline-btn{position:fixed;right:18px;bottom:170px;z-index:245;display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;background:linear-gradient(90deg,var(--primary),var(--primary-600));color:#07220b;text-decoration:none;box-shadow:0 12px 36px rgba(11,138,42,0.12);font-weight:800}
.hotline-btn .hotline-icon{font-size:18px;display:inline-block}
.hotline-btn .hotline-label{display:inline-block;font-size:13px}
.hotline-btn:active{transform:translateY(1px)}

/* Keep hotline compact on small screens and stack with FAB */
@media(max-width:520px){
  .hotline-btn{right:16px;bottom:140px;padding:10px;border-radius:12px}
  .fab{right:16px;bottom:72px}
  .hotline-btn .hotline-label{display:none}
  .fab .fab-img{width:32px;height:32px}
}

@media(max-width:360px){
  .hotline-btn{right:12px;bottom:120px}
  .fab{right:12px;bottom:62px}
}

.stats-panel{display:flex;flex-direction:column;gap:12px}
.stats-panel .tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.stats-panel .tools .small{padding:8px 10px;font-size:13px}
.stats-panel .summary{display:block;color:var(--muted)}
.stats-table{width:100%;border-collapse:collapse;margin-top:6px}
.stats-table th,.stats-table td{padding:10px 8px;border-bottom:1px solid rgba(255,255,255,0.03);text-align:left;color:var(--muted)}
.stats-table thead th{color:rgba(200,220,240,0.95);font-weight:700;background:rgba(255,255,255,0.02)}
.stats-table tbody tr:hover{background:rgba(255,255,255,0.015)}
.stats-table td.numeric{text-align:right;color:var(--primary);font-weight:700}

/* compact mode for tighter export view */
.compact .glass, .compact .glass-sm, .compact .modal, .compact .side-panel{padding:8px;border-radius:8px}
.compact body, .compact .modal-content{font-size:13px}

/* clickable phone links in contact area */
.contact-phone{color:var(--primary);font-weight:700;text-decoration:underline;cursor:pointer}
.contact-phone:hover{opacity:0.95}



/* feature */
.feature{color:#fff}
.feature p{margin:6px 0 0 0;color:var(--muted)}

/* CONTENT */
main.container{padding-bottom:60px}
section.card{margin-bottom:18px}
h3.section-title{margin:0 0 8px 0;color:var(--primary);font-size:18px}
p.note{color:var(--primary);font-weight:600}

/* PRICING */
.price-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin-top:14px}
.price-card h4{margin:0 0 8px 0;color:#fff;font-size:16px}
.price-table{width:100%;border-collapse:collapse;color:var(--muted)}
.price-table th,.price-table td{padding:10px 8px;border-bottom:1px solid rgba(255,255,255,0.03);text-align:left;font-size:14px}
.price-table thead th{color:rgba(200,220,240,0.9);font-weight:700;font-size:13px}
.price-table td:nth-child(2){color:var(--primary);font-weight:800}

/* table row hover */
.price-table tbody tr:hover{background:rgba(255,255,255,0.01);transform:translateY(-1px);transition:all .14s ease}


/* ACCORDION */
.accordion{margin-top:12px}
.acc-item{margin-bottom:8px;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,0.03)}
.acc-head{background:linear-gradient(180deg,var(--glass),rgba(255,255,255,0.01));padding:12px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-bottom:1px solid rgba(255,255,255,0.02)}
.acc-head h4{margin:0;color:#fff;font-size:15px}
.acc-head:hover{background:linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));}

/* smooth accordion: animate max-height rather than toggling display */
.acc-body{max-height:0;overflow:hidden;padding:0 12px;transition:max-height .32s cubic-bezier(.2,.9,.2,1),padding .18s linear;background:rgba(255,255,255,0.01);color:var(--muted)}
.acc-body.open{padding:12px;max-height:1400px}

/* +/- indicator style */
.acc-head span{display:inline-block;width:26px;height:26px;border-radius:6px;background:rgba(255,255,255,0.02);color:var(--primary);display:flex;align-items:center;justify-content:center;font-weight:700}

.rules-list li{margin:8px 0;color:var(--muted)}

.violations th,.violations td{padding:10px;border:1px solid rgba(255,255,255,0.04);font-size:14px}
.violations thead th{background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,87,87,0.02));font-weight:700;color:var(--accent-red)}

/* highlight important cells (use red for penalties) */
.violations td:nth-child(3){color:var(--accent-red);font-weight:700}

/* accessibility: focus states */
.nav-list a:focus, .btn:focus, .acc-head:focus{outline:3px solid rgba(199,227,74,0.12);outline-offset:3px}

/* small smoothing for common elements */
button, a.btn{transition:transform .12s ease, box-shadow .12s ease}

.contact .footer-note{color:var(--muted);margin-top:8px}

/* responsive */
@media(max-width:880px){
  .hero{flex-direction:column}
  .hero-right{width:100%;flex-direction:row;flex-wrap:wrap}
  .hero-right .feature{flex:1 1 48%}
  #nav-toggle{display:block}
  .nav-list{display:none;position:fixed;right:12px;top:70px;background:linear-gradient(180deg, rgba(2,6,23,0.98), rgba(2,6,23,0.99));padding:12px;border-radius:10px;box-shadow:0 14px 40px rgba(2,6,23,0.65);flex-direction:column;gap:6px;z-index:260;max-width:86vw}
  .nav-list.show{display:flex}
}
@media(max-width:520px){
  .price-table thead{display:none}
  .price-table tr{display:block;margin-bottom:12px;border-radius:8px;background:rgba(255,255,255,0.01);padding:10px}
  .price-table td{display:flex;justify-content:space-between;padding:6px 0;border-bottom:none}
  .price-table td:before{content:attr(data-label) ": ";font-weight:700;color:rgba(200,220,240,0.7);margin-right:8px}
}

/* stronger mobile optimizations */
@media (max-width:880px){
  /* make nav items full-width and easier to tap */
  .nav-list a{display:block;padding:12px 14px;border-radius:8px}
  .brand-text h1{font-size:18px}
  .logo{width:56px;height:56px}
  .hero-right{order:2}
  .hero-left{order:1}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .pricing-controls{gap:10px}
  .pricing-controls input[type="search"]{padding:12px}
  .pricing-actions .btn{padding:10px 12px}
  .acc-head{padding:10px}
  .acc-head h4{font-size:14px}
  .acc-body{padding:10px}
  .side-panel{display:none}
}

@media (max-width:520px){
  /* make accordions and tables touch-friendly */
  .acc-head span{width:34px;height:34px;border-radius:8px}
  .price-table td{font-size:14px}
  .price-card h4{font-size:15px}
  /* reduce large shadows to keep layout light */
  .glass, .glass-sm{box-shadow:none;border:1px solid rgba(255,255,255,0.03)}
  /* FAB and hotline spacing to avoid overlapping bottom UI */
  .fab{right:12px;bottom:88px}
  .hotline-btn{right:12px;bottom:150px}
  /* ensure the footer isn't blocked by fixed UI */
  main.container{padding-bottom:160px}
}

@media (max-width:360px){
  .nav-list{top:64px;right:8px;max-width:92vw}
  .hero h2{font-size:17px}
  .hero-cta .btn{padding:10px}
}

/* make long headings wrap nicely rather than pushing layout */
.acc-head h4{word-break:break-word;white-space:normal}

/* improve tap targets */
.btn, .fab-btn, .hotline-btn{touch-action:manipulation}

/* ensure modal & side panel are usable on small screens */
.modal{width:95%;max-height:86vh}
.side-panel{width:92%;right:4%;top:72px}

/* smooth scroll behavior */
html { scroll-behavior: smooth; }

/* back to top */
.back-to-top{position:fixed;right:22px;bottom:26px;width:44px;height:44px;border-radius:10px;background:linear-gradient(180deg,var(--primary),var(--primary-600));color:#07220b;border:none;box-shadow:0 10px 30px rgba(34,197,94,0.12);z-index:120;display:flex;align-items:center;justify-content:center;font-weight:800;cursor:pointer}
.back-to-top.hidden{display:none}
.back-to-top:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(34,197,94,0.14)}

/* active nav link */
.nav-list a.active{background:linear-gradient(90deg, rgba(199,227,74,0.08), rgba(34,197,94,0.04));color:var(--primary);box-shadow:inset 0 -2px 0 rgba(199,227,74,0.06)}

/* Overlay, Modal and Side-panel styles */
.hidden{display:none}
.overlay{position:fixed;inset:0;background:rgba(0,0,0,0.78);backdrop-filter:blur(6px) brightness(0.6);z-index:120}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%) scale(.98);width:min(980px,94%);max-height:86vh;overflow:auto;background:linear-gradient(180deg,var(--modal-bg), rgba(12,18,20,0.86));border-radius:14px;border:1px solid rgba(255,255,255,0.06);box-shadow:0 40px 100px rgba(0,0,0,0.8);z-index:130;padding:18px;transition:transform .18s ease,opacity .18s ease}
.modal.hidden{opacity:0;pointer-events:none}
.modal:not(.hidden){opacity:1;transform:translate(-50%,-50%) scale(1)}
.modal-close{position:absolute;right:12px;top:8px;background:transparent;border:0;color:var(--modal-text);font-size:22px;padding:6px;border-radius:8px;cursor:pointer}
.modal-body{padding:12px 6px 18px}
.modal-content{color:var(--modal-text)}

.side-panel{position:fixed;right:20px;top:70px;width:360px;max-width:92%;height:calc(100vh - 120px);background:linear-gradient(180deg,var(--panel-bg), rgba(8,16,18,0.9));border-radius:12px;border:1px solid rgba(255,255,255,0.03);box-shadow:0 40px 80px rgba(0,0,0,0.75);z-index:125;display:flex;flex-direction:column;transform:translateX(10px);transition:transform .22s cubic-bezier(.2,.9,.2,1),opacity .18s ease;overflow:auto}
.side-panel.hidden{opacity:0;pointer-events:none;transform:translateX(12px)}
.side-header{display:flex;align-items:center;justify-content:space-between;padding:12px;border-bottom:1px solid rgba(255,255,255,0.03)}
.side-close{background:transparent;border:0;color:var(--modal-text);font-size:20px;padding:6px;border-radius:8px;cursor:pointer}
.side-content{padding:12px;color:var(--modal-text);overflow:auto}
.side-actions{display:flex;gap:8px;align-items:center}
.side-zoom{margin-left:6px}

@media(max-width:880px){
  .side-panel{right:12px;top:84px;width:320px}
}

/* Additional mobile polish: make controls and layout friendlier on phones */
@media (max-width:880px){
  .container{padding:20px}
  .hero h2{font-size:24px}
  .hero-cta .btn{flex:1 1 auto}
  .pricing-controls input[type="search"], .sort-select, .filter-input{width:100%;min-width:0}
  .pricing-actions{justify-content:flex-start;flex-wrap:wrap}
  .acc-head h4{font-size:14px}
  .price-table th,.price-table td{font-size:13px}
  .fab-btn{width:64px;height:64px}
  .hotline-btn{padding:12px 14px}
}

@media (max-width:520px){
  .container{padding:12px}
  .hero{gap:12px}
  .hero h2{font-size:20px}
  .hero-right{order:2;width:100%}
  .hero-left{order:1}
  .hero-cta{flex-direction:column}
  .hero-cta .btn{width:100%}
  .qr-img{max-width:220px}
  .pricing-controls{gap:8px}
  .pricing-controls input[type="search"]{padding:10px}
  .fab{right:12px;bottom:72px}
  .hotline-btn{right:12px;bottom:140px}
  .nav-list{right:12px;top:72px}
}

/* very small devices */
@media (max-width:360px){
  .hero h2{font-size:18px}
  .qr-img{max-width:180px}
  .fab-btn{width:58px;height:58px}
}
