/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background: #f7faf8;
    color: #14251f;
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* ==================================================
   NAVBAR
================================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid #e4ebe7;
}

.nav-container {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.brand-logo {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: #087152;
    color: white;

    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 15px;
}

.brand small {
    color: #7b8983;
    font-size: 9px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #586963;
    font-size: 12px;
    font-weight: 600;

    transition: .3s;
}

nav a:hover {
    color: #087152;
}

.nav-btn {
    padding: 11px 17px;

    border-radius: 9px;

    background: #087152;
    color: white;

    font-size: 12px;
    font-weight: 700;

    transition: .3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    background: #06553f;
}


/* ==================================================
   HERO
================================================== */

.hero {
    padding: 100px 0 110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(8, 113, 82, .13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7faf8,
            #eaf5f0
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 22px;

    color: #087152;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.hero h1 {
    max-width: 650px;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    letter-spacing: -2.5px;

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #087152;
}

.hero-content > p {
    max-width: 590px;

    color: #6d7b75;

    font-size: 16px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 13px 20px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    transition: .3s;
}

.btn.primary {
    background: #087152;
    color: white;

    box-shadow: 0 12px 25px rgba(8, 113, 82, .18);
}

.btn.primary:hover {
    transform: translateY(-3px);
}

.btn.secondary {
    border: 1px solid #ccd9d3;

    background: white;

    color: #23352e;
}

.btn.secondary:hover {
    color: #087152;
    border-color: #087152;
}

.hero-info {
    display: flex;
    gap: 35px;

    margin-top: 42px;
}

.hero-info div {
    display: flex;
    flex-direction: column;
}

.hero-info strong {
    color: #087152;
    font-size: 18px;
}

.hero-info span {
    color: #89958f;
    font-size: 10px;
}


/* ==================================================
   HERO VISUAL
================================================== */

.hero-visual {
    position: relative;

    min-height: 480px;
}

.hero-card {
    position: absolute;

    overflow: hidden;

    padding: 9px;

    border-radius: 17px;

    background: white;

    box-shadow:
        0 30px 70px rgba(25, 60, 45, .16);

    border: 1px solid #e0eae5;
}

.hero-card img {
    border-radius: 10px;
}

.admin-preview {
    width: 87%;

    top: -100px;
    right: 0;

    transform: rotate(2deg);

    z-index: 1;
}

.user-preview {
    width: 38%;

    bottom: 0;
    left: 0;

    transform: rotate(-4deg);

    z-index: 2;
}

.preview-label {
    padding: 8px 10px;

    color: #087152;

    font-size: 8px;
    font-weight: 800;
}


/* ==================================================
   SECTION
================================================== */

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading.left {
    max-width: 700px;

    margin-left: 0;

    text-align: left;
}

.section-heading > span {
    color: #087152;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    margin: 12px 0 16px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;
}

.section-heading strong {
    color: #087152;
}

.section-heading p {
    color: #77847e;

    font-size: 14px;
}


/* ==================================================
   ABOUT
================================================== */

.about {
    background: white;
}

.about-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 17px;
}

.about-card {
    padding: 27px;

    min-height: 220px;

    border: 1px solid #e1eae5;

    border-radius: 18px;

    background: #f9fbfa;

    transition: .3s;
}

.about-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 20px 40px rgba(25, 65, 48, .08);
}

.icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 13px;

    background: #e7f4ee;

    font-size: 21px;
}

.about-card h3 {
    margin-bottom: 8px;

    font-size: 16px;
}

.about-card p {
    color: #77847e;

    font-size: 12px;
}


/* ==================================================
   PANEL SECTIONS
================================================== */

.panel-section {
    background: #f4f8f6;
}

.admin-section {
    background: white;
}


/* ==================================================
   SCREENSHOT GRID
================================================== */

.screenshots-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.screen-card {
    overflow: hidden;

    border: 1px solid #e1eae6;

    border-radius: 17px;

    background: white;

    transition: .3s;
}

.screen-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 20px 45px rgba(25, 65, 48, .10);
}

.screen-image {
    height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #dcece5,
            #f4f9f7
        );
}

.screen-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: .4s;
}

.screen-card:hover .screen-image img {
    transform: scale(1.03);
}

.screen-content {
    padding: 17px;
}

.screen-content > span {
    color: #087152;

    font-size: 9px;
    font-weight: 800;
}

.screen-content h3 {
    margin: 5px 0;

    font-size: 14px;
}

.screen-content p {
    color: #7b8782;

    font-size: 11px;
}


/* ==================================================
   FEATURE STRIP
================================================== */

.features-strip {
    padding: 28px 0;

    background: #0b3428;

    color: white;
}

.strip-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

.strip-grid div {
    text-align: center;

    border-right: 1px solid rgba(255,255,255,.12);
}

.strip-grid div:last-child {
    border: none;
}

.strip-grid strong,
.strip-grid span {
    display: block;
}

.strip-grid strong {
    font-size: 14px;
}

.strip-grid span {
    color: #9bb2a9;

    font-size: 9px;
}


/* ==================================================
   FEATURES
================================================== */

.features {
    background: #f4f8f6;
}

.feature-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 17px;
}

.feature-item {
    padding: 25px;

    border: 1px solid #e0e9e5;

    border-radius: 17px;

    background: white;
}

.feature-item b {
    color: #087152;

    font-size: 11px;
}

.feature-item h3 {
    margin: 9px 0;

    font-size: 15px;
}

