/* ===================================
   CSS Reset & Base Styles
   =================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Baseado no logo GlideScan */
    --color-primary: #1D728F;
    --color-primary-dark: #155A72;
    --color-primary-light: #2A91B3;
    --color-secondary: #35A372;
    --color-secondary-dark: #2A8259;
    --color-secondary-light: #4BC590;
    --color-highlight: #2dab2cf0;
    --color-azure: #1D728F;
    --color-azure-dark: #155A72;
    --color-azure-light: #2A91B3;
    --color-green: #35A372;
    --color-green-dark: #2A8259;
    --color-gray: #9BA2A4;
    --color-gray-light: #9CA3AF;
    --color-gray-dark: #374151;
    --color-dark: #1F2937;
    --color-darker: #111827;
    --color-white: #FFFFFF;
    --color-background: #F9FAFB;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Text shadown */
    --text-shadow: 0px 0px 4px #00000030;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-gray-dark);
    background-color: var(--color-background);
    overflow-x: hidden;
}

/* Prevent any accidental horizontal overflow and make media elements responsive */
html {
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    font-weight: 400;
}

.highlight {
    color: var(--color-highlight);
    position: relative;
    background: #FFFFFF;
    text-shadow: none;
    padding: 3px 0px;
    border-radius: 11px;
    font-weight: 700;
}

.highlight-hero {
    color: var(--color-highlight);
    position: relative;
    background: #FFFFFF;
    text-shadow: none;
    padding: 3px 10px;
    border-radius: 11px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    transition: all var(--transition-normal);
}

/* Logo CSS - Katucore */
.logo-css {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    position: relative;
    transition: all var(--transition-normal);
}

.logo-css .logo-katu {
    color: var(--color-azure);
    letter-spacing: -1px;
}

.logo-css .logo-core {
    color: var(--color-gray);
    letter-spacing: -1px;
}

.logo-css .logo-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-azure);
    border-radius: 50%;
    top: -4px;
    left: 16px;
}

.logo-css:hover {
    transform: scale(1.05);
}

.nav-title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-highlight);
}

.nav-title-text {
    text-shadow: var(--text-shadow);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-highlight);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 0.375rem;
    transition: all var(--transition-fast);
    position: relative;
    text-shadow: var(--text-shadow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-green-dark) 0%, var(--color-green) 100%);
    transition: transform var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-green-dark);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===================================
   Hero Section (with Parallax)
   =================================== */
.hero {
    position: relative;
    /* subtract navbar height to avoid an extra vertical scroll caused by 100vh + navbar */
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
    filter: blur(3px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(29, 114, 143, 0), rgb(19 48 59 / 88%));
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    color: var(--color-white);
    text-shadow: 2px 4px 20px rgb(0, 0, 0);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.hero-cta .btn {
    min-width: 200px;
}

/* ===================================
   Buttons - Design Único e Moderno
   =================================== */
.btn {
    display: inline-block;
    padding: 1.125rem 2.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    border-radius: 8px;
}

/* Botão Primário - Gradiente Animado */
.btn-primary {
    background: #2dab2cf0;
    /* background: linear-gradient(135deg, var(--color-azure) 0%, var(--color-azure-dark) 100%); */
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.25);
    position: relative;
    overflow: hidden;
    background-clip: padding-box;
    border: 2px solid #FFFFFF;
    /* background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.7) 0%,
            var(--color-azure) 50%,
            var(--color-azure-dark) 100%); */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
    z-index: 1;
    pointer-events: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    /* background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.7) 0%,
            var(--color-azure) 50%,
            var(--color-azure-dark) 100%); */
    box-shadow: 0 5px 25px rgba(30, 58, 95, 0.4),
        0 0 25px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Botão Secundário - Outlined com Neon */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-azure);
    border: 2px solid var(--color-azure);
    position: relative;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(30, 58, 95, 0.1),
        inset 0 0 20px rgba(30, 58, 95, 0.05);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-azure) 0%, var(--color-azure-dark) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    z-index: -1;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    color: var(--color-white) !important;
    border-color: var(--color-azure-dark);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-block {
    width: 100%;
}

