html {
            scroll-behavior: smooth;
        }
        :root {
            --primary: #3b82f6;
            --primary-dark: #2563eb;
            --primary-light: #93c5fd;
            --secondary: #10b981;
            --secondary-dark: #059669;
            --accent: #f59e0b;
            --dark: #1e293b;
            --darker: #0f172a;
            --light: #f8fafc;
            --lighter: #ffffff;
            --gray: #94a3b8;
            --gray-light: #e2e8f0;
            --danger: #ef4444;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--light);
            color: var(--dark);
            line-height: 1.7;
            overflow-x: hidden;
        }
        
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            line-height: 1.3;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header Styles */
        .main-header {
            background: linear-gradient(135deg, var(--darker), var(--primary-dark));
            color: var(--lighter);
            padding: 6rem 0 8rem;
            text-align: center;
            position: relative;
            overflow: hidden;
            clip-path: ellipse(100% 100% at 50% 0%);
        }
        
        .main-header::before {
            content: "";
            position: absolute;
            bottom: -100px;
            left: 0;
            right: 0;
            height: 200px;
            background-color: var(--light);
            transform: skewY(-3deg);
            z-index: 1;
        }
        
        .header-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .main-header h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .main-header p {
            font-size: 1.25rem;
            margin-bottom: 2.5rem;
            opacity: 0.9;
        }
        
        /* Button Styles */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: var(--secondary);
            color: var(--lighter);
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
        }
        
        .btn:hover {
            background-color: var(--secondary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--lighter);
            margin-left: 1rem;
        }
        
        .btn-outline:hover {
            background-color: rgba(255,255,255,0.1);
        }
        
        .btn-large {
            padding: 1.25rem 3rem;
            font-size: 1rem;
        }
        
        /* Book Preview */
       .book-preview {
    width: 280px;
    height: 380px;
    margin: 2rem auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(15deg);
    transition: transform 0.5s ease;
    overflow: hidden;
}

.book-preview:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.05);
}

.book-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    text-align: center;
}

.book-overlay h3 {
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Playfair Display', serif;
}

.book-overlay p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    color: var(--accent);
}
        
        /* Section Styles */
        .section {
            padding: 5rem 0;
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            color: var(--darker);
            margin-bottom: 1rem;
        }
        
        .section-title p {
            max-width: 700px;
            margin: 0 auto;
            color: var(--gray);
            font-size: 1.1rem;
        }
        
        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .feature-card {
            background-color: var(--lighter);
            padding: 2.5rem 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--gray-light);
            text-align: center;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
            border-color: var(--primary-light);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            background-color: rgba(59, 130, 246, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: var(--primary);
            font-size: 2rem;
        }
        
        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--darker);
        }
        
