:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-gold: #f59e0b;
    --success-green: #10b981;
    --warning-orange: #f97316;
    --error-red: #ef4444;
    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--neutral-700);
    background-color: #ffffff;
}

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    color: var(--primary-blue);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--neutral-50) 0%, #ffffff 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 600px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    color: var(--neutral-600);
    margin-bottom: 32px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--neutral-50);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--neutral-600);
    line-height: 1.6;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-section p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: 24px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: var(--neutral-50);
}

.testimonials h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 64px;
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--neutral-200);
    padding-top: 16px;
}

.testimonial-author strong {
    display: block;
    color: var(--neutral-900);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--neutral-600);
    font-size: 14px;
}

.stars {
    color: var(--accent-gold);
    font-size: 18px;
    margin-top: 8px;
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #ffffff;
}

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

.contact-info h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--neutral-700);
    margin-bottom: 32px;
}

.contact-details p {
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-form {
    background: var(--neutral-50);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
}

.contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 32px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--neutral-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

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

.checkbox-group label {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
}

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

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

.submit-button {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.footer-brand p {
    color: var(--neutral-300);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--neutral-300);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--neutral-400);
}

/* Legal Pages */
.legal-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.legal-page.active {
    display: block;
}

.legal-page .container {
    background: white;
    margin: 40px auto;
    padding: 48px;
    border-radius: 16px;
    max-width: 800px;
    position: relative;
}

.legal-page h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

.legal-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 32px 0 16px;
}

.legal-page p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.legal-page ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 8px;
}

.close-legal {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 32px;
    transition: background 0.3s ease;
}

.close-legal:hover {
    background: var(--secondary-blue);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
        padding: 100px 0 60px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services h2,
    .testimonials h2,
    .contact-info h2 {
        font-size: 32px;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .legal-page .container {
        margin: 20px auto;
        padding: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .service-card,
    .testimonial-card {
        padding: 24px;
    }
    
    .services,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
}