/* ===================================
   Scroll Indicator
   =================================== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(16px);
        opacity: 0;
    }
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h3 {
    font-size: 1.875rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-md);
}

.about-text p {
    font-size: 1.0625rem;
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    display: none;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-azure-light) 0%, var(--color-azure) 100%);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.image-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f3f300 0%, #adadad47 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
    width: 420px;
    height: 420px;
    min-width: 300px;
    color: var(--color-white);
}

/* ===================================
   Products Section (with Parallax)
   =================================== */
.products-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
    overflow: hidden;
}

.products-section .section-title {
    color: var(--color-dark);
}

.products-section .section-subtitle {
    color: rgba(0, 0, 0, 0.7);
}

.products-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(16,185,129,0.1)" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    pointer-events: none;
}


.product-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    justify-content: center;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 1rem;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.product-card.featured:hover {
    border-color: var(--color-azure);
}

.product-card.case-study {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, var(--color-white) 100%);
}

.product-card.case-study:hover {
    border-color: var(--color-green);
}

.case-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

.product-icon {
    margin-bottom: var(--spacing-md);
}

.product-icon img,
.product-icon svg {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.product-icon svg {
    color: var(--color-azure);
    stroke-width: 1.5;
}

.case-study .product-icon svg {
    color: var(--color-green);
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
}

.product-category {
    font-size: 1rem;
    color: var(--color-azure);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-description {
    font-size: 1.0625rem;
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.product-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.product-features li {
    padding: var(--spacing-xs) 0;
    color: var(--color-gray-dark);
    font-size: 1rem;
}

.product-features li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: bold;
    margin-right: var(--spacing-xs);
}

/* ===================================
   Dashboard Circle Infographic
   =================================== */
.dashboards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.dashboard-card {
    position: relative;
    background-color: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 420px;
    cursor: pointer;
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.dashboard-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all var(--transition-normal);
}

.dashboard-card:hover .dashboard-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.dashboard-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-lg);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    transition: all var(--transition-normal);
}

.dashboard-card:hover .dashboard-content {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.dashboard-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-azure) 0%, var(--color-azure-dark) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
    transition: all var(--transition-normal);
}

.dashboard-card:hover .dashboard-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.5);
}

.dashboard-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
    stroke-width: 2;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
    transition: all var(--transition-normal);
}

.dashboard-card:hover .dashboard-title {
    transform: translateX(5px);
    color: var(--color-green);
}

.dashboard-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    opacity: 0.85;
    transition: all var(--transition-normal);
}

.dashboard-card:hover .dashboard-description {
    opacity: 1;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .dashboard-card {
        height: 380px;
    }
    
    .dashboard-title {
        font-size: 1.375rem;
    }
    
    .dashboard-description {
        font-size: 0.9375rem;
    }
}

/* ===================================
   Dashboard Modal
   =================================== */
.dashboard-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.dashboard-modal.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dashboard-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.dashboard-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    margin: 5vh auto;
    z-index: 10001;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dashboard-modal-close {
    position: absolute;
    top: -25px;
    right: 0;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10002;
}

.dashboard-modal-close:hover {
    background: var(--color-azure);
    transform: rotate(90deg) scale(1.1);
}

.dashboard-modal-close svg {
    width: 24px;
    height: 24px;
    color: var(--color-dark);
}

.dashboard-modal-close:hover svg {
    color: var(--color-white);
}

.dashboard-modal-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dashboard-modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-dark);
}

.dashboard-modal-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.95) 100%
    );
    color: var(--color-white);
}

.dashboard-modal-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
}

.dashboard-modal-info p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .dashboard-modal-content {
        width: 95%;
        height: 85vh;
        margin: 7.5vh auto;
    }

    .dashboard-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
    }

    .dashboard-modal-close svg {
        width: 20px;
        height: 20px;
    }

    .dashboard-modal-info {
        padding: var(--spacing-md);
    }

    .dashboard-modal-info h3 {
        font-size: 1.5rem;
    }

    .dashboard-modal-info p {
        font-size: 0.9375rem;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}


