:root{
  --bg: #f8fafc;
  --panel: #ffffff;
  --panel2: #f1f5f9;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #2563eb;
  --brand2: #3b82f6;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 16px;
  --accent: #2563eb;
}

*{box-sizing:border-box}
html,body{height:100%; scroll-behavior: smooth;}
body{
  margin:0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.03) 0px, transparent 50%);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px}

/* Header */
.top{
  position:sticky; top:0; z-index:100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom: 1px solid var(--border);
}
.top .wrap{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 24px}
.logo{font-weight:800; font-size: 1.25rem; color: var(--brand); letter-spacing:-0.02em}

.menu{display:flex; align-items:center; gap:28px}
.menu a{color:var(--muted); font-weight: 500; font-size: 14px; transition: color 0.2s;}
.menu a:hover{color:var(--brand)}
.pill{
  padding:10px 24px;
  background: var(--brand);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.menu-btn{
  display:none;
  background:white;
  border:1px solid var(--border);
  border-radius:8px;
  padding:8px 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Hero Section */
.hero{padding:100px 0 60px}
.hero-grid{display:grid; grid-template-columns: 1.2fr 0.8fr; gap:60px; align-items:center}
.avatar{width:100px; height:100px; border-radius:24px; border:4px solid white; box-shadow: var(--shadow); object-fit:cover; margin:0 0 24px}
.kicker{color:var(--brand); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em; margin:0 0 12px}
.hero h1{
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  margin:0 0 24px;
  color: #0f172a;
  letter-spacing: -0.03em;
}
.lead{color:var(--muted); font-size:18px; margin:0 0 32px; max-width:55ch}
.cta{display:flex; gap:16px; flex-wrap:wrap; margin:24px 0}

.btn{
  padding:14px 28px;
  border-radius:12px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}
.btn-secondary {
  background: white;
  color: #1e293b;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.social{display:flex; gap:20px; margin-top:12px}
.social a.link{color:var(--muted); font-weight: 600; font-size: 14px; position: relative; padding-bottom: 2px}
.social a.link::after{content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--brand); transition: 0.3s;}
.social a.link:hover{color:var(--brand)}
.social a.link:hover::after{width:100%}

/* Hero Card */
.hero-card{
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card-inner{display:flex; flex-direction:column; gap:24px}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #dcfce7;
}
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}
.stats{display:grid; gap:20px}
.stat span{color:var(--muted); font-size:12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em}
.stat strong{font-size:18px; color: #1e293b; display: block; margin-top: 4px; font-weight: 700}

/* Sections */
.section{padding:80px 0}
.section-head{margin-bottom:40px}
.section-head h2{font-size:32px; font-weight:800; color: #1e293b; margin: 0 0 8px; letter-spacing: -0.02em}
.section-head p{color:var(--brand); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.1em}

.content {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.bio-text {
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}
.bio-text b, .bio-text strong {
  color: var(--brand);
}

/* Cards Grid */
.cards{display:grid; grid-template-columns:repeat(auto-fill, minmax(350px, 1fr)); gap:32px}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.card .cover, .card .no-image {
  height: 220px;
  width: 100%;
  object-fit: cover;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 600;
}

.card-top { padding: 28px 28px 12px; }
.card-top h3 { margin: 0; font-size: 20px; font-weight: 800; color: #1e293b; }
.tags{margin:8px 0 0; color:var(--brand); font-size:13px; font-weight: 700}
.desc{margin:0; color:var(--muted); padding: 0 28px 28px; flex: 1; font-size: 15px}
.card-actions{display:flex; gap:20px; padding: 0 28px 28px; align-items: center}
.btn-demo {
  background: var(--brand);
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.btn-demo:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.btn-more {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.btn-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0f172a;
  letter-spacing: -0.02em;
  padding-right: 40px;
}

.modal-body {
  line-height: 1.7;
  color: #334155;
  font-size: 16px;
}

.modal-body h4 {
  color: #0f172a;
  margin: 24px 0 12px;
  font-size: 18px;
}

.modal-body ul {
  padding-left: 20px;
  margin: 16px 0;
}

.modal-body li {
  margin-bottom: 12px;
  position: relative;
}

.modal-body strong {
  color: #0f172a;
}

/* Demo Access Styles */
.demo-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.demo-badge {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeIn 0.3s ease;
}
.demo-badge code {
  background: #e2e8f0;
  padding: 1px 4px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--brand);
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-actions .link {
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.card-actions .link:hover{color:var(--brand); border-bottom-color: var(--brand)}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: 0.2s;
}
.contact-item:hover { border-color: var(--brand); transform: translateX(4px); }
.contact-item span { font-size: 12px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }
.contact-item strong { font-size: 17px; color: #1e293b; font-weight: 700; }

.contact-form { background: white; padding: 32px; border-radius: 24px; border: 1px solid var(--border); display: grid; gap: 20px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: grid; gap: 8px; }
label span { font-size: 14px; font-weight: 600; color: #475569; }
input, textarea { padding: 14px; border-radius: 10px; border: 1px solid var(--border); background: #f8fafc; font-family: inherit; font-size: 15px; transition: 0.2s; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); background: white; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }

/* Footer */
.footer{border-top:1px solid var(--border); padding:60px 0; background: white; color:var(--muted); font-size: 14px}
.footer .wrap{display:flex; justify-content:space-between; align-items:center}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

/* Mobile */
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr; text-align: center; gap: 40px}
  .hero h1{font-size: 42px}
  .lead{margin-inline: auto}
  .cta{justify-content: center}
  .avatar{margin-inline: auto}
  .contact-grid{grid-template-columns: 1fr}
}
@media (max-width: 720px){
  .menu{display:none}
  .menu.open{display:flex; position:absolute; right:24px; top:70px; flex-direction:column; background:white; border:1px solid var(--border); padding:20px; border-radius:16px; width:200px; box-shadow: var(--shadow-lg); gap: 16px}
  .menu-btn{display:block}
  .form-row{grid-template-columns: 1fr}
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  color: #fff;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
