/* ==========================================
   DAILY LEDGER - HOME PAGE
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}


/* ==========================================
   BUTTONS
========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 600;
    transition: .35s;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    background: #fff;
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2563eb;
    font-size: 26px;
    font-weight: 700;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: #475569;
    font-weight: 500;
    transition: .3s;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}


/* ==========================================
   HERO
========================================== */

.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #dbeafe;
    color: #2563eb;
    padding: 12px 22px;
    border-radius: 40px;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    color: #64748b;
    line-height: 1.9;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 40px 0;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-tags div {
    background: #fff;
    padding: 13px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
    font-size: 15px;
}

.hero-tags i {
    color: #2563eb;
    margin-right: 8px;
}


/* ==========================================
   DASHBOARD PREVIEW
========================================== */

.dashboard-preview {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(37, 99, 235, .12);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dashboard-header h3 {
    font-size: 24px;
}

.dashboard-header i {
    font-size: 28px;
    color: #2563eb;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.box {
    background: #f8fafc;
    border-radius: 18px;
    padding: 22px;
}

.box span {
    color: #64748b;
    font-size: 14px;
}

.box h2 {
    margin-top: 10px;
    color: #2563eb;
    font-size: 28px;
}

.chart-placeholder {
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
}

.chart-placeholder .bar {
    width: 14%;
    background: #2563eb;
    border-radius: 20px 20px 0 0;
}

.chart-placeholder .bar:nth-child(1) {
    height: 50%;
}

.chart-placeholder .bar:nth-child(2) {
    height: 85%;
}

.chart-placeholder .bar:nth-child(3) {
    height: 60%;
}

.chart-placeholder .bar:nth-child(4) {
    height: 100%;
}

.chart-placeholder .bar:nth-child(5) {
    height: 75%;
}

.chart-placeholder .bar:nth-child(6) {
    height: 45%;
}


/* ==========================================
   DAILY LEDGER - HOME PAGE
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}


/* ==========================================
   BUTTONS
========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 600;
    transition: .35s;
    cursor: pointer;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

.btn-outline {
    border: 2px solid #2563eb;
    color: #2563eb;
    background: #fff;
}

.btn-outline:hover {
    background: #2563eb;
    color: #fff;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2563eb;
    font-size: 26px;
    font-weight: 700;
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: #475569;
    font-weight: 500;
    transition: .3s;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}


/* ==========================================
   HERO
========================================== */

.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #dbeafe;
    color: #2563eb;
    padding: 12px 22px;
    border-radius: 40px;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2563eb;
}

.hero p {
    color: #64748b;
    line-height: 1.9;
    font-size: 18px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 40px 0;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-tags div {
    background: #fff;
    padding: 13px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
    font-size: 15px;
}

.hero-tags i {
    color: #2563eb;
    margin-right: 8px;
}


/* ==========================================
   DASHBOARD PREVIEW
========================================== */

.dashboard-preview {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 60px rgba(37, 99, 235, .12);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dashboard-header h3 {
    font-size: 24px;
}

.dashboard-header i {
    font-size: 28px;
    color: #2563eb;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.box {
    background: #f8fafc;
    border-radius: 18px;
    padding: 22px;
}

.box span {
    color: #64748b;
    font-size: 14px;
}

.box h2 {
    margin-top: 10px;
    color: #2563eb;
    font-size: 28px;
}

.chart-placeholder {
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 180px;
}

.chart-placeholder .bar {
    width: 14%;
    background: #2563eb;
    border-radius: 20px 20px 0 0;
}

.chart-placeholder .bar:nth-child(1) {
    height: 50%;
}

.chart-placeholder .bar:nth-child(2) {
    height: 85%;
}

.chart-placeholder .bar:nth-child(3) {
    height: 60%;
}

.chart-placeholder .bar:nth-child(4) {
    height: 100%;
}

.chart-placeholder .bar:nth-child(5) {
    height: 75%;
}

.chart-placeholder .bar:nth-child(6) {
    height: 45%;
}


/* ==========================================
   SECTION TITLE
========================================== */

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    display: inline-block;
    color: #2563eb;
    background: #dbeafe;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.section-title h2 {
    font-size: 42px;
    color: #0f172a;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: #64748b;
    line-height: 1.8;
}


/* ==========================================
   FEATURES
========================================== */

.features {
    padding: 100px 0;
    background: #ffffff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .06);
    transition: .35s;
    border: 1px solid #eef2f7;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(37, 99, 235, .15);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #0f172a;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
}


/* ==========================================
   MODULES
========================================== */

.modules {
    padding: 100px 0;
    background: #f8fafc;
}

.module-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.module-item {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: .35s;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .05);
}

