@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and base styles */
:root {
    --primary-color: #005a9e;
    --secondary-color: #0078d4;
    --accent-color: #f4f4f4;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-light: #ffffff;
    --background-dark: #f8f9fa;
    --border-color: #e1e1e1;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 254, 254, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
    animation: fadeInUp 0.8s ease-out;
}

.loading-logo {
    margin-bottom: 1rem;
}

.loading-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.loading-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
}

.loading-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: rgba(0, 0, 0, 0.6);
    animation-delay: 0.2s;
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 20px;
    left: 20px;
    border-top-color: rgba(0, 0, 0, 0.4);
    animation-delay: 0.4s;
}

.loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive loading overlay */
@media (max-width: 768px) {
    .loading-title {
        font-size: 2rem;
    }
    
    .loading-logo-img {
        width: 60px;
        height: 60px;
    }
    
    .loading-spinner {
        width: 60px;
        height: 60px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 45px;
        height: 45px;
        top: 7.5px;
        left: 7.5px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 30px;
        height: 30px;
        top: 15px;
        left: 15px;
    }
    
    .loading-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .loading-title {
        font-size: 1.75rem;
    }
    
    .loading-logo-img {
        width: 50px;
        height: 50px;
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    
    .spinner-ring:nth-child(2) {
        width: 37.5px;
        height: 37.5px;
        top: 6.25px;
        left: 6.25px;
    }
    
    .spinner-ring:nth-child(3) {
        width: 25px;
        height: 25px;
        top: 12.5px;
        left: 12.5px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-light);
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    width: 100%;
}

/* Typography Scale with responsive adjustments */
:root {
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.5rem;
    --font-size-7xl: 4rem;
    
    /* Responsive base font size */
    font-size: 100%;
}

/* Responsive typography */
@media screen and (max-width: 1600px) {
    :root {
        --font-size-6xl: 3.25rem;
        --font-size-5xl: 2.75rem;
    }
}

@media screen and (max-width: 1200px) {
    :root {
        --font-size-6xl: 3rem;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 1.875rem;
        --font-size-3xl: 1.625rem;
        --font-size-2xl: 1.375rem;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --font-size-6xl: 2rem;
        --font-size-5xl: 1.875rem;
        --font-size-4xl: 1.625rem;
        --font-size-base: 0.9375rem;
    }
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-6xl); }

h2 { 
    font-size: var(--font-size-5xl);
    color: var(--text-primary);
}

h3 { 
    font-size: var(--font-size-4xl);
    color: #ffffff; /* White color for better visibility */
}

h4 { 
    font-size: var(--font-size-3xl);
    color: var(--text-primary);
}

h5 { 
    font-size: var(--font-size-2xl);
    color: var(--text-primary);
}

h6 { 
    font-size: var(--font-size-xl);
    color: var(--text-primary);
}

/* Body text styles */
p, ul, ol {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* List styles */
.description-list {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.description-list li {
    margin-bottom: 0.25rem;
    padding-left: 0.75rem;
    position: relative;
}

.description-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.2em;
}

/* Improved font smoothing */
p, span, h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem; /* Account for fixed header */
}

