@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #1C355E;
    --primary-light: #2A4A7A;
    --secondary: #E3B04B;
    --accent: #D7263D; /* Allianz Red */
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-dark: #1C355E;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(28, 53, 94, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.mobile-menu-logo {
    display: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
}

.logo img {
    height: 50px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

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

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 80px;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-brand-logo {
    height: 48px;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Slider Controls */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(227, 176, 75, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(227, 176, 75, 0.3);
}

/* Header Specific Button */
.btn-nav {
    padding: 8px 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(227, 176, 75, 0.2);
}

/* Sections */
section {
    padding: 100px 0;
}

.bg-white {
    background-color: #FFFFFF;
    color: var(--primary);
}

.bg-white .section-title p {
    color: #666;
}

.bg-white h2, .bg-white h3 {
    color: var(--primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.bg-white .product-card {
    background: #F8F9FA;
    border: 1px solid #EEE;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bg-white .product-card p {
    color: #666;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.bg-white .product-card:hover {
    background: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-icon {
    margin-bottom: 20px;
    color: var(--secondary);
    display: flex;
    justify-content: center;
}

.product-icon svg {
    width: 48px;
    height: 48px;
    stroke-width: 1.5px;
}

/* Corporate */
.corp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

/* FAQ */
.faq-container {
    margin-top: 40px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.bg-white .faq-item {
    background: #F8F9FA;
    border-color: #EEE;
    color: var(--primary);
}

.faq-question {
    padding: 20px 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.bg-white .faq-question:hover {
    background: #F1F3F5;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.bg-white .faq-answer {
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 30px 20px 30px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* Contact */
.contact-card {
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Allianz Banner */
.allianz-banner {
    background: var(--text-white);
    color: var(--primary);
    padding: 60px 0;
    text-align: center;
}

.allianz-banner img {
    height: 60px;
    margin-bottom: 20px;
}

/* Multi-step Form Modal */
#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: var(--bg-dark);
    width: 90%;
    max-width: 600px;
    padding: 50px;
    border-radius: 30px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
}

.step {
    display: none;
}

.step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.option-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

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

input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
    
    .menu-toggle { display: block; }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 80%;
        height: 100vh;
        background: rgba(28, 53, 94, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 50px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-logo.top {
        display: block;
        margin-bottom: 40px;
        text-align: center;
        width: 100%;
    }

    .mobile-menu-logo.bottom {
        display: block;
        margin-top: 60px;
        text-align: center;
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 30px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .nav-links a {
        font-size: 1.4rem;
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .corp-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-container { padding: 30px; }
    .options-grid { grid-template-columns: 1fr; }
    
    .corporate p { font-size: 1rem; }
}
