:root{
  --bg: #eef4f9;
  --bg-grad-1: #c9e3f0;
  --bg-grad-2: #d8c9f0;
  --bg-grad-3: #c9f0e3;
  --surface: rgba(255,255,255,0.55);
  --surface-solid: #ffffff;
  --border: rgba(255,255,255,0.6);
  --text: #16324f;
  --text-muted: #5b7184;
  --text-faint: #9fb3c2;
  --teal: #1f9d82;
  --teal-dark: #147a64;
  --navy: #16324f;
  --shadow: 0 8px 32px rgba(20,60,90,.12);
  --radius: 18px;
}
[data-theme="dark"]{
  --bg: #0b1726;
  --bg-grad-1: #12263d;
  --bg-grad-2: #1c1438;
  --bg-grad-3: #0f2e28;
  --surface: rgba(20,32,48,0.55);
  --surface-solid: #122236;
  --border: rgba(255,255,255,0.08);
  --text: #eaf2f8;
  --text-muted: #9bb1c4;
  --text-faint: #4d6378;
  --teal: #35d6ab;
  --teal-dark: #22a884;
  --navy: #0b1726;
  --shadow: 0 8px 32px rgba(0,0,0,.4);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Segoe UI', Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, var(--bg-grad-1), transparent 40%),
    radial-gradient(circle at 90% 20%, var(--bg-grad-2), transparent 40%),
    radial-gradient(circle at 50% 90%, var(--bg-grad-3), transparent 45%),
    var(--bg);
  background-attachment: fixed;
  color:var(--text);
  line-height:1.6;
  transition: background .4s ease, color .4s ease;
  overflow-x:hidden;
  min-height:100vh;
}
.container{max-width:1240px; margin:0 auto; padding:0 24px;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}

