/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #111827;
    background: #ffffff;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 60px 20px;
}
/* =========================
   Navigation
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    box-shadow: none;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}
nav {
    padding: 20px 40px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #5B5CEB;
}
.login-link {
    font-weight: 500;
}

.btn-primary {
    background: #5B5CEB;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #4A4AD4;
}
.nav-menu a {
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #5B5CEB;
}

.login-link:hover {
    color: #5B5CEB;
}
/* =========================
   Hero
========================= */

.hero {
    padding: 80px 40px;
}

.hero-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
}

.hero-visual {
    flex: 0 0 48%;
    min-height: 520px;
    background: #F8FAFC;
    border-radius: 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.hero-visual{
    background:#F8FAFC;
    border-radius:24px;

    min-height:520px;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#64748B;
    font-size:40px;

    box-shadow:0 20px 60px rgba(0,0,0,.08);
}
.hero-badge {
    display: inline-block;
    background: #EEF2FF;
    color: #5B5CEB;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;

    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.btn-secondary {
    padding: 12px 24px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-weight: 600;
    background: #ffffff;
    transition: 0.3s;
}

.btn-secondary:hover {
    border-color: #5B5CEB;
    color: #5B5CEB;
}

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:40px;
}

.dashboard-label{
    font-size:14px;
    color:#64748B;
    margin-bottom:8px;
}

.dashboard-header h3{
    font-size:42px;
    color:#0F172A;
}

.dashboard-growth{
    color:#22C55E;
    font-size:20px;
    font-weight:700;
}
.chart {
    height: 240px;
    margin-top: 40px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.bar {
    flex: 1;
    background: #5B5CEB;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s ease;
}
.bar:hover{
    transform: translateY(-8px);
}
.bar-1 {
    height: 35%;
}

.bar-2 {
    height: 50%;
}

.bar-3 {
    height: 45%;
}

.bar-4 {
    height: 68%;
}

.bar-5 {
    height: 78%;
}

.bar-6 {
    height: 92%;
}
/* =========================
   Trusted Section
========================= */

.trusted{
    padding:80px 60px;
    text-align:center;
}

.trusted-text{
    font-size:16px;
    color:#64748B;
    margin-bottom:40px;
}

.trusted-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:80px;

    font-size:22px;
    font-weight:600;
    color:#94A3B8;
}
/* =========================
   FEATURES
========================= */

.features{
    padding:120px 80px;
}
.section-heading{
    max-width:700px;
    margin:0 auto 70px;
    text-align:center;
}
.section-label{
    display:inline-block;

    background:#EEF2FF;
    color:#5B5CEB;

    padding:8px 18px;

    border-radius:999px;

    font-size:14px;
    font-weight:600;

    margin-bottom:20px;
}
.section-heading h2{
    font-size:48px;
    line-height:1.2;

    margin-bottom:24px;

    color:#111827;
}
.section-heading p{
    font-size:18px;
    color:#64748B;
    line-height:1.8;
}
.feature-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.feature-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 36px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #EEF2FF;
    color: #5B5CEB;
    font-weight: 700;

    margin-bottom: 24px;
    transition: 0.3s;
}
.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #111827;
}

.feature-card p {
    color: #64748B;
    line-height: 1.7;
}
.feature-card{
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.feature-card.show{
    opacity: 1;
    transform: translateY(0);
}
/* ==========================
   HERO
========================== */

.hero {
    padding: 120px 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    padding: 0 20px;
}
/* Hero text */

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 28px;
    padding: 10px 18px;

    color: #5b5ceb;
    background-color: #eef2ff;

    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
}

.hero-text h1 {
    margin: 0 0 24px;

    font-size: 64px;
    line-height: 1;
    letter-spacing: -1.5px;
}

.hero-text p {
    margin: 0 0 32px;

    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 28px;
    text-decoration: none;
}

/* Hero image */

.hero-image {
    flex: 1;
    max-width: 560px;
}

.hero-image {
    margin-top: 40px;
    width: 100%;
    min-width: 0;
}
/* Dashboard preview card */

.dashboard-card {
    width: 100%;
    min-height: 480px;

   display: flex;
flex-direction: column;
align-items: stretch;
justify-content: flex-start;
padding: 32px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.12),
        0 8px 20px rgba(15, 23, 42, 0.06);
}

