/* Kalam Enterprise — landing page styles (smart business theme) */
:root {
    --bg: #ffffff;
    --bg-2: #f4f7fc;
    --navy: #0b1f44;
    --navy-2: #12305f;
    --surface: #ffffff;
    --border: #e2e8f2;
    --text: #0f1b33;
    --muted: #5a6780;
    --blue: #1d4ed8;
    --sky: #0ea5e9;
    --green: #059669;
    --red: #dc2626;
    --grad: linear-gradient(110deg, #1d4ed8 0%, #0ea5e9 100%);
    --grad-text: linear-gradient(110deg, #1d4ed8 10%, #0891b2 100%);
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(15, 27, 51, .05), 0 4px 12px -4px rgba(15, 27, 51, .08);
    --shadow: 0 24px 60px -24px rgba(11, 31, 68, .28);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-bn: "Hind Siliguri", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; color: var(--navy); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: .98rem;
    border: 1px solid transparent; cursor: pointer; font-family: inherit;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 78, 216, .6); }
.btn-primary:hover { background: #1e40af; box-shadow: 0 14px 30px -10px rgba(29, 78, 216, .7); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #c7d2e4; }
.btn-sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* Nav */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.brand-mark {
    width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
    background: var(--navy); color: #fff; font-weight: 800; position: relative;
}
.brand-mark::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; border-radius: 2px; background: var(--sky); }
.brand-text span { color: var(--muted); font-weight: 500; margin-left: .25rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; font-size: .95rem; font-weight: 500; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; background: linear-gradient(180deg, #eef3fc 0%, #ffffff 100%); }
.hero-glow {
    position: absolute; inset: -10% -10% auto; height: 800px; pointer-events: none;
    background:
        radial-gradient(560px 380px at 85% 25%, rgba(14, 165, 233, .16), transparent 70%),
        radial-gradient(500px 360px at 10% 10%, rgba(29, 78, 216, .10), transparent 70%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(11, 31, 68, .13) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 60%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--border); font-size: .85rem; font-weight: 500; color: var(--navy-2); margin-bottom: 1.4rem; box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(5, 150, 105, .18); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); } }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; }
.bn-line { font-family: var(--font-bn); font-size: 1.3rem; font-weight: 500; color: var(--blue); margin-bottom: .8rem; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--navy-2); font-size: .92rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points .ic { color: var(--green); width: 18px; height: 18px; stroke-width: 2.5; }

