/* ===================
   Base Styles
=================== */
@font-face {
  font-family: 'PPMori-Regular';
  src: url('assets/font/PPMori-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PPMori-SemiBold';
  src: url('assets/font/PPMori-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg:#0b0d0f;
  --bg-alt:#0f1216;
  --card:#0d1114;
  --text:#e8f2ec;
  --muted:#a0aca6;
  --line:#1e2429;
  --plasma:#00ff85;
  --plasma-2:#00e38c;
  --ink:#0b0d0f;
  --paper:#ffffff;
  --shadow:0 10px 30px rgba(0,0,0,.25);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
*{
  font-family:'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;
}
body{
  font-family:'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.container{max-width:1152px;margin:auto;padding:0 24px}
.row{display:flex;gap:12px}
.row.center{align-items:center}
.row.top{align-items:flex-start}
.row.between{justify-content:space-between}
.gap-sm{gap:10px}
.gap-xs{gap:6px}

.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:16px;top:16px;background:#000;color:#fff;padding:8px 12px;border-radius:8px}

/* ===================
   Header - New Design
=================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  height: 80px;
  overflow: hidden;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo Section */
.logo-section {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 144px;
  height: 144px;
  max-height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 255, 133, 0.3));
}

/* Navigation and CTA Section */
.nav-cta-section {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s ease;
  position: relative;
  font-family: 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.nav-link:hover {
  color: var(--plasma);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--plasma);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}


.cta-button {
  background: linear-gradient(135deg, var(--plasma), var(--plasma-2));
  color: #000;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 255, 133, 0.3);
  border: none;
  cursor: pointer;
  font-family: 'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 255, 133, 0.4);
}

/* ===================
   Buttons
=================== */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:12px;
  border:1px solid #dfe7e2;text-decoration:none;font-weight:700;cursor:pointer;font-family:'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important}
.btn.solid{background:linear-gradient(180deg,var(--plasma),var(--plasma-2));color:#001f10;border:0;box-shadow:0 10px 22px rgba(0,255,133,.25)}
.btn.ghost{background:transparent;color:#111}
.btn.outline{background:transparent}
.btn.lg{padding:12px 16px;font-size:0.98rem}
.btn.sm{padding:6px 10px;font-size:.85rem;border-radius:10px}
.btn:disabled{opacity:.6;cursor:not-allowed}

.dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.dot-ok{background:#10b981}
.pill{border:1px solid #d8e6df;padding:4px 10px;border-radius:999px;font-size:.8rem}

/* ===================
   Hero
=================== */
.hero{
  padding:72px 0;background:
    radial-gradient(800px 400px at 10% -20%, rgba(0,255,133,.18), transparent 60%),
    radial-gradient(800px 400px at 90% 0%, rgba(0,255,133,.12), transparent 60%);
}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:28px}
.hero h1{font-size:clamp(32px,4.2vw,56px);line-height:1.1;margin:0 0 10px;font-family:'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;font-weight:700 !important}
.accent{color:#162f29}
.lede{font-size:1.1rem;color:#2b3330;max-width:60ch;font-family:'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important}
.cta{margin:22px 0}

.glass{background:linear-gradient(180deg,#0e1411,#0b0d0f); color:var(--text);
  border:1px solid #28332d;border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.card-header,.card-footer{padding:12px 14px;border-bottom:1px solid #1b241f}
.card-footer{border-top:1px solid #1b241f;border-bottom:0}
.card-body{padding:14px 14px 0}
pre{margin:0;background:#0b0d0f;color:#e6fff3;padding:16px;border-radius:12px;overflow:auto;font-size:.9rem;line-height:1.5}

/* ===================
   Sections
=================== */
.section{padding:72px 0}
.section.alt{background:#f7faf8}
.section h2{font-size:1.8rem;margin:0 0 20px;font-family:'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;font-weight:600 !important}

.grid-3{display:grid;grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));gap:16px}
.feature{border:1px solid #e2ebe5;border-radius:16px;padding:16px;background:#fff}
.feature .icon{width:36px;height:36px;border-radius:8px;background:linear-gradient(180deg,var(--plasma),var(--plasma-2));display:flex;align-items:center;justify-content:center;color:white}
.feature h3{font-family:'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;font-weight:600 !important}

/* Solutions Section */
.solutions-header {
  text-align: center;
  margin-bottom: 48px;
}

.solutions-subtitle {
  font-size: 1.1rem;
  color: #6b7280;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.solution-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--plasma), var(--plasma-2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--plasma);
}

.solution-card:hover::before {
  transform: scaleX(1);
}


.solution-card h3 {
  font-family: 'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: #1f2937;
}

.solution-card p {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  font-family: 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* FAQ Section */
.faq-content-left {
  max-width: 100%;
  margin: 0;
}

.faq-content-left h2 {
  font-family: 'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 2rem;
  margin: 0 0 8px;
  color: #1f2937;
  text-align: left;
}


.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-list details {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
}

.faq-list details:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-list summary {
  font-family: 'PPMori-SemiBold', 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 1.1rem;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
  position: relative;
}

.faq-list summary::before {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #6b7280;
}

.faq-list details[open] summary::before {
  content: '−';
}

.faq-list p {
  margin: 12px 0 0;
  color: #6b7280;
  line-height: 1.6;
  font-family: 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

.checklist{list-style:none;padding:0;margin:0}
.checklist li{padding-left:28px;position:relative;margin:10px 0}
.checklist li:before{content:"";position:absolute;left:0;top:6px;width:18px;height:18px;border-radius:6px;background:linear-gradient(180deg,var(--plasma),var(--plasma-2))}

.ticks{list-style: none;padding:0;margin:14px 0 0}
.ticks li{padding-left:22px;position:relative;margin:6px 0}
.ticks li:before{content:"✓";position:absolute;left:0;color:#10b981}

/* ===================
   Footer
=================== */
.site-footer{border-top:1px solid #e8efe9;background:#fbfdfb;padding:28px 0}
.footer-links a{display:inline-block;margin:0 10px;color:#233228;text-decoration:none}
.footer-links a:hover{text-decoration:underline}
.muted{color:#6b746f}

/* Footer responsive layout */
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f0f4f1;
  color: #233228;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: #e2ebe5;
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===================
   Responsive
=================== */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  .grid-3{grid-template-columns:1fr}
}

/* ===================
   Mobile header/menu
=================== */
.menu-toggle,
.menu-close{
  background:#0b0d0f; color:#fff; border:0; border-radius:12px;
  padding:10px 12px; font-weight:800; line-height:1; cursor:pointer;
}
.menu-close{ background:#eef1f2; color:#0b0d0f; }

.hide-on-mobile{ display:flex; }
.show-on-mobile{ display:none; }

/* Offcanvas container */
.mobile-nav{
  position:fixed; inset:0; z-index:1200; display:block;
}
.mobile-nav[hidden]{ display:none; }
.mobile-nav__backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.35);
  opacity:0; transition:opacity .2s ease;
}
.mobile-nav__panel{
  position:absolute; top:0; right:0; height:100%; width:min(82vw, 360px);
  background:#ffffff; border-left:1px solid #e8efe9;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
  transform:translateX(100%); transition:transform .25s ease;
  display:flex; flex-direction:column;
}
.mobile-nav.open .mobile-nav__panel{ transform:translateX(0); }
.mobile-nav.open .mobile-nav__backdrop{ opacity:1; }

/* Panel content */
.mobile-nav__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid #eef1f2;
}
.mobile-nav__links{ display:flex; flex-direction:column; padding:8px 8px 16px; }
.mobile-nav__links a{
  padding:12px 12px; border-radius:10px; font-weight:700; color:#0b0d0f; text-decoration:none;
}
.mobile-nav__links a:hover{ background:#f6faf8; }

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--plasma);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background: #1f2937;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 80px; /* Start below header */
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  max-height: calc(100vh - 80px);
  visibility: hidden;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 80px; /* Start below header */
  left: 0;
  width: 100%;
  height: calc(100vh - 80px); /* Cover area below header */
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  padding: 20px;
  position: relative;
}


.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.mobile-nav-links a {
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'PPMori-Regular', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: 1rem;
  color: #1f2937;
  text-decoration: none;
  transition: all 0.3s ease;
  transform: translateY(20px);
  opacity: 0;
}

.mobile-nav.active .mobile-nav-links a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav.active .mobile-nav-links a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-links a:nth-child(4) { transition-delay: 0.25s; }

.mobile-nav-links a:hover {
  background: #f3f4f6;
  color: var(--plasma);
}

.mobile-nav-cta {
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav-cta .cta-button {
  width: 100%;
  justify-content: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav.active .mobile-nav-cta .cta-button {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.3s;
}

/* Breakpoints */
@media (max-width: 820px){
  .hide-on-mobile{ display:none !important; }
  .show-on-mobile{ display:inline-flex; }
  .site-header{ 
    border-bottom:1px solid #eef1f2; 
    position: relative;
  }
  
  /* Mobile header layout */
  .site-header .container{
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
  }
  
  /* Hide desktop navigation */
  .nav{ display:none; }
  .nav-cta-section{ display:none; }
  
  /* Show mobile menu button */
  .mobile-menu-btn{ display:flex; }
  
  /* Adjust logo size for mobile */
  .logo-img {
    width: 120px;
    height: 120px;
    max-height: 40px;
  }
  
  /* Mobile footer improvements */
  .site-footer {
    padding: 24px 0;
  }
  
  .site-footer .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .social-links {
    justify-content: center;
    margin-bottom: 12px;
  }
  
  .footer-links {
    justify-content: center;
    gap: 16px;
  }
  
  .footer-links a {
    margin: 0;
    padding: 8px 12px;
    background: #f0f4f1;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
  }
  
  .footer-links a:hover {
    background: #e2ebe5;
    text-decoration: none;
  }
  
  .muted {
    font-size: 14px;
    margin-top: 8px;
  }
}