.module-item:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-8px);
}

.module-item i {
    font-size: 42px;
    margin-bottom: 20px;
    color: #2563eb;
    transition: .35s;
}

.module-item:hover i {
    color: #fff;
}

.module-item span {
    display: block;
    font-size: 18px;
    font-weight: 600;
}


/* ==========================================
   WHY US
========================================== */

.why-us {
    padding: 120px 0;
    background: #ffffff;
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.section-label {
    display: inline-block;
    padding: 10px 20px;
    background: #dbeafe;
    color: #2563eb;
    border-radius: 30px;
    margin-bottom: 25px;
    font-weight: 600;
}

.why-left h2 {
    font-size: 44px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.why-left p {
    color: #64748b;
    line-height: 1.9;
    margin-bottom: 30px;
}

.why-left ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-left li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 500;
}

.why-left i {
    color: #22c55e;
    font-size: 20px;
}


/* ==========================================
   PREVIEW WINDOW
========================================== */

.preview-window {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);
}

.window-header {
    background: #f1f5f9;
    display: flex;
    gap: 10px;
    padding: 18px;
}

.window-header span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.window-header span:nth-child(1) {
    background: #ef4444;
}

.window-header span:nth-child(2) {
    background: #f59e0b;
}

.window-header span:nth-child(3) {
    background: #22c55e;
}

.window-body {
    padding: 35px;
    display: grid;
    gap: 25px;
}

.preview-card {
    background: #f8fafc;
    padding: 28px;
    border-radius: 18px;
}

.preview-card h4 {
    color: #64748b;
    margin-bottom: 12px;
}

.preview-card h2 {
    color: #2563eb;
    font-size: 34px;
}


/* ==========================================
   FAQ
========================================== */

.faq {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-wrapper {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: #fff;
    border-radius: 18px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.faq-question {
    width: 100%;
    border: none;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.faq-question i {
    color: #2563eb;
}

.faq-answer {
    padding: 0 30px 25px;
    color: #64748b;
    line-height: 1.8;
}


/* ==========================================
   CTA
========================================== */

.cta {
    padding: 100px 0;
    background: #ffffff;
}

.cta-box {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    padding: 70px;
    border-radius: 28px;
    text-align: center;
}

.cta-box h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.9;
    opacity: .95;
}

.cta-box .btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.cta-box .btn-outline:hover {
    background: #fff;
    color: #2563eb;
}


/* ==========================================
   FOOTER
========================================== */

.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer p {
    line-height: 1.9;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer a {
    color: #cbd5e1;
    transition: .3s;
}

.footer a:hover {
    color: #60a5fa;
}

.copyright {
    margin-top: 60px;
    padding: 25px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #94a3b8;
}


/* ==========================================
   ANIMATIONS
========================================== */

.feature-card,
.module-item,
.dashboard-preview,
.preview-window {
    transition: .35s ease;
}

.dashboard-preview:hover,
.preview-window:hover {
    transform: translateY(-8px);
}

.hero-tags div:hover {
    transform: translateY(-5px);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px) {
    .hero-container,
    .why-container {
        grid-template-columns: 1fr;
    }
    .hero {
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-tags {
        justify-content: center;
    }
    .nav-menu {
        display: none;
    }
    .module-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {
    .hero h1 {
        font-size: 42px;
    }
    .section-title h2 {
        font-size: 34px;
    }
    .why-left h2 {
        font-size: 34px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .module-wrapper {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 45px 25px;
    }
    .cta-box h2 {
        font-size: 32px;
    }
    .nav-buttons {
        display: none;
    }
}

@media(max-width:480px) {
    .container {
        width: 94%;
    }
    .hero {
        padding: 120px 0 70px;
    }
    .hero h1 {
        font-size: 34px;
    }
    .hero p {
        font-size: 16px;
    }
    .btn {
        width: 100%;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-tags {
        gap: 10px;
    }
    .hero-tags div {
        width: 100%;
        text-align: center;
    }
    .dashboard-preview {
        padding: 20px;
    }
    .section-title h2 {
        font-size: 28px;
    }
}