* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #eaf0ff;
    background: radial-gradient(circle at 15% 10%, #1f4394 0%, #102764 35%, #0b1536 72%, #080f29 100%);
    min-height: 100vh;
    position: relative;
}

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 85% 30%, rgba(71, 140, 255, 0.18), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(89, 194, 255, 0.1), transparent 45%);
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.section {
    position: relative;
    z-index: 2;
    padding: 32px 0;
}

.header {
    position: relative;
    z-index: 3;
    width: min(1120px, 92%);
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.links a,
.footer-links a {
    text-decoration: none;
    color: #d4dcf6;
}

.links a:hover,
.footer-links a:hover {
    color: #ffffff;
}

.primary-btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #59a6ff, #2f72f8);
    color: #fff;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 22px rgba(41, 114, 246, 0.35);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(51, 122, 249, 0.45);
}

.primary-btn.small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.hero {
    padding-top: 16px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.main-head {
    margin: 0 0 16px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.12;
}

.main-para {
    margin: 0 0 20px;
    color: #c6d3f8;
    max-width: 520px;
    line-height: 1.6;
}

.input-row {
    display: flex;
    max-width: 470px;
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

#input {
    flex: 1;
    border: none;
    outline: none;
    padding: 13px 14px;
    font-size: 0.98rem;
    color: #f7f9ff;
    background: transparent;
}

#input::placeholder {
    color: #c1cce8;
}

#search-btn {
    border-radius: 0;
    box-shadow: none;
    padding-inline: 20px;
}

.preview-card {
    background: rgba(12, 23, 58, 0.7);
    border: 1px solid rgba(146, 175, 255, 0.26);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    backdrop-filter: blur(3px);
}

.panel {
    background: linear-gradient(180deg, #f6f8fe, #ebf0ff);
    color: #0f1d3d;
    border-radius: 10px;
    padding: 10px;
}

.panel h4 {
    margin: 0 0 8px;
    font-size: 0.88rem;
}

.profile-panel {
    display: flex;
    gap: 10px;
    align-items: center;
}

.avatar {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: linear-gradient(135deg, #20294b, #334e9f);
}

.profile-text p {
    margin: 0 0 3px;
    font-size: 0.74rem;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 76px;
}

.bars span {
    display: block;
    width: 18px;
    border-radius: 4px 4px 0 0;
}

.bars span:nth-child(1) {
    height: 75%;
    background: #f5c043;
}

.bars span:nth-child(2) {
    height: 62%;
    background: #4a86ff;
}

.bars span:nth-child(3) {
    height: 50%;
    background: #ed5b84;
}

.bars span:nth-child(4) {
    height: 40%;
    background: #9658da;
}

.line-chart {
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, #b7d6ff 20%, #8cb6f4 100%);
    clip-path: polygon(0% 88%, 15% 72%, 28% 80%, 42% 63%, 55% 68%, 70% 46%, 83% 56%, 100% 34%, 100% 100%, 0% 100%);
    border-radius: 6px;
}

.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.heatmap-grid i {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 2px;
    background: #d4f6d8;
}

.heatmap-grid i:nth-child(3n) {
    background: #8fde8f;
}

.heatmap-grid i:nth-child(4n) {
    background: #52c56b;
}

h2 {
    margin: 0 0 18px;
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    background: rgba(17, 30, 74, 0.7);
    border: 1px solid rgba(149, 173, 245, 0.22);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
}

.feature-card h3 {
    margin: 0 0 8px;
}

.feature-card p {
    margin: 0;
    color: #c8d4f6;
    line-height: 1.5;
}

.preview-section .subtitle {
    text-align: center;
    margin: 0 0 20px;
    color: #c5d2f7;
}

.preview-copy-card {
    width: min(700px, 92%);
    margin: 0 auto;
    border-radius: 16px;
    min-height: 260px;
    padding: 22px;
    background: linear-gradient(160deg, rgba(24, 41, 97, 0.8), rgba(17, 31, 75, 0.9));
    border: 1px solid rgba(149, 172, 247, 0.24);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-copy-card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.preview-copy-card::before {
    content: "Dashboard Preview";
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.85rem;
    color: #d2dcfb;
}

.cta-section .center {
    text-align: center;
}

.cta-section p {
    color: #c6d3f8;
    margin: 0 0 20px;
}

.footer {
    width: min(1120px, 92%);
    margin: 26px auto 0;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(170, 190, 250, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #b5c5ee;
    position: relative;
    z-index: 2;
}

.footer p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 14px;
}

@media (max-width: 980px) {
    .hero-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .right {
        max-width: 680px;
    }
}

@media (max-width: 600px) {
    .header {
        flex-direction: column;
        gap: 14px;
    }

    .input-row {
        flex-direction: column;
        border-radius: 12px;
        overflow: hidden;
    }

    #search-btn {
        border-radius: 0;
        width: 100%;
    }

    .footer {
        flex-direction: column;
        gap: 10px;
    }
}