.feature-item p {
    color: #7b8782;

    font-size: 11px;
}


/* ==================================================
   ARCHITECTURE
================================================== */

.architecture {
    background: white;
}

.architecture-flow {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}

.architecture-box {
    min-width: 180px;

    padding: 23px;

    text-align: center;

    border: 1px solid #dce7e2;

    border-radius: 15px;

    background: #f7faf8;
}

.architecture-box strong,
.architecture-box span {
    display: block;
}

.architecture-box strong {
    color: #087152;

    font-size: 15px;
}

.architecture-box span {
    color: #84918b;

    margin-top: 3px;

    font-size: 10px;
}

.arrow {
    color: #087152;

    font-size: 25px;

    font-weight: 800;
}


/* ==================================================
   TECHNOLOGY
================================================== */

.technology {
    background: #f4f8f6;
}

.tech-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.tech {
    padding: 24px;

    border: 1px solid #e0e9e5;

    border-radius: 15px;

    background: white;
}

.tech strong,
.tech span {
    display: block;
}

.tech strong {
    color: #087152;

    font-size: 16px;
}

.tech span {
    color: #818d88;

    font-size: 10px;
}


/* ==================================================
   PROJECT SUMMARY
================================================== */

.project-summary {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 20% 40%,
            rgba(141, 224, 194, .12),
            transparent 25%
        ),
        #0a2c22;

    color: white;

    text-align: center;
}

.summary-content {
    max-width: 800px;
}

.summary-content > span {
    color: #8ed9bd;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.summary-content h2 {
    margin: 15px 0 18px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;
}

.summary-content h2 strong {
    color: #8ed9bd;
}

.summary-content p {
    color: #b6c9c1;

    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 28px;
}

.btn.light {
    background: white;

    color: #087152;
}


/* ==================================================
   CONTACT
================================================== */

.contact {
    background: white;
}

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.contact-box {
    padding: 27px;

    text-align: center;

    border: 1px solid #e0e9e5;

    border-radius: 17px;

    background: #f9fbfa;
}

.contact-box span {
    color: #8a9690;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.contact-box h3 {
    margin-top: 8px;

    font-size: 15px;
}


/* ==================================================
   FOOTER
================================================== */

footer {
    padding: 50px 0 20px;

    background: #071f18;

    color: white;
}

.footer-main {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 35px;
}

.footer-brand {
    font-size: 19px;

    font-weight: 800;
}

.footer-main p {
    margin-top: 5px;

    color: #829b91;

    font-size: 10px;
}

.footer-links {
    display: flex;

    gap: 22px;
}

.footer-links a {
    color: #9db1aa;

    font-size: 10px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 18px;

    border-top: 1px solid rgba(255,255,255,.08);

    color: #70867e;

    font-size: 9px;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1050px) {

    nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-content {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero-visual {
        width: 100%;

        max-width: 650px;

        margin: auto;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    .nav-btn {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;

        max-width: 300px;
    }

    .btn {
        width: 100%;
    }

    .hero-info {
        gap: 18px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .user-preview {
        width: 42%;
    }

    .section {
        padding: 75px 0;
    }

    .about-grid,
    .screenshots-grid,
    .feature-grid,
    .tech-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .screen-image {
        height: 350px;
    }

    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strip-grid div {
        border-right: none;
    }

    .architecture-flow {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .footer-main,
    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}


/* ==================================================
   IMAGE ZOOM VIEWER
================================================== */

.zoomable-image {
    cursor: zoom-in;
}


/* Full Screen Viewer */

.image-viewer {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    background: rgba(3, 15, 11, .92);

    backdrop-filter: blur(8px);

    overflow: hidden;
}

.image-viewer.active {
    display: flex;
}


/* Image Area */

.viewer-content {

    width: 92vw;
    height: 88vh;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: auto;
}

.viewer-content img {

    max-width: 90%;

    max-height: 85vh;

    object-fit: contain;

    transform-origin: center center;

    transition: transform .2s ease;

    cursor: grab;

    border-radius: 8px;

    box-shadow:
        0 25px 80px rgba(0,0,0,.45);
}

.viewer-content img:active {
    cursor: grabbing;
}


/* Close Button */

.viewer-close {

    position: absolute;

    top: 20px;
    right: 25px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 50%;

    background: rgba(255,255,255,.12);

    color: white;

    font-size: 30px;

    cursor: pointer;

    z-index: 10;

    transition: .2s;
}

.viewer-close:hover {

    background: rgba(255,255,255,.25);

    transform: rotate(90deg);
}


/* Zoom Controls */

.zoom-controls {

    position: absolute;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 6px;

    border-radius: 12px;

    background: rgba(255,255,255,.12);

    backdrop-filter: blur(10px);
}

.zoom-controls button {

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 8px;

    background: rgba(255,255,255,.15);

    color: white;

    font-size: 20px;

    cursor: pointer;

    transition: .2s;
}

.zoom-controls button:hover {

    background: #087152;

}

#zoomValue {

    min-width: 55px;

    text-align: center;

    color: white;

    font-size: 12px;

    font-weight: 700;
}


/* Mobile */

@media (max-width: 600px) {

    .viewer-content {

        width: 100vw;

        height: 90vh;
    }

    .viewer-content img {

        max-width: 95%;

        max-height: 80vh;
    }

    .zoom-controls {

        top: auto;

        bottom: 20px;
    }

    .viewer-close {

        top: 15px;

        right: 15px;
    }

}