/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #0F172A;
    background-color: #f2edfd;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #0F172A;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary {
    background-color: #9370DB;
    color: white;
}

.btn-primary:hover {
    background-color: #708090;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: #9370DB;
    border: 2px solid #9370DB;
}

.btn-outline:hover {
    background-color: #9370DB;
    color: white;
}

.btn-ghost {
    background-color: transparent;
    color: #64748B;
    border: 1px solid #CBD5E1;
}

.btn-ghost:hover {
    background-color: #e4d9fb;
    color: #9370DB;
    border-color: #9370DB;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Header */
.header {
    background-color: white;
    border-bottom: 1px solid #f2edfd;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo h2 {
    font-size: 20px;
    font-weight: 600;
    color: #9370DB;
    margin-bottom: 2px;
}

.company-name {
    font-size: 12px;
    color: #64748B;
    font-weight: 400;
}

.nav-desktop {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #64748B;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #9370DB;
}

.header-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #64748B;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid #f2edfd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
}

.mobile-nav-link {
    text-decoration: none;
    color: #64748B;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #fae0d7;
}

.mobile-nav-link:hover {
    color: #9370DB;
}

/* Hero Section */
.hero {
    padding: 96px 0;
    background: linear-gradient(135deg, #f2edfd 0%, #e4d9fb 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    margin-bottom: 24px;
    background: linear-gradient(135deg, #9370DB 0%, #708090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #9370DB;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #0F172A;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #10B981;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trust-indicators {
    border-top: 1px solid #f2edfd;
    padding-top: 32px;
}

.trust-text {
    display: block;
    font-size: 14px;
    color: #64748B;
    margin-bottom: 16px;
}

.trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748B;
}

.trust-icon {
    width: 16px;
    height: 16px;
    color: #10B981;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.financial-chart {
    position: relative;
    width: 300px;
    height: 300px;
}

.chart-line {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, #10B981 0%, #9370DB 100%);
    border-radius: 1px;
}

.chart-bar {
    position: absolute;
    bottom: 20%;
    left: 30%;
    width: 40px;
    height: 80px;
    background: linear-gradient(180deg, #e4d9fb 0%, #9370DB 100%);
    border-radius: 6px;
}

.chart-pie {
    position: absolute;
    top: 20%;
    right: 25%;
    width: 80px;
    height: 80px;
    border: 20px solid #10B981;
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(45deg);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    margin-bottom: 24px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

/* About Preview */
.about-preview {
    padding: 96px 0;
    background-color: white;
}

.mission-statement {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.mission-card {
    background-color: #e4d9fb;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
}

.mission-card h3 {
    color: #9370DB;
    margin-bottom: 16px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 96px 0;
    background-color: #f2edfd;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(255, 69, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(255, 69, 0, 0.1);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: #e4d9fb;
    border-radius: 50%;
    margin-bottom: 24px;
}

.benefit-icon .icon {
    width: 32px;
    height: 32px;
    color: #9370DB;
}

.benefit-title {
    margin-bottom: 16px;
    color: #0F172A;
}

.benefit-description {
    color: #64748B;
}

/* Services */
.services {
    padding: 96px 0;
    background-color: white;
}

.service-category {
    margin-bottom: 64px;
}

.service-category-title {
    color: #9370DB;
    margin-bottom: 32px;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.service-card {
    background-color: #f2edfd;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: #9370DB;
    background-color: #e4d9fb;
    transform: translateY(-2px);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: #9370DB;
    margin-bottom: 16px;
}

.service-name {
    font-size: 16px;
    font-weight: 500;
    color: #0F172A;
}

/* Testimonials */
.testimonials {
    padding: 96px 0;
    background-color: #f2edfd;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(255, 69, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(255, 69, 0, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    width: 20px;
    height: 20px;
    color: #F59E0B;
}

.testimonial-quote {
    font-style: italic;
    color: #64748B;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #9370DB 0%, #e4d9fb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.author-name {
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: #64748B;
}

/* FAQ */
.faq {
    padding: 96px 0;
    background-color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #f2edfd;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: #0F172A;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #9370DB;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: #64748B;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: #9370DB;
}

.faq-answer {
    padding-bottom: 24px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: #64748B;
    line-height: 1.6;
}

/* Contact */
.contact {
    padding: 96px 0;
    background-color: #f2edfd;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-title {
    margin-bottom: 24px;
}

.contact-description {
    font-size: 18px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #9370DB;
    margin-top: 4px;
}

.contact-item h4 {
    margin-bottom: 8px;
    color: #0F172A;
}

.contact-item p {
    margin: 0;
    color: #64748B;
}

.contact-item a {
    color: #9370DB;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Forms */
.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(255, 69, 0, 0.05);
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #0F172A;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #CBD5E1;
    border-radius: 6px;
    font-size: 16px;
    background-color: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #9370DB;
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.2);
}

.form-textarea {
    height: auto;
    resize: vertical;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 6px;
    margin-top: 16px;
}

.success-icon {
    width: 20px;
    height: 20px;
    color: #10B981;
}

.form-success p {
    color: #166534;
    margin: 0;
    font-weight: 500;
}

/* Newsletter */
.newsletter {
    padding: 96px 0;
    background: linear-gradient(135deg, #9370DB 0%, #708090 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-title {
    color: white;
    margin-bottom: 24px;
}

.newsletter-description {
    color: #e4d9fb;
    font-size: 18px;
    margin-bottom: 48px;
}

.newsletter-form {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.newsletter-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.newsletter-input {
    height: 48px;
    padding: 12px 16px;
    border: 2px solid #CBD5E1;
    border-radius: 6px;
    font-size: 16px;
    background-color: white;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #9370DB;
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.newsletter-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.newsletter-checkbox label {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}

/* Legal */
.legal-section {
    padding: 64px 0;
    background-color: white;
}

.legal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.legal-block {
    padding: 32px;
    background-color: #f2edfd;
    border-radius: 12px;
}

.legal-title {
    color: #9370DB;
    margin-bottom: 16px;
}

.legal-text {
    color: #64748B;
    line-height: 1.7;
}

/* Footer */
.footer {
    background-color: #708090;
    color: white;
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-title {
    color: white;
    margin-bottom: 8px;
}

.footer-subtitle {
    color: #e4d9fb;
    margin-bottom: 32px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: #e4d9fb;
}

.footer-heading {
    color: white;
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #e4d9fb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(227, 242, 253, 0.1);
    border-radius: 8px;
    color: #e4d9fb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #9370DB;
    color: white;
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(227, 242, 253, 0.2);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #e4d9fb;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .newsletter-inputs {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu.active {
        display: block;
    }
    
    h1 {
        font-size: 40px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .hero {
        padding: 64px 0;
        min-height: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .newsletter-form {
        padding: 24px;
    }
    
    .mission-card {
        padding: 24px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-header,
    .hero,
    .about-preview,
    .why-choose-us,
    .services,
    .testimonials,
    .faq,
    .contact,
    .newsletter {
        padding: 64px 0;
    }
    
    .service-category {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .financial-chart {
        width: 250px;
        height: 250px;
    }
    
    .nav-wrapper {
        height: 70px;
    }
    
    .footer {
        padding: 48px 0 20px;
    }
}

/* Animation and Loading States */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Form Validation Styles */
.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #EF4444;
}

.form-error {
    display: block;
    color: #EF4444;
    font-size: 14px;
    margin-top: 4px;
}

/* Loading State */
.btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States */
*:focus {
    outline: 2px solid #9370DB;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #9370DB;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero,
    .about-preview,
    .why-choose-us,
    .services,
    .testimonials,
    .faq,
    .contact,
    .newsletter,
    .legal-section {
        padding: 20px 0 !important;
        background: white !important;
    }
}