/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand .brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066cc;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-outline {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-outline:hover {
    background: #0066cc;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease 0.6s both;
}

.hero-image {
    animation: slideInRight 1s ease 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature h4 {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat p {
    color: #666;
    margin: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 200px;
    gap: 1rem;
}

.form-row input {
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.form-row input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.social-media {
    text-align: center;
}

.social-media h4 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-brand .brand-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #0066cc;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: #0066cc;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: #0066cc;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #eee;
    text-align: right;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
}

.cookie-info h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.cookie-info p {
    margin: 0;
    color: #666;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0066cc;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

input:disabled + .slider {
    background-color: #4CAF50;
    cursor: not-allowed;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 150px 0 80px;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.article-image svg {
    width: 100%;
    height: 100%;
    display: block;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.date {
    color: #0066cc;
}

.category {
    background: #f0f0f0;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    color: #333;
}

.article-content h2 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-content > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-full-content {
    display: none;
    margin-top: 2rem;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.article-full-content.show {
    display: block;
}

.article-full-content h3 {
    color: #333;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.article-full-content h4 {
    color: #0066cc;
    margin: 1.5rem 0 0.75rem;
    font-size: 1.25rem;
}

.article-full-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-full-content ul,
.article-full-content ol {
    margin: 1rem 0 1rem 2rem;
    color: #666;
}

.article-full-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.read-more-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

/* Legal Pages */
.legal-content {
    padding: 150px 0 80px;
    background: #f8f9fa;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.last-updated {
    color: #666;
    font-style: italic;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-text h2 {
    color: #333;
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #0066cc;
}

.legal-text h3 {
    color: #0066cc;
    margin: 2rem 0 1rem;
    font-size: 1.25rem;
}

.legal-text h4 {
    color: #333;
    margin: 1.5rem 0 0.75rem;
    font-size: 1.125rem;
}

.legal-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-text ul,
.legal-text ol {
    margin: 1rem 0 1rem 2rem;
    color: #666;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-text a {
    color: #0066cc;
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
}

.cookie-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.cookie-table td {
    color: #666;
}

.cookie-table tr:nth-child(even) {
    background: #f9f9f9;
}

#cookie-settings-btn {
    margin: 2rem 0;
}

/* Thanks Page */
.thanks-content {
    padding: 150px 0 80px;
    background: #f8f9fa;
    text-align: center;
}

.thanks-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-card h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.newsletter-info h2 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 2rem;
}

.newsletter-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.newsletter-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.newsletter-features .feature h3 {
    font-size: 1.125rem;
    color: #333;
    margin: 1rem 0 0.5rem;
}

.newsletter-features .feature p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.next-steps {
    text-align: left;
    margin-bottom: 3rem;
}

.next-steps h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    color: #666;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.next-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00cc66;
    font-weight: bold;
}

.next-steps a {
    color: #0066cc;
    text-decoration: none;
}

.next-steps a:hover {
    text-decoration: underline;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.contact-info {
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.contact-links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.contact-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .thanks-card h1 {
        font-size: 2rem;
    }
    
    .legal-text {
        padding: 1.5rem;
    }
    
    .thanks-card {
        padding: 2rem 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .cookie-category {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

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

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

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

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

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Cache Control */
.no-cache {
    -webkit-cache-control: no-cache;
    -moz-cache-control: no-cache;
    -ms-cache-control: no-cache;
    cache-control: no-cache;
}