/* GLASS PANEL */
.glass{
  background:var(--surface);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* HEADER */
header.site-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 40px; margin:16px 24px 0;
  position:sticky; top:16px; z-index:200;
}
.logo{font-size:21px; font-weight:800; color:var(--text);}
.logo span{color:var(--teal);}
nav.main-nav ul{list-style:none; display:flex; gap:32px;}
nav.main-nav a{font-weight:600; font-size:14.5px; color:var(--text-muted); transition:color .2s;}
nav.main-nav a:hover, nav.main-nav a.active{color:var(--teal-dark);}
.nav-actions{display:flex; gap:12px; align-items:center;}
.btn{
  padding:10px 20px; border-radius:10px; font-weight:700; font-size:14px;
  cursor:pointer; border:none; display:inline-block; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:active{transform:scale(.96);}
.btn-outline{border:1.5px solid var(--border); color:var(--text); background:transparent;}
.btn-primary{background:linear-gradient(135deg,var(--teal),var(--teal-dark)); color:#fff; box-shadow:0 6px 18px rgba(31,157,130,.35);}
.btn-primary:hover{box-shadow:0 10px 26px rgba(31,157,130,.45);}
.btn-lg{padding:14px 28px; font-size:15px;}
.theme-toggle{
  width:42px; height:42px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; border:1px solid var(--border); background:var(--surface);
  font-size:18px;
}
.mobile-toggle{display:none; cursor:pointer; font-size:22px; background:none; border:none; color:var(--text);}

/* BREADCRUMBS */
.breadcrumbs{font-size:13px; color:var(--text-muted); max-width:1240px; margin:0 auto; padding:18px 40px 0;}
.breadcrumbs a{color:var(--text-muted);}
.breadcrumbs a:hover{color:var(--teal-dark);}

/* PAGE HERO (interior pages) */
.page-hero{padding:60px 24px 40px; text-align:center; max-width:780px; margin:0 auto;}
.eyebrow{
  display:inline-block; background:var(--surface); border:1px solid var(--border);
  color:var(--teal-dark); font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:6px 14px; border-radius:20px; margin-bottom:18px;
}
.page-hero h1{font-size:38px; margin-bottom:16px;}
.page-hero p{font-size:16.5px; color:var(--text-muted); max-width:620px; margin:0 auto;}

/* GENERIC HERO (home) */
.hero{padding:50px 24px 40px; display:grid; grid-template-columns:1fr 1.1fr; gap:50px; align-items:center; max-width:1240px; margin:0 auto;}
.hero h1{font-size:46px; line-height:1.18; color:var(--text-faint); font-weight:800;}
.hero h1 .accent{background:linear-gradient(135deg,var(--teal),#2bb6e0); -webkit-background-clip:text; background-clip:text; color:transparent;}
.hero p.lead{margin-top:20px; font-size:17px; color:var(--text-muted); max-width:470px;}
.hero-ctas{margin-top:26px; display:flex; gap:14px;}

/* AI search demo */
.search-pill{margin-top:40px; display:flex; align-items:center; gap:12px; padding:14px 18px; max-width:520px; position:relative;}
.search-pill input{border:none; outline:none; flex:1; font-size:15px; color:var(--text); background:transparent;}
.search-pill .ai-tag{font-size:10px; font-weight:800; letter-spacing:.05em; color:#fff; background:linear-gradient(135deg,var(--teal),#2bb6e0); padding:4px 8px; border-radius:6px;}
.search-cursor{display:inline-block; width:2px; background:var(--teal); margin-left:2px; animation:blink 1s steps(1) infinite;}
@keyframes blink{50%{opacity:0;}}

.stats-row{margin-top:18px; display:flex; gap:14px; max-width:560px; flex-wrap:wrap;}
.stat-pill{flex:1; min-width:140px; padding:16px 18px; text-align:left;}
.stat-pill .num{font-size:24px; font-weight:800; color:var(--text);}
.stat-pill .lbl{font-size:13px; color:var(--text-muted);}

/* DASHBOARD MOCKUP */
.dashboard{padding:0; overflow:hidden;}
.dash-top{display:flex; align-items:center; gap:8px; padding:12px 18px; border-bottom:1px solid var(--border); font-size:12px; color:var(--text-muted);}
.dash-dots span{width:8px; height:8px; border-radius:50%; background:var(--text-faint); display:inline-block; margin-right:5px;}
.dash-url{flex:1; background:var(--bg); border-radius:6px; padding:5px 12px; margin-left:8px;}
.dash-tabs{display:flex; gap:6px; padding:14px 18px 0;}
.dash-tab{font-size:12.5px; padding:8px 14px; border-radius:8px; cursor:pointer; color:var(--text-muted); font-weight:600;}
.dash-tab.active{background:var(--teal); color:#fff;}
.dash-body{padding:18px;}
.dash-pane{display:none;}
.dash-pane.active{display:block; animation:fadeIn .35s ease;}
@keyframes fadeIn{from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);}}

.app-search{display:flex; align-items:center; gap:10px; border:1px solid var(--border); border-radius:10px; padding:10px 14px; font-size:14px; margin-bottom:14px;}
.filter-row{display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap;}
.filter-row span{font-size:12px; background:var(--bg); border-radius:6px; padding:6px 12px; color:var(--text-muted);}
.result-row{display:flex; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--border);}
.avatar{width:34px; height:34px; border-radius:50%; background:linear-gradient(135deg,var(--teal),#2bb6e0); flex-shrink:0;}
.result-row .name{font-size:13px; font-weight:700;}
.result-row .meta{font-size:11px; color:var(--text-muted);}

/* CRM kanban */
.kanban{display:grid; grid-template-columns:repeat(4,1fr); gap:10px;}
.kanban-col{background:var(--bg); border-radius:10px; padding:10px;}
.kanban-col h5{font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); margin-bottom:8px;}
.kanban-card{background:var(--surface-solid); border:1px solid var(--border); border-radius:8px; padding:8px 10px; font-size:11.5px; margin-bottom:8px; box-shadow:0 2px 6px rgba(0,0,0,.06);}
.kanban-card .amt{color:var(--teal-dark); font-weight:700;}

/* analytics pane */
.metric-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.metric-box{background:var(--bg); border-radius:10px; padding:14px;}
.metric-box .v{font-size:20px; font-weight:800;}
.metric-box .l{font-size:11px; color:var(--text-muted);}
.bar-track{height:6px; background:var(--border); border-radius:4px; margin-top:8px; overflow:hidden;}
.bar-fill{height:100%; background:linear-gradient(90deg,var(--teal),#2bb6e0); border-radius:4px; width:0; transition:width 1.2s ease;}

/* LOGOS */
.logo-strip{padding:30px 24px; text-align:center;}
.logo-strip p{font-size:12.5px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px;}
.logo-row{display:flex; justify-content:center; gap:46px; flex-wrap:wrap; font-weight:800; color:var(--text-faint); opacity:.8;}

/* SECTIONS */
section{padding:70px 24px;}
.section-title{font-size:30px; text-align:center; margin-bottom:12px;}
.section-sub{font-size:15.5px; color:var(--text-muted); text-align:center; max-width:560px; margin:0 auto 44px;}
.grid-3{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.grid-2{max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(2,1fr); gap:24px;}
.feat-card{padding:28px; transition:transform .25s ease;}
.feat-card:hover{transform:translateY(-6px);}
.feat-card .icon{width:46px; height:46px; border-radius:12px; background:linear-gradient(135deg,var(--teal),#2bb6e0); display:flex; align-items:center; justify-content:center; font-size:21px; margin-bottom:16px;}
.feat-card h3{font-size:17px; margin-bottom:8px;}
.feat-card p{font-size:13.5px; color:var(--text-muted);}

/* COUNTER STATS */
.counter-strip{max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; padding:40px 24px;}
.counter-strip .num{font-size:34px; font-weight:800; background:linear-gradient(135deg,var(--teal),#2bb6e0); -webkit-background-clip:text; background-clip:text; color:transparent;}
.counter-strip .lbl{font-size:13.5px; color:var(--text-muted); margin-top:4px;}

/* PRICING */
.toggle-wrap{display:flex; justify-content:center; align-items:center; gap:14px; margin-bottom:40px;}
.toggle-wrap span{font-size:14px; font-weight:700; color:var(--text-muted);}
.toggle-wrap span.active{color:var(--text);}
.switch{width:52px; height:28px; border-radius:20px; background:var(--border); position:relative; cursor:pointer;}
.switch::after{content:""; position:absolute; width:22px; height:22px; border-radius:50%; background:var(--teal); top:3px; left:3px; transition:left .25s ease;}
.switch.on::after{left:27px;}
.save-badge{font-size:11px; background:var(--teal); color:#fff; padding:3px 8px; border-radius:10px; margin-left:4px;}

.pricing-grid{max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
.price-card{padding:30px 26px; position:relative;}
.price-card.featured{border:2px solid var(--teal);}
.price-card.featured::before{content:"Most Popular"; position:absolute; top:-13px; left:26px; background:var(--teal); color:#fff; font-size:11px; font-weight:700; padding:5px 12px; border-radius:20px;}
.plan-name{font-size:13px; color:var(--text-muted); font-weight:700; text-transform:uppercase; letter-spacing:.04em;}
.price{font-size:34px; font-weight:800; margin:10px 0;}
.price span{font-size:14px; font-weight:500; color:var(--text-muted);}
.price-card ul{list-style:none; margin:20px 0;}
.price-card li{font-size:13.5px; padding:6px 0 6px 22px; position:relative; color:var(--text-muted);}
.price-card li::before{content:"✓"; position:absolute; left:0; color:var(--teal); font-weight:800;}

/* TESTIMONIALS CAROUSEL */
.carousel{max-width:720px; margin:0 auto; position:relative; overflow:hidden;}
.carousel-track{display:flex; transition:transform .5s ease;}
.testi-slide{min-width:100%; padding:36px 40px; text-align:center;}
.testi-slide .stars{color:#f5b942; font-size:16px; margin-bottom:14px;}
.testi-slide p{font-size:16px; color:var(--text); margin-bottom:18px; font-style:italic;}
.testi-slide .who{font-size:13.5px; color:var(--text-muted); font-weight:700;}
.carousel-dots{display:flex; justify-content:center; gap:8px; margin-top:18px;}
.carousel-dots span{width:8px; height:8px; border-radius:50%; background:var(--border); cursor:pointer;}
.carousel-dots span.active{background:var(--teal); width:22px; border-radius:6px;}
.carousel-arrow{position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:5;}
.carousel-arrow.left{left:-10px;}
.carousel-arrow.right{right:-10px;}

/* FAQ ACCORDION */
.faq-wrap{max-width:780px; margin:0 auto;}
.faq-item{margin-bottom:12px; overflow:hidden;}
.faq-q{display:flex; justify-content:space-between; align-items:center; padding:18px 22px; cursor:pointer; font-weight:700; font-size:15px;}
.faq-q .plus{transition:transform .25s ease; font-size:18px; color:var(--teal);}
.faq-item.open .faq-q .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .3s ease;}
.faq-a p{padding:0 22px 18px; font-size:14px; color:var(--text-muted);}

/* CARDS (generic content cards) */
.card{padding:28px;}
.card h3{font-size:17px; margin-bottom:8px;}
.card p{font-size:13.5px; color:var(--text-muted);}
.card .icon{width:46px; height:46px; border-radius:12px; background:linear-gradient(135deg,var(--teal),#2bb6e0); display:flex; align-items:center; justify-content:center; font-size:21px; margin-bottom:16px;}

/* TEAM */
.team-grid{max-width:1000px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
.team-card{padding:24px; text-align:center;}
.team-card .avatar-lg{width:80px; height:80px; border-radius:50%; background:linear-gradient(135deg,var(--teal),#2bb6e0); margin:0 auto 12px;}
.team-card h4{font-size:15px;}
.team-card span{font-size:13px; color:var(--text-muted);}

/* BLOG */
.blog-grid{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.blog-card{overflow:hidden;}
.blog-card .thumb{height:150px; background:linear-gradient(135deg,var(--teal),#2bb6e0); opacity:.85;}
.blog-card .body{padding:20px;}
.blog-card .tag{font-size:11px; font-weight:700; color:var(--teal-dark); text-transform:uppercase;}
.blog-card h3{font-size:16px; margin:8px 0; color:var(--text);}
.blog-card p{font-size:13px; color:var(--text-muted);}
.blog-card .meta{font-size:12px; color:var(--text-faint); margin-top:12px;}

article.post{max-width:760px; margin:0 auto; padding:20px 24px 80px;}
article.post h1{font-size:34px; margin-bottom:10px;}
article.post .post-meta{font-size:13px; color:var(--text-muted); margin-bottom:30px;}
article.post h2{font-size:24px; margin:34px 0 14px;}
article.post p{font-size:16px; color:var(--text); margin-bottom:16px; opacity:.9;}
article.post ul{margin:0 0 16px 22px;}

/* CONTACT */
.contact-grid{max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:40px;}
.contact-form{padding:32px; display:flex; flex-direction:column; gap:14px;}
.contact-form label{font-size:13px; font-weight:700;}
.contact-form input, .contact-form textarea{
  border:1px solid var(--border); border-radius:8px; padding:12px 14px; font-size:14px;
  font-family:inherit; outline:none; background:var(--surface-solid); color:var(--text);
}
.contact-form input:focus, .contact-form textarea:focus{border-color:var(--teal);}
.contact-info .row{display:flex; gap:14px; margin-bottom:20px; padding:18px;}
.contact-info .row .icon{width:38px; height:38px; border-radius:8px; background:linear-gradient(135deg,var(--teal),#2bb6e0); flex-shrink:0;}

/* CTA */
.cta-band{max-width:1100px; margin:0 auto; padding:60px 50px; text-align:center; background:linear-gradient(135deg, var(--navy), #0c4f42); color:#fff; border-radius:24px;}
.cta-band h2{font-size:30px; margin-bottom:12px;}
.cta-band p{color:#cfe3da; margin-bottom:26px; max-width:520px; margin-left:auto; margin-right:auto;}

/* FOOTER */
footer.site-footer{padding:50px 24px 26px;}
.footer-grid{max-width:1240px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:36px; padding-bottom:30px;}
.footer-grid h5{font-size:13.5px; margin-bottom:14px;}
.footer-grid ul{list-style:none;}
.footer-grid li{margin-bottom:9px; font-size:13.5px; color:var(--text-muted);}
.footer-grid a:hover{color:var(--teal);}
.footer-bottom{max-width:1240px; margin:0 auto; padding-top:20px; border-top:1px solid var(--border); font-size:12.5px; color:var(--text-muted); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;}

@media (max-width:1000px){
  .hero{grid-template-columns:1fr; padding-top:30px;}
  nav.main-nav{display:none;}
  .nav-actions .btn-outline{display:none;}
  .mobile-toggle{display:block;}
  .grid-3, .pricing-grid, .blog-grid, .grid-2{grid-template-columns:1fr;}
  .counter-strip{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .kanban{grid-template-columns:repeat(2,1fr);}
  .metric-grid{grid-template-columns:1fr;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
  header.site-header{padding:14px 18px; margin:12px 12px 0;}
  section{padding:50px 18px;}
  .breadcrumbs{padding:16px 18px 0;}
}
