/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B5CF6;
    --secondary-color: #A855F7;
    --accent-color: #C084FC;
    --dark-color: #000000;
    --light-color: #FFFFFF;
    --gray-color: #6B7280;
    --gray-light: #F3F4F6;
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
    --gradient-secondary: linear-gradient(135deg, #1F2937 0%, #000000 100%);
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}


.logo img {
    object-fit: contain;
}

.logo-footer {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 15px;
    font-size: 1.2rem;
}

.logo-footer img {
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--light-color);
    background: none;
    border: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(168, 85, 247, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(192, 132, 252, 0.3), transparent);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -200px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    position: relative;
    width: min(350px, 90vw);
    height: 200px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    opacity: 0.1;
    filter: blur(20px);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

.card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.card-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--gray-color);
}

.card-content img {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray-color);
    position: relative;
    padding-left: 1.5rem;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.service-link:hover {
    color: var(--accent-color);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--gradient-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-color);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    width: min(400px, 90vw);
    height: 250px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.card-dots {
    display: flex;
    gap: 0.5rem;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
}

.card-dots span:nth-child(2) {
    background: #FCD34D;
}

.card-dots span:nth-child(3) {
    background: #10B981;
}

.card-body {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.8;
}

.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: typewriter 1s ease-in-out forwards;
}

.code-line:nth-child(1) { animation-delay: 0.5s; }
.code-line:nth-child(2) { animation-delay: 1.5s; }

@keyframes typewriter {
    to { opacity: 1; }
}

.code-keyword { color: #C084FC; }
.code-variable { color: #60A5FA; }
.code-operator { color: #F97316; }
.code-function { color: #10B981; }
.code-string { color: #FCD34D; }
.code-punctuation { color: var(--gray-color); }

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--gray-color);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-color);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--gradient-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-links {
    flex: 0 0 auto;
    min-width: 150px;
}

.footer-description {
    color: var(--gray-color);
    margin: 1rem 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: var(--light-color);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-bottom p {
    color: var(--gray-color);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero .container {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-top: 1px solid rgba(139, 92, 246, 0.2);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services {
        padding: 6rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about {
        padding: 6rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .contact {
        padding: 6rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        min-width: auto;
    }

    .footer-links {
        min-width: auto;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 0.75rem 0;
    }
    
    .vai7zs{
        height: 45px;
        margin-left: 10px;
    }
    .nav-toggle{
        display: none;
    }
    
    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
        min-height: 90vh;
    }
    
    .hero .container {
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        justify-content: center;
    }
    
    .hero-card {
        width: min(280px, 85vw);
        height: 160px;
        padding: 1.5rem;
    }
    
    .card-content img {
        max-width: 80px;
    }
    
    .services {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .about {
        padding: 5rem 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-card {
        width: min(320px, 85vw);
        height: 200px;
        padding: 1.25rem;
    }
    
    .contact {
        padding: 5rem 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-card {
        width: min(260px, 90vw);
        height: 140px;
        padding: 1rem;
    }
    
    .about-card {
        width: min(280px, 90vw);
        height: 180px;
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility classes for better responsive behavior */
.text-center-mobile {
    text-align: center;
}

@media (min-width: 769px) {
    .text-center-mobile {
        text-align: left;
    }
}

/* Improved hover effects for touch devices */
@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-particles {
        animation: none;
    }
    
    .hero-card {
        animation: none;
    }
    
    .card-glow {
        animation: none;
    }
}