/* CSS Reset & Variable Definitions */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #090d16;
    --text-secondary: #4b5563;
    --accent-color: #2563eb;
    --accent-light: #38bdf8;
    --accent-glow: rgba(37, 99, 235, 0.15);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Mouse Glow */
#mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, rgba(37, 99, 235, 0.02) 50%, rgba(255, 255, 255, 0) 70%);
    top: -300px;
    left: -300px;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.grid {
    display: grid;
    gap: 32px;
}

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

/* Typography & Headers */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid rgba(15, 30, 54, 0.1);
}

.btn-secondary:hover {
    background-color: #ffffff;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(15, 30, 54, 0.2);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(15, 30, 54, 0.02);
}

/* Navigation Header */
.header {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(15, 30, 54, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    height: 36px;
    width: auto;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    top: -2px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
}

/* Dot Grid Background Overlay for Hero */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(37, 99, 235, 0.06) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

/* Ambient glow orb */
.hero-section::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, rgba(37, 99, 235, 0.02) 50%, rgba(255, 255, 255, 0) 70%);
    top: 10%;
    right: -100px;
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text-primary);
    max-width: 700px;
    background: linear-gradient(135deg, #090d16 0%, #1e3a8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
    max-width: 620px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    max-width: 260px; /* scaled smaller like Genesis AI */
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 24px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    mix-blend-mode: multiply;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Glow behind image */
.glow-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Compact Form */
.hero-form {
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 20px 50px -10px rgba(15, 30, 54, 0.08);
    background: #ffffff;
    border: 1px solid rgba(15, 30, 54, 0.06);
    margin-top: 8px;
    width: 100%;
    max-width: 600px; /* center and constrain form width */
    min-height: auto;
    text-align: left; /* input contents remain legible left-aligned */
}

.hero-form .form-label {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.hero-form textarea {
    margin-bottom: 16px;
    min-height: 90px;
    font-size: 1rem;
    padding: 12px 16px;
}

.hero-form input[type="email"] {
    margin-bottom: 16px;
    font-size: 1rem;
    padding: 12px 16px;
}

.hero-form .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* Cards Styles (Cases, Portfolio) */
.card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(15, 30, 54, 0.06);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px var(--accent-glow);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Cases Section */
.cases-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

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

/* Workflow Section */
.workflow-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Background glow orb for workflow */
.workflow-section::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
    top: 20%;
    left: -200px;
    pointer-events: none;
    z-index: 0;
}

.workflow-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
    z-index: 1;
}

/* Gradient Timeline Path */
.workflow-timeline::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0.25) 50%, rgba(37, 99, 235, 0.03) 100%);
    z-index: -1;
}

.workflow-step {
    flex: 1;
    position: relative;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 30, 54, 0.05);
    transition: var(--transition-smooth);
    z-index: 2;
}

.workflow-step:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.15);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.08);
}

.step-number {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent-color);
    opacity: 0.15;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.workflow-step:hover .step-number {
    opacity: 1;
    transform: scale(1.08);
    color: var(--accent-color);
}

.step-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.portfolio-card {
    transition: var(--transition-smooth);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 30, 54, 0.06);
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px -15px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.15);
}

.portfolio-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent-color);
    display: inline-block;
    margin-bottom: 8px;
}

.portfolio-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.portfolio-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Browser Mockup Layout */
.browser-mockup {
    display: flex;
    flex-direction: column;
    padding: 0 !important; /* overrides card padding */
}

.browser-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background-color: #f1f5f9;
    border-bottom: 1px solid rgba(15, 30, 54, 0.05);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.browser-dots .dot.red { background-color: #ef4444; }
.browser-dots .dot.yellow { background-color: #eab308; }
.browser-dots .dot.green { background-color: #22c55e; }

.browser-address {
    font-size: 0.72rem;
    color: var(--text-secondary);
    background-color: #ffffff;
    padding: 2px 18px;
    border-radius: 4px;
    border: 1px solid rgba(15, 30, 54, 0.05);
    font-family: monospace;
    max-width: 60%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.browser-body {
    padding: 24px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 20px;
}

.app-preview {
    height: 130px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid rgba(15, 30, 54, 0.04);
    overflow: hidden;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(15, 30, 54, 0.01);
}

/* 1. Instando Preview Styles */
.instando-preview {
    flex-direction: row;
    gap: 12px;
    align-items: stretch;
    justify-content: flex-start;
}

.instando-preview .preview-sidebar {
    width: 20%;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 4px;
    border-right: 1px solid rgba(15, 30, 54, 0.02);
}

.instando-preview .preview-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.instando-preview .preview-header-bar {
    height: 10px;
    background: rgba(15, 30, 54, 0.04);
    border-radius: 2px;
    width: 50%;
}

.instando-preview .preview-widgets {
    display: flex;
    gap: 8px;
    flex-grow: 1;
}

.instando-preview .widget {
    flex: 1;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba(15, 30, 54, 0.04);
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(15, 30, 54, 0.01);
}

.instando-preview .progress-widget .widget-circle {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
}

.instando-preview .progress-widget .widget-label {
    font-size: 0.55rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.instando-preview .graph-widget {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-around;
    padding: 8px 4px;
}

.instando-preview .graph-bar {
    width: 8px;
    background: var(--accent-color);
    border-radius: 2px 2px 0 0;
    opacity: 0.8;
}

/* 2. Bauteilcheckliste Preview Styles */
.mobile-preview {
    align-items: stretch;
    justify-content: center;
}

.mobile-preview .checklist-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-preview .checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid rgba(15, 30, 54, 0.03);
}

.mobile-preview .checklist-item.done {
    color: #9ca3af;
    text-decoration: line-through;
    opacity: 0.7;
}

.mobile-preview .checklist-item .checkbox-icon {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: bold;
}

.mobile-preview .checklist-item .checkbox-spinner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.15);
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
}

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

/* 3. Referee-Management Preview Styles */
.referee-preview {
    align-items: stretch;
    justify-content: center;
}

.referee-preview .referee-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.referee-preview .referee-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid rgba(15, 30, 54, 0.03);
    font-size: 0.72rem;
    justify-content: space-between;
}

.referee-preview .referee-row.conflict {
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.02);
}

