* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
}

/* --- Custom Theme Variables --- */
:root {
    --product-bg: #000000;
    --product-card-bg: #2b2d30;
    --product-text-main: #ffffff;
    --product-text-muted: #afb1b3;
    --product-accent: #76b600;
}

body,
.app-main {
    background-color: var(--product-bg);
    color: var(--product-text-main);
}

/* --- Layout Utilities (Replacing Bootstrap) --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.flex-column {
    flex-direction: column;
}

.gap-3 {
    gap: 1rem;
}

.gap-5 {
    gap: 3rem;
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.fw-bold {
    font-weight: 700;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Colors */
.text-muted {
    color: var(--product-text-muted);
}

.text-white {
    color: #fff;
}

.text-primary {
    color: #0d6efd;
}

.text-success {
    color: #198754;
}

.text-warning {
    color: #ffc107;
}

.text-info {
    color: #0dcaf0;
}

.hero-main-app-banner {
    padding: 50px 0px;
    background-image: url("/assets/images/pdtbg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-main-app-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), #000);
    z-index: 1;
}

.hero-content {
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

/* Responsive Hero Headline */
.hero-headline {
    text-align: left;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    margin-top: 0px;
}

.hero-headline-app-name {
    font-size: clamp(1rem, 5vw, 2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    text-align: left;
}

.hero-subhead {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--product-text-muted);
    max-width: 800px;
    text-align: left;
}

.product-logo-placeholder {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.cta-box h2 {
    margin-top: 0px;
}

/* Hero Screenshot */
.hero-screenshot {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    overflow: hidden;
    background-color: #000000;
}



img.product-ss-main {
    width: 100%;
    height: auto;
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

/* Custom Buttons */
.btn {
    display: inline-block;
    padding: 8px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-light {
    background: #fff;
    color: #000;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/* Feature Grid (CSS Grid) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(33, 150, 243, 0.15);
    color: var(--product-accent);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

h3 {
    color: #fff;
    margin-top: 0;
}

/* Alternating Sections (Flexbox) */
.alternating-section {
    padding: 80px 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-text {
    flex: 1;
}

.split-image {
    flex: 1;
}

.placeholder-img {
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--product-card-bg);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Testimonials / Use Cases Grid */
.testimonial-section {
    border-radius: 3px;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.testimonial-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.testimonial-card {
    background: var(--product-card-bg);
    border: 1px solid #333;
    border-radius: 3px;
    padding: 30px;
    flex: 200px;
}

.cta-box {
    color: #fff;
    border-radius: 3px;
    padding: 60px 20px;
    text-align: center;
    margin: 80px 0;
}

.display-5 {
    font-size: 2.5rem;
    line-height: 1.2;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .split-layout {
        flex-direction: column;
        text-align: center;
        gap: 0rem;
    }

    /* ADD THIS BLOCK: */
    .split-image {
        /* Moves the image to the top visually */
        order: -1;
        /* Adds some space between the image and the text below it */
        margin-bottom: 2rem;
    }

    /* END NEW BLOCK */

    .split-layout.reverse {
        flex-direction: column;
    }

    .cta-box .btn {
        width: 100%;
    }
}


.hero-content-intro {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 50px;
}

.product-data-link-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 40px 0px;
}

/* Desktop Media Query */
@media (min-width: 992px) {
    .hero-content-intro {
        display: flex;
        flex-direction: row-reverse;
        gap: 100px;
        justify-content: space-between;
    }

    img.product-logo-holder {
        min-width: 120px !important;
    }

    .product-logo-placeholder {
        justify-content: flex-end !important;
    }

}


img.product-logo-holder {
    width: 15%;
    min-width: 70px;

}

/* Section Container - Dark Background */
#how-to-guide {
    padding: 60px 0;
}

.guide-section {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

/* Individual Step Cards */
.guide-step {
    background-color: #1e1e1e;
    /* Slightly lighter card background */
    padding: 30px;
    border-radius: 3px;
    border-left: 4px solid #bb86fc;
    /* ImageSpec Purple Accent */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover Effect */
.guide-step:hover {
    transform: translateY(-5px);
}

.guide-step h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 15px;
    margin-top: 0px;
}

.guide-step ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.guide-step li {
    color: #aaa;
    /* Muted text color */
    margin-bottom: 8px;
    line-height: 1.6;
}

.guide-step strong {
    color: #e0e0e0;
}

.split-image {
    width: 100%;
}