/* Advanced Custom Properties */
:root {
    /* Brand Colors */
    --color-primary: #124256;
    --color-primary-hover: #0C2D3B;
    --color-dark: #0A1922;
    /* Deeper dark for premium feel */
    --color-text: #4b5563;
    --color-text-light: #9ca3af;
    --color-light: #F8FAFB;
    --color-white: #ffffff;
    --color-border: rgba(18, 66, 86, 0.1);
    --color-accent: #19798F;
    --color-accent-hover: #146173;

    /* Typography */
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Effects */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Elegant Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(18, 66, 86, 0.05), 0 2px 4px -1px rgba(18, 66, 86, 0.03);
    --shadow-md: 0 10px 20px -3px rgba(18, 66, 86, 0.08), 0 4px 6px -2px rgba(18, 66, 86, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(18, 66, 86, 0.15);
    --shadow-glow: 0 0 20px rgba(25, 121, 143, 0.4);

    --header-height: 80px;
}

/* Reset & Smooth Scroll */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-light);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

/* Gradients & Text FX */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-light {
    background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-white {
    color: var(--color-white) !important;
}

.text-light {
    color: #e2e8f0 !important;
}

.text-accent {
    color: var(--color-accent);
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(25, 121, 143, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-2 {
    top: 30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(18, 66, 86, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text);
}

.bg-light-card {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light) 100%);
}

.rounded-heavy {
    border-radius: 40px;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(25, 121, 143, 0.1);
    border: 1px solid rgba(25, 121, 143, 0.2);
    border-radius: 30px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    border: 2px solid transparent;
    font-size: 1rem;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-dark);
    background-color: var(--color-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-main-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.logo-divider {
    width: 1px;
    height: 32px;
    background-color: var(--color-border);
}

.header-sap-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-list {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.875rem;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-dark);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    transition: var(--transition);
}

.lang-toggle:hover {
    color: var(--color-accent);
    transform: scale(1.05);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Float Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

/* Animations (Scroll Reveal) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(25, 121, 143, 0.15), transparent 50%),
        linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--color-text);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    background: var(--color-white);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, var(--color-accent) 25%, transparent 50%);
    animation: rotate 10s linear infinite;
    z-index: -1;
    opacity: 0.1;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Tech Banner */
.tech-banner {
    padding: 32px 0;
    border-top: 1px solid rgba(25, 121, 143, 0.2);
    border-bottom: 1px solid rgba(25, 121, 143, 0.2);
    background: var(--color-primary);
    /* Use deep brand brand color here */
    margin: 0;
    /* Remove top/bottom margin */
}

.tech-banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.tech-banner-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.sap-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.sap-logo:hover {
    transform: scale(1.05);
}

/* Services - Dark Mode */
.services.section {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    color: var(--color-text-light);
}

.services .section-title {
    color: var(--color-white);
}

.services .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Glass Card Global Style */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    /* Switch to dark mode glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(25, 121, 143, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-bounce);
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.15) translateY(-5px);
}

.service-icon-svg {
    width: 32px;
    height: 32px;
    color: var(--color-white);
}

.service-icon-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.5));
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-white);
}

.service-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--color-accent);
    filter: blur(80px);
    top: -50px;
    right: -50px;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .card-glow {
    opacity: 0.15;
}

/* Validator Section */
.upload-area {
    border: 2px dashed rgba(25, 121, 143, 0.3);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    background: rgba(25, 121, 143, 0.02);
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 24px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--color-accent);
    background: rgba(25, 121, 143, 0.05);
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.upload-area h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.upload-area p {
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.upload-limits {
    font-size: 0.75rem;
    margin-top: 16px;
    margin-bottom: 0;
}

.selected-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--color-light);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
}

.file-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.file-name {
    font-weight: 600;
    color: var(--color-dark);
    display: block;
}

.file-size {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.btn-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.2s;
}

.btn-remove:hover {
    color: #ef4444;
}

.hidden {
    display: none !important;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.loader-container {
    text-align: center;
    margin-top: 24px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-light);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.results-panel {
    margin-top: 32px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.status-banner {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-pass {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-fail {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.errors-container {
    margin-top: 24px;
}

.errors-container h4 {
    color: #dc2626;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.errors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.error-item {
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
}

.error-msg {
    font-weight: 600;
    color: #b91c1c;
    margin-bottom: 8px;
}

.error-meta {
    font-size: 0.875rem;
    color: #7f1d1d;
}

.error-meta code {
    background: rgba(255, 255, 255, 0.5);
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}


/* Approach */
.approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.step:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border);
    transform: translateX(10px);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-accent);
    font-family: var(--font-heading);
    line-height: 1;
    min-width: 60px;
    transition: var(--transition);
}

.step:hover .step-num {
    color: var(--color-accent);
    -webkit-text-stroke: 0px;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.approach-image-wrapper {
    position: relative;
}

.approach-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Global Reach (Dark Theme) */
.global-inner {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    padding: 80px;
    position: relative;
    overflow: hidden;
}

.global-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.global-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.check-list {
    margin-top: 32px;
}

.check-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    font-weight: 500;
    color: #e2e8f0;
    font-size: 1.125rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(25, 121, 143, 0.3);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
}

.global-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.glass-dark {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-bounce);
}

.glass-dark:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.stat-num {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px 32px;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
    color: var(--color-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light);
    border-radius: 50%;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
    transform: rotate(180deg);
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-question[aria-expanded="true"] {
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 32px;
}

.faq-question[aria-expanded="true"]+.faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--color-text);
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Centred layout when the form is removed */
.contact-info-centered {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.contact-info-centered .section-subtitle {
    margin-bottom: 32px;
}

.contact-info-centered .contact-details {
    margin-top: 8px;
}

.contact-email {
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    margin-top: 24px;
    font-family: var(--font-heading);
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.modern-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--color-dark);
}

.modern-input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(18, 66, 86, 0.1);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 24px;
    border-top: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer .logo-link {
    margin-bottom: 24px;
    display: inline-block;
}

.footer .header-main-logo {
    height: 44px;
    /* filter: brightness(0) invert(1) opacity(0.9); */
}

.footer p {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container,
    .approach-content,
    .global-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-image-wrapper {
        padding: 0;
    }

    .global-inner {
        padding: 56px 32px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 16px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 32px;
        font-size: 1.25rem;
    }

    .nav-actions {
        flex-direction: column;
        margin-top: 32px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-main-logo {
        height: 28px;
    }

    .header-sap-logo {
        height: 24px;
    }

    .logo-divider {
        height: 24px;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ============================================
   Team Section
   ============================================ */
.team.section {
    background: linear-gradient(160deg, var(--color-light) 0%, var(--color-white) 60%);
}

/* ── Featured Founder Card ── */
.team-founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 56px;
    align-items: center;
    padding: 56px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.team-founder-card::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 121, 143, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.team-founder-photo-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    flex-shrink: 0;
}

.team-founder-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 5px solid white;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-border);
    position: relative;
    z-index: 2;
    display: block;
}

.team-founder-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--color-primary), var(--color-accent)) border-box;
    animation: spin-slow 8s linear infinite;
    z-index: 1;
}

