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

:root {
    /* Modern Enterprise Color Palette */
    --primary-color: #0F62FE;
    --primary-dark: #0043CE;
    --primary-light: #4589FF;
    --secondary-color: #161616;
    --accent-color: #0F62FE;

    /* Text Colors */
    --text-primary: #161616;
    --text-secondary: #525252;
    --text-tertiary: #8D8D8D;

    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-light: #F4F4F4;
    --bg-lighter: #FAFAFA;

    /* Border Colors */
    --border-color: #E0E0E0;
    --border-subtle: #F4F4F4;

    /* Status Colors */
    --success-color: #24A148;
    --success-light: #E5F6EA;

    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, #0F62FE 0%, #0043CE 100%);
    --gradient-hero: linear-gradient(180deg, #FFFFFF 0%, #F4F4F4 100%);
    --gradient-dark: linear-gradient(135deg, #161616 0%, #262626 100%);

    /* Professional Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px 0 rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.12);

    /* Spacing Scale */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

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

section {
    padding: 80px 0;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.96);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.85;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary-color);
    transition: 0.3s;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 1px 2px 0 rgba(15, 98, 254, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px 0 rgba(15, 98, 254, 0.3);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(15, 98, 254, 0.2);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--bg-lighter);
}

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

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-lighter);
}

.btn-nav {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white !important;
    border-radius: var(--radius-md);
}

.btn-nav:hover {
    background: var(--primary-dark);
    color: white !important;
    box-shadow: 0 2px 8px 0 rgba(15, 98, 254, 0.3);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 500;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(15, 98, 254, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-secondary);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    flex-shrink: 0;
}

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

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

.qr-demo {
    text-align: center;
    padding: var(--spacing-3xl);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-subtle);
}

.hero-illustration {
    width: 100%;
    max-width: 350px;
    height: auto;
    margin-bottom: var(--spacing-lg);
}

.qr-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    font-size: 1.25rem;
}

/* ===== Features Section ===== */
.features {
    background: var(--bg-white);
}

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

.feature-card {
    padding: var(--spacing-2xl);
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.feature-card:hover::before {
    opacity: 1;
    background: var(--gradient-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1;
}

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Use Cases Section ===== */
.use-cases {
    background: var(--bg-light);
}

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

.use-case-card {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.use-case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-subtle);
}

.use-case-icon {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.use-case-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
}

.use-case-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Deployment Section ===== */
.deployment {
    background: var(--bg-white);
}

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

.deployment-card {
    padding: var(--spacing-3xl);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.deployment-card:hover {
    box-shadow: var(--shadow-lg);
}

.deployment-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    border-width: 2px;
}

.deployment-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.01em;
}

.deployment-card.featured .deployment-badge {
    background: var(--gradient-primary);
}

.deployment-card h3 {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.deployment-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    font-size: 0.9375rem;
}

.deployment-features {
    list-style: none;
    margin: var(--spacing-xl) 0;
}

.deployment-features li {
    padding: var(--spacing-md) 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-subtle);
    line-height: 1.6;
}

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

/* ===== Security Section ===== */
.security {
    background: var(--bg-light);
}

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

.security-card {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.security-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-subtle);
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

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

.security-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===== Pricing Section ===== */
.pricing {
    background: var(--bg-white);
}

.pricing-section {
    margin-bottom: var(--spacing-4xl);
}

.pricing-section:last-child {
    margin-bottom: 0;
}

.pricing-category {
    text-align: center;
    font-size: 1.625rem;
    font-weight: 600;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-primary);
}

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

.pricing-card {
    padding: var(--spacing-3xl);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    border-width: 2px;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.pricing-card h4 {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0;
    letter-spacing: -0.03em;
}

.price span {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-xl) 0;
}

.pricing-features li {
    padding: var(--spacing-md) 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-subtle);
    line-height: 1.6;
}

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

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: var(--spacing-md) 0;
    font-style: italic;
}

.pricing-card .btn {
    width: 100%;
    margin-top: var(--spacing-lg);
}

/* ===== CTA Section ===== */
.cta {
    background: var(--gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(15, 98, 254, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-3xl);
}

.contact-form {
    background: white;
    padding: var(--spacing-3xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
}

.form-group.checkbox label {
    display: flex;
    gap: var(--spacing-sm);
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-group.checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.form-group a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
}

.form-group a:hover {
    border-bottom-color: transparent;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: var(--spacing-4xl) 0 var(--spacing-2xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-location {
    margin-top: var(--spacing-md);
}

.footer-col h4 {
    color: white;
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

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

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: white;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-2xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-illustration {
        max-width: 280px;
    }

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

    .deployment-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .nav-links {
        display: none;
    }

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

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
    }

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

    .features-grid,
    .use-cases-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .hero-illustration {
        max-width: 240px;
    }

    .qr-demo {
        padding: var(--spacing-lg);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

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

    .feature-card,
    .use-case-card,
    .security-card,
    .pricing-card,
    .deployment-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .price {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* ===== Selection ===== */
::selection {
    background: var(--primary-color);
    color: white;
}

/* ===== Legal Pages (Impressum, Datenschutz) ===== */
.legal-page {
    padding: 140px 0 80px;
    background: var(--bg-white);
    min-height: 100vh;
}

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

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-3xl);
    color: var(--text-primary);
}

.legal-section {
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid var(--border-subtle);
}

.legal-section:last-of-type {
    border-bottom: none;
}

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

.legal-section p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.2s ease;
}

.legal-section a:hover {
    border-bottom-color: transparent;
}

.legal-back {
    margin-top: var(--spacing-3xl);
    text-align: center;
}

.footer-company {
    margin-top: var(--spacing-sm);
    font-size: 0.875rem !important;
}

.footer-company a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

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

.footer-bottom a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ===== Thank You Page ===== */
.thank-you-page {
    padding: 140px 0 80px;
    background: var(--bg-white);
    min-height: 100vh;
}

.thank-you-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 4px 20px rgba(36, 161, 72, 0.3);
}

.thank-you-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.thank-you-message {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-4xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.next-steps {
    margin: var(--spacing-4xl) 0;
    text-align: center;
}

.next-steps h2 {
    font-size: 1.875rem;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-primary);
}

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

.step-card {
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.step-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.thank-you-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin: var(--spacing-3xl) 0;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--border-subtle);
}

.contact-info p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.2s ease;
}

.contact-info a:hover {
    border-bottom-color: transparent;
}

@media (max-width: 768px) {
    .thank-you-actions {
        flex-direction: column;
    }

    .thank-you-actions .btn {
        width: 100%;
    }

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