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

:root {
    --primary-purple: #B272F2;
    --secondary-purple: #C79BF2;
    --light-purple: #DAC2F2;
    --accent-purple: #F2F2F2;
    --dark: #0D0D0D;
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #f8f8f8;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background: var(--white);
}

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

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 20px;
}

.nav-brand {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark);
}

.nav-brand .u {
    color: var(--primary-purple);
}

.nav-brand .nileso {
    color: var(--dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-purple);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-selector {
    background: var(--light-purple);
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--dark);
}

.lang-selector:hover {
    background: var(--secondary-purple);
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--white) 0%, var(--accent-purple) 100%);
    padding: 180px 0 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--light-purple) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-title span {
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: var(--white);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--dark);
    transition: left 0.3s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--white);
}

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

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

.btn-block {
    width: 100%;
    text-align: center;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 300;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 4rem;
    font-weight: 300;
}

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

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 0;
    text-align: left;
    transition: all 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.service-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Technology Section */
.technology {
    padding: 120px 0;
    background: var(--white);
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.tech-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 300;
    letter-spacing: -1px;
}

.tech-text p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.tech-features {
    list-style: none;
}

.tech-features li {
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon::after {
    content: '✓';
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

.tech-visual {
    position: relative;
    height: 400px;
}

.tech-card {
    position: absolute;
    background: var(--white);
    padding: 2.5rem 2rem;
    border: 2px solid var(--light-purple);
    text-align: center;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(178, 114, 242, 0.1);
}

.tech-card:nth-child(1) {
    top: 0;
    left: 0;
}

.tech-card:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.tech-card:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.tech-card h4 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tech-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

.floating {
    animation: floating 4s ease-in-out infinite;
}

.delay-1 {
    animation-delay: 1.3s;
}

.delay-2 {
    animation-delay: 2.6s;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--light-gray);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(0, 0, 0, 0.1);
}

.stat:last-child::after {
    display: none;
}

.stat h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -1px;
    white-space: nowrap;
}

.stat p {
    font-size: 0.95rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--accent-purple) 0%, var(--white) 100%);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 24px;
    border: 2px solid var(--light-purple);
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    background: var(--white);
    transition: all 0.3s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(178, 114, 242, 0.1);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand h3 .u {
    color: var(--primary-purple);
}

.footer-brand h3 .nileso {
    color: var(--white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: var(--primary-purple);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-purple);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
/* Metrics Section */
.metrics {
    padding: 80px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(178,114,242,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.metric-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.metric-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial */
.testimonial {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--accent-purple) 100%);
    text-align: center;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.testimonial-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-content.active {
    display: block;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(178, 114, 242, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

.dot:hover {
    background: var(--secondary-purple);
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 120px 0 2rem;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-actions {
        gap: 1rem;
        align-items: center;
    }
    
    .nav-toggle {
        display: flex;
        order: 2;
    }
    
    .lang-selector {
        order: 1;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .tech-content {
        grid-template-columns: 1fr;
    }
    
    .tech-visual {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat::after {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .metric-item h3 {
        font-size: 2.5rem;
    }
    
    .testimonial-text {
        font-size: 1.2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 0.5rem;
    }
}