/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #227A80;
    --primary-dark: #1a5f64;
    --secondary-color: #D2C6E1;
    --accent-color: #D2C6E1;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #227A80 0%, #D2C6E1 100%);
    --gradient-accent: linear-gradient(135deg, #D2C6E1 0%, #227A80 100%);
    --max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

body.subpage-body {
    background-color: var(--bg-light);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo a {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

.logo h1 {
    color: var(--primary-color);
    margin: 0;
    font-size: 2rem;
}

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

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

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

.nav-dropdown > .nav-link {
    cursor: default;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 240px;
    list-style: none;
    z-index: 100;
    margin-top: 0.25rem;
    padding-top: 1rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 1rem;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 0.5rem var(--spacing-md);
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

/* Subpage Hero Section */
.subpage-hero {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.subpage-hero-content {
    text-align: left;
    max-width: 800px;
}

.subpage-hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    font-weight: 700;
}

.subpage-hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.subpage-hero-content-full {
    text-align: left;
    max-width: 100%;
}

.subpage-hero-subtitle-full {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.challenges-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

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

.challenge-text {
    flex: 1;
}

.challenge-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.challenge-text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.challenge-icon {
    width: 24px;
    height: 24px;
    color: #d97706;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.hero-title {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    }
    50% {
        transform: translateY(-20px);
        filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.08));
    }
}

.hero-image .placeholder-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Solutions Section */
.solutions {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.solution-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.solution-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #4F3A6B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.solution-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.solution-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Challenges Section */
.challenges {
    padding: calc(var(--spacing-md) * 1.5) 0;
    background: var(--bg-white);
}

.subpage-body .challenges {
    background: var(--bg-light);
}

.challenges h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.challenges-content {
    display: block;
}

.challenges-image {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.challenges-image img {
    width: 70%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid var(--primary-color);
}

/* Comparison Section */
.comparison {
    padding: calc(var(--spacing-md) * 1.5) 0;
    background: var(--bg-white);
}

.subpage-body .comparison {
    background: var(--bg-light);
}

.comparison h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.comparison-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.comparison-highlight {
    color: #4F3A6B;
    font-weight: 700;
}

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Document Processing Module Section */
.doc-module {
    padding: calc(var(--spacing-md) * 1.5) 0;
    background: var(--bg-white);
}

.subpage-body .doc-module {
    background: var(--bg-light);
}

.doc-module h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.doc-module-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-xl) * 1.5);
    line-height: 1.6;
}

.doc-module-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    margin-bottom: calc(var(--spacing-xl) * 1.5);
}

.doc-module-item:last-child {
    margin-bottom: 0;
}

.doc-module-content h3,
.doc-module-content-full h3 {
    font-size: 1.75rem;
    color: #4F3A6B;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.doc-module-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.doc-module-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.doc-module-benefit {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: 0.5rem;
    border-left: 4px solid #4F3A6B;
}

.doc-module-benefit strong {
    color: #4F3A6B;
    font-weight: 700;
}

.doc-module-benefit-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-md);
}

.doc-module-image-left {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.doc-module-image-left img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid var(--primary-color);
}

.email-category-image {
    width: 544px;
    max-width: 100%;
}

.doc-module-image {
    width: 100%;
}

.doc-module-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid var(--primary-color);
}

.doc-module-image-full {
    width: 100%;
    margin-top: var(--spacing-lg);
}

.doc-module-image-full img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    border: 1px solid var(--primary-color);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .doc-module-item {
        grid-template-columns: 1fr;
    }

    .doc-module-benefit-with-image {
        grid-template-columns: 1fr;
    }
}

/* Use Cases Section */
.use-cases {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.use-cases .container {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: var(--spacing-lg);
    max-width: 1136px;
    background: var(--bg-white);
}

.use-cases h2 {
    text-align: left;
    margin-bottom: var(--spacing-sm);
    font-size: 1.75rem;
}

.use-cases-intro {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.use-cases-intro + .use-cases-intro {
    margin-top: calc(var(--spacing-md) * -0.75);
}

.use-cases-highlight {
    color: #4F3A6B;
    font-weight: 700;
}

.use-cases-list {
    list-style-type: disc;
    padding-left: var(--spacing-xl);
}

.use-cases-list li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
}

.use-cases-list li::marker {
    color: #4F3A6B;
}

/* Features Section */
.features {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.contact-intro {
    text-align: center !important;
    line-height: 1.4 !important;
}

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

.feature-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #4F3A6B;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* Contact Us Banner */
.contact-banner {
    padding: 0;
}

.subpage-body .contact-banner {
    background: var(--bg-light);
    padding: 0;
    padding-bottom: var(--spacing-xl);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: calc(var(--spacing-lg) * 0.75);
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    gap: calc(var(--spacing-md) * 0.5);
}

.banner-text h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 400;
}

.banner-text .highlight {
    font-weight: 700;
    color: white;
}

.banner-cta h3 {
    margin: 0;
}

.btn-banner {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-banner:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* About Section */
.about {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-light);
}

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

.about-image {
    width: 100%;
}

.team-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    display: block;
    object-fit: cover;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.team-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
}

