:root{
  --bg:#f7fbfd;
  --accent:#265dd5; /* primary blue */
  --accent-2:#0aa3a3; /* teal */
  --muted:#6b7280;
  --card-shadow: 0 6px 18px rgba(16,24,40,0.06);
  --glass: rgba(255,255,255,0.95);
  --radius:12px;
  --max:1200px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: white; color:#0f172a; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  padding:32px; display:flex; flex-direction:column; align-items:center; justify-content:flex-start;
  overflow-x:hidden; width:100%;
}

.wrap{width:100%; max-width:var(--max); background:var(--bg); border-radius:6px; padding:28px;}

header{display:flex; align-items:center; justify-content:space-between; padding:8px 18px;}
.logo{display:flex; align-items:center; gap:12px}
.logo-full{height:46px; width:auto;}
.brand{font-weight:700; color:var(--accent)}
.tag{font-size:12px; color:var(--muted); background:transparent}

/* HERO */
.hero{display:grid; grid-template-columns:1fr 520px; gap:28px; align-items:start; padding:18px}
.hero-left{padding:14px 10px}
.eyebrow{color:#8493b8; text-transform:uppercase; letter-spacing:0.08em; font-size:12px; font-weight:700; margin-bottom:12px}
.hero-title{
  font-size:36px;
  line-height:1.05;
  margin:0 0 20px;
  color:#040b1a;
  font-weight:800;
}
.accent-strong{color:var(--accent)}
.hero-copy{
  color:#1c2437;
  font-size:18px;
  line-height:1.7;
  margin:0 0 26px;
  max-width:640px;
}
.accent-text{color:var(--accent); font-weight:600}
.cta{display:inline-block; padding:12px 22px; background:var(--accent); color:white; border-radius:8px; text-decoration:none; font-weight:600}
.hero-cta{
  background:var(--accent);
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  box-shadow:0 12px 24px rgba(38,93,213,0.35);
  letter-spacing:0.04em;
}

.hero-right{position:relative; height:380px}
.hero-img{position:absolute; right:0; top:0; bottom:0; left:0; border-top-left-radius:220px; overflow:hidden}
.hero-img img{width:100%; height:100%; object-fit:cover}

.trust-band{padding:32px 28px; text-align:center}
.trust-band h3{margin:0 0 16px; font-size:20px; color:#122041}
.trust-avatars{display:flex; justify-content:center; flex-wrap:wrap; gap:12px}
.trust-avatars img{
  width:min(420px,80vw);
  height:auto;
  border-radius:999px;
  border:4px solid white;
  box-shadow:0 12px 30px rgba(15,23,42,0.18);
}

/* Avatars */
.avatars{display:flex; gap:-10px; margin-top:14px; align-items:center}
.avatars img{width:36px; height:36px; border-radius:50%; border:3px solid white; box-shadow:0 2px 6px rgba(2,6,23,0.12)}

/* Features */
.features{padding:28px;}
.features h3{margin:0 0 18px; font-size:20px}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
.feature-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-radius:10px;
  box-shadow:0 10px 25px rgba(15,23,42,0.08);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card .info{
  display:flex;
  align-items:center;
  gap:12px;
}
.feature-icon{
  width:36px;
  height:36px;
}
.feature-card .title{
  font-weight:600;
  color:#0f172a;
}
.feature-arrow{
  font-size:22px;
  color:rgba(15,23,42,0.4);
}
.feature-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 32px rgba(15,23,42,0.12);
}
.feature-card.filled{
  color:white;
  box-shadow:0 16px 32px rgba(15,23,42,0.18);
}
.feature-card.filled .title{color:white}
.feature-card.filled .feature-arrow{color:white}
.feature-card.outline{
  background:white;
}
.accent-blue{background:#265dd5;}
.accent-teal{background:#008d95;}
.accent-orange{background:#f46c1c;}

/* Proof section */
.proof{padding:28px 28px 40px}
.proof-header{display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap}
.proof-header h3{margin:0; font-size:22px}
.proof-header p{margin:0; color:#475569}
.proof-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; margin-top:22px}
.proof-card{background:white; border-radius:14px; padding:20px; box-shadow:0 12px 28px rgba(15,23,42,0.08)}
.metric{font-size:42px; font-weight:800; color:var(--accent); margin-bottom:8px}
.quote{font-size:18px; font-weight:600; color:#0f172a; margin-bottom:12px}
.quote-author{margin:0; color:#64748b; font-size:14px}

/* Process */
.process{padding:28px 28px 40px}
.section-head h3{margin:0;font-size:22px}
.section-head p{margin:6px 0 18px; color:#475569}
.process-steps{display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px}
.step{background:white; padding:20px; border-radius:14px; box-shadow:0 12px 28px rgba(15,23,42,0.07); display:flex; gap:16px}
.step-number{font-size:34px; font-weight:800; color:rgba(15,23,42,0.15)}
.step h4{margin:0 0 6px}
.step p{margin:0; color:#475569}

/* Integrations */
.integrations{padding:28px; background:#f1f5ff; border-radius:18px; margin:0 28px}
.integration-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin-top:16px}
.integration-card{background:white; padding:18px; border-radius:12px; box-shadow:0 10px 24px rgba(15,23,42,0.06)}
.integration-card h4{margin:0 0 8px}
.integration-card p{margin:0; color:#475569}

/* CTA panel */
.cta-panel{padding:40px 28px}
.cta-panel-content{background:#0f1e3c; color:white; border-radius:20px; padding:32px; display:flex; flex-direction:column; gap:16px; box-shadow:0 20px 40px rgba(6,13,34,0.4)}
.cta-panel-content h3{margin:0;font-size:28px}
.cta-actions{display:flex; gap:16px; flex-wrap:wrap}
.text-link{color:white; font-weight:600; text-decoration:none; border-bottom:1px solid rgba(255,255,255,0.4); padding-bottom:2px}
.cta.secondary{background:white; color:#0f1e3c; border-radius:12px; padding:12px 20px; font-weight:700}

/* FAQ + Contact */
.faq-contact{display:grid; grid-template-columns:2fr 1fr; gap:24px; padding:28px; flex-wrap:wrap}
.faq-contact .faq, .faq-contact .contact{background:white; border-radius:16px; padding:24px; box-shadow:0 12px 24px rgba(15,23,42,0.08)}
.faq-item{margin-bottom:16px}
.faq-item h4{margin:0 0 6px}
.faq-item p{margin:0; color:#475569}
.contact p{color:#475569}
.contact a{text-decoration:none; font-weight:600}

.app-promo{padding:40px 28px 60px; display:flex; flex-direction:column; gap:28px; align-items:center; text-align:center}
.app-hero{position:relative; width:100%; max-width:900px; border-radius:26px; overflow:hidden; box-shadow:0 20px 40px rgba(6,20,60,0.15)}
.app-hero img{width:100%; height:100%; object-fit:cover; display:block}
.device-frame{position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:220px; height:420px; border-radius:32px; background:white; box-shadow:0 20px 40px rgba(0,0,0,0.2); padding:14px; display:flex; flex-direction:column; justify-content:flex-start}
.device-notch{width:60%; height:8px; background:#111927; border-radius:0 0 6px 6px; align-self:center}
.device-screen{background:#f3f5ff; border-radius:22px; margin-top:12px; flex:1; display:flex; flex-direction:column}
.device-header{padding:14px; font-weight:700; color:#0f172a}
.device-body{padding:0 14px 14px; color:#475569; font-size:14px; line-height:1.5}
.app-copy h3{margin:0 0 8px; font-size:26px}
.store-badges{display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-top:12px}
.store-badges img{height:44px}
.app-reasons{display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:18px; width:100%; max-width:900px}
.reason{background:white; border-radius:16px; padding:18px; box-shadow:0 10px 20px rgba(15,23,42,0.08)}
.reason-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  margin-bottom:10px;
  box-shadow:0 8px 16px rgba(15,23,42,0.12);
  background:linear-gradient(145deg,#ffffff,#eef2ff);
  border:1px solid rgba(15,23,42,0.05);
}
.reason h4{margin:0 0 6px}
.reason p{margin:0; color:#475569}

.powered-agc{padding:24px 28px; text-align:center; background:#f8fbff; border-top:1px solid #edf1fb}
.powered-wrapper{display:flex; align-items:center; justify-content:center; gap:12px; font-weight:600; color:#1c2437}
.powered-wrapper img{height:32px}
.agc-name{letter-spacing:0.12em}

/* responsive */
@media (max-width:1100px){
  .hero{grid-template-columns:1fr 420px}
  h1{font-size:36px}
}
@media (max-width:880px){
  .hero{grid-template-columns:1fr;}
  .hero-right{order: -1; height:260px}
  .hero-img{border-top-left-radius:120px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .faq-contact{grid-template-columns:1fr}
}
@media (max-width:520px){
  body{padding:0}
  .wrap{padding:16px}
  header{padding:6px 10px}
  h1{font-size:26px}
  .hero-title{font-size:28px; line-height:1.15}
  .hero-right{height:200px}
  .hero-img{border-top-left-radius:60px}
  .logo-full{height:32px; width:auto;}
  .grid{grid-template-columns:1fr}
  .card{padding:14px}
}

/* small helpers */
.muted{color:var(--muted); font-size:14px}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-body {
  padding: 24px;
}

.modal-body p {
  margin: 0 0 24px;
  color: #6b7280;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 99, 214, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.submit-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #0a52cc;
}

.submit-btn:active {
  transform: scale(0.98);
}

/* Success message styles */
.success-message {
  display: none;
  text-align: center;
  padding: 32px;
}

.success-message.show {
  display: block;
}

.success-icon {
  width: 48px;
  height: 48px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 24px;
}

.success-message h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.success-message p {
  margin: 0;
  color: #6b7280;
}

/* Mobile responsive for modal */
@media (max-width:520px) {
  .modal-content {
    width: 95%;
    margin: 16px;
  }
  
  .modal-header {
    padding: 16px 16px 0;
  }
  
  .modal-header h2 {
    font-size: 20px;
  }
  
  .modal-body {
    padding: 16px;
  }
  
  .submit-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}