/* ===================================
   Features Section
   =================================== */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    background-color: var(--color-white);
    border-radius: 0.75rem;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: var(--color-azure);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg,
            rgba(16, 185, 129, 0.08) 0%,
            var(--color-white) 40%,
            var(--color-white) 100%);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-azure) 0%, var(--color-azure-dark) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 1rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* ===================================
   Contact Section (with Parallax)
   =================================== */
.contact-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-azure-dark) 0%, var(--color-dark) 100%);
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,128C96,160,192,224,288,229.3C384,235,480,181,576,176C672,171,768,213,864,213.3C960,213,1056,171,1152,154.7C1248,139,1344,149,1392,154.7L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat top;
    background-size: cover;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info {
    color: var(--color-white);
    background: rgba(30, 58, 95, 0.85);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-info h3 {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    font-weight: 700;
}

.contact-info>p {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-green);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a,
.contact-item p {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--color-green);
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--color-gray-dark);
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    background-color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-azure);
    box-shadow: 0 0 0 3px rgba(0, 116, 217, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Form Message/Feedback */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

.form-message-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

.form-message-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #3B82F6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--color-darker);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-appname {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-highlight) !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--color-green-dark);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    position: relative;
    margin-bottom: var(--spacing-md);
}

.footer-logo .logo-katu {
    color: var(--color-gray-light);
    letter-spacing: -1px;
}

.footer-logo .logo-core {
    color: var(--color-gray-light);
    letter-spacing: -1px;
}

.footer-logo .logo-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--color-gray-light);
    border-radius: 50%;
    top: -4px;
    left: 13px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-appname {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    text-align: center;
    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--color-azure);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

/* center the SVG icon inside the circular button */
.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--color-azure-dark);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Parallax Effect
   =================================== */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===================================
   Animation Classes (for JavaScript)
   =================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ===================================
   Responsive Design
   =================================== */

/* Responsive breakpoints */
@media (max-width: 1600px) {
    .product-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 1200px) {
    .product-showcase {
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        color: var(--color-gray-dark);
    }

    .nav-link {
        width: 100%;
        padding: var(--spacing-md);
        border-bottom: 1px solid #E5E7EB;
    }

    .nav-toggle {
        display: flex;
    }

    .logo-css {
        font-size: 24px !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .btn {
        width: 100%;
    }

    /* Fix hero height and button minimum width on small screens to prevent horizontal overflow */
    .hero {
        min-height: 70vh;
    }

    .hero-cta .btn {
        min-width: 0;
    }

    /* Make large SVG placeholders responsive to avoid fixed min-width overflow */
    .image-placeholder {
        padding: 0.5rem;
    }

    .image-placeholder svg {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        max-width: 420px;
    }

    /* Reduce container horizontal padding on small screens */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Ensure mobile nav menu positions beneath the navbar (avoid being hidden or off by wrong offset) */
    .nav-menu {
        top: 64px;
    }

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

    .case-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    .parallax-section {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    /* Mobile-only: add slight spacing below the "GlideScan" span in the hero title */
    .hero-title .highlight-hero {
        display: inline-block;
        margin-bottom: 0.6rem;
    }

    /* Mobile-only: increase top padding for hero to give more breathing room under the navbar */
    .hero-content {
        padding-top: 4rem;
        padding-bottom: 2.5rem;
    }

    /* Mobile-only: reduce horizontal padding on contact form for better fit */
    .contact-form {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    /* Mobile-only: make Dashboards section title and subtitle use contrasting (light) colors */
    #dashboards .section-title {
        color: var(--color-white) !important;
    }

    #dashboards .section-subtitle {
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .product-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {

    .navbar,
    .scroll-indicator,
    .back-to-top,
    .nav-toggle {
        display: none;
    }

    .parallax-section {
        background-attachment: scroll;
    }
}

/* Mobile: stack footer-bottom elements vertically so paragraph appears above the div */
@media (max-width: 480px) {
    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-bottom > div {
        width: 100%;
        margin-top: 0;
    }
}