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

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #ea580c;
    --success-color: #16a34a;
    --warning-color: #d97706;
    --error-color: #dc2626;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    --spacing-unit: 8px;
}

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: var(--neutral-700);
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--neutral-900);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 4);
    color: var(--neutral-900);
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--neutral-800);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--neutral-800);
}

p {
    margin-bottom: calc(var(--spacing-unit) * 3);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--neutral-900);
    color: white;
    padding: calc(var(--spacing-unit) * 2);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

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

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: calc(var(--spacing-unit) * 3);
}

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

.cookie-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    align-items: center;
}

.cookie-link {
    color: var(--neutral-300);
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 1px solid var(--neutral-200);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.logo {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: calc(var(--spacing-unit) * 15) 0 calc(var(--spacing-unit) * 10);
    background: linear-gradient(135deg, var(--neutral-50) 0%, white 100%);
    margin-top: calc(var(--spacing-unit) * 9);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--neutral-600);
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--spacing-unit) * 1);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.hero-image {
    animation: fadeInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: calc(var(--spacing-unit) * 2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: start;
}

.about-text {
    animation: fadeInLeft 0.8s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    animation: fadeInRight 0.8s ease;
}

.feature {
    text-align: center;
    padding: calc(var(--spacing-unit) * 3);
    border-radius: calc(var(--spacing-unit) * 2);
    background: var(--neutral-50);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.feature h3 {
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-size: 1.1rem;
}

.feature p {
    font-size: 0.95rem;
    margin: 0;
    color: var(--neutral-600);
}

/* Testimonials Section */
.testimonials {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: var(--neutral-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.testimonial {
    background: white;
    padding: calc(var(--spacing-unit) * 4);
    border-radius: calc(var(--spacing-unit) * 2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.testimonial-content p {
    font-style: italic;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--neutral-900);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--neutral-600);
}

/* Contact Section */
.contact {
    padding: calc(var(--spacing-unit) * 10) 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: start;
}

.benefits {
    margin-top: calc(var(--spacing-unit) * 4);
}

.benefit {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.check {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--neutral-50);
    padding: calc(var(--spacing-unit) * 6);
    border-radius: calc(var(--spacing-unit) * 2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-group label {
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-weight: 500;
    color: var(--neutral-700);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: calc(var(--spacing-unit) * 2);
    border: 2px solid var(--neutral-200);
    border-radius: calc(var(--spacing-unit) * 1);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 2);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 2);
    margin: 0;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 2);
    border: none;
    border-radius: calc(var(--spacing-unit) * 1);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* Button Styles */
.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border: none;
    border-radius: calc(var(--spacing-unit) * 1);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: calc(var(--spacing-unit) * 1);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 4);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: calc(var(--spacing-unit) * 8);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-brand p {
    color: var(--neutral-400);
    margin-top: calc(var(--spacing-unit) * 2);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 4);
}

.footer-column h4 {
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: white;
}

.footer-column a {
    display: block;
    color: var(--neutral-400);
    text-decoration: none;
    margin-bottom: calc(var(--spacing-unit) * 2);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: calc(var(--spacing-unit) * 4);
    text-align: center;
    color: var(--neutral-500);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: calc(var(--spacing-unit) * 6);
    border-radius: calc(var(--spacing-unit) * 2);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: calc(var(--spacing-unit) * 3);
    top: calc(var(--spacing-unit) * 3);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--neutral-500);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--neutral-700);
}

#modal-body h2 {
    text-align: left;
    margin-bottom: calc(var(--spacing-unit) * 4);
}

#modal-body h3 {
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .navbar .container {
        padding: calc(var(--spacing-unit) * 2);
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: calc(var(--spacing-unit) * 12) 0 calc(var(--spacing-unit) * 8);
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 3);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: calc(var(--spacing-unit) * 4);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: calc(var(--spacing-unit) * 4);
        width: 95%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: calc(var(--spacing-unit) * 3);
    }
}