.dashboard-card p {
    margin: 0;
    color: #9ca3af;
    font-size: 16px;
    font-weight: 600;
}
.dashboard-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}
    /* ==========================
   TRUSTED BY
========================== */

.trusted-by {
    padding: 48px 0 80px;
    border-top: 1px solid #f1f3f5;
}

.trusted-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.trusted-label {
    margin: 0 0 32px;

    color: #9ca3af;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.trusted-logos span {
    color: #9ca3af;
    font-size: 22px;
    font-weight: 700;
}
/* ==========================
   FEATURES
========================== */

.features {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 72px;
}

.section-title h2 {
    margin-bottom: 20px;

    font-size: 48px;
    line-height: 1.2;
}

.section-title p {
    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}
.section-title {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 40px;
    line-height: 1.15;
}

.section-title p {
    width: 100%;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.feature-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 32px;
}

.feature-card {

    padding: 40px;

    border: 1px solid #e5e7eb;

    border-radius: 24px;

    background: white;

    transition: .3s;
}

.feature-card:hover {

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(15,23,42,.08);

}
.feature-card:hover .feature-icon {
    transform: scale(1.08);
    background: #5B5CEB;
    color: white;
}
.feature-card:hover .feature-icon svg {
    color: #ffffff;
    stroke: currentColor;
}
.feature-icon {

    width:64px;
    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:24px;

    font-size:30px;

    background:#eef2ff;

    border-radius:18px;

}

.feature-card h3{

    margin-bottom:16px;

    font-size:24px;

}

.feature-card p{

    color:#6b7280;

    line-height:1.7;

}
/* ==========================
   DASHBOARD PREVIEW
========================== */

.dashboard-preview {
    padding: 120px 0;
    background-color: #f8f9fc;
}
.dashboard-preview-card {
    display: block;
    width: 100%;
    box-sizing: border-box;

    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;

    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.12),
        0 10px 25px rgba(15, 23, 42, 0.06);
}
.dashboard-topbar,
.dashboard-kpi-grid,
.dashboard-main-grid {
    width: 100%;
    box-sizing: border-box;
}
.dashboard-topbar {
    margin-bottom: 24px;
}
.dashboard-label {
    margin-bottom: 6px;

    color: #5b5ceb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-topbar h3 {
    margin: 0;

    color: #111827;
    font-size: 28px;
}

.dashboard-filter {
  
    padding: 10px 16px;

    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 10px;

    color: #4b5563;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-bottom: 20px;
}

.dashboard-kpi {
    padding: 22px;

    background-color: #f8f9fc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.dashboard-kpi span {
    display: block;
    margin-bottom: 10px;

    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-kpi strong {
    display: block;
    margin-bottom: 8px;

    color: #111827;
    font-size: 28px;
}

.dashboard-kpi small {
    color: #5b5ceb;
    font-size: 13px;
    font-weight: 600;
}
.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 20px;
}

.dashboard-chart-card,
.dashboard-activity-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 24px;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}
.dashboard-card-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;

    margin-bottom: 24px;
}

.dashboard-card-heading span {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-card-heading h4 {
    margin: 5px 0 0;

    color: #111827;
    font-size: 18px;
}

.dashboard-card-heading > strong {
    color: #5b5ceb;
    font-size: 15px;
}

.dashboard-chart {
    height: 230px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;

    padding: 24px 18px 0;

    background:
        linear-gradient(to top, #eef2ff 1px, transparent 1px);
    background-size: 100% 25%;

    border-radius: 12px;
}

.dashboard-chart span {
    flex: 1;
    max-width: 44px;

    background: linear-gradient(180deg,#818cf8,#5b5ceb);

    border-radius: 8px 8px 3px 3px;

    transform: scaleY(0);
    transform-origin: bottom;

    transition: transform 0.8s ease;
}
.dashboard-activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f4;
}

.dashboard-activity-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.activity-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;

    margin-top: 6px;

    background-color: #5b5ceb;
    border-radius: 50%;
}

.dashboard-activity-item p {
    margin: 0;

    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.dashboard-activity-item strong {
    color: #111827;
}
/* ==========================
   ANALYTICS
========================== */

.analytics {
    padding: 120px 0;
}

.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.analytics-text {
    flex: 1;
    max-width: 500px;
}

.section-badge {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 14px;

    color: #5b5ceb;
    background-color: #eef2ff;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 999px;
}

.analytics-text h2 {
    margin: 0 0 24px;

    font-size: 48px;
    line-height: 1.2;
}

.analytics-text > p {
    margin: 0 0 28px;

    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}

.analytics-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.analytics-list li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 30px;

    color: #374151;
    font-size: 16px;
}

.analytics-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;

    color: #5b5ceb;
    font-weight: 800;
}