.team-founder-name {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 6px;
    line-height: 1.1;
}

.team-founder-role {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

/* ── 4-column Team Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.team-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-bounce);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.team-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(25, 121, 143, 0.25);
}

.team-card:hover::after {
    opacity: 1;
}

.team-card-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--color-border), var(--shadow-md);
    margin-bottom: 20px;
    flex-shrink: 0;
    background: var(--color-light);
}

.team-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card-name {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.team-card-role {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-heading);
    margin-bottom: 16px;
    line-height: 1.4;
}

.team-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

/* ── Team Responsive ── */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .team-founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 48px 32px;
        gap: 36px;
    }

    .team-founder-card .founder-tags {
        justify-content: center;
    }

    .team-founder-card .founder-quote {
        text-align: left;
    }

    .team-founder-photo-wrap {
        width: 180px;
        height: 180px;
    }

    .team-founder-photo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team-card {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .team-card-photo-wrap {
        width: 100px;
        height: 100px;
    }

    .team-founder-card {
        padding: 32px 20px;
        border-radius: 24px;
    }
}

.founder-inner {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.founder-inner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(25, 121, 143, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.founder-inner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(18, 66, 86, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Founder Image */
.founder-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-image-frame {
    position: relative;
    width: 260px;
    height: 260px;
}

.founder-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border: 5px solid white;
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-border);
    position: relative;
    z-index: 2;
}

.founder-image-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(135deg, var(--color-primary), var(--color-accent)) border-box;
    animation: spin-slow 8s linear infinite;
    z-index: 1;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Founder Content */
.founder-content {
    z-index: 2;
}

.founder-name {
    font-size: 2.75rem;
    color: var(--color-dark);
    margin-bottom: 8px;
    line-height: 1.1;
}

.founder-role {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 28px;
    font-family: var(--font-heading);
}

.founder-quote {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    border-left: 3px solid var(--color-accent);
    padding-left: 20px;
    margin: 0 0 28px 0;
    font-style: italic;
    position: relative;
}

/* Skill Tags */
.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.founder-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(25, 121, 143, 0.08);
    border: 1px solid rgba(25, 121, 143, 0.2);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: var(--font-heading);
    transition: var(--transition);
}