/* Hero visual */
.hero-visual { position: relative; height: 480px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px dashed rgba(11, 31, 68, .18); border-radius: 50%; animation: spin 40s linear infinite; }
.orbit-1 { width: 440px; height: 440px; }
.orbit-2 { width: 320px; height: 320px; animation-direction: reverse; animation-duration: 30s; }
.orbit-1::before, .orbit-2::before {
    content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%;
    background: var(--sky); box-shadow: 0 0 0 5px rgba(14, 165, 233, .18);
}
.orbit-2::before { background: var(--blue); box-shadow: 0 0 0 5px rgba(29, 78, 216, .15); }
@keyframes spin { to { transform: rotate(360deg); } }
.device {
    position: relative; width: 250px; height: 330px; border-radius: 34px; padding: 10px;
    background: linear-gradient(160deg, #1b2c4f, #0b1f44); border: 1px solid #23365c;
    box-shadow: var(--shadow), 0 50px 80px -40px rgba(29, 78, 216, .45);
    transform: rotate(-6deg); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 50% { transform: rotate(-6deg) translateY(-12px); } }
.device-screen { height: 100%; border-radius: 26px; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 14px; color: var(--text); }
.ds-top { display: flex; gap: 5px; }
.ds-top span { width: 8px; height: 8px; border-radius: 50%; background: #dbe3f0; }
.ds-title { font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.ds-row { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.ds-row em { font-style: normal; font-weight: 600; color: var(--green); }
.ds-bar { height: 8px; border-radius: 99px; background: #e6ecf6; overflow: hidden; }
.ds-bar i { display: block; height: 100%; width: 70%; background: var(--grad); border-radius: inherit; animation: load 3s ease-in-out infinite alternate; }
@keyframes load { from { width: 45%; } to { width: 78%; } }
.ds-steps { display: grid; gap: 10px; margin-top: 4px; }
.ds-steps span { font-size: .8rem; color: #a3afc3; padding-left: 22px; position: relative; }
.ds-steps span::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #d3dbe8; background: #fff; }
.ds-steps .done { color: var(--muted); }
.ds-steps .done::before { background: var(--green); border-color: var(--green); }
.ds-steps .now { color: var(--navy); font-weight: 600; }
.ds-steps .now::before { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .15); }

.float-card {
    position: absolute; display: flex; align-items: center; gap: .7rem; padding: .75rem 1rem;
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow);
    animation: float 7s ease-in-out infinite;
}
.float-card .ic { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: #e8efff; color: var(--blue); }
.float-card b { display: block; font-size: .9rem; color: var(--navy); }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-1 { top: 40px; left: 0; }
.fc-2 { top: 190px; right: -10px; animation-delay: -2s; }
.fc-2 .ic { background: #e3f6ef; color: var(--green); }
.fc-3 { bottom: 40px; left: 30px; animation-delay: -4s; }
.fc-3 .ic { background: #e0f4fd; color: #0284c7; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* Stats */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.2rem 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat b { font-size: 2.4rem; font-weight: 800; color: #fff; }
.stat span { display: block; color: #9fb2d4; font-size: .9rem; }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }

/* Product cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card {
    position: relative; padding: 2rem; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::after {
    content: ""; position: absolute; left: 2rem; right: 2rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
    background: var(--grad); transform: scaleX(0); transition: transform .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: #c9d6ee; box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card-icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1.3rem;
    background: #eaf0ff; color: var(--blue);
}
.card-icon .ic { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card p.bn { font-family: var(--font-bn); color: var(--blue); font-size: .95rem; font-weight: 500; margin-bottom: .7rem; }

/* Seba */
.seba { background: var(--bg-2); border-block: 1px solid var(--border); }
.seba-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.seba-intro p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }
.seba-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.seba-item { padding: 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.seba-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.seba-item:nth-child(even) { translate: 0 30px; }
.seba-item .card-icon { background: #e3f6ef; color: var(--green); }
.seba-item h3 { font-size: 1.08rem; }
.seba-item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { position: relative; padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step:not(:last-child)::after {
    content: ""; position: absolute; top: 50px; right: -1.25rem; width: 1.25rem; height: 2px; background: #c9d6ee;
}
.step-n {
    display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
    font-size: 1.05rem; font-weight: 800; color: #fff; background: var(--navy);
}
.step:first-child .step-n { background: var(--blue); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Why */
.why { padding-top: 0; }
.why-box {
    position: relative; padding: 3.5rem; border-radius: 24px; overflow: hidden; color: #fff;
    background: radial-gradient(500px 300px at 100% 0%, rgba(14, 165, 233, .35), transparent 70%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    box-shadow: var(--shadow);
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center;
}
.why-box h2 { margin: 0; color: #fff; }
.why-box .eyebrow { color: #7dd3fc; }
.why-box .grad { background: linear-gradient(110deg, #7dd3fc, #a5b4fc); -webkit-background-clip: text; background-clip: text; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.why-list li { display: flex; gap: .8rem; }
.why-list .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #22c55e; color: #fff; stroke-width: 3; }
.why-list b { display: block; }
.why-list span { color: #b6c4de; font-size: .92rem; }
.pay-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); }
.pay-row span { color: #b6c4de; font-size: .9rem; margin-right: .4rem; }
.pay-row em { font-style: normal; font-weight: 600; font-size: .88rem; padding: .4rem .9rem; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { border-radius: 12px; background: #fff; border: 1px solid var(--border); padding: 0 1.4rem; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: #b9c9ea; }
.faq summary { cursor: pointer; padding: 1.2rem 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); transition: transform .3s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }

/* Contact */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info p { color: var(--muted); font-size: 1.05rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; font-weight: 500; color: var(--navy); }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list .ic { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-list a:hover { color: var(--blue); }

.form { padding: 2.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--navy); }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%; padding: .85rem 1rem; border-radius: 10px; font: inherit; font-weight: 400; font-size: .95rem;
    background: #f8fafd; border: 1px solid #d6deeb; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa6ba; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 78, 216, .12); }
.field input.invalid, .field textarea.invalid { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; }
.alert.ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert.err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Footer */
.footer { padding: 2.5rem 0; background: var(--navy); color: #fff; }
.footer .brand { color: #fff; }
.footer .brand-mark { background: #fff; color: var(--navy); }
.footer .brand-text span { color: #9fb2d4; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer p { color: #9fb2d4; font-size: .88rem; margin: 0; }
.footer-link { color: #9fb2d4; font-size: .9rem; }
.footer-link:hover { color: #fff; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid, .seba-grid, .contact-grid, .why-box { grid-template-columns: 1fr; }
    .hero-visual { height: 440px; max-width: 480px; margin-inline: auto; width: 100%; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .seba-grid, .contact-grid { gap: 3rem; }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
        padding: 1rem 16px 1.5rem; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
        transform: translateY(-10px); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease;
    }
    .nav-links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--border); color: var(--navy); }
    .nav-links .btn { margin-top: 1rem; }
    .nav.open { background: #fff; }
    .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
    .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding: 120px 0 60px; }
    .hero-visual { height: 380px; }
    .orbit-1 { width: 330px; height: 330px; }
    .orbit-2 { width: 240px; height: 240px; }
    .device { width: 200px; height: 270px; }
    .float-card { padding: .55rem .75rem; }
    .float-card .ic { width: 28px; height: 28px; padding: 5px; }
    .fc-1 { top: 10px; left: 0; }
    .fc-2 { top: 160px; right: 0; }
    .fc-3 { bottom: 10px; left: 10px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }

    .section { padding: 80px 0; }
    .card-grid, .steps, .seba-list, .why-list, .field-row { grid-template-columns: 1fr; }
    .seba-item:nth-child(even) { translate: none; }
    .why-box { padding: 2rem 1.4rem; }
    .form { padding: 1.4rem; }
}

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