.about-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
    font-size: 1rem;
}

.about-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}


/* Pricing Section */
.pricing {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
}

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

.pricing-card {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.price {
    margin: var(--spacing-lg) 0;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .currency,
.price .period {
    font-size: 1.25rem;
    color: var(--text-light);
}

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

.pricing-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    margin-top: var(--spacing-md);
}

/* Contact Section */
.contact {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-white);
    scroll-margin-top: 70px;
}

.subpage-body .contact {
    background: var(--bg-light);
}

.contact .section-header h2 {
    font-size: 1.75rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.contact-card {
    background: var(--primary-color);
    padding: var(--spacing-md);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

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

.contact-image-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid white;
    flex-shrink: 0;
}

.contact-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: space-between;
}

.contact-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.contact-role {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    border-bottom: 1px solid white;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0;
}

.contact-email,
.contact-phone {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: white;
}

.footer-section p {
    color: #cbd5e0;
}

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

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

.footer-section a {
    color: #cbd5e0;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: #cbd5e0;
    margin: 0;
    font-size: 1rem;
}

/* Simple Footer Layout */
.footer-content-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-left p {
    text-align: left;
    color: #cbd5e0;
    margin: 0;
    font-size: 1rem;
}

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

.footer-center p {
    color: #cbd5e0;
    margin: 0;
    font-size: 1rem;
}

.footer-center a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-center a:hover {
    color: white;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: #cbd5e0;
    margin: 0;
    font-size: 1rem;
}

.footer-right a {
    color: #cbd5e0;
    text-decoration: none;
    margin-left: 0.5rem;
}

.footer-right a:hover {
    color: white;
}

.social-link-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem !important;
}

