/* Senfina full design system */
:root { --blue:#0b2a5b; --blue-light:#3b82f6; --blue-lighter:#60a5fa; }
* { font-family:'Inter',sans-serif; }
html { scroll-behavior:smooth; }
body { background:#f8fafc; overflow-x:hidden; }
.gradient-text { background:linear-gradient(90deg,#0b2a5b 0%,#3b82f6 55%,#60a5fa 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-bg { position:absolute; inset:0; pointer-events:none; background: radial-gradient(900px 450px at 20% 15%, rgba(59,130,246,.22), transparent 60%), radial-gradient(700px 350px at 85% 20%, rgba(11,42,91,.18), transparent 55%), radial-gradient(1000px 600px at 45% 100%, rgba(148,163,184,.20), transparent 60%); }
.nav-link { font-weight:600; color:rgb(15 23 42); opacity:.9; transition:color .2s ease; }
.nav-link:hover { color:rgb(29 78 216); }
.mobile-link { display:block; padding:.65rem .75rem; border-radius:.9rem; font-weight:700; color:rgb(15 23 42); border:1px solid rgb(226 232 240); background:white; transition:background .2s ease; }
.mobile-link:hover { background:rgb(248 250 252); }
.btn { display:inline-flex; align-items:center; gap:.5rem; border-radius:1rem; padding:1rem 1.5rem; font-weight:800; line-height:1; transition:all .3s ease; box-shadow:0 1px 0 rgba(15,23,42,.04); cursor:pointer; border:none; }
.btn:active { transform:translateY(1px); }
.btn-primary { background:rgb(11 42 91); color:white; }
.btn-primary:hover { background:rgb(29 78 216); transform:translateY(-3px); box-shadow:0 12px 35px rgba(11,42,91,.4); }
.btn-secondary { background:white; color:rgb(15 23 42); border:1px solid rgb(226 232 240); }
.btn-secondary:hover { background:rgb(248 250 252); transform:translateY(-3px); box-shadow:0 12px 35px rgba(2,6,23,.15); }
.btn-outline { background:transparent; color:rgb(11 42 91); border:2px solid rgb(11 42 91); }
.btn-outline:hover { background:rgb(11 42 91); color:white; transform:translateY(-3px); box-shadow:0 12px 35px rgba(11,42,91,.3); }
.glass-card { border-radius:1.75rem; border:1px solid rgba(226,232,240,.9); background:rgba(255,255,255,.8); backdrop-filter:blur(10px); padding:1.5rem; box-shadow:0 18px 55px rgba(2,6,23,.08); transition:all .3s ease; }
.glass-card:hover { transform:translateY(-4px); box-shadow:0 24px 65px rgba(2,6,23,.12); }
.section-title { font-size:2.5rem; line-height:3rem; font-weight:900; letter-spacing:-.02em; color:rgb(15 23 42); }
.stat-card { border:1px solid rgb(226 232 240); background:rgba(255,255,255,.7); border-radius:1.25rem; padding:1.25rem; box-shadow:0 8px 26px rgba(2,6,23,.06); transition:all .3s ease; animation:scaleIn .6s ease-out forwards; opacity:0; }
.stat-card:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(2,6,23,.1); }
.stat-icon { width:3rem; height:3rem; border-radius:1rem; display:grid; place-items:center; background:rgba(11,42,91,.08); color:rgb(11 42 91); }
.stat-title { margin-top:.75rem; font-weight:900; color:rgb(15 23 42); }
.stat-desc { margin-top:.25rem; font-size:.875rem; color:rgb(51 65 85); }
.feature-row { display:flex; gap:.75rem; align-items:flex-start; padding:1rem; border-radius:1.25rem; border:1px solid rgb(226 232 240); background:white; transition:all .2s ease; }
.feature-row:hover { border-color:rgb(59 130 246); background:rgb(248 250 252); }
.feature-row i { margin-top:.2rem; color:rgb(16 185 129); }
.pill { display:inline-flex; align-items:center; gap:.55rem; border-radius:999px; border:1px solid rgb(226 232 240); background:white; padding:.55rem .8rem; font-weight:800; color:rgb(15 23 42); transition:all .2s ease; }
.pill:hover { border-color:rgb(59 130 246); }
.pill i { color:rgb(29 78 216); }
.info-card,.step-card,.kpi-card,.service-card { border:1px solid rgb(226 232 240); background:white; border-radius:1.5rem; padding:1.25rem; box-shadow:0 10px 35px rgba(2,6,23,.06); transition:all .3s ease; }
.info-card:hover,.kpi-card:hover,.service-card:hover { transform:translateY(-4px); box-shadow:0 20px 50px rgba(2,6,23,.1); }
.info-icon,.kpi-icon { width:3rem; height:3rem; border-radius:1.1rem; display:grid; place-items:center; background:rgba(29,78,216,.08); color:rgb(29 78 216); }
.info-title,.kpi-title { margin-top:.75rem; font-weight:900; }
.info-desc,.kpi-desc { margin-top:.25rem; font-size:.9rem; color:rgb(51 65 85); }
.step-card { position:relative; overflow:hidden; }
.step-card:hover { border-color:rgb(59 130 246); }
.step-card::before { content:''; position:absolute; top:0; left:0; width:4px; height:100%; background:linear-gradient(180deg,#0b2a5b,#3b82f6); opacity:0; transition:opacity .3s ease; }
.step-card:hover::before { opacity:1; }
.step-num { width:2.5rem; height:2.5rem; border-radius:.9rem; display:grid; place-items:center; background:rgb(11 42 91); color:white; font-weight:900; font-size:1.1rem; }
.contact-row { display:flex; align-items:center; gap:.75rem; color:rgb(51 65 85); transition:color .2s ease; }
.contact-row:hover { color:rgb(29 78 216); }
.contact-row i { color:rgb(29 78 216); }
.link { font-weight:800; color:rgb(11 42 91); transition:color .2s ease; }
.link:hover { color:rgb(29 78 216); }
.label { display:block; font-size:.85rem; font-weight:800; color:rgb(51 65 85); margin-bottom:.35rem; }
.input { width:100%; border-radius:1rem; border:1px solid rgb(226 232 240); background:white; padding:.85rem 1rem; outline:none; transition:all .2s ease; }
.input:focus { border-color:rgba(29,78,216,.65); box-shadow:0 0 0 4px rgba(59,130,246,.15); }
.footer-link { color:rgb(203 213 225); font-weight:700; transition:color .2s ease; }
.footer-link:hover { color:white; }
.service-card:hover { box-shadow:0 20px 50px rgba(2,6,23,.12); border-color:rgb(59 130 246); }
.service-price { font-weight:900; color:rgb(11 42 91); font-size:1.25rem; }
.chip { display:inline-flex; align-items:center; gap:.4rem; border-radius:999px; border:1px solid rgb(226 232 240); background:rgb(248 250 252); padding:.35rem .6rem; font-weight:800; font-size:.75rem; color:rgb(51 65 85); }
.cart-fab { position:fixed; right:20px; bottom:20px; z-index:60; transition:transform .2s ease; }
.cart-fab:hover { transform:scale(1.05); }
.drawer-overlay { position:fixed; inset:0; background:rgba(2,6,23,.55); z-index:70; opacity:0; transition:opacity .3s ease; }
.drawer-overlay:not(.hidden) { opacity:1; }
.drawer { position:fixed; top:0; right:0; height:100%; width:min(520px,92vw); background:white; z-index:80; box-shadow:-20px 0 60px rgba(2,6,23,.25); transform:translateX(100%); transition:transform .3s cubic-bezier(.4,0,.2,1); }
.drawer.open { transform:translateX(0); }
.animate-fade-in { animation:fadeIn .8s ease-out forwards; }
.animate-slide-up { animation:slideUp .8s ease-out forwards; }
.animate-scale-in { animation:scaleIn .5s ease-out forwards; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideUp { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
@keyframes scaleIn { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
@keyframes pulse-glow { 0%,100%{box-shadow:0 0 20px rgba(59,130,246,.3)} 50%{box-shadow:0 0 40px rgba(59,130,246,.6)} }
@keyframes slideInLeft { from{opacity:0;transform:translateX(-60px)} to{opacity:1;transform:translateX(0)} }
@keyframes slideInRight { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }
.floating { animation:float 3s ease-in-out infinite; }
.floating-delayed { animation:float 3s ease-in-out infinite; animation-delay:1s; }
.glow { animation:pulse-glow 2s ease-in-out infinite; }
.gradient-border { position:relative; background:white; border-radius:1.5rem; }
.gradient-border::before { content:''; position:absolute; inset:-2px; background:linear-gradient(135deg,#0b2a5b,#3b82f6,#60a5fa); border-radius:1.5rem; z-index:-1; }
.reveal { opacity:0; transform:translateY(30px); transition:all .6s ease; }
.reveal.active { opacity:1; transform:translateY(0); }
.hero-particle { position:absolute; border-radius:50%; background:rgba(59,130,246,.1); animation:float 4s ease-in-out infinite; }
.hero-particle:nth-child(1){width:60px;height:60px;top:10%;left:5%;animation-delay:0s}.hero-particle:nth-child(2){width:40px;height:40px;top:60%;left:10%;animation-delay:1s}.hero-particle:nth-child(3){width:80px;height:80px;top:20%;right:10%;animation-delay:2s}.hero-particle:nth-child(4){width:50px;height:50px;top:70%;right:5%;animation-delay:.5s}.hero-particle:nth-child(5){width:30px;height:30px;top:40%;left:50%;animation-delay:1.5s}
.hero-content { animation:slideUp 1s ease-out forwards; }
.hero-title { animation:slideInLeft 1s ease-out forwards; animation-delay:.3s; opacity:0; }
.hero-subtitle { animation:slideInRight 1s ease-out forwards; animation-delay:.5s; opacity:0; }
.hero-buttons { animation:fadeIn 1s ease-out forwards; animation-delay:.7s; opacity:0; }
.hero-stats { animation:fadeIn 1s ease-out forwards; animation-delay:.9s; opacity:0; }
.stat-card:nth-child(1){animation-delay:1s}.stat-card:nth-child(2){animation-delay:1.1s}.stat-card:nth-child(3){animation-delay:1.2s}.stat-card:nth-child(4){animation-delay:1.3s}
::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#0b2a5b,#3b82f6);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#1e40af,#2563eb)}
.badge-new{background:linear-gradient(135deg,#3b82f6,#0b2a5b);color:white;font-size:.7rem;padding:.2rem .5rem;border-radius:999px;font-weight:800}
.rotate-icon{animation:rotate 3s linear infinite}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.tech-stack-item{display:flex;align-items:center;gap:.75rem;padding:1rem;border-radius:1rem;background:white;border:1px solid rgb(226 232 240);transition:all .3s ease}.tech-stack-item:hover{border-color:rgb(59 130 246);transform:translateY(-2px)}
.tech-icon{width:2.5rem;height:2.5rem;border-radius:.75rem;display:grid;place-items:center;background:rgba(59,130,246,.1);color:rgb(59 130 246)}
.testimonial-card{border:1px solid rgb(226 232 240);background:white;border-radius:1.5rem;padding:1.5rem;box-shadow:0 10px 35px rgba(2,6,23,.06);transition:all .3s ease}.testimonial-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(2,6,23,.1)}
.testimonial-stars{color:rgb(251 191 36)}
.faq-item{border:1px solid rgb(226 232 240);background:white;border-radius:1.25rem;overflow:hidden;transition:all .3s ease}
.faq-question{padding:1.25rem;font-weight:800;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .2s ease}
.faq-question:hover{background:rgb(248 250 252)}
.faq-answer{padding:0 1.25rem 1.25rem;color:rgb(51 65 85);line-height:1.6}
.portfolio-item{border-radius:1.5rem;overflow:hidden;border:1px solid rgb(226 232 240);background:white;transition:all .3s ease}
.portfolio-item:hover{transform:translateY(-4px);box-shadow:0 20px 50px rgba(2,6,23,.1)}
.portfolio-image{height:200px;background:linear-gradient(135deg,#0b2a5b,#3b82f6);display:flex;align-items:center;justify-content:center;color:white;font-size:3rem}
.portfolio-content{padding:1.25rem}
.policy-card{border:1px solid rgb(226 232 240);background:white;border-radius:1.5rem;padding:0;box-shadow:0 10px 35px rgba(2,6,23,.06);margin-bottom:1.5rem;overflow:hidden}
.policy-header{padding:1.5rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:background .2s ease}
.policy-header:hover{background:rgb(248 250 252)}
.policy-title{font-size:1.25rem;font-weight:900;color:rgb(11 42 91);display:flex;align-items:center;gap:.75rem}
.policy-title i{color:rgb(59 130 246)}
.policy-content{max-height:0;overflow:hidden;transition:max-height .4s ease}
.policy-content.open{max-height:2000px}
.policy-body{padding:0 1.5rem 1.5rem;color:rgb(51 65 85);line-height:1.8}
.policy-body ul{list-style:none;padding-left:0}
.policy-body li{padding:.5rem 0 .5rem 1.5rem;position:relative}
.policy-body li::before{content:'✓';position:absolute;left:0;color:rgb(16 185 129);font-weight:bold}
.payment-logos{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.payment-logo{height:32px;width:auto;opacity:.8;transition:all .3s ease}
.payment-logo:hover{opacity:1}
.cookie-banner{position:fixed;bottom:0;left:0;right:0;background:rgb(11 42 91);color:white;padding:1.5rem;z-index:110;display:none;box-shadow:0 -8px 28px rgba(0,0,0,.18)}
.cookie-banner.show{display:block;animation:slideUp .5s ease-out forwards}
.cookie-banner .btn-outline{color:#fff;border-color:#fff}
.cookie-banner .btn-outline:hover{background:#fff;color:#0b2a5b}
.cookie-banner a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.cookie-banner a:hover{opacity:.95}
.modal-overlay{position:fixed;inset:0;background:rgba(2,6,23,.7);z-index:90;display:none}
.modal-overlay.show{display:block}
.modal-content{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:white;border-radius:1.5rem;padding:2rem;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;z-index:91}

.nav-link {
  font-weight: 600;
  color: rgb(15 23 42);
  opacity: 0.9;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: rgb(29 78 216);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  font-weight: 800;
  line-height: 1;
  transition: all 0.3s ease;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: rgb(11 42 91);
  color: white;
}

.btn-primary:hover {
  background: rgb(29 78 216);
}

.btn-secondary {
  background: white;
  color: rgb(15 23 42);
  border: 1px solid rgb(226 232 240);
}

.section-title {
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgb(15 23 42);
}

.glass-card,
.service-card,
.info-card,
.stat-card,
.policy-card,
.portfolio-item {
  border: 1px solid rgb(226 232 240);
  background: white;
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: 0 10px 35px rgba(2, 6, 23, 0.06);
  transition: all 0.3s ease;
}

.service-card:hover,
.info-card:hover,
.stat-card:hover,
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.1);
}

.service-price {
  font-weight: 900;
  color: rgb(11 42 91);
  font-size: 1.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgb(226 232 240);
  background: rgb(248 250 252);
  padding: 0.35rem 0.6rem;
  font-weight: 800;
  font-size: 0.75rem;
  color: rgb(51 65 85);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  z-index: 70;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.drawer-overlay:not(.hidden) {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 92vw);
  background: white;
  z-index: 80;
  box-shadow: -20px 0 60px rgba(2, 6, 23, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.open {
  transform: translateX(0);
}

.label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: rgb(51 65 85);
  margin-bottom: 0.35rem;
}

.input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgb(226 232 240);
  background: white;
  padding: 0.85rem 1rem;
  outline: none;
}

.input:focus {
  border-color: rgba(29, 78, 216, 0.65);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.badge-new {
  background: linear-gradient(135deg, #3b82f6, #0b2a5b);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgb(226 232 240);
  background: white;
  padding: 0.55rem 0.8rem;
  font-weight: 800;
  color: rgb(15 23 42);
  transition: all 0.2s ease;
}

.pill i {
  color: rgb(29 78 216);
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  animation: float 4s ease-in-out infinite;
}

.hero-particle:nth-child(1) { width: 60px; height: 60px; top: 10%; left: 5%; animation-delay: 0s; }
.hero-particle:nth-child(2) { width: 40px; height: 40px; top: 60%; left: 10%; animation-delay: 1s; }
.hero-particle:nth-child(3) { width: 80px; height: 80px; top: 20%; right: 10%; animation-delay: 2s; }
.hero-particle:nth-child(4) { width: 50px; height: 50px; top: 70%; right: 5%; animation-delay: 0.5s; }
.hero-particle:nth-child(5) { width: 30px; height: 30px; top: 40%; left: 50%; animation-delay: 1.5s; }

.floating {
  animation: float 3s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  border-color: rgb(59 130 246);
}

.portfolio-preview {
  height: 180px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #0b2a5b, #3b82f6);
  display: grid;
  place-items: center;
  color: white;
  font-size: 2rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .floating,
  .hero-particle,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
