/* Global Styles */
:root {
    --primary-color: #7b2cbf;
    --secondary-color: #5a189a;
    --accent-color: #9d4edd;
    --light-color: #f8f9fa;
    --dark-color: #121212;
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Navigation Bar */
.navbar {
    background-color: var(--dark-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--light-color);
}

/* Hero Section */
.hero {
    background-color: var(--dark-color);
    color: var(--text-color);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(123, 44, 191, 0.2) 0%, rgba(18, 18, 18, 0.8) 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container {
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

.service-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-secondary);
}

/* Workflow Section */
.workflow {
    background-color: #1a1a1a;
    padding: 100px 0;
}

.workflow-content {
    max-width: 900px;
    margin: 0 auto;
}

.workflow-diagram {
    margin-bottom: 50px;
    text-align: center;
}

.workflow-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.workflow-step {
    display: flex;
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.workflow-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    font-size: 1.8rem;
    font-weight: bold;
    min-width: 80px;
    padding: 20px;
}

.step-content {
    padding: 20px 30px;
    flex: 1;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact {
    background-color: #121212;
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    padding: 30px;
    background-color: #1a1a1a;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #222;
    color: var(--text-color);
    font-family: inherit;
}

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

/* Footer */
.footer {
    background-color: #0a0a0a;
    padding: 80px 0 20px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--text-secondary);
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

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

.footer-links ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    background-color: #222;
    color: var(--text-color);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: var(--text-secondary);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* Animations */
.animate {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.service-card.animate {
    animation-delay: 0.2s;
}

.service-card.animate:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card.animate:nth-child(3) {
    animation-delay: 0.6s;
}

.workflow-step.animate {
    animation-delay: 0.2s;
}

.workflow-step.animate:nth-child(2) {
    animation-delay: 0.4s;
}

.workflow-step.animate:nth-child(3) {
    animation-delay: 0.6s;
}

.workflow-step.animate:nth-child(4) {
    animation-delay: 0.8s;
}

.workflow-step.animate:nth-child(5) {
    animation-delay: 1s;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

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

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

.flow-animate {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: flow 2s linear forwards;
}

@keyframes flow {
    to {
        stroke-dashoffset: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: var(--dark-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}