/* Core Variables */
:root {
    --primary-color: #005B94; /* Traditional German blue, more conservative */
    --secondary-color: #2C3E50;
    --accent-color: #E5F3FF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #E2E8F0;
    --success-color: #287D3C;
    --warning-color: #B95000;
}

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

/* Modern Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary-color);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f0f0f0' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero img {
    animation: float 6s ease-in-out infinite;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

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

/* Features Section */
.feature-section {
    margin-bottom: 6rem;   
}

.feature-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--background-white);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: transform 0.2s;
}

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

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

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

.btn-primary:hover {
    background-color: #004A7C;
    border-color: #004A7C;
}

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

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

/* Enhanced Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--bs-primary);
    opacity: 0.1;
    border-radius: 20px;
    transform: rotate(-10deg);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-bg {
    transform: rotate(0deg);
}

.feature-card a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.feature-card a i {
    transition: transform 0.3s ease;
}

.feature-card:hover a i {
    transform: translateX(5px);
}

/* Mini Feature Cards */
.mini-feature-card {
    transition: all 0.3s ease;
}

.mini-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mini-feature-card i {
    font-size: 2rem;
}

/* CTA Section Spacing */
#cta {
    margin-bottom: 6rem;
}

/* Legal Pages */
.legal-section {
    padding-top: 120px;
    color: var(--text-primary);
    background-color: var(--background-white);
}

.legal-section h1 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.legal-content {
    line-height: 1.7;
    font-size: 1rem;
}

.legal-content h2 {
    color: var(--text-primary);
    margin-top: 2.5rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: var(--text-secondary);
    margin-top: 2rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

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

.legal-content a:hover {
    border-bottom-color: var(--primary-color);
    text-decoration: none;
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 91, 148, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* Section Spacing */
section {
    padding: 6rem 0;
    margin-top: 2rem;
}

section + section {
    margin-top: 3rem;
}

.bg-light + .bg-light {
    margin-top: 0;
}

/* Footer Styles */
.footer {
    background-color: #1A202C;
    color: #FFFFFF;
    padding: 6rem 0 3rem;
    margin-top: 5rem;
}

.footer h3 {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: #E2E8F0;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer p {
    color: #A0AEC0;
    line-height: 1.7;
}

.footer .list-unstyled li {
    margin-bottom: 1rem;
}

.footer a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.footer .social-links {
    display: flex;
    gap: 1.25rem;
}

.footer .social-links a {
    color: #A0AEC0;
    font-size: 1.25rem;
    transition: all 0.2s;
}

.footer .social-links a:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer hr {
    border-color: #2D3748;
    margin: 3rem 0;
}

.footer .copyright {
    color: #A0AEC0;
    font-size: 0.9rem;
}

.footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer .footer-brand i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Trust Section */
.trust {
    padding: 5rem 0;
}

.trust img {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.trust img:hover {
    opacity: 1;
}

/* Benefits Section */
.benefits {
    padding: 7rem 0;
}

.benefit-item {
    background-color: var(--background-white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.benefit-item h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Solutions Section */
.solutions {
    padding: 7rem 0;
}

.solution-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color-light);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

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

.solution-card ul li {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        text-align: center;
    }
    
    .hero img {
        margin-top: 2rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}