/* Header styling */
.ribbon {
    background: var(--primary-color);
    padding: 0.75rem 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-name {
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .ribbon {
        padding: 1rem 2rem;
    }
    
    .product-name {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .ribbon {
        padding: 1rem 3rem;
    }
    
    .product-name {
        font-size: 2.2rem;
    }
}

.logo-container {
    max-width: 240px;
    margin: 0;
    padding: 0;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.product-name {
    color: white;
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 1rem 0 0;
    display: inline-block;
    vertical-align: middle;
}

/* Hero section */
.hero {
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0rem;
    align-items: center;
}

.hero-image {
    order: -1;
    max-width: 100%;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    margin-top: 0;
}

@media (min-width: 992px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 0rem;
        padding: 4rem 2rem;
        margin-left: 3rem;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-content {
        text-align: left;
        margin-top: 2rem;
    }
}

.tagline {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: capitalize;
}

.tagline-subtext {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 2rem 0;
    line-height: 1.5;
    max-width: 700px;
    font-weight: 400;
    padding-top: 0.75rem;
}

@media (max-width: 768px) {
    .tagline {
        font-size: 2rem;
    }
    
    .tagline-subtext {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 1.75rem;
    }
    
    .tagline-subtext {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 768px) {
    .tagline {
        font-size: 3.8rem;
    }
}

@media (min-width: 992px) {
    .tagline {
        font-size: 4.5rem;
        margin-bottom: 2rem;
    }
}

.product-screenshot {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
    display: block;
    margin: 0 auto;
}

.product-screenshot:hover {
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .product-screenshot {
        max-width: 100%;
    }
}

/* Features section */
.features-heading {
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* View More Button */
.view-more-container {
    text-align: center;
    margin: 0rem 0 1rem;
    padding: 0 1rem;
}

.view-more-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e1e1;
    padding: 0.85rem 2.5rem;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    min-width: 200px;
}

/* Specific styling for Product Features section button */
.black-section .view-more-btn {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #000000;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
    min-width: 200px;
}

.black-section .view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.black-section .view-more-btn:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-color: #ffffff;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.black-section .view-more-btn:hover::before {
    left: 100%;
}

.black-section .view-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
    background: #e9ecef;
    color: #000000 !important;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.view-more-btn:hover {
    background: #e9ecef;
    border-color: #ced4da;
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.view-more-btn:hover::before {
    opacity: 1;
}

.view-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    background: #e2e6ea;
    color: #1a1a1a !important;
}

/* Add a subtle animation when toggling */
@keyframes fadeIn {
    from { opacity: 0.6; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.features-grid {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Hide features beyond the first nine cards by default */
.features-grid:not(.expanded) .feature-card:nth-child(n+10) {
    display: none;
}

/* Show all features when expanded */
.features-grid.expanded .feature-card {
    display: block !important;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    /* Show first 9 items on tablet */
    .features-grid:not(.expanded) .feature-card:nth-child(n+10) {
        display: none;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 2rem;
    }
    
    /* Show first 6 items (2 rows) on desktop */
    .features-grid:not(.expanded) .feature-card:nth-child(n+10) {
        display: none;
    }
}

.feature-card {
    background: var(--background-light);
    border-radius: 8px;
    padding: 0.75rem;
    box-shadow: 0 2px 4px var(--shadow-color);
    height: 100%;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

@media (min-width: 600px) {
    .feature-card {
        min-height: 240px;
    }
}

/* Feature Header - 2 column layout */
.feature-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    width: 100%;
    position: relative;
    min-height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

/* Header Content */
.header-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    height: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.header-content h4 {
    color: white !important;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Header Image */
.header-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    transition: transform 0.3s ease;
    z-index: 1;
    pointer-events: auto;
}

.header-image::before {
    content: '👁';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.2rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(2px);
}

.header-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.header-image:hover::before {
    opacity: 1;
}

.header-image img {
    display: none;
}

/* Adjust image sizes based on specific classes */
.header-image .document-image {
    max-height: 4em;
}

.header-image .file-viewer-image {
    max-height: 3.5em;
}

.header-image .chatbot-image {
    max-height: 4.5em;
}

/* Hover effects */
.header-image:hover img {
    transform: scale(1.05);
}

/* Feature Description */
.feature-description {
    width: 100%;
    padding: 0.5rem 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
    text-align: left;
}

/* Description list */
.description-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.description-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.description-list li:before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Feature Card Hover Effect */
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 90, 158, 0.05) 0%, rgba(0, 120, 212, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.grid-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: start;
    padding: 0.5rem;
}

.grid-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grid-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    align-self: flex-start;
}

.grid-image img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.grid-image .file-viewer-image {
    max-height: 180px;
}

.grid-image .chatbot-image {
    max-height: 200px;
}

.grid-content h3 {
    font-size: 1.1rem;
    margin: 0.25rem 0 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.description-list {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.description-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.description-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.2em;
}

.document-image, .file-viewer-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 12px var(--shadow-color);
    transition: transform var(--transition-speed);
}

.document-image:hover, .file-viewer-image:hover {
    transform: scale(1.01);
}

/* Responsive design */
@media (max-width: 1200px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .features-section {
        padding: 5rem 1rem;
    }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 1rem;
    }

    .tagline {
        font-size: 2.5rem;
    }

    .features-heading {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        grid-template-columns: 1fr;
        gap: 0rem;
    }
    
    .hero-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .features-heading {
        font-size: var(--font-size-4xl);
        padding: 0 1rem;
    }
    
    .product-name {
        font-size: 1.75rem;
        margin: 0;
    }
    
    .tagline {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }

    .description-list li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .grid-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid-content h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .ribbon {
        padding: 1.5rem 1rem;
        gap: 0.5rem;
    }

    .product-name {
        font-size: 1.8rem;
    }

    .tagline {
        font-size: 1.8rem;
    }

    .features-heading {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .description-list li {
        font-size: 0.85rem;
    }

    .grid-content h3 {
        font-size: 1.4rem;
    }
}

/* Ribbon header styles */
.ribbon {
    background: #ffffff;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.ribbon-content {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    justify-content: center;
}

.ribbon-spacer {
    flex: 1;
}

/* Ribbon navigation */
.ribbon-nav {
    display: flex;
    align-items: center;
    position: absolute;
    left: 2rem;
    z-index: 1;
    margin-left: 8rem;
}

.ribbon-link {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.ribbon-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 90, 158, 0.05);
}

.ribbon-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.ribbon-link:hover::after {
    width: 80%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
}

.logo {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin-right: 0rem;
}

.product-name {
    color: #000000;
    font-size: 1.6rem;
    margin: 0 2rem 0 0;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

/* Main content styling */
main {
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Black section styles */
.black-section {
    background-color: #000000;
    padding: 1.5rem 0;
    width: 100%;
}

.black-section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    color: white;
    text-align: center;
}

.feature-card {
    background: rgba(45, 45, 45, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.grid-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-top: 0;
    padding: 0;
}

.grid-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.grid-content h3 {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.3;
    color: white;
    margin: 0 0 1.5rem 0;
    letter-spacing: -0.01em;
}

.description-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.description-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.4;
}

.description-list li::before {
    content: "👉"; /* Checkmark symbol */
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    width: 1.2rem;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(255, 255, 255, 0.1); */
    border-radius: 4px;
    margin-right: 0.8rem;
}

/* Responsive adjustments for description list */
@media (max-width: 768px) {
    .description-list li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .description-list li::before {
        font-size: 0.9rem;
    }
}

.grid-image {
    flex: 1;
    max-width: 50%;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-screenshot {
    cursor: pointer;
}

.document-image {
    max-width: 80%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.grid-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.grid-image img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.grid-image .file-viewer-image {
    max-height: 180px;
}

.grid-image .chatbot-image {
    max-height: 200px;
}

.grid-image:hover img {
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.chatbot-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chatbot-image:hover::after {
    opacity: 1;
}

.chatbot-image:hover {
    transform: none;
}

.document-image {
    max-width: 80%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: contain;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.document-image:hover {
    transform: scale(1.05);
}

.document-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-image:hover::after {
    opacity: 1;
}

.document-image:hover {
    transform: none;
}

.file-viewer-image {
    max-width: 90%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: contain;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.file-viewer-image:hover {
    transform: scale(1.05);
}

.file-viewer-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-viewer-image:hover::after {
    opacity: 1;
}

.file-viewer-image:hover {
    transform: none;
}

/* Full-size image preview */
.full-size-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.98);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.full-size-preview img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.close-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.close-preview:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Add JavaScript to handle the preview */
body {
    overflow-y: auto;
}

.chatbot-image:hover {
    transform: scale(1.05);
}

.file-viewer-image {
    max-width: 90%;
    max-height: 250px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

/* Responsive adjustments for grid section */
@media (max-width: 768px) {
    .grid-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-top: 2rem;
        padding: 1rem 0;
    }
    
    .grid-content, .grid-image {
        max-width: 100%;
    }
    
    .grid-content h3 {
        font-size: 1.8rem;
    }
    
    .document-image {
        max-width: 90%;
        margin: 0 auto;
    }
}

.features-heading {
    font-size: 2.4rem;
    font-weight: 600;
    color: white;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    /* letter-spacing: 0.01em; */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* Responsive adjustments for features heading */
@media (max-width: 768px) {
    .features-heading {
        font-size: 1.8rem;
    }
}

/* Responsive adjustments for black section */
@media (max-width: 768px) {
    .black-section {
        padding: 2rem 0;
        margin-top: 1rem;
    }
    
    .black-section-content {
        max-width: 100%;
        padding: 0 1rem;
    }
}

/* Hero section styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0rem;
    margin-bottom: 2rem;
    padding: 2rem 0 2rem;
}

.hero-content {
    flex: 1;
    max-width: 35%;
    padding-right: 3rem;
}

.tagline {
    font-size: clamp(2.2rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    margin: 0;
    text-align: left;
}

/* Responsive tagline adjustments */
@media (max-width: 1200px) {
    .tagline {
        font-size: clamp(2rem, 3.5vw, 2.2rem);
    }
}

@media (max-width: 992px) {
    .tagline {
        font-size: clamp(1.8rem, 3vw, 2rem);
        text-align: center;
    }
}

@media (max-width: 768px) {
    .tagline {
        font-size: clamp(1.6rem, 3vw, 2rem);
        text-align: center;
        margin-bottom: 2rem;
        margin-top: 0.5rem;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: -0.02em;
        line-height: 1.3;
        padding: 1rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 576px) {
    .tagline {
        font-size: clamp(1.4rem, 2vw, 1.6rem);
        text-align: center;
        margin-bottom: 1.2rem;
        padding-top: 30px;
    }
}

.hero-image {
    flex: 1;
    max-width: 65%;
    padding-left: 0rem;
}

.product-screenshot {
    max-width: 95%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
    display: block;
    margin-left: auto;
    transform: scale(1);
}

/* Responsive design */
@media (max-width: 1200px) {
    .hero {
        gap: 0rem;
    }
    
    .hero-content {
        max-width: 45%;
    }
    
    .hero-image {
        max-width: 45%;
    }
}

@media (max-width: 992px) {
    .hero {
        gap: 0rem;
        padding: 3rem 0;
    }
    
    .hero-content {
        max-width: 50%;
    }
    
    .hero-image {
        max-width: 50%;
    }
    
    .product-screenshot {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        margin-bottom: 0rem;
        padding-bottom: 0rem;
    }
    
    .hero-content, .hero-image {
        max-width: 100%;
        padding: 0rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
}

/* Technologies Section */
.technologies-section {
    padding: 1.5rem 1.5rem;
    background-color: #000000;
    text-align: center;
}

.technologies-container {
    max-width: 1200px;
    margin: 0 auto;
}

.technologies-container h2 {
    color: white;
}

.technologies-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.tech-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.tech-logo:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .technologies-grid {
        gap: 1.5rem;
    }
    
    .tech-logo {
        width: 60px;
        height: 60px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: white;
    color: white;
    padding: 0.5rem 2rem;
    text-align: center;
    margin-top: 0.1rem;
    font-size: var(--font-size-sm);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-footer a {
    color: blue;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: blueviolet;
    text-decoration: none;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 1.25rem 1rem;
        font-size: 0.875rem;
    }
}

/* Responsive navigation */
@media (max-width: 1024px) {
    .ribbon-nav {
        left: 1rem;
    }
    
    .ribbon-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .ribbon-nav {
        position: relative;
        right: 1rem;
        left: auto;
        margin-right: 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .ribbon-link {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .logo-container {
        margin-left: 0;
    }
    
    .product-name {
        font-size: 1.4rem;
        margin: 0 0 0 1rem;
    }
}

@media (max-width: 480px) {
    .ribbon-nav {
        gap: 0.25rem;
    }
    
    .ribbon-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .product-name {
        font-size: 1.2rem;
        margin: 0 1rem 0 0;
    }
}

/* Modern Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 1rem;
        left: auto;
    }

    .ribbon-nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        height: 100vh;
        width: 250px;
        background: white;
        flex-direction: column;
        padding: 4rem 1rem 1rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .ribbon-nav.active {
        right: 0;
    }

    .ribbon-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid #eee;
        font-size: 1.1rem;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(128, 128, 128, 0.8);
        z-index: 998;
    }

    .overlay.active {
        display: block;
    }
}

/* How To Guide Section Styles */
.how-to-guide-section {
    background: var(--background-light);
    padding: 1rem 0 2rem 0;
    min-height: auto;
}

.how-to-guide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.how-to-guide-container h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: black;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-feature-settings: 'tnum';
    font-variant-numeric: tabular-nums;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
}

/* Responsive adjustments for How To Guide heading */
@media (max-width: 768px) {
    .how-to-guide-container h2 {
        font-size: 1.8rem;
    }
}

.guide-expanders {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.guide-expander {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all var(--transition-speed) ease;
}

.guide-expander:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.expander-header {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.expander-header:hover {
    background: linear-gradient(135deg, #1a1a1a, #404040);
}

.expander-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin: 0;
    color: white;
}

.expander-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform var(--transition-speed) ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expander-header.active .expander-icon {
    transform: rotate(45deg);
}

.expander-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease;
    background: white;
}

.expander-content.active {
    max-height: 1000px;
}

.video-container {
    padding: 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-color);
}

.guide-video {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.video-description {
    padding: 1.5rem 2rem;
}

.video-description p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for How To Guide */
@media (max-width: 768px) {
    .how-to-guide-section {
        padding: 2rem 0;
    }
    
    .how-to-guide-container {
        padding: 0 1rem;
    }
    
    .guide-expanders {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .expander-header {
        padding: 1rem 1.5rem;
    }
    
    .expander-title {
        font-size: var(--font-size-lg);
    }
    
    .video-container {
        padding: 1rem;
    }
    
    .video-description {
        padding: 1rem 1.5rem;
    }
    
    .guide-video {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .expander-header {
        padding: 0.75rem 1rem;
    }
    
    .expander-title {
        font-size: var(--font-size-base);
    }
    
    .video-container {
        padding: 0.75rem;
    }
    
    .video-description {
        padding: 0.75rem 1rem;
    }
}

/* Hidden expanders for How To Guide */
.hidden-expander {
    display: none;
}

.guide-expanders.expanded .hidden-expander {
    display: block;
}

/* View More/Less button for How To Guide */
.view-more-container {
    text-align: center;
    margin-top: 2rem;
}

.view-more-btn {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.view-more-btn:hover {
    background: linear-gradient(135deg, #1a1a1a, #404040);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: white !important;
}

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

.view-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: white !important;
}

@media (max-width: 768px) {
    .view-more-btn {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-base);
    }
}
