:root {
    --ink: #16191d;
    --muted: #687078;
    --blue: #5d6af0;
    --blue-dark: #3947c8;
    --blue-soft: #eef0ff;
    --cream: #f5f6fb;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, Arial, Helvetica, sans-serif;
    background: var(--white);
}
a { color: inherit; }

.code-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 75% 35%, rgba(93,106,240,.15), transparent 30%), linear-gradient(135deg, #f7f8ff, #fff 60%);
}
.computer-glow {
    position: absolute;
    left: 55%;
    top: 28%;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: rgba(93,106,240,.08);
    filter: blur(45px);
}
.computer {
    position: absolute;
    right: 4%;
    top: 18%;
    width: min(52vw, 720px);
    opacity: .88;
}
.monitor { overflow: hidden; border: 14px solid #20232a; border-bottom-width: 18px; border-radius: 18px; background: #11151d; box-shadow: 0 35px 90px rgba(35,42,91,.22); transform: perspective(1200px) rotateY(-5deg); }
.monitor-top { height: 36px; display: flex; align-items: center; padding: 0 15px; color: #8991a1; background: #20242c; font-size: 11px; }
.window-dots { display: flex; gap: 5px; margin-right: 18px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff6b68; }
.window-dots i:nth-child(2) { background: #ffc85c; }
.window-dots i:nth-child(3) { background: #61d694; }
.code-screen { height: 340px; padding: 24px; overflow: hidden; }
.code-screen pre { margin: 0; color: #c9d4ff; font: 13px/1.8 Consolas, monospace; white-space: pre-wrap; }
.typing-cursor { display: inline-block; width: 7px; height: 16px; margin-left: 3px; vertical-align: -2px; background: var(--blue); animation: blink 1s steps(1) infinite; }
.monitor-neck { width: 80px; height: 68px; margin: -1px auto 0; background: linear-gradient(90deg, #20232a, #454b57, #20232a); }
.monitor-base { width: 260px; height: 18px; margin: 0 auto; border-radius: 50%; background: #292c34; }
@keyframes blink { 50% { opacity: 0; } }

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100% - 1120px)/2));
}
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; text-decoration: none; }
.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--white);
    background: var(--blue);
    font-size: 23px;
    box-shadow: 0 8px 22px rgba(93,106,240,.28);
}
.menu { display: flex; align-items: center; gap: 32px; }
.menu a { font-size: 14px; font-weight: 600; text-decoration: none; }
.menu-cta { padding: 12px 18px; border-radius: 8px; color: white !important; background: var(--blue); }
.menu-button { display: none; }

.hero {
    min-height: 760px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding: 125px max(24px, calc((100% - 1120px)/2)) 70px;
    overflow: hidden;
}
.hero-content { position: relative; z-index: 2; }
.eyebrow { margin-bottom: 16px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 620px; margin: 0; font-size: clamp(54px, 6vw, 78px); line-height: .98; letter-spacing: -.045em; }
.hero h1 span { color: var(--blue); }
.hero-content > p { max-width: 580px; margin: 28px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 30px rgba(93,106,240,.24); }
.button-secondary { border: 1px solid #dfe2ec; background: rgba(255,255,255,.88); }
.stats { display: flex; gap: 42px; margin-top: 48px; }
.stats div { display: grid; gap: 4px; }
.stats strong { font-size: 20px; }
.stats span { color: var(--muted); font-size: 11px; }

.hero-preview {
    position: relative;
    z-index: 2;
    aspect-ratio: 1.28;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 14px;
    background: white;
    box-shadow: 0 35px 90px rgba(42,49,93,.18);
    transform: rotate(2deg);
}
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f0f2f7; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff716c; }
.browser-bar i:nth-child(2) { background: #ffc85b; }
.browser-bar i:nth-child(3) { background: #62d48c; }
.preview-layout { height: calc(100% - 38px); display: grid; grid-template-columns: 18% 82%; }
.preview-sidebar { border-right: 1px solid #edf0f5; background: #fafaff; }
.preview-main { position: relative; padding: 9% 12%; }
.preview-pill { width: 25%; height: 9px; border-radius: 10px; background: #dfe3ff; }
.preview-title { width: 70%; height: 32px; margin-top: 18px; border-radius: 5px; background: #222733; }
.preview-line { width: 62%; height: 10px; margin-top: 17px; border-radius: 5px; background: #dfe3ea; }
.preview-button { width: 24%; height: 28px; margin-top: 22px; border-radius: 5px; background: var(--blue); }
.preview-cards { position: absolute; left: 12%; right: 12%; bottom: 12%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.preview-cards span { height: 72px; border-radius: 8px; background: linear-gradient(145deg, #f0f2ff, #e4e7fa); }

.section { padding: 110px max(24px, calc((100% - 1120px)/2)); }
.section-heading { margin-bottom: 48px; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading h2 { max-width: 650px; margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--muted); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 270px; padding: 32px; border: 1px solid #e9ebf2; border-radius: 14px; background: white; box-shadow: 0 18px 45px rgba(43,48,78,.06); }
.service-card.featured { color: white; border-color: var(--blue); background: var(--blue); transform: translateY(-12px); }
.service-number { color: var(--blue); font-size: 12px; font-weight: 800; }
.featured .service-number { color: #dfe2ff; }
.service-card h3 { margin: 70px 0 12px; font-size: 23px; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.featured p { color: rgba(255,255,255,.78); }

.process { background: var(--cream); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-grid article { padding: 28px; border-top: 2px solid var(--blue); background: white; }
.process-grid article > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 800; }
.process-grid h3 { margin: 45px 0 10px; font-size: 20px; }
.process-grid p { margin: 0; color: var(--muted); line-height: 1.65; }

.reviews { background: linear-gradient(180deg, #f8f9ff, #fff); }
.reviews-layout { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; align-items: start; gap: 28px; }
.review-form, .review-card { padding: 28px; border: 1px solid #e9ebf2; border-radius: 14px; background: white; box-shadow: 0 18px 45px rgba(43,48,78,.06); }
.review-form h3, .review-list-heading h3 { margin: 0; font-size: 20px; }
.review-field { display: grid; gap: 9px; margin-top: 22px; font-size: 13px; font-weight: 700; }
.review-field input, .review-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #dfe2ec; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 14px; }
.review-field textarea { min-height: 130px; resize: vertical; }
.review-field input:focus, .review-field textarea:focus, .star-picker button:focus-visible, .review-submit:focus-visible { outline: 3px solid rgba(93,106,240,.3); outline-offset: 2px; border-color: var(--blue); }
.review-rating { margin: 22px 0 0; padding: 0; border: 0; }
.review-rating legend { margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.star-picker { display: flex; gap: 3px; }
.star-picker button { padding: 0 2px; border: 0; color: #d3d7e3; background: transparent; font-size: 32px; line-height: 1.2; cursor: pointer; }
.star-picker button.is-selected, .star-picker button.is-preview { color: #f0ad32; }
.review-submit { width: 100%; margin-top: 22px; border: 0; cursor: pointer; }
.review-submit:disabled { opacity: .65; cursor: wait; }
.review-status { min-height: 20px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.review-status.is-error { color: #b42318; }
.review-thanks { margin-top: 12px; padding: 22px; border: 1px solid #dfe2ff; border-radius: 12px; background: linear-gradient(135deg, #fff, #f3f4ff); box-shadow: 0 12px 30px rgba(57,71,200,.08); }
.review-thanks[hidden] { display: none; }
.review-thanks > p { margin: 0; color: #30364a; font-size: 14px; line-height: 1.75; }
.thanks-signature { position: relative; width: 158px; height: 46px; margin: 8px 0 0 auto; color: var(--blue-dark); }
.thanks-signature-text { display: inline-block; clip-path: inset(0 100% 0 0); font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 27px; font-style: italic; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.thanks-pen { position: absolute; top: 6px; left: 0; width: 22px; height: 22px; fill: #dfe2ff; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; opacity: 0; }
.review-thanks.is-animating .thanks-signature-text { animation: signature-reveal 2.2s ease-out forwards; }
.review-thanks.is-animating .thanks-pen { animation: signature-pen 2.2s ease-in-out forwards; }
@keyframes signature-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes signature-pen {
    8% { opacity: 1; transform: translate(0, 15px) rotate(-35deg); }
    85% { opacity: 1; }
    100% { opacity: 0; transform: translate(126px, 2px) rotate(-35deg); }
}
.review-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-list-heading > span { color: var(--muted); font-size: 13px; }
.review-list { display: grid; gap: 14px; margin-top: 16px; }
.review-card { padding: 22px; box-shadow: 0 10px 28px rgba(43,48,78,.05); }
.review-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.review-card-name { margin: 0; font-size: 15px; font-weight: 800; }
.review-card-date { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.review-card-stars { flex-shrink: 0; color: #f0ad32; letter-spacing: 2px; }
.review-card-text { margin: 16px 0 0; color: #444b55; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.review-empty { padding: 24px; border: 1px dashed #dfe2ec; border-radius: 12px; color: var(--muted); text-align: center; }

.contact { padding: 90px max(24px, calc((100% - 1120px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 50px; color: white; background: var(--ink); }
.contact h2 { max-width: 650px; margin: 0; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; }
.contact p { max-width: 560px; color: rgba(255,255,255,.68); line-height: 1.7; }
.contact-links { display: grid; gap: 12px; flex-shrink: 0; }
.social-link { min-width: 260px; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; text-decoration: none; }
.instagram-link { background: var(--blue); border-color: var(--blue); }
.social-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-dot { fill: white; stroke: none; }
.whatsapp-link svg path:last-child { fill: currentColor; stroke: none; }

.faq-section { background: linear-gradient(180deg, #f8f9ff, #fff); }
.faq-heading { max-width: 900px; margin-right: auto; margin-left: auto; }
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid #e6e8f1; border-radius: 12px; background: white; box-shadow: 0 10px 28px rgba(43,48,78,.04); }
.faq-question { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.5; list-style: none; cursor: pointer; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question:focus-visible { outline: 3px solid rgba(93,106,240,.3); outline-offset: -3px; }
.faq-question:hover { color: var(--blue-dark); }
.faq-icon { position: relative; width: 28px; height: 28px; flex: 0 0 28px; border: 1px solid #e5e7ef; border-radius: 50%; }
.faq-icon::before, .faq-icon::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; background: var(--blue); content: ""; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer-grid { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item[open] .faq-answer-grid { grid-template-rows: 1fr; }
.faq-answer-inner { min-height: 0; overflow: hidden; }
.faq-answer-inner p { margin: 0; padding: 0 22px 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.project-wizard {
    width: min(820px, calc(100% - 32px));
    max-width: none;
    max-height: min(900px, calc(100% - 32px));
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    color: var(--ink);
    background: white;
    box-shadow: 0 30px 100px rgba(20,25,55,.28);
}
.project-wizard::backdrop { background: rgba(17,21,29,.62); backdrop-filter: blur(5px); }
.wizard-content { padding: clamp(24px, 5vw, 42px); }
.wizard-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.wizard-heading .eyebrow { margin-bottom: 10px; }
.wizard-heading h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.035em; }
.wizard-heading p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.wizard-close { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #e9ebf2; border-radius: 50%; color: var(--muted); background: white; font: 28px/1 Manrope, Arial, sans-serif; cursor: pointer; }
.wizard-close:hover { color: var(--ink); background: var(--cream); }
.wizard-close:focus-visible, .wizard-submit:focus-visible, .wizard-option:has(input:focus-visible) { outline: 3px solid rgba(93,106,240,.3); outline-offset: 3px; }
.wizard-group { min-width: 0; margin: 26px 0 0; padding: 0; border: 0; }
.wizard-group legend { width: 100%; margin-bottom: 12px; font-size: 14px; font-weight: 800; }
.wizard-group legend span, .wizard-field > span { margin-left: 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
.wizard-options { display: grid; gap: 10px; }
.project-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wizard-option { min-width: 0; min-height: 68px; display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid #e5e7ef; border-radius: 10px; background: white; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.wizard-option:has(input:checked) { border-color: var(--blue); background: #f6f7ff; box-shadow: 0 0 0 2px rgba(93,106,240,.08); }
.wizard-option input { width: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--blue); }
.option-copy { display: grid; gap: 4px; }
.option-copy strong { font-size: 13px; }
.option-copy small { color: var(--muted); font-size: 11px; line-height: 1.5; }
.compatibility-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-option { min-height: 48px; align-items: center; padding: 12px 14px; }
.compact-option input { margin-top: 0; }
.wizard-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.wizard-field { display: block; font-size: 12px; font-weight: 700; }
.wizard-field input { width: 100%; min-height: 46px; margin-top: 8px; padding: 0 13px; border: 1px solid #dfe2ec; border-radius: 8px; color: var(--ink); background: white; font: inherit; font-size: 13px; }
.wizard-field input:focus { outline: 3px solid rgba(93,106,240,.2); border-color: var(--blue); }
.wizard-note { margin: 16px 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.wizard-submit { width: 100%; border: 0; cursor: pointer; }
.wizard-submit:hover { background: var(--blue-dark); }

footer { min-height: 130px; padding: 35px max(24px, calc((100% - 1120px)/2)); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; background: #101217; color: white; }
footer p { margin: 0; color: #9298a4; font-size: 12px; text-align: center; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
    .site-header { height: 80px; }
    .menu-button { display: block; border: 0; color: var(--ink); background: transparent; font-weight: 700; }
    .menu { position: absolute; top: 70px; right: 24px; display: none; min-width: 210px; padding: 18px; border-radius: 10px; background: white; box-shadow: 0 18px 50px rgba(30,35,65,.16); }
    .menu.open { display: grid; }
    .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; }
    .hero-preview { max-width: 620px; }
    .computer { right: -25%; top: 12%; width: 85vw; opacity: .3; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card.featured { transform: none; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .reviews-layout { grid-template-columns: 1fr; }
    .section-heading { align-items: start; flex-direction: column; }
    .contact { align-items: start; flex-direction: column; }
    .project-wizard { max-height: calc(100% - 24px); }
}
@media (max-width: 600px) {
    .hero { gap: 45px; padding-top: 115px; }
    .hero h1 { font-size: 48px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .stats { gap: 20px; justify-content: space-between; }
    .process-grid { grid-template-columns: 1fr; }
    .review-form, .review-card { padding: 22px; }
    .section { padding-top: 80px; padding-bottom: 80px; }
    footer { grid-template-columns: 1fr; gap: 18px; text-align: center; }
    footer p:last-child { text-align: center; }
    .social-link { min-width: 0; }
    .project-options, .wizard-contact-fields { grid-template-columns: 1fr; }
    .wizard-group { margin-top: 22px; }
    .wizard-content { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .review-thanks.is-animating .thanks-signature-text,
    .review-thanks.is-animating .thanks-pen { animation: none; }
    .thanks-signature-text { clip-path: none; }
    .thanks-pen { display: none; }
    .wizard-option { transition: none; }
    .faq-answer-grid, .faq-icon::before, .faq-icon::after { transition: none; }
}