.analytics-card {
    flex: 1;
    max-width: 560px;
    padding: 32px;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.1),
        0 8px 20px rgba(15, 23, 42, 0.05);
}

.analytics-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.analytics-label {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 14px;
}

.analytics-card h3 {
    margin: 0;
    font-size: 36px;
}

.analytics-period {
    padding: 8px 12px;

    color: #6b7280;
    background-color: #f3f4f6;

    font-size: 13px;
    border-radius: 10px;
}

.chart {
    position: relative;
    height: 260px;
    margin-bottom: 20px;
}

.chart-grid-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #eef0f4;
}

.line-1 {
    top: 25%;
}

.line-2 {
    top: 50%;
}

.line-3 {
    top: 75%;
}

.chart-point {
    position: absolute;
    z-index: 2;

    width: 12px;
    height: 12px;

    background-color: #5b5ceb;
    border: 3px solid #ffffff;
    border-radius: 50%;

    box-shadow: 0 0 0 2px #5b5ceb;
}

.point-1 {
    left: 4%;
    top: 72%;
}

.point-2 {
    left: 26%;
    top: 56%;
}

.point-3 {
    left: 49%;
    top: 62%;
}

.point-4 {
    left: 72%;
    top: 36%;
}

.point-5 {
    left: 94%;
    top: 20%;
}

.chart-line {
    position: absolute;
    z-index: 1;

    height: 3px;
    background-color: #5b5ceb;
    transform-origin: left center;
    border-radius: 999px;
}

.segment-1 {
    left: 5%;
    top: 74%;
    width: 23%;
    transform: rotate(-18deg);
}

.segment-2 {
    left: 27%;
    top: 58%;
    width: 23%;
    transform: rotate(8deg);
}

.segment-3 {
    left: 50%;
    top: 64%;
    width: 25%;
    transform: rotate(-27deg);
}

.segment-4 {
    left: 73%;
    top: 38%;
    width: 24%;
    transform: rotate(-20deg);
}

.chart-months {
    display: flex;
    justify-content: space-between;

    color: #9ca3af;
    font-size: 13px;
}
/* ==========================
   RECENT ACTIVITY
========================== */

.recent-activity {
    padding: 120px 0;
    background-color: #f8f9fc;
}

.activity-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.activity-card {
    flex: 1;
    max-width: 580px;
    padding: 32px;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.1),
        0 8px 20px rgba(15, 23, 42, 0.05);
}

.activity-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 28px;
}

.activity-label {
    margin: 0 0 6px;

    color: #6b7280;
    font-size: 14px;
}

.activity-header h3 {
    margin: 0;

    font-size: 28px;
}

.activity-link {
    color: #5b5ceb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.activity-list {
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: 16px;

    padding: 22px 0;
    border-top: 1px solid #eef0f4;
}

.activity-item:first-child {
    border-top: none;
}

.activity-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #5b5ceb;
    background-color: #eef2ff;

    font-size: 20px;
    font-weight: 800;
    border-radius: 14px;
}

.activity-content h4 {
    margin: 0 0 6px;

    font-size: 16px;
}

