/* OntoAnalytics Landing Page - Grassmorphic Theme */

:root {
    --teal: #1fb8ad;
    --deep-blue: #1476a8;
    --blue-gradient: linear-gradient(135deg, #1fb8ad, #1476a8);
    --yellow: #1fb8ad;
    --light-yellow: #1476a8;
    
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.15);
    
    --bg-primary: #fffbeb;
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.85);
    --text-muted: rgba(0, 0, 0, 0.6);
    --accent-glow: rgba(101, 214, 207, 0.3);
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fefce8;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
}

.grassmorphic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at 30% 20%, #fef9c3 0%, #fefce8 30%, #ffffff 70%, #fffbeb 100%);
}

.grassmorphic-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(31, 184, 173, 0.15), rgba(20, 118, 168, 0.08));
    border-radius: 50%;
    filter: blur(80px);
    top: 10%;
    right: -100px;
    animation: orbFloat 15s ease-in-out infinite;
}

.grassmorphic-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(20, 118, 168, 0.12), rgba(240, 244, 248, 0.1));
    border-radius: 50%;
    filter: blur(60px);
    bottom: 0;
    left: -100px;
    animation: orbFloat 20s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.1); }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    background: rgba(254, 252, 232, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.75rem 2rem;
    background: rgba(254, 252, 232, 0.95);
}

.navbar.scrolled .nav-container {
    gap: 0.25rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.nav-actions .btn-outline {
    border-width: 1px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo span {
    background: linear-gradient(135deg, #0d6b6b, #0a4a6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1fb8ad;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.grass-button {
    background: linear-gradient(145deg, #1fb8ad, #1476a8);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(31, 184, 173, 0.35), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.grass-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(31, 184, 173, 0.45), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
}

.btn-glow {
    animation: buttonGlow 2s ease-in-out infinite;
}

@keyframes buttonGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(31, 184, 173, 0.35); }
    50% { box-shadow: 0 6px 35px rgba(31, 184, 173, 0.5); }
}

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

.btn-outline:hover {
    border-color: #1fb8ad;
    background: rgba(31, 184, 173, 0.1);
}

section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: #1fb8ad;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(135deg, #0d6b6b, #0a4a6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1fb8ad;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.trust-section {
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(254, 252, 232, 0.5);
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
}

.trust-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.grass-card,
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 0 0.5px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.grass-card:hover,
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(31, 184, 173, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--blue-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    margin-bottom: 0.75rem;
}

.card p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.card ul {
    list-style: none;
}

.card li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: var(--teal);
    font-weight: bold;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.25rem;
}

