/* 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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5em;
    color: #7c3aed;
}

h2 {
    font-size: 2.2em;
    color: #7c3aed;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.8em;
    color: #7c3aed;
}

h4 {
    font-size: 1.4em;
    color: #7c3aed;
}

p {
    margin-bottom: 1em;
    color: #555;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(124, 58, 237, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    font-size: 1.8em;
    margin: 0;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-brand span {
    font-size: 0.9em;
    color: #666;
    font-weight: 500;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navigation a:hover {
    color: #7c3aed;
}

.navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navigation a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #e9d5ff 100%);
    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="%23a855f7" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3.2em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-benefits {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.benefit-icon {
    font-size: 1.2em;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agile-icon {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5em;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2);
}

.service-icon {
    font-size: 3em;
    margin-bottom: 1rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #6d28d9;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-card li {
    color: #555;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "⚡";
    color: #a855f7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ec4899, #f97316);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.advantages h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3em;
    margin-bottom: 1rem;
    display: block;
}

.advantage-item h3 {
    margin-bottom: 1rem;
    color: #6d28d9;
}

.advantage-item p {
    color: #666;
    margin: 0;
}

/* Process Timeline */
.process-timeline {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.process-timeline h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #6d28d9;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 1rem;
}

.timeline-item h4 {
    margin-bottom: 0.5rem;
    color: #6d28d9;
}

.timeline-item p {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-text {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #7c3aed;
}

.professional-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(124, 58, 237, 0.1);
}

.professional-info h3 {
    color: #6d28d9;
    margin-bottom: 1rem;
}

.professional-info p {
    margin-bottom: 0.5rem;
}

.specialties {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(124, 58, 237, 0.1);
}

.specialties h3 {
    color: #6d28d9;
    margin-bottom: 1rem;
}

.specialties ul {
    list-style: none;
    padding: 0;
}

.specialties li {
    color: #555;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.specialties li:before {
    content: "✓";
    color: #a855f7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
    text-align: center;
    border-left: 4px solid #7c3aed;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #6d28d9;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.1);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    color: #7c3aed;
    font-size: 0.9em;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: #6d28d9;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.1);
}

.contact-icon {
    font-size: 1.5em;
    margin-top: 0.2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #6d28d9;
    font-size: 1.1em;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-item em {
    color: #a855f7;
    font-weight: 600;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: #6d28d9;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
    margin: 0;
    margin-top: 0.2rem;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
    font-size: 0.9em;
}

.form-group.checkbox a {
    color: #7c3aed;
    text-decoration: none;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

.form-note {
    margin-top: 1rem;
    text-align: center;
}

.form-note small {
    color: #a855f7;
    font-weight: 600;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #c4b5fd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4c1d95;
    padding-top: 1rem;
    text-align: center;
    color: #c4b5fd;
}

/* Legal Pages Styles */
.legal-content {
    padding: 60px 0;
    background-color: #fff;
}

.legal-content h1 {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #7c3aed;
    padding-bottom: 1rem;
}

.legal-section {
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #faf5ff, #f3e8ff);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #7c3aed;
}

.legal-section h2 {
    color: #6d28d9;
    margin-bottom: 1.5rem;
    font-size: 1.8em;
}

.legal-section h3 {
    color: #6d28d9;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-size: 1.4em;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.legal-section p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.7;
}

.contact-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        padding: 1rem 20px;
    }
    
    .navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5em;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-benefits {
        justify-content: center;
    }
    
    .agile-icon {
        width: 250px;
        height: 250px;
        font-size: 3.5em;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.8em;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .legal-content {
        padding: 40px 0;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5em;
    }
    
    .legal-section h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h2 {
        font-size: 2em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .agile-icon {
        width: 200px;
        height: 200px;
        font-size: 3em;
    }
    
    .service-card,
    .about-text,
    .contact-form {
        padding: 1.5rem;
    }
    
    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
}

/* Animation for smooth scrolling and loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.advantage-item,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .legal-section {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}