.activity-content p {
    margin: 0;

    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.activity-time {
    color: #9ca3af;
    font-size: 13px;
    white-space: nowrap;
}

.activity-text {
    flex: 1;
    max-width: 500px;
}

.activity-text h2 {
    margin: 0 0 24px;

    font-size: 48px;
    line-height: 1.2;
}

.activity-text > p {
    margin: 0 0 28px;

    color: #6b7280;
    font-size: 18px;
    line-height: 1.7;
}

.activity-cta {
    color: #5b5ceb;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}
/* ==========================
   PRICING
========================== */

.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 32px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;

    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

.pricing-card-popular {
    border: 2px solid #5b5ceb;
    transform: translateY(-12px);

    box-shadow:
        0 28px 65px rgba(91, 92, 235, 0.18),
        0 10px 24px rgba(15, 23, 42, 0.08);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);

    padding: 8px 18px;

    color: #ffffff;
    background-color: #5b5ceb;

    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 999px;
}

.pricing-name {
    margin: 0 0 24px;

    color: #374151;
    font-size: 18px;
    font-weight: 700;
}

.pricing-price {
    display: flex;
    align-items: flex-end;
    min-height: 64px;
    margin-bottom: 20px;
}

.currency {
    margin-right: 4px;
    padding-bottom: 10px;

    color: #111827;
    font-size: 22px;
    font-weight: 700;
}

.amount {
    color: #111827;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
}

.period {
    padding-bottom: 8px;
    margin-left: 8px;

    color: #9ca3af;
    font-size: 14px;
}

.pricing-custom {
    font-size: 42px;
}

.pricing-description {
    min-height: 54px;
    margin: 0 0 28px;

    color: #6b7280;
    line-height: 1.6;
}

.pricing-features {
    margin: 0 0 36px;
    padding: 0;

    list-style: none;
}

.pricing-features li {
    position: relative;
    margin-bottom: 16px;
    padding-left: 28px;

    color: #374151;
    font-size: 15px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;

    color: #5b5ceb;
    font-weight: 800;
}

.pricing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    margin-top: auto;
    padding: 0 24px;

    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.pricing-button:hover {
    transform: translateY(-3px);
}

.pricing-button-primary {
    color: #ffffff;
    background-color: #5b5ceb;

    box-shadow: 0 12px 24px rgba(91, 92, 235, 0.2);
}

.pricing-button-secondary {
    color: #111827;
    background-color: #ffffff;
    border: 1px solid #d1d5db;
}
/* ==========================
   FAQ
========================== */

.faq {
    padding: 120px 0;
    background-color: #f8f9fc;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;

    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-item.active {
    border-color: #c7d2fe;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    color: #111827;
    background: none;
    border: none;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    text-align: left;

    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;

    color: #5b5ceb;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.25s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;

    transition:
        max-height 0.35s ease,
        padding 0.35s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 28px 24px;

    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 180px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
/* ==========================
   Footer
========================== */

.footer {
    padding: 80px 0 32px;
    color: #d1d5db;
    background-color: #111827;
}

.footer-container {
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 80px;

    padding-bottom: 56px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;

    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand p {
    margin: 0;

    color: #9ca3af;
    font-size: 15px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 56px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-column h3 {
    margin: 0 0 8px;

    color: #ffffff;
    font-size: 15px;
}

.footer-column a {
    color: #9ca3af;
    font-size: 14px;
    text-decoration: none;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding-top: 28px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin: 0;

    color: #9ca3af;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d1d5db;
    background-color: #1f2937;
    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.footer-socials a:hover {
    color: #ffffff;
    background-color: #5b5ceb;
    transform: translateY(-3px);
}
/* ==========================
   Mobile Navigation
========================== */

.menu-toggle {
    width: 44px;
    height: 44px;

    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    flex-shrink: 0;
    padding: 0;

    background: transparent;
    border: none;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background-color: #111827;
    border-radius: 999px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}
.analytics-chart {
    display: block;
    width: 100%;
    height: auto;
    margin-top: -35px;
}

.chart-grid {
    stroke: #e5e7eb;
    stroke-width: 2;
}

.chart-path {
    fill: none;
    stroke: #5b5ceb;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-dot {
    fill: #ffffff;
    stroke: #5b5ceb;
    stroke-width: 5;
}

.chart-month {
    fill: #9ca3af;
    font-size: 22px;
    text-anchor: middle;
}
/* ==========================
   Testimonials
========================== */

.testimonials {
    padding: 120px 0;
    background-color: #f8fafc;
}

.testimonials .section-title {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 36px;
    min-height: 260px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.testimonial-stars {
    margin-bottom: 20px;
    color: #5b5ceb;
    font-size: 18px;
    letter-spacing: 2px;
}

.testimonial-quote {
    flex-grow: 1;
    margin: 0 0 28px;
    color: #475569;
    line-height: 1.7;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #eef2ff;
    color: #5b5ceb;
    font-weight: 700;
}

.testimonial-person h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 16px;
}

.testimonial-person p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}
/* ==========================
   Responsive
========================== */

@media (max-width: 900px) {

    /* Mobile navigation */

    .nav-container {
        position: relative;
    }

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 101;

        display: flex;
        flex-shrink: 0;

        width: 44px;
        height: 44px;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        padding: 0;

        background: transparent;
        border: none;

        cursor: pointer;
    }

    .menu-toggle span {
        display: block;

        width: 24px;
        height: 2px;

        background-color: #111827;
        border-radius: 999px;

        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .nav-menu.nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        z-index: 100;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 8px;

        background-color: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    .nav-menu.nav-links.active {
        display: flex;
    }

    .nav-menu.nav-links li {
        width: 100%;
    }

    .nav-menu.nav-links a {
        display: block;

        width: 100%;
        padding: 12px 14px;

        border-radius: 10px;
    }

    .nav-menu.nav-links a:hover {
        background-color: #f3f4f6;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* Page layout */

    .hero {
        padding: 40px 0px;
    }

    .hero-container,
    .analytics-container,
    .activity-container {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .hero-text,
    .hero-image,
    .analytics-text,
    .analytics-card,
    .activity-card,
    .activity-text {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: none;
    }

    .hero h1 {
        font-size: 44px;
        line-height: 1.1;
    }

    .hero-image {
        margin-top: 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        width: 100%;
    }

    .dashboard-card {
        width: 100%;
        max-width: 100%;
    }

    .chart {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }

    .trusted-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 32px;
    }

    .trusted-logos span {
        flex: 0 1 40%;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 24px;
    }

    .testimonials {
        padding: 70px 0;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .testimonial-card {
        min-width: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-popular {
        transform: none;
    }

    .analytics {
        padding: 70px 0;
    }

    .recent-activity {
        padding: 60px 0;
    }

    .footer-top {
        flex-direction: column;
        gap: 48px;
    }

    .footer-links {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    /* Mobile width adjustment */
   html,
body {
    width: 100%;
    overflow-x: clip;
}

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .hero,
    .trusted,
    .features,
    .analytics,
    .recent-activity,
    .testimonials,
    .pricing,
    .faq,
    .dashboard-preview,
    footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .hero-container,
    .analytics-container,
    .activity-container,
    .dashboard-preview-card,
    .footer-top {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    /* ==========================
    Dashboard 
    ==========================*/
       .dashboard-preview {
        padding: 64px 0;
    }

    .dashboard-preview-card {
        padding: 16px;
        border-radius: 22px;
    }

    .dashboard-topbar {
        align-items: flex-start;
        margin-bottom:28px;
    }

    .dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-chart-card,
    .dashboard-activity-card {
        padding: 20px;
    }

    .dashboard-chart {
        height: 220px;
    }
       .dashboard-topbar {
        flex-direction: column;
        gap: 14px;
    }

    .dashboard-filter {
        width: 100%;
        justify-content: center;
    }

    .dashboard-kpi {
        padding: 16px;
    }

    .dashboard-kpi strong {
        font-size: 26px;
    }

    .dashboard-card-heading {
        align-items: flex-start;
        gap: 12px;
    }

    .dashboard-chart {
        height: 205px;
        gap: 8px;
        padding: 20px 8px 0;
    }

    .dashboard-chart span {
        max-width: 30px;
    }

    .dashboard-activity-item {
        align-items: flex-start;
        gap: 10px;
    }

    .dashboard-activity-item p {
        font-size: 13px;
        line-height: 1.5;
    } 
}
/* ==========================
   Scroll Reveal Animation
========================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}
/* ==========================
   Feature Stagger
========================== */

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.25s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.4s;
}
/* ==========================
   Button Hover Polish
========================== */

.btn-primary,
.pricing-button-primary {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.btn-primary:hover,
.pricing-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(91, 92, 235, 0.25);
}

.btn-secondary,
.pricing-button-secondary {
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.btn-secondary:hover,
.pricing-button-secondary:hover {
    transform: translateY(-2px);
    border-color: #5b5ceb;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
/* ==========================
   Pricing Card Hover
========================== */

.pricing-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(91, 92, 235, 0.35);
}
/* ==========================
   Feature Card Hover
========================== */

.feature-card {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
/* ==========================
   Testimonial Stagger
========================== */

.testimonial-card:nth-child(1) {
    transition-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    transition-delay: 0.25s;
}

.testimonial-card:nth-child(3) {
    transition-delay: 0.4s;
}
/* ==========================
   Pricing Stagger
========================== */

.pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    transition-delay: 0.25s;
}

.pricing-card:nth-child(3) {
    transition-delay: 0.4s;
}