.step-card h3 {
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-badge {
    padding: 0.7rem 1.4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    border-color: #1fb8ad;
    color: #1fb8ad;
    transform: translateY(-2px);
}

.cta-section {
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-micro {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer {
    background: rgba(254, 252, 232, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.footer h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1fb8ad;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #1fb8ad;
}

.problem-solution {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    border-left: 3px solid #ff6b6b;
}

.solution-card {
    border-left: 3px solid var(--teal);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

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

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-row:nth-child(2) {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    section {
        padding: 4rem 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    background-color: #fffbeb !important;
}

.form-group {
    margin-bottom: 0px;
}

.form-input, .form-textarea {
    width: 60%;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #1fb8ad;
    box-shadow: 0 0 20px rgba(31, 184, 173, 0.2);
}

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

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
}

.form-success {
    display: none;
    padding: 1rem;
    background: rgba(31, 184, 173, 0.1);
    border: 1px solid var(--teal);
    border-radius: 12px;
    color: var(--teal);
    text-align: center;
}

.about-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.accent-glow {
    border: 2px solid rgba(31, 184, 173, 0.6);
    box-shadow: 0 0 20px rgba(31, 184, 173, 0.35);
}

.pain-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 3rem;
    margin: 2rem 0;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.pain-item:last-child {
    border-bottom: none;
}

.pain-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pain-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.pain-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pain-content p {
    font-size: 0.95rem;
}

.approach-section {
    position: relative;
}

.approach-section::before {
    display: none;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.approach-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 0 0.5px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(31, 184, 173, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
}

.approach-icon {
    width: 72px;
    height: 72px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.approach-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.approach-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.approach-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.164);
    border-radius: 12px;
}

.value-check {
    width: 24px;
    height: 24px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-check svg {
    width: 14px;
    height: 14px;
    color: white;
}

.value-prop span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.theme-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    transition: all 0.3s ease;
}

.theme-slider::before {
    position: absolute;
    content: '';
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle input:checked + .theme-slider {
    background: linear-gradient(135deg, #1fb8ad, #1476a8);
    border-color: transparent;
}

.theme-toggle input:checked + .theme-slider::before {
    transform: translateX(24px);
}

.theme-label {
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #374151;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

body.dark-theme .theme-label {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== DARK THEME ===== */
body.dark-theme {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.25);
    --bg-primary: #0a1a2e;
    --text-primary: #f0f8ff;
    --text-secondary: rgba(220, 235, 250, 0.85);
    --text-muted: rgba(180, 200, 220, 0.65);
    /* --accent-glow: rgba(31, 184, 173, 0.4); */
    --accent-glow: rgba(114, 221, 214, 0.4);
    background: #020408;
}

body.dark-theme .grassmorphic-bg {
    background: radial-gradient(ellipse at 30% 20%, #0d3d4a 0%, #0a1a2e 30%, #050a12 70%, #020408 100%);
}

body.dark-theme .grassmorphic-bg::before {
    background: radial-gradient(circle, rgba(31, 184, 173, 0.25), rgba(20, 118, 168, 0.1));
}

body.dark-theme .grassmorphic-bg::after {
    background: radial-gradient(circle, rgba(20, 118, 168, 0.3), rgba(10, 26, 46, 0.15));
}

body.dark-theme .navbar {
    background: rgba(2, 4, 8, 0.85);
}

body.dark-theme .navbar.scrolled {
    background: rgba(2, 4, 8, 0.95);
}

body.dark-theme .logo span {
    background: linear-gradient(135deg, #5eead4, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .hero h1 span {
    background: linear-gradient(135deg, #5eead4, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-theme .hero-badge {
    background: var(--glass-bg);
    color: #1fb8ad;
}

body.dark-theme .grass-card,
body.dark-theme .card,
body.dark-theme .approach-card {
    background: var(--glass-bg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 0 0.5px rgba(255, 255, 255, 0.4);
    color: white;
}

body.dark-theme .grass-card:hover,
body.dark-theme .card:hover,
body.dark-theme .approach-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(31, 184, 173, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .trust-section {
    background: rgba(2, 4, 8, 0.5);
}

body.dark-theme .footer {
    background: rgba(2, 4, 8, 0.95);
}

body.dark-theme .form-input,
body.dark-theme .form-textarea {
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.dark-theme .team-card {
    background: var(--glass-bg);
}

.language-select {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.4rem 1rem;
    color: #1a1a1a;
    font-size: 0.9rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    height: 28px;
}

body.dark-theme .language-select {
    background: var(--glass-bg);
    color: #1a1a1a;
}

.language-select option {
    background: #ffffff;
    color: #1a1a1a;
}

body.dark-theme .language-select option {
    background: #0a1a2e;
    color: var(--text-primary);
}

/* ===== AUTH PAGES ===== */
.auth-container {
    width: 100%;
    max-width: 420px;
}

.auth-card {
    width: 100%;
    padding: 2.5rem;
    position: relative;
}

.auth-card .form-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-muted);
    transition: color 0.2s;
    z-index: 10;
    text-decoration: none;
    display: inline-flex;
}

.auth-card .form-modal-close:hover {
    color: var(--teal);
}

/* ===== PASSWORD TOGGLE ===== */
.password-field {
    position: relative;
}

.password-field .form-input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(25%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--teal);
}

body.dark-theme .password-toggle {
    color: var(--text-muted);
}

body.dark-theme .password-toggle:hover {
    color: var(--teal);
}

.auth-card.text-center {
    text-align: center;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1fb8ad, #1476a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 0.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-bg {
    background: var(--bg-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 20px rgba(244, 208, 0, 0.3);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-links a {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--yellow);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.auth-divider span {
    padding: 0 1rem;
}

.messages {
    margin-bottom: 1.5rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.message.error {
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.message.success {
    background: rgba(31, 184, 173, 0.15);
    border: 1px solid rgba(31, 184, 173, 0.3);
    color: var(--teal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.icon-success {
    width: 64px;
    height: 64px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

/* ===== CONTACT FORM MODAL ===== */
.form-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.form-modal.open {
    opacity: 1;
    visibility: visible;
}

.form-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.form-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fefce8;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: #000000;
}

body.dark-theme .form-modal-content {
    background: #0a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 0 0.5px rgba(255, 255, 255, 0.3);
    color: #f0f8ff;
}

.form-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: rgba(180, 200, 220, 0.65);
    transition: color 0.2s;
    z-index: 10;
}

.form-modal-close:hover {
    color: #000000;
}

body.dark-theme .form-modal-close:hover {
    color: #f0f8ff;
}

.form-modal-title {
    margin: 0 0 1.5rem 0;
    background: linear-gradient(135deg, #1fb8ad, #1476a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

body.dark-theme .form-modal-title {
    background: linear-gradient(135deg, #5eead4, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-modal .form-summary {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-modal .form-summary.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.form-modal .form-summary.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #198754;
}

body.dark-theme .form-modal .form-summary.error {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
}

body.dark-theme .form-modal .form-summary.success {
    background: rgba(40, 167, 69, 0.15);
    color: #5eead4;
}

.form-modal .form-summary h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.form-modal .form-summary ul {
    margin: 0;
    padding-left: 1.5rem;
}

.form-modal .form-summary ul li {
    margin-bottom: 0.25rem;
}

.form-modal .custom-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-modal .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.form-modal .form-group label {
    flex: 0 0 200px;
    font-weight: 500;
    margin-bottom: 0;
    color: #000000;
}

.form-modal .form-group input,
.form-modal .form-group select,
.form-modal .form-group textarea {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #000000;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-modal .form-group input::placeholder,
.form-modal .form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-modal .form-group input:focus,
.form-modal .form-group select:focus,
.form-modal .form-group textarea:focus {
    outline: none;
    border-color: #1fb8ad;
    box-shadow: 0 0 0 3px rgba(31, 184, 173, 0.2);
}

.form-modal .form-group input.error,
.form-modal .form-group select.error,
.form-modal .form-group textarea.error {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.form-modal .form-group input.error:focus,
.form-modal .form-group select.error:focus,
.form-modal .form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.form-modal .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
    background-color: #ffffff;
}

.form-modal .form-group select option {
    background: #ffffff;
    color: #000000;
}

body.dark-theme .form-modal .form-group label {
    color: #f0f8ff;
}

body.dark-theme .form-modal .form-group input,
body.dark-theme .form-modal .form-group select,
body.dark-theme .form-modal .form-group textarea {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: var(--bg-primary);
    color: var(--text-primary);
}

body.dark-theme .form-modal .form-group input::placeholder,
body.dark-theme .form-modal .form-group textarea::placeholder {
    color: rgba(180, 200, 220, 0.5);
}

body.dark-theme .form-modal .form-group input.error,
body.dark-theme .form-modal .form-group select.error,
body.dark-theme .form-modal .form-group textarea.error {
    background: rgba(220, 53, 69, 0.25);
}

body.dark-theme .form-modal .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b4c8dc' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-'/%3E5 5z%3C/svg%3E");
    background-color: var(--bg-primary);
}

body.dark-theme .form-modal .form-group select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

.form-modal .form-group .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-modal .form-group.has-error .error-message {
    display: block;
}

.form-modal .form-group .char-count {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.5);
    text-align: right;
    margin-top: 0.25rem;
}

body.dark-theme .form-modal .form-group .error-message {
    color: #ff6b6b;
}

body.dark-theme .form-modal .form-group .char-count {
    color: rgba(180, 200, 220, 0.65);
}

.form-modal .form-fieldset {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 1rem;
    margin: 0;
}

.form-modal .form-fieldset legend {
    font-weight: 600;
    padding: 0 0.5rem;
    color: #000000;
}

body.dark-theme .form-modal .form-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.dark-theme .form-modal .form-fieldset legend {
    color: #f0f8ff;
}

.form-modal .form-fieldset .custom-form {
    padding-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-modal .form-fieldset .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.form-modal .form-fieldset .form-group label {
    flex: 0 0 200px;
    font-weight: 500;
    margin-bottom: 0;
    color: #000000;
}

.form-modal .form-fieldset .form-group input,
.form-modal .form-fieldset .form-group select {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #000000;
}

body.dark-theme .form-modal .form-fieldset .form-group label {
    color: #f0f8ff;
}

body.dark-theme .form-modal .form-fieldset .form-group input,
body.dark-theme .form-modal .form-fieldset .form-group select {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-modal .form-row {
    display: flex;
    gap: 1rem;
}

.form-modal .form-row .form-group {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.form-modal .form-row .form-group label {
    flex: 0 0 110px;
    font-weight: 500;
    margin-bottom: 0;
    color: #000000;
}

.form-modal .form-row .form-group input {
    flex: 1;
    padding: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #ffffff;
    color: #000000;
}

body.dark-theme .form-modal .form-row .form-group label {
    color: #f0f8ff;
}

body.dark-theme .form-modal .form-row .form-group input {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: var(--bg-primary);
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .form-modal .form-fieldset .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .form-modal .form-fieldset .form-group label {
        flex: none;
        margin-bottom: 0.5rem;
    }

    .form-modal .form-row {
        flex-direction: column;
    }

    .form-modal .form-row .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .form-modal .form-row .form-group label {
        flex: none;
        margin-bottom: 0.5rem;
    }
}

.form-modal .form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 0.75rem;
}

.form-modal .form-actions button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.form-modal .form-actions .submit-btn {
    background: linear-gradient(135deg, #1fb8ad, #1476a8);
    color: white;
}

.form-modal .form-actions .submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #24c9bf, #1887bc);
    box-shadow: 0 4px 20px rgba(31, 184, 173, 0.4);
}

.form-modal .form-actions .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-modal .form-actions .submit-btn.loading {
    position: relative;
    color: transparent;
}

.form-modal .form-actions .submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-modal .form-actions .reset-btn {
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.form-modal .form-actions .reset-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-theme .form-modal .form-actions .reset-btn {
    color: rgba(180, 200, 220, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

body.dark-theme .form-modal .form-actions .reset-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.form-modal .honeypot-field {
    position: absolute;
    left: -9999px;
}

@media (max-width: 640px) {
    .form-modal-content {
        padding: 1.5rem;
        max-height: 85vh;
    }

    .form-modal .custom-form {
        gap: 1rem;
    }

    .form-modal .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .form-modal .form-group label {
        flex: none;
        margin-bottom: 0.5rem;
    }

    .form-modal .form-actions {
        flex-direction: column;
    }

    .form-modal .form-actions button {
        width: 100%;
    }
}

.form-modal *:focus-visible {
    outline: 2px solid #1fb8ad;
    outline-offset: 2px;
}

body.modal-open {
    overflow: hidden;
}

/* ===== IMPINT PAGE ===== */
.imprint-page {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
}

.imprint-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.imprint-header {
    text-align: center;
    margin-bottom: 3rem;
}

.imprint-header h1 {
    margin-bottom: 1rem;
}

.imprint-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.imprint-section {
    margin-bottom: 3rem;
}

.imprint-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.imprint-section p,
.imprint-section ul {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.imprint-section ul {
    padding-left: 1.5rem;
}

.imprint-section li {
    margin-bottom: 0.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.info-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-secondary);
    font-size: 1rem;
}

body.dark-theme .info-row {
    background: var(--glass-bg);
}

/* ===== FOOTER COLUMNS ===== */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-theme-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-language {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== FORM MARKERS ===== */
.required-mark {
    color: #ff6b6b;
    margin-left: 0.25rem;
}

.optional-mark {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

/* ===== ORB ANIMATIONS ===== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(31, 184, 173, 0.2), rgba(20, 118, 168, 0.1));
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 118, 168, 0.25), rgba(31, 184, 173, 0.1));
    top: 50%;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(31, 184, 173, 0.15), rgba(20, 118, 168, 0.15));
    bottom: 10%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.cv-content {
    max-width: 800px;
    margin: 0 auto;
}

.cv-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cv-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.cv-content p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.cv-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.cv-content li {
    margin-bottom: 0.25rem;
}

.cv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.cv-table th, .cv-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cv-table th {
    font-weight: 600;
}

.cv-entry {
    margin-bottom: 1.5rem;
}

.cv-entry-header {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cv-entry-subheader {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cv-publication {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.card-contact a {
    color: #1f8a94;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-contact a:hover {
    color: #15666d;
}

body.dark-theme .card-contact a {
    color: #fffef0;
}

body.dark-theme .card-contact a:hover {
    color: #e6e4d5;
}
