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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #111827;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #111827;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    color: #374151;
}

p {
    margin-bottom: 1rem;
    color: #6B7280;
}

/* Links */
a {
    text-decoration: none;
    color: #4F46E5;
    transition: color 0.3s ease;
}

a:hover {
    color: #7C3AED;
}

/* Buttons */
.cta-button, .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.cta-button:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.4);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #4F46E5;
    padding: 16px 32px;
    border: 2px solid #4F46E5;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-2px);
}

.button-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

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

.logo-svg {
    height: 40px;
    width: auto;
}

.logo-text {
    fill: #4F46E5;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.logo-arrow {
    fill: #7C3AED;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #4F46E5;
}

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

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

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

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    padding: 120px 0 80px;
    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"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23E5E7EB" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    flex: 1;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .cta-button {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
}

.hero-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #FFFFFF;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

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

.service-card {
    background: #FFFFFF;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #F3F4F6;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    animation: pulse 2s infinite;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #111827;
}

.service-card p {
    color: #6B7280;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
}

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

.about-text h2 {
    margin-bottom: 2rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4F46E5;
}

.stat-label {
    color: #6B7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-svg {
    width: 100%;
    height: auto;
    animation: float 8s ease-in-out infinite;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #FFFFFF;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

.testimonial-card {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #4F46E5;
}

.quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #374151;
}

.testimonial-author strong {
    color: #111827;
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #6B7280;
    font-size: 0.875rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: white;
}

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

.contact-info h2 {
    color: white;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    width: 24px;
    height: 24px;
    fill: #4F46E5;
    flex-shrink: 0;
    margin-top: 4px;
}

.info-item strong {
    color: white;
    display: block;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #D1D5DB;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4F46E5;
    transform: translateY(-2px);
}

.social-links svg {
    width: 24px;
    height: 24px;
    fill: #9CA3AF;
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: white;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input {
    width: 100%;
    padding: 16px 50px 16px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: #D1D5DB;
}

.form-group input:focus {
    outline: none;
    border-color: #4F46E5;
    background: rgba(255, 255, 255, 0.15);
}

.form-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #9CA3AF;
    pointer-events: none;
}

.contact-form button {
    width: 100%;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

/* Footer */
.footer {
    background: #111827;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

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

.footer-section ul li a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

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

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 140px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.blog-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-articles {
    padding: 100px 0;
    background: #F9FAFB;
}

.articles-grid {
    display: grid;
    gap: 4rem;
}

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

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.article-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 3rem;
}

.article-content h2 {
    margin-bottom: 1rem;
    color: #111827;
}

.article-meta {
    color: #6B7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-full-content {
    display: none;
    margin-top: 2rem;
}

.article-full-content.expanded {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

.article-full-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.read-more-btn {
    background: #4F46E5;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

/* Legal Pages */
.legal-content {
    padding: 140px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.last-updated {
    text-align: center;
    color: #6B7280;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #1F2937;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #6B7280;
}

/* Cookie Management */
.cookie-controls {
    background: #F3F4F6;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.cookie-controls h4 {
    margin-bottom: 1rem;
    color: #1F2937;
}

.cookie-btn {
    background: #4F46E5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-btn:hover {
    background: #7C3AED;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(229, 231, 235, 0.8);
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.cookie-content {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-icon {
    width: 32px;
    height: 32px;
    fill: #4F46E5;
    flex-shrink: 0;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: #374151;
}

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

.cookie-buttons button {
    background: #4F46E5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-buttons button:hover {
    background: #7C3AED;
    transform: translateY(-1px);
}

.cookie-buttons button:nth-child(2) {
    background: #6B7280;
}

.cookie-buttons button:nth-child(2):hover {
    background: #4B5563;
}

.cookie-buttons button:nth-child(3) {
    background: transparent;
    color: #4F46E5;
    border: 1px solid #4F46E5;
}

.cookie-buttons button:nth-child(3):hover {
    background: #4F46E5;
    color: white;
}

/* Thanks Page */
.thanks-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thanks-content h1 {
    color: #065F46;
    margin-bottom: 2rem;
}

.thanks-content > p {
    font-size: 1.25rem;
    color: #047857;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.thanks-visual {
    margin-bottom: 3rem;
}

.thanks-svg {
    width: 200px;
    height: 200px;
    animation: bounceIn 1s ease-out;
}

.next-steps {
    margin: 4rem 0;
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    color: #065F46;
    margin-bottom: 3rem;
}

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

.step {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(6, 95, 70, 0.1);
}

.step-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #065F46;
    margin-bottom: 1rem;
}

.step p {
    color: #047857;
    margin: 0;
}

.social-proof {
    margin: 4rem 0;
}

.social-proof h3 {
    color: #065F46;
    text-align: center;
    margin-bottom: 2rem;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

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

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid #E5E7EB;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .proof-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .services,
    .about,
    .testimonials,
    .contact,
    .blog-articles {
        padding: 60px 0;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .article-content {
        padding: 2rem;
    }
    
    .legal-content {
        padding: 100px 0 60px;
    }
    
    .thanks-section {
        padding: 100px 0 60px;
    }
}