.founder-tag:hover {
    background: rgba(25, 121, 143, 0.16);
    transform: translateY(-2px);
}

.founder-cta {
    display: inline-flex;
    align-items: center;
}

/* Founder Responsive */
@media (max-width: 900px) {
    .founder-inner {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        text-align: center;
        gap: 40px;
    }

    .founder-tags {
        justify-content: center;
    }

    .founder-quote {
        text-align: left;
    }
}

@media (max-width: 520px) {
    .founder-inner {
        padding: 32px 20px;
    }

    .founder-name {
        font-size: 2rem;
    }

    .founder-image-frame,
    .founder-photo {
        width: 200px;
        height: 200px;
    }
}

/* ============================================
   Tools / EN16931 Viewer Section
   ============================================ */
.tools.section {
    background: linear-gradient(160deg, var(--color-white) 0%, var(--color-light) 100%);
}

.tools-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 56px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
}

/* Tool Badges */
.tools-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tools-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(18, 66, 86, 0.07);
    border: 1px solid rgba(18, 66, 86, 0.15);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tools-title {
    font-size: 1.625rem;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.tools-desc {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 24px;
}

.tools-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tools-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--color-dark);
    font-weight: 500;
}

.tools-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
}

.tools-cta {
    display: inline-flex;
    align-items: center;
}

/* Browser Frame Preview */
.tools-preview-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    background: #1e2330;
}

.tools-preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #2d3143;
}

.tools-preview-dots {
    display: flex;
    gap: 6px;
}

.tools-preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4b5563;
}

.tools-preview-dots span:nth-child(1) {
    background: #ef4444;
}

.tools-preview-dots span:nth-child(2) {
    background: #f59e0b;
}

.tools-preview-dots span:nth-child(3) {
    background: #10b981;
}

.tools-preview-url {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    flex: 1;
    text-align: center;
}

.tools-iframe-container {
    position: relative;
    height: 420px;
    overflow: hidden;
}

.tools-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: none;
    /* prevent interaction — overlay handles clicks */
}

.tools-iframe-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}

.tools-iframe-overlay:hover {
    background: rgba(18, 66, 86, 0.55);
}

.tools-iframe-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tools-iframe-overlay:hover .tools-iframe-overlay-content {
    opacity: 1;
}

.tools-iframe-overlay-content span {
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
}

/* Tools Responsive */
@media (max-width: 1024px) {
    .tools-card {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        gap: 36px;
    }
}

@media (max-width: 520px) {
    .tools-card {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .tools-iframe-container {
        height: 300px;
    }
}

/* ============================================
   Contact Form Feedback
   ============================================ */
.form-feedback {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
}

.form-feedback.hidden {
    display: none !important;
}

.form-feedback--success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #065f46;
}

.form-feedback--error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #991b1b;
}

/* ============================================
   Combined Tools Section (side-by-side)
   ============================================ */
.tools-combined.section {
    background: linear-gradient(160deg, var(--color-white) 0%, var(--color-light) 100%);
}

/* Two-column grid for the two tool panels */
.tools-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Individual tool card panel */
.tool-panel {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--color-border);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.tool-panel:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Tool panel icon + title header row */
.tool-panel-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.tool-panel-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(18, 66, 86, 0.1) 0%, rgba(25, 121, 143, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.tool-panel-icon svg {
    width: 26px;
    height: 26px;
}

.tool-panel-title {
    font-size: 1.375rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
    line-height: 1.25;
}

.tool-panel-subtitle {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Shrink iframe preview height inside the narrower panels */
.tool-panel .tools-iframe-container {
    height: 280px;
}

/* Responsive: stack on tablet */
@media (max-width: 1100px) {
    .tools-dual-grid {
        grid-template-columns: 1fr;
    }

    .tool-panel {
        border-radius: 24px;
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .tool-panel {
        padding: 24px 20px;
    }

    .tool-panel .tools-iframe-container {
        height: 220px;
    }
}