* {
    box-sizing: border-box;
}
:root {
    --purple: #6d4aff;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --surface: #ffffff;
    --surface-alt: #f7f8ff;
    --surface-soft: #f3f4ff;
    --surface-muted: #eef2ff;
    --surface-border: rgba(15, 23, 42, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --gray: #64748b;
    --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.08);
    --shadow-soft-2: 0 10px 30px rgba(15, 23, 42, 0.06);
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.75;
    background: var(--surface-soft);
    color: var(--text-primary);
}
.container {
    max-width: 1280px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--purple); }
button, .btn { font-weight: 600; }
.header-top .container { max-width: 1200px; }
.header-top { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); transition: background .4s ease, border-color .4s ease, box-shadow .4s ease; border-bottom: 1px solid rgba(16,18,29,.08); }
.header-top .navbar { padding: .4rem 0; min-height: 78px; transition: padding .4s ease, background .4s ease; }
.header-top .navbar-brand { color: #10121D; letter-spacing: .02em; font-size: 1.25rem; }
.header-top .navbar-nav { gap: 1.5rem; align-items: center; }
.header-top .nav-link { color: #3f4254; padding: .3rem 0; border-radius: 0; background: transparent; position: relative; font-weight: 500; transition: color .25s ease; }
.header-top .nav-link::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--purple); transition: width .25s ease, opacity .25s ease; opacity: 0; }
.header-top .nav-link:hover { color: var(--purple); }
.header-top .nav-link:hover::after { width: 100%; opacity: 1; }
.header-top .nav-link.active { color: #4f3cf0; }
.header-top .nav-link.active::after { width: 100%; opacity: 1; }
.header-top .navbar-toggler { border: 1px solid rgba(16,18,29,.12); border-radius: 12px; padding: .45rem; transition: border-color .25s ease, transform .25s ease; }
.header-top .navbar-toggler:hover { transform: translateY(-1px); }
.header-top .navbar-toggler-icon { filter: none; }
.header-top .navbar-collapse { transition: max-height .35s ease, opacity .35s ease; }
.header-top .navbar-collapse.show { background: rgba(255,255,255,.98); border-radius: 20px; padding: 1.1rem; box-shadow: 0 22px 55px rgba(16,18,29,.08); margin-top: .8rem; }
.header-top .navbar-collapse .nav-link { width: 100%; padding: .9rem 1rem; }
.header-top .navbar-actions { display: flex; align-items: center; gap: .75rem; }
.header-top .btn-secondary-outline { color: #4b4b59; background: #fff; border: 1px solid rgba(16,18,29,.12); box-shadow: none; transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.header-top .btn-secondary-outline:hover { color: #3f3f5f; background: rgba(109,74,255,.04); border-color: rgba(109,74,255,.18); transform: translateY(-1px); }
.header-top .btn-cta { color: #fff; background: linear-gradient(135deg, #6d4aff, #5b3cf0); border: none; box-shadow: 0 18px 60px rgba(109,74,255,.18); transition: transform .25s ease, box-shadow .25s ease; }
.header-top .btn-cta:hover { transform: translateY(-1px); box-shadow: 0 22px 68px rgba(109,74,255,.22); }
.homepage .header-top { background: transparent; border-bottom: none; box-shadow: none; }
.homepage .header-top .navbar-brand { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.16); }
.homepage .header-top .nav-link { color: rgba(255,255,255,.92); }
.homepage .header-top .nav-link:hover { color: #fff; }
.homepage .header-top .nav-link::after { background: #fff; }
.homepage .header-top .navbar-toggler { border-color: rgba(255,255,255,.72); }
.homepage .header-top .navbar-toggler-icon { filter: invert(1); }
.homepage .header-top.scrolled { background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(16,18,29,.08); box-shadow: 0 14px 40px rgba(16,18,29,.08); }
.homepage .header-top.scrolled .navbar-brand { color: #10121D; text-shadow: none; }
.homepage .header-top.scrolled .nav-link { color: #4b4c5c; }
.homepage .header-top.scrolled .nav-link:hover { color: var(--purple); }
.homepage .header-top.scrolled .navbar-toggler { border-color: rgba(16,18,29,.12); }
.homepage .header-top.scrolled .navbar-toggler-icon { filter: none; }
.text-purple { color: var(--purple) !important; }
.text-purple-soft { color: rgba(109,74,255,.75); }
.btn-purple { color: #fff; text-shadow: none; background: linear-gradient(135deg, #6D4AFF, #5B3CF0); border-color: transparent; box-shadow: 0 20px 55px rgba(109,74,255,.16); font-weight: 700; padding: .95rem 1.85rem; border-radius: 999px; transition: transform .24s ease, box-shadow .24s ease; }
.btn-purple:hover, .btn-purple:focus { transform: translateY(-1px); background: linear-gradient(135deg, #5B3CF0, #4F3CE8); box-shadow: 0 26px 70px rgba(109,74,255,.18); }
.btn-purple:active { transform: translateY(0); box-shadow: 0 12px 26px rgba(109,74,255,.18); }
.btn-white.btn-purple { background: #fff; color: var(--purple); border: 1px solid rgba(109,74,255,.16); box-shadow: 0 18px 32px rgba(16,18,29,.07); }
.btn-white.btn-purple:hover { background: rgba(109,74,255,.08); }
.btn-outline-purple { color: var(--purple); border: 1px solid rgba(109,74,255,.18); background: rgba(255,255,255,.95); }
.btn-outline-purple:hover, .btn-outline-purple:focus { background: rgba(109,74,255,.1); color: var(--purple); }
.hero-section { position: relative; overflow: hidden; padding: 5.5rem 0; min-height: 80vh; background: linear-gradient(135deg, #0A102D 0%, #161B44 35%, #3D2AE7 100%); color: #F8F7FF; }
.hero-section::before { content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(109,74,255,.18), transparent 26%), radial-gradient(circle at bottom right, rgba(255,255,255,.09), transparent 20%);
    pointer-events: none;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-section .row { align-items: center; }
.hero-section .col-lg-6:first-child { max-width: 640px; }
.hero-section h1, .hero-section .display-5 { color: #fff; }
.hero-section p.lead { color: rgba(255,255,255,.82); max-width: 580px; }
.hero-section .badge { background: rgba(255,255,255,.1); color: #fff; }
.stat-card { min-height: 160px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.12); backdrop-filter: blur(16px); border-radius: 1.5rem; }
.hero-visual { border-radius: 2rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px rgba(16,18,29,.12); }
.hero-visual .visual-top { margin-bottom: 1.75rem; }
.hero-visual .dashboard-card { background: #fff; border-radius: 1.8rem; box-shadow: 0 20px 60px rgba(16,18,29,.08); }
.hero-visual .mini-card { background: #fff; border: 1px solid rgba(16,18,29,.08); border-radius: 1.3rem; }
.status-dot { width: 10px; height: 10px; border-radius: 100%; display: inline-block; }
.status-dot.bg-success { background: #6EE7B7; }
.chart-grid { gap: 0.75rem; }
.chart-bar { flex: 1; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, #6D4AFF, #3D2AE7); }
.chart-bar-1 { height: 40px; }
.chart-bar-2 { height: 90px; }
.chart-bar-3 { height: 65px; }
.chart-bar-4 { height: 110px; }
.chart-bar-5 { height: 75px; }
.section-title { font-size: clamp(2.4rem, 3vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1rem; }
.section-subtitle { color: var(--gray); max-width: 680px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; }
.badge { border-radius: 999px; padding: .7rem 1rem; letter-spacing: .02em; }
.trusted-logo img { max-height: 38px; filter: grayscale(80%); opacity: .85; transition: filter .2s ease, opacity .2s ease; }
.trusted-logo img:hover { filter: grayscale(0); opacity: 1; }
.feature-card, .service-card, .portfolio-card, .faq-card, .testimonial-card, .pricing-card { border: 1px solid rgba(15,23,42,.08); border-radius: 28px; background: #fff; box-shadow: 0 18px 50px rgba(16,18,29,.08); transition: transform .3s ease, box-shadow .3s ease; }
.feature-card:hover, .service-card:hover, .portfolio-card:hover, .faq-card:hover, .testimonial-card:hover, .pricing-card:hover { transform: translateY(-4px); box-shadow: 0 28px 70px rgba(16,18,29,.1); }
.service-card { min-height: 100%; border-color: rgba(109,74,255,.12); }
.service-card .icon-box { width: 64px; height: 64px; border-radius: 22px; background: rgba(109,74,255,.1); display: grid; place-items: center; font-size: 1.55rem; }
.service-card .icon-box.image-icon { padding: 8px; background: rgba(247,248,252,1); }
.service-card .icon-box.image-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.service-card h5, .pricing-card h3, .testimonial-card h5 { margin-top: 1.25rem; }
.service-card p { color: #545869; }
.service-card a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.service-card a:hover { text-decoration: none; }
.pricing-card { padding: 2.5rem; min-height: 100%; position: relative; overflow: hidden; border-color: rgba(109,74,255,.14); }
.pricing-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(109,74,255,.04), rgba(109,74,255,0)); pointer-events: none; }
.pricing-card .package-label { display: inline-flex; padding: .6rem 1rem; border-radius: 999px; background: rgba(109,74,255,.1); color: var(--purple); font-weight: 700; letter-spacing: .04em; font-size: .82rem; }
.pricing-card h3 { font-size: clamp(2.1rem, 2.4vw, 2.6rem); margin: 1rem 0; }
.pricing-card ul { list-style: none; padding: 0; margin: 0; }
.pricing-card ul li { color: #4d4f68; margin-bottom: .9rem; line-height: 1.75; }
.pricing-card .price-option { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-radius: 18px; background: rgba(109,74,255,.05); margin: .85rem 0; }
.pricing-card .price-option strong { color: #24253f; }
.pricing-card .price-option span { color: #6b6d8d; font-size: .95rem; }
.pricing-card.featured { border-color: rgba(109,74,255,.22); box-shadow: 0 30px 80px rgba(109,74,255,.12); }
.portfolio-card { overflow: hidden; border-color: rgba(15,23,42,.08); display: flex; flex-direction: column; justify-content: space-between; }
.portfolio-card .img-fluid { transition: transform .4s ease; }
.portfolio-card:hover .img-fluid { transform: scale(1.03); }
.portfolio-card span.badge { border-radius: 999px; }
.testimonial-card { padding: 2rem; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; }
.testimonial-card p { color: #4b4b67; font-size: 1rem; line-height: 1.9; }
.faq-card { padding: 2rem; }
.footer-links li + li { margin-top: .75rem; }
.contact-form .form-control, .contact-form .form-select { border-radius: 16px; padding: 1rem; }
.contact-form label { font-weight: 600; }
.contact-form .upload-note { margin-top: .5rem; color: var(--gray); }
.footer { background: #090e22; color: #d0d4ec; }
footer a { color: rgba(255,255,255,.82); transition: color .25s ease, transform .25s ease; }
footer a:hover { color: #fff; transform: translateX(2px); }
footer .border-top { border-color: rgba(255,255,255,.08) !important; }
footer h5, footer h6 { color: #fff; }
footer .footer-contact p, footer .footer-contact a { color: #d7d9ea; }
footer .footer-meta { color: rgba(255,255,255,.6); }
footer .social-links a { color: rgba(255,255,255,.75); }
footer .social-links a:hover { color: #fff; }
@media (max-width: 991px) {
    .hero-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .header-top .navbar { padding: .8rem 0; }
    .header-top .navbar-collapse.show { margin-top: .6rem; }
    .header-top .navbar-collapse .nav-link { width: 100%; }
    .header-top .navbar-actions { width: 100%; justify-content: flex-end; flex-wrap: wrap; gap: .65rem; margin-top: .8rem; }
}
@media (max-width: 767px) {
    .hero-section { min-height: auto; padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .hero-section .col-lg-6 { max-width: 100%; }
    .hero-visual { padding: 1.5rem; }
    .hero-visual .dashboard-card { margin-bottom: 1.5rem; }
    .hero-visual .mini-card { padding: 1rem; }
    .navbar-nav { gap: .65rem; }
    .header-top .navbar-actions { justify-content: center; }
}
/* Admin styles */
.admin-layout { min-height: 100vh; background: linear-gradient(180deg, #F5F5FF 0%, #EFF0FC 100%); }
.sidebar { background: #0F1121; color: #D8DAF2; min-height: 100vh; }
.sidebar a { color: rgba(216,218,242,.84); }
.sidebar a.active, .sidebar a:hover { color: #fff; }
.sidebar .nav-link { padding: .9rem 1rem; border-radius: 14px; margin-bottom: .35rem; transition: background .2s ease, color .2s ease; }
.sidebar .nav-link.active { background: rgba(109,74,255,.14); }
.topbar { background: #fff; border-bottom: 1px solid #E7E9F6; }
.card-dashboard { border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(16,18,29,.08); }
.table-responsive { overflow-x: auto; }
.badge-status { border-radius: 12px; font-size: .8rem; }
.bg-purple-soft { background: rgba(109,74,255,.08); }
.bg-dark-soft { background: #171A30; }
.upload-note { font-size: .88rem; color: #717797; }
.form-control:focus { box-shadow: 0 0 0 0.15rem rgba(109,74,255,.18); border-color: rgba(109,74,255,.6); }
.btn-outline-purple { border-color: rgba(109,74,255,.35); color: var(--purple); }
.btn-outline-purple:hover { background: rgba(109,74,255,.08); }