.referee-preview .referee-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.55rem;
}

.referee-preview .referee-avatar.warning {
    background: transparent;
    font-size: 0.8rem;
}

.referee-preview .referee-name {
    flex-grow: 1;
    color: var(--text-primary);
}

.referee-preview .referee-status.ok {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 600;
}

.referee-preview .referee-status.alert {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.55rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Contact Section & Interactive Form */
.contact-section {
    padding: 120px 0;
}

.contact-container {
    max-width: 700px;
}

.form-wrapper {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid rgba(15, 30, 54, 0.08);
    box-shadow: 0 30px 60px -15px rgba(15, 30, 54, 0.05);
    position: relative;
    min-height: 250px;
}

.form-step {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.form-label {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--text-primary);
}

textarea, input[type="email"] {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(15, 30, 54, 0.15);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    margin-bottom: 24px;
    outline: none;
    transition: var(--transition-smooth);
    background-color: var(--bg-secondary);
}

textarea:focus, input[type="email"]:focus {
    border-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--accent-glow);
}

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

.form-buttons {
    display: flex;
    gap: 12px;
}

/* Form Success State */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 0;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-success.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.form-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 450px;
}

/* Scroll Reveal Animation Styles */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(15, 30, 54, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    text-decoration: none;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--accent-color);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(15, 30, 54, 0.03);
}

.faq-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 120px;
}

/* Remove default arrow markers from summary across ALL browsers */
summary {
    list-style: none !important;
    list-style-type: none !important;
}

summary::marker {
    display: none !important;
}

summary::-webkit-details-marker {
    display: none !important;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0; /* clean lines without boxes */
}

.faq-item {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(15, 30, 54, 0.08); /* elegant separator line */
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item[open] {
    border-bottom-color: var(--accent-color);
}

.faq-question {
    padding: 28px 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    padding: 0 0 28px 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Elements: Honeypot, CTAs & Carousel Dots */
.hidden-honeypot {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* CTA Teaser Banner */
.cta-teaser {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid rgba(15, 30, 54, 0.04);
    border-bottom: 1px solid rgba(15, 30, 54, 0.04);
    position: relative;
    overflow: hidden;
}

.cta-teaser::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-teaser-content {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    line-height: 1.25;
    color: var(--text-primary);
    font-weight: 600;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 8px;
}

/* Timeline Footer CTA */
.timeline-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(15, 30, 54, 0.05);
}

.timeline-footer-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-footer-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

/* Portfolio Footer CTA */
.portfolio-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(15, 30, 54, 0.05);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.teaser-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.teaser-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Portfolio Mobile Carousel Dots */
.portfolio-slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.portfolio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(15, 30, 54, 0.12);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.portfolio-dot.active {
    background-color: var(--accent-color);
    width: 20px;
    border-radius: 4px;
}

/* Logo Link styles */
a.logo {
    text-decoration: none;
    color: inherit;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.6rem;
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-intro {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* Simplification for mobile view */
    }
    
    .workflow-timeline {
        flex-direction: column;
        gap: 24px;
    }
    
    .workflow-timeline::before {
        top: 40px;
        bottom: 40px;
        left: 48px;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(37, 99, 235, 0.03) 0%, rgba(37, 99, 235, 0.25) 50%, rgba(37, 99, 235, 0.03) 100%);
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Mobile First Carousel for Portfolio Cards */
    .portfolio-section .grid-3 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        padding: 10px 4px 30px 4px;
        margin: 0 -12px;
        /* Hide scrollbars */
        scrollbar-width: none; /* Firefox */
    }

    .portfolio-section .grid-3::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .portfolio-section .portfolio-card {
        flex: 0 0 88%;
        scroll-snap-align: center;
        min-height: auto;
    }

    .portfolio-slider-dots {
        display: flex;
    }

    .cta-title {
        font-size: 1.65rem;
    }
    
    .timeline-footer-title,
    .teaser-title {
        font-size: 1.65rem;
    }
}