.social-link-box:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-image {
        display: none;
    }

    .about-image {
        order: -1;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 49;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.hide-desktop {
    display: none;
}

.hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    /* Email kezelés mobile styles */
    .subpage-body h2,
    .subpage-body h3 {
        text-align: center;
    }

    .subpage-body .subpage-hero-title,
    .subpage-body .subpage-hero-subtitle {
        text-align: center;
    }

    .subpage-body .comparison-text,
    .subpage-body .doc-module-intro {
        text-align: center;
    }

    .subpage-body .challenges,
    .subpage-body .comparison,
    .subpage-body .doc-module {
        padding: 32px 0;
    }

    .subpage-body .use-cases {
        padding: 16px 0 32px 0;
    }

    .comparison-stats {
        gap: 16px;
    }

    .subpage-body .doc-module-content h3[style*="margin-top"] {
        margin-top: 48px !important;
        margin-bottom: 2.25rem;
    }

    .subpage-body .doc-module-intro {
        margin-bottom: 32px;
    }

    .subpage-body .doc-module-item-full {
        margin-top: 32px;
    }

    .subpage-body .doc-module-content-full h3 {
        margin-top: 32px;
    }

    .subpage-body .doc-module-item {
        margin-bottom: 0;
    }

    .subpage-body .doc-module-content h3:not([style*="margin-top"]) {
        margin-top: 32px;
    }

    .subpage-body .doc-module-description:last-of-type {
        margin-bottom: 0;
    }

    .subpage-body .doc-module-benefit {
        margin-top: 32px;
    }

    .subpage-body .use-cases .container {
        max-width: 100%;
        margin: 0 var(--spacing-sm);
        padding: var(--spacing-lg);
    }

    .use-cases-intro:has(+ .use-cases-intro) {
        margin-bottom: var(--spacing-md);
    }

    .subpage-body .use-cases-list {
        padding-left: 1.2em;
    }

    /* Chat asszisztens mobile styles */
    .chat-page .challenges,
    .chat-page .use-cases {
        padding: 32px 0;
    }

    .chat-page .comparison {
        padding: 32px 0 24px 0;
    }

    .chat-page .doc-module {
        padding: 24px 0 32px 0;
    }

    .chat-page .doc-module-item {
        margin-bottom: 32px;
    }

    .chat-page .doc-module-item:first-child {
        margin-top: 0;
    }

    .chat-page .doc-module-item:last-child {
        margin-bottom: 0;
    }

    .chat-page .doc-module-content h3:first-child {
        margin-top: 32px;
    }

    .chat-page .doc-module-content .doc-module-description:first-of-type {
        margin-bottom: var(--spacing-md);
    }

    .chat-page .mission-list {
        margin-bottom: 0;
    }

    .chat-page .mission-list + .doc-module-description {
        margin-top: var(--spacing-md);
    }

    .subpage-body .contact-banner {
        padding-bottom: var(--spacing-xl);
    }

    .contact-banner {
        padding: 0;
    }

    .subpage-body .contact-banner {
        padding: 0;
        padding-bottom: var(--spacing-xl);
    }

    .banner-content {
        flex-direction: column;
        text-align: left;
        gap: calc(var(--spacing-md) * 0.5);
        padding: calc(var(--spacing-lg) * 0.75);
        align-items: center;
    }

    .banner-text {
        text-align: left;
        width: 100%;
    }

    .banner-text h2 {
        font-size: 1.5rem;
        text-align: left;
    }

    .banner-cta {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .btn-banner {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        color: white;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 1rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .btn-banner:hover {
        background: transparent;
        color: white;
        transform: translateX(5px);
        box-shadow: none;
        opacity: 0.8;
    }

    .btn-banner::after {
        content: ' →';
        margin-left: 0.25rem;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: -100%;
        flex-direction: column;
        background-color: var(--bg-light);
        width: 100%;
        text-align: left;
        transition: top 0.3s ease;
        box-shadow: none;
        padding: var(--spacing-xl) var(--spacing-lg);
        padding-bottom: var(--spacing-xl);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 50;
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    .nav-menu.active {
        top: 70px;
    }

    /* Hide Próbáld ki button in mobile menu */
    .nav-menu > li:last-child {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile menu items */
    .nav-menu > li {
        width: 100%;
    }

    .nav-menu > li > .nav-link {
        display: block;
        padding: var(--spacing-sm) 0;
        font-weight: 500;
        color: var(--text-dark);
        text-align: left;
    }

    .nav-menu > li > .btn-primary {
        margin: var(--spacing-md) auto;
        display: block;
        text-align: center;
        width: fit-content;
    }

    /* Mobile dropdown menu styles */
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > .nav-link {
        display: block;
        padding: var(--spacing-sm) 0;
        font-weight: 600;
        color: var(--text-dark);
        cursor: pointer;
        border-bottom: none;
        text-align: left;
    }

    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        background: transparent;
        margin-top: 0;
        padding-top: 0;
        padding-left: var(--spacing-lg);
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-link {
        padding: calc(var(--spacing-sm) * 0.75) 0;
        text-align: left;
        white-space: normal;
        font-size: 0.9rem;
        font-weight: 400;
        color: var(--text-light);
    }

    .dropdown-link:hover {
        background: transparent;
        color: var(--primary-color);
    }

    .logo-image {
        height: 40px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .subpage-hero-title {
        font-size: 1.75rem;
    }

    .subpage-hero-subtitle {
        font-size: 1rem;
    }

    .challenges-content {
        grid-template-columns: 1fr;
    }

    .challenges-list {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-content-simple {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .footer-left p,
    .footer-center p,
    .footer-right p {
        text-align: center;
    }

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

    .about-text h2 {
        font-size: 2rem;
    }

    .team-quote {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero,
    .about,
    .pricing,
    .contact {
        padding: var(--spacing-xl) 0;
    }

    .features {
        padding: var(--spacing-2xl) 0;
    }

    .banner-text h2 {
        font-size: 1.25rem;
    }

    .btn-banner {
        padding: 0;
        font-size: 0.875rem;
    }

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

    .break-mobile {
        display: block;
    }

    .hide-mobile {
        display: none;
    }

    .hide-desktop {
        display: inline;
    }

    .hide-mobile {
        display: none;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .team-quote {
        font-size: 1.125rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #bbb;
}

.clickable-image {
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Full-width doc module item */
.doc-module-item-full {
    display: block;
    width: 100%;
    margin-bottom: var(--spacing-xl);
}

.doc-module-content-full {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

/* About Danubius Section */
.about-danubius {
    padding: calc(var(--spacing-md) * 1.5) 0;
    background: var(--bg-white);
}

.subpage-body .about-danubius {
    background: var(--bg-light);
}

.about-danubius h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.about-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* Mission and Vision Section */
.mission-vision {
    padding: calc(var(--spacing-md) * 1.5) 0;
    background: var(--bg-white);
}

.subpage-body .mission-vision {
    background: var(--bg-light);
}

.mission-vision-box {
    background: var(--bg-white);
    padding: var(--spacing-xl);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.mission-vision h2 {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
}

.mission-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.mission-highlight {
    color: #4F3A6B;
    font-weight: 700;
}

.mission-intro {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.mission-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: var(--spacing-lg);
}

.mission-list li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-sm) / 2);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.mission-icon {
    width: 24px;
    height: 24px;
    color: #4F3A6B;
    flex-shrink: 0;
    margin-top: 2px;
}

.vision-text {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-white);
    border-left: 4px solid #4F3A6B;
    border-radius: 0.5rem;
}

/* Timeline Section */
.timeline-section {
    padding: calc(var(--spacing-md) * 1.5) 0;
    background: var(--bg-white);
    overflow: hidden;
}

.subpage-body .timeline-section {
    background: var(--bg-light);
}

.timeline-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 1.75rem;
    color: var(--text-dark);
}

.timeline-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.timeline-track {
    display: flex;
    gap: var(--spacing-lg);
    animation: scroll 40s linear infinite;
    width: fit-content;
}

.timeline-track:hover {
    animation-play-state: paused;
}

.timeline-item {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.timeline-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .timeline-item {
        width: 280px;
        height: 200px;
    }

    .timeline-title {
        font-size: 1.5rem;
    }
}
