/* Reset & Base */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Poppins',sans-serif;line-height:1.5;color:#fff;background:hsl(210,85%,28%);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}

.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.desktop-only{display:none}
.mobile-only{display:block}
@media(min-width:1024px){
  .desktop-only{display:flex}
  .mobile-only{display:none}
}

/* Navbar */
.navbar{position:fixed;top:0;left:0;right:0;z-index:50;transition:background .3s,box-shadow .3s;background:transparent}
.navbar.scrolled{background:hsl(210,85%,28%);box-shadow:0 4px 20px rgba(0,0,0,.15)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem}
.logo-img{height:80px;width:auto;object-fit:contain;filter:brightness(1.1)}
.nav-links{display:none;gap:2rem;align-items:center}
.nav-link{color:rgba(255,255,255,.8);font-weight:500;transition:color .3s}
.nav-link:hover,.nav-link.active{color:#fff}
.btn-contact{background:#fff;color:hsl(210,85%,28%);padding:.5rem 1.25rem;border-radius:9999px;font-weight:500;transition:background .3s}
.btn-contact:hover{background:rgba(255,255,255,.9)}
.menu-btn{color:#fff;padding:.5rem;display:flex;align-items:center}
.mobile-menu{display:none;background:hsl(210,85%,28%);margin:0 1.5rem 1rem;border-radius:.5rem;padding:.5rem 0;flex-direction:column;gap:0}
.mobile-menu.open{display:flex}
.mobile-link{padding:.75rem 1rem;color:rgba(255,255,255,.9);font-weight:500}
.mobile-link:hover{color:#fff}
.mobile-contact{margin:.5rem 1rem 0;padding:.75rem 0;text-align:center}

/* Hero */
.hero{position:relative;min-height:100vh;overflow:hidden;padding:6rem 0 3rem;background:linear-gradient(180deg,hsl(210,85%,32%) 0%,hsl(210,85%,24%) 50%,hsl(210,90%,18%) 100%)}
.hero-bg{position:absolute;inset:0;opacity:.1;pointer-events:none}
.hero-bg::before,.hero-bg::after{content:"";position:absolute;border-radius:50%;filter:blur(100px);background:hsl(210,100%,60%)}
.hero-bg::before{top:5rem;left:2.5rem;width:18rem;height:18rem;opacity:.3}
.hero-bg::after{bottom:5rem;right:2.5rem;width:24rem;height:24rem;opacity:.2}
.hero-inner{position:relative;z-index:10}
.hero-content{display:flex;flex-direction:column;align-items:center;text-align:center;max-width:48rem;margin:0 auto;gap:1.5rem;position:relative}
.hero-side{position:absolute;right:-140px;top:75%;transform:translateY(-50%);flex-direction:column;align-items:center;color:rgba(255,255,255,.4)}
@media(min-width:1280px){.hero-side{right:-180px}}
.dotted-arrow{margin-bottom:.5rem}
.hero-portrait{position:relative;width:10rem;height:10rem;border-radius:50%;overflow:hidden;border:4px solid rgba(255,255,255,.2);box-shadow:0 25px 50px -12px rgba(0,0,0,.3)}
.hero-portrait img{width:100%;height:100%;object-fit:cover}
.handwritten{font-family:'Caveat',cursive;color:#fff}
.name{font-size:1.5rem;margin-top:.75rem}
.title{font-size:1.25rem;color:rgba(255,255,255,.8)}
.tag{color:hsl(210,100%,60%);font-weight:600;letter-spacing:.1em;text-transform:uppercase;font-size:.875rem;margin-top:2rem}
.hero-title{font-size:clamp(2.25rem,6vw,4.5rem);font-weight:700;line-height:1.1;text-shadow:0 4px 6px rgba(0,0,0,.2)}
.hero-desc{font-size:1.125rem;color:rgba(255,255,255,.8);max-width:36rem;line-height:1.6}
.btn-hero{background:hsl(210,100%,60%);color:#fff;padding:1rem 2.5rem;border-radius:9999px;font-size:1.125rem;font-weight:600;box-shadow:0 20px 25px -5px rgba(0,0,0,.2);transition:transform .3s,box-shadow .3s}
.btn-hero:hover{transform:translateY(-2px);box-shadow:0 25px 35px -5px rgba(0,0,0,.3)}
.hero-portrait-mobile{padding-top:2rem;text-align:center}
.hero-portrait-mobile .hero-portrait{width:12rem;height:12rem;margin:0 auto}

/* Companies */
.companies{background:#fff;padding:3rem 0;color:#1f2937}
.companies-label{text-align:center;color:#374151;font-size:.875rem;text-transform:uppercase;letter-spacing:.15em;margin-bottom:2rem;font-weight:500}
.companies-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:3rem}
@media(min-width:768px){.companies-row{gap:5rem}}
.company-logo{height:2.5rem;opacity:.6;filter:grayscale(1);transition:all .5s}
@media(min-width:768px){.company-logo{height:3rem}}
.company-logo:hover{filter:grayscale(0);opacity:1}
.company-logo img{height:100%;width:auto;object-fit:contain}

/* Services */
.services{background:#fff;padding:5rem 0;color:#1f2937}
.section-head{text-align:center;margin-bottom:4rem}
.section-head h2{font-size:clamp(1.875rem,4vw,2.25rem);font-weight:700;color:#111827;margin-bottom:1rem}
.section-head p{color:#4b5563;max-width:42rem;margin:0 auto}
.service-block{margin-bottom:6rem}
.service-block:last-child{margin-bottom:0}
.service-head{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}
.icon-box{width:3rem;height:3rem;border-radius:.75rem;background:hsla(210,85%,28%,.1);display:flex;align-items:center;justify-content:center;color:hsl(210,85%,28%)}
.service-head h3{font-size:1.875rem;font-weight:700;color:#111827}
.service-grid{display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}
@media(min-width:1024px){.service-grid{grid-template-columns:1fr 1fr;gap:3rem}}
.service-text{color:#4b5563;font-size:1.125rem;line-height:1.75}

/* Dashboard mockup */
.dashboard-mock{background:#111827;border-radius:1rem;overflow:hidden;box-shadow:0 25px 50px -12px rgba(0,0,0,.4);display:flex}
.dash-sidebar{width:3.5rem;background:#0f172a;display:flex;flex-direction:column;align-items:center;padding:1rem 0;gap:1rem}
.dash-logo{width:2rem;height:2rem;border-radius:.5rem;background:hsl(210,85%,28%);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}
.dash-icon{width:2.5rem;height:2.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:#9ca3af;cursor:pointer;transition:background .2s}
.dash-icon:hover{background:#1f2937}
.dash-icon.active{background:hsl(210,85%,28%);color:#fff}
.dash-main{flex:1;padding:1.25rem;min-width:0}
.dash-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}
.dash-header h4{font-size:1rem;font-weight:600;color:#f3f4f6}
.dash-pill{font-size:.75rem;color:#9ca3af;background:#1f2937;padding:.375rem .75rem;border-radius:.5rem}
.dash-stats{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1.25rem}
.stat-card{background:#fff;border-radius:.75rem;padding:.875rem;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.stat-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}
.stat-icon{width:2.25rem;height:2.25rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;color:#fff}
.stat-blue{background:#3b82f6}.stat-emerald{background:#10b981}.stat-violet{background:#8b5cf6}.stat-amber{background:#f59e0b}
.badge-up{font-size:.75rem;font-weight:500;color:#059669;background:#ecfdf5;padding:.125rem .5rem;border-radius:9999px}
.stat-value{font-size:1.25rem;font-weight:700;color:#111827}
.stat-label{font-size:.75rem;color:#6b7280}
.orders-card{background:#1f2937;border-radius:.75rem;padding:1rem}
.orders-card h5{font-size:.875rem;font-weight:600;color:#e5e7eb;margin-bottom:.75rem}
.order-row{display:flex;align-items:center;justify-content:space-between;font-size:.75rem;padding:.25rem 0;gap:.5rem;flex-wrap:wrap}
.o-id{color:#6b7280}.o-cust{color:#d1d5db;font-weight:500;flex:1}
.o-amt{color:#f3f4f6;font-weight:600}
.o-status{font-size:.75rem;padding:.125rem .5rem;border-radius:9999px}
.o-status.done{background:rgba(16,185,129,.2);color:#34d399}
.o-status.pending{background:rgba(245,158,11,.2);color:#fbbf24}

.websites-img{border-radius:1rem;overflow:hidden}
.websites-img img{width:100%;height:auto}

/* Portfolio */
.portfolio{background:#f9fafb;padding:6rem 0 4rem;color:#1f2937}
.portfolio-title{font-size:clamp(1.875rem,4vw,2.25rem);font-weight:700;color:#111827;margin-bottom:1rem;text-align:center}
.portfolio-sub{color:#4b5563;max-width:42rem;margin:0 auto 3rem;text-align:center}
.portfolio-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.portfolio-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.portfolio-grid{grid-template-columns:1fr 1fr 1fr}}
.portfolio-card{background:#fff;border-radius:.75rem;overflow:hidden;box-shadow:0 10px 15px -3px rgba(0,0,0,.1);transition:box-shadow .5s,transform .5s;display:block}
.portfolio-card:hover{box-shadow:0 25px 35px -5px rgba(0,0,0,.15);transform:translateY(-4px)}
.portfolio-image{aspect-ratio:16/9;overflow:hidden;position:relative}
.portfolio-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.portfolio-card:hover .portfolio-image img{transform:scale(1.05)}
.browser-bar{position:absolute;top:0;left:0;right:0;height:1.5rem;background:#1f2937;display:flex;align-items:center;padding:0 .5rem;gap:.25rem;z-index:1}
.browser-bar span{width:.5rem;height:.5rem;border-radius:50%}
.browser-bar span:nth-child(1){background:#f87171}
.browser-bar span:nth-child(2){background:#fbbf24}
.browser-bar span:nth-child(3){background:#34d399}
.portfolio-info{padding:1rem}
.portfolio-info h3{font-size:1.125rem;font-weight:600;color:#111827;margin-bottom:.25rem}
.portfolio-info p{color:#6b7280;font-size:.875rem}
.portfolio-cta{margin-top:3rem;text-align:center}
.btn-pill{background:hsl(210,85%,28%);color:#fff;padding:1rem 4rem;font-size:1.125rem;border-radius:9999px;font-weight:500;transition:background .3s}
.btn-pill:hover{background:hsl(210,85%,24%)}

/* FAQ */
.faq{background:#fff;padding:5rem 0;color:#1f2937}
.faq-container{max-width:48rem}
.faq .section-head h2{margin-top:.75rem}
.eyebrow{color:hsl(210,85%,28%);font-weight:500;font-size:.875rem;text-transform:uppercase;letter-spacing:.15em}
.faq-list{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}
.faq-item{background:hsl(210,85%,95%);border-radius:.75rem;padding:0 1.5rem;box-shadow:0 1px 2px rgba(0,0,0,.05);transition:box-shadow .3s}
.faq-item:hover{box-shadow:0 4px 6px -1px rgba(0,0,0,.1)}
.faq-question{width:100%;text-align:left;color:#111827;font-weight:600;font-size:1rem;padding:1.25rem 0;display:flex;justify-content:space-between;align-items:center;gap:1rem}
@media(min-width:768px){.faq-question{font-size:1.125rem}}
.faq-question svg{flex-shrink:0;transition:transform .3s}
.faq-item.open .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease;color:#4b5563;line-height:1.65}
.faq-item.open .faq-answer{max-height:500px;padding-bottom:1.25rem}

/* CTA */
.cta{background:hsl(210,85%,28%);padding:6rem 0;color:#fff}
.cta-inner{max-width:56rem;text-align:center}
.cta h2{font-size:clamp(1.875rem,4vw,3rem);font-weight:700;margin-bottom:1.5rem}
.cta p{font-size:1.125rem;color:rgba(255,255,255,.85);margin-bottom:2.5rem;max-width:42rem;margin-left:auto;margin-right:auto}
@media(min-width:768px){.cta p{font-size:1.25rem}}
.btn-cta{display:inline-flex;align-items:center;gap:.5rem;background:#fff;color:hsl(210,85%,28%);padding:1rem 2rem;font-size:1.125rem;border-radius:9999px;font-weight:500;box-shadow:0 10px 15px -3px rgba(0,0,0,.2);transition:transform .3s,box-shadow .3s}
.btn-cta:hover{transform:translateY(-2px);box-shadow:0 20px 25px -5px rgba(0,0,0,.25)}

/* WhatsApp Float */
.wa-float{position:fixed;bottom:1.5rem;right:1.5rem;z-index:50;display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;background:#25D366;border-radius:50%;box-shadow:0 10px 15px -3px rgba(0,0,0,.2);transition:all .3s;opacity:0;transform:translateY(1rem);pointer-events:none}
.wa-float.show{opacity:1;transform:translateY(0);pointer-events:auto}
.wa-float:hover{background:#20bd5a;transform:scale(1.1)}

/* Modal */
.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:100;display:none;align-items:center;justify-content:center;padding:1rem}
.modal-overlay.open{display:flex}
.modal{background:#fff;color:#1f2937;border-radius:1rem;padding:2rem;max-width:24rem;width:100%;position:relative;box-shadow:0 25px 50px -12px rgba(0,0,0,.25)}
.modal-close{position:absolute;top:.75rem;right:1rem;font-size:1.75rem;color:#6b7280;line-height:1}
.modal h3{text-align:center;font-size:1.25rem;font-weight:600;margin-bottom:1.5rem}
.modal-body{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:.5rem 0}
.phone-row{display:flex;align-items:center;gap:.75rem;font-size:1.125rem;font-weight:500;color:hsl(210,85%,28%)}
.wa-link{display:flex;align-items:center;justify-content:center;gap:.5rem;width:100%;background:#25D366;color:#fff;padding:.75rem 1rem;border-radius:9999px;font-weight:500;transition:background .3s}
.wa-link:hover{background:#20bd5a}

/* Animations */
@keyframes slideUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
.animate-in{animation:slideUp .8s ease-out forwards}
