/* Core Structural Styles & Variables */
:root {
    --primary-color: #2c8a8a; 
    --primary-hover: #24a4a4;
    --secondary-color: #f4f5f7;
    --text-main: #373a3d;
    --text-muted: #5e6c84;
    --background-white: white;
    --border-color: #dfe1e6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-main);
    background-color: #fafbfc;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

/* Typography elements */
h1 { font-size: 2.8rem; margin-bottom: 20px; font-weight: 700; color: #091e42; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 10px; color: #091e42; }
p { color: var(--text-muted); }

.section-title { margin-top: 20px; }
.section-subtitle { text-align: center; font-size: 1.1rem; margin-bottom: 50px; }

/* Buttons Custom Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
    cursor: pointer;
}
.btn-primary { background: var(--primary-color); color: white; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--secondary-color); color: var(--text-main); margin-right: 10px; }
.btn-secondary:hover { background: #ebecf0; }
.btn-outline { border: 2px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { background: var(--secondary-color); }
.btn-large { padding: 14px 28px; font-size: 1.1rem; }
.full-width { display: block; text-align: center; }

/* Navigation Bar Styles */
.navbar {
    background: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
}
.logo span { color: var(--text-main); }
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 20px;
    font-weight: 500;
}
.nav-links a:hover { color: var(--primary-color); }

/* Hero Branding Section */
.hero {
    background: linear-gradient(135deg, #2c8a8a 0%, #ffffff 100%);
    text-align: center;
    padding: 100px 0;
}
.hero-content { max-width: 800px; padding: 0 20px; }
.hero p { font-size: 1.25rem; margin-bottom: 35px; }
.hero-buttons .btn { margin: 5px; }

/* Product Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(9,30,66,0.05);
}
.screenshot-placeholder {
    width: 100%;
    background: #ebecf0;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.screenshot-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}
.feature-card h3 { margin-bottom: 10px; color: #091e42; }

/* Pricing Grid Tables */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}
.pricing-card {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 4px 6px rgba(9,30,66,0.05);
    display: flex;
    flex-direction: column;
}
.pricing-card.professional {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 12px;
    text-transform: uppercase;
}
.price { font-size: 2.5rem; font-weight: 700; color: #091e42; margin: 15px 0 5px 0; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.price-desc { font-style: italic; margin-bottom: 25px; min-height: 40px; }
.price-features { list-style: none; margin-bottom: 35px; flex-grow: 1; }
.price-features li { padding: 8px 0; border-bottom: 1px solid #f4f5f7; color: var(--text-main); }
.price-features li::before { content: "✓  "; color: #36b37e; font-weight: bold; }

/* Footer Design styling */
.footer {
    background: #2c8a8a;
    color: #f8fafc;
    padding: 40px 0;
    margin-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}
.footer p { color: #a5adba; }
.footer-links a { color: #c1c7d0; text-decoration: none; margin-left: 20px; }
.footer-links a:hover { color: white; }

/*under construction */
/* Full screen dark viewport background framework */
/* Fixes the banner cleanly to the top of the screen */
/* The outer fixed structural container layer */
.sticky-banner-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    z-index: 10000;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    /* Soft semi-transparent background blend behind the card */
    background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 100%);
    backdrop-filter: blur(2px);
}

/* The beautiful floating card panel */
.premium-construction-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    background: #FFFCEF; /* Cream colored warning background fill */
    border: 1px solid #FFE399; /* Smooth amber border accent */
    border-bottom: 4px solid #FFAB00; /* Thick decorative orange base baseline strip */
    border-radius: 12px;
    padding: 16px 32px;
    box-shadow: 0 12px 28px rgba(9, 30, 66, 0.12), 0 4px 8px rgba(9, 30, 66, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Left block configuration rules */
.card-status-block {
    display: flex;
    align-items: center;
    gap: 16px;
    border-right: 1px solid #FFE399;
    padding-right: 24px;
}

/* Live green dynamic pulse dot glow settings */
.active-pulse-dot {
    width: 12px;
    height: 12px;
    background: #36B37E; /* Green active status colour choice */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(54, 179, 126, 0.7);
    animation: premiumGreenGlow 1.8s infinite;
}

.status-icon-box {
    background: #FFF0B3;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.status-text-details {
    display: flex;
    flex-direction: column;
}

.status-text-details .label-title {
    font-size: 0.85rem;
    color: #5E6C84;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-text-details .label-percentage {
    font-size: 1.1rem;
    color: #172B4D;
    font-weight: 700;
}

/* Middle message and tracker styling blocks */
.card-message-block h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: #172B4D;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.mini-progress-track {
    width: 100%;
    height: 6px;
    background: #FFEDB5;
    border-radius: 3px;
    overflow: hidden;
}

.mini-progress-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, #FFAB00 0%, #FF8B00 100%);
    border-radius: 3px;
}

/* Right layout button styling metrics */
.btn-premium-bypass {
    background: #FFFFFF;
    color: #172B4D !important;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #C1C7D0;
    box-shadow: 0 2px 4px rgba(9, 30, 66, 0.08);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-premium-bypass:hover {
    background: #0052CC;
    color: #FFFFFF !important;
    border-color: #0052CC;
    box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* Responsive grid collapsing fallback adjustments for smaller viewports */
@media (max-width: 900px) {
    .premium-construction-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    .card-status-block {
        border-right: none;
        padding-right: 0;
    }
}

/* Glowing dot framework pulse tracking loop */
@keyframes premiumGreenGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(54, 179, 126, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(54, 179, 126, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(54, 179, 126, 0); }
}

/*Dialog for images*/
/* Dark blurred backdrop overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 30, 66, 0.75); /* Dark matching slate background */
    backdrop-filter: blur(4px); /* Modern blur effect */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Forces it above your sticky navbar */
    animation: fadeIn 0.2s ease-out;
}

/* Modal Content Box */
.modal-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Zoomed Image rules */
.modal-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 4px;
}

/* Close corner button button */
.modal-close-btn {
    position: absolute;
    top: -45px;
    right: -10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal-close-btn:hover {
    transform: scale(1.15);
}

/* Smooth entry animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments for mobile devices */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .nav-links a { margin: 0 10px; }
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-card.professional { transform: scale(1); }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}