/* Book Templates Section - Improved */
.book-templates {
    background-color: var(--lighter);
    padding: 5rem 0;
    position: relative;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.template-card {
    background-color: var(--lighter);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--gray-light);
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.template-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: var(--darker);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.template-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-card:hover .template-image img {
    transform: scale(1.05);
}

/* Gradient overlays for images */
.template-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.template-1 .template-image {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.template-2 .template-image {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.template-3 .template-image {
    background: linear-gradient(135deg, #047857, #10b981);
}

.template-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--darker);
    line-height: 1.3;
}

.template-content > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.template-content ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex: 1;
}

.template-content ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.template-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.template-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 0.9rem;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .templates-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .template-image {
        height: 200px;
    }
    
    .template-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .book-templates {
        padding: 3rem 0;
    }
    
    .template-image {
        height: 180px;
    }
    
    .template-content h3 {
        font-size: 1.3rem;
    }
}
        
        
        /* Stocks Section */
        .stocks-section {
            background-color: var(--light);
        }
        
        .stocks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .stock-card {
            background-color: var(--lighter);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border-top: 4px solid var(--primary);
        }
        
        .stock-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .stock-header {
            padding: 1.5rem;
            background-color: var(--primary);
            color: var(--lighter);
        }
        
        .stock-header h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }
        
        .stock-badge {
            display: inline-block;
            background-color: rgba(255,255,255,0.2);
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }
        
        .stock-content {
            padding: 1.5rem;
        }
        
        .stock-highlight {
            color: var(--secondary);
            font-weight: 600;
            margin: 1rem 0;
            display: flex;
            align-items: center;
        }
        
        .stock-highlight svg {
            margin-right: 0.5rem;
        }
        
        /* Expert Section */
        .expert-section {
            background: linear-gradient(135deg, var(--darker), var(--primary-dark));
            color: var(--lighter);
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
        }
        
        .expert-section::before {
            content: "";
            position: absolute;
            top: -120px;
            left: 0;
            right: 0;
            height: 200px;
            background-color: var(--light);
            transform: skewY(3deg);
            z-index: 1;
        }
        
        .expert-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            align-items: center;
            position: relative;
            z-index: 2;
        }
        
        .expert-image {
            width: 100%;
            max-width: 400px;
            height: 400px;
            background-color: var(--gray-light);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-weight: 600;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
            position: relative;
            overflow: hidden;
        }
        
        .expert-image::before {
            content: "Marco Schnepf";
            position: absolute;
            bottom: 20px;
            left: 20px;
            color: var(--lighter);
            font-size: 1.5rem;
            font-weight: 700;
            z-index: 2;
        }
        
        .expert-image::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 50%);
        }
        
        .expert-bio h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--lighter);
        }
        
        .expert-title {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 1.5rem;
            display: block;
        }
        
        .expert-bio p {
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }
        
        /* Testimonials */
        .testimonials {
            background-color: var(--lighter);
            padding: 5rem 0;
        }
        
        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .testimonial-card {
            background-color: var(--lighter);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--gray-light);
            position: relative;
        }
        
        .testimonial-card::before {
            content: "";
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 4rem;
            color: var(--primary-light);
            font-family: serif;
            line-height: 1;
            opacity: 0.3;
        }
        
        .testimonial-content {
            position: relative;
            z-index: 2;
        }
        
        .testimonial-text {
            font-style: italic;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }
        
        .testimonial-author {
            display: flex;
            align-items: center;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--gray-light);
            margin-right: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-weight: 600;
        }
        
        .author-info h4 {
            font-size: 1rem;
            margin-bottom: 0.25rem;
            color: var(--darker);
        }
        
        .author-info p {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: var(--lighter);
            padding: 6rem 0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .cta-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.03)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
            background-size: 100% 100%;
            opacity: 0.5;
        }
        
        .cta-content {
            position: relative;
            z-index: 2;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .cta-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }
        
        .cta-content p {
            margin-bottom: 2.5rem;
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .cta-form {
            background-color: var(--lighter);
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
            text-align: left;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--dark);
            font-weight: 600;
        }
        
        .form-group input {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--gray-light);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            outline: none;
        }
        
        .form-disclaimer {
            font-size: 0.8rem;
            color: var(--gray);
            margin-top: 1rem;
            text-align: center;
        }
        
        /* Footer */
        .main-footer {
            background-color: var(--darker);
            color: var(--gray-light);
            padding: 4rem 0 2rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }
        
        .footer-logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--lighter);
            margin-bottom: 1.5rem;
            display: inline-block;
        }
        
        .footer-about p {
            margin-bottom: 1.5rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--lighter);
            transition: all 0.3s ease;
        }
        
        .social-link:hover {
            background-color: var(--primary);
            transform: translateY(-2px);
        }
        
        .footer-column h4 {
            color: var(--lighter);
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.75rem;
        }
        
        .footer-column h4::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.75rem;
        }
        
        .footer-links a {
            color: var(--gray-light);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--lighter);
            padding-left: 5px;
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            text-align: center;
            font-size: 0.9rem;
            color: var(--gray);
        }

        .cookie-consent {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: white;
            padding: 20px;
            box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
            z-index: 1000;
            display: none;
        }
        
        .cookie-consent.show {
            display: block;
        }
        
        .cookie-consent-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .cookie-consent-title {
            font-weight: bold;
            margin-bottom: 10px;
        }
        
        .cookie-consent-text {
            font-size: 14px;
            line-height: 1.5;
            color: #333;
        }
        
        .cookie-consent-buttons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .cookie-consent-accept {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .cookie-consent-reject {
            background-color: transparent;
            color: var(--primary);
            border: 1px solid var(--primary);
            padding: 10px 20px;
            border-radius: 4px;
            cursor: pointer;
        }
        
        .cookie-consent-links {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            font-size: 12px;
        }
        
        .cookie-consent-links a {
            color: #666;
            text-decoration: none;
        }
        
        .cookie-consent-links a:hover {
            text-decoration: underline;
        }
        
        @media (max-width: 768px) {
            .cookie-consent-buttons {
                flex-direction: column;
            }
        }
        
        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .main-header h1 {
                font-size: 2.5rem;
            }
            
            .section {
                padding: 4rem 0;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 768px) {
            .main-header {
                padding: 4rem 0 6rem;
            }
            
            .main-header h1 {
                font-size: 2rem;
            }
            
            .btn-group {
                display: flex;
                flex-direction: column;
                gap: 1rem;
            }
            
            .btn-outline {
                margin-left: 0;
                margin-top: 1rem;
            }
            
            .section {
                padding: 3rem 0;
            }
            
            .expert-content {
                grid-template-columns: 1fr;
            }
            
            .expert-image {
                margin: 0 auto;
            }
        }
        
        @media (max-width: 576px) {
            .main-header h1 {
                font-size: 1.8rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .cta-content h2 {
                font-size: 2rem;
            }
        }