/* Root Variables */
:root {
    --primary-blue: #0a1128;
    --secondary-blue: #1c2541;
    --accent-blue: #3a506b;
    --purple: #6b4c9a;
    --light-purple: #9d7fce;
    --black: #000000;
    --white: #ffffff;
    --gray: #b0b0b0;
    --gradient: linear-gradient(135deg, #6b4c9a 0%, #3a506b 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-blue);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(107, 76, 154, 0.2);
}

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

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.logo-text .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--light-purple);
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-button {
    background: transparent;
    border: 1px solid rgba(107, 76, 154, 0.4);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: inherit;
}

.lang-button:hover {
    border-color: var(--light-purple);
    background: rgba(107, 76, 154, 0.1);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--secondary-blue);
    border: 1px solid rgba(107, 76, 154, 0.3);
    border-radius: 8px;
    min-width: 160px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.lang-menu.active {
    display: flex;
}

.lang-menu a {
    padding: 0.8rem 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(107, 76, 154, 0.2);
}

.lang-menu a:last-child {
    border-bottom: none;
}

.lang-menu a:hover {
    background: rgba(107, 76, 154, 0.2);
    color: var(--light-purple);
}

.lang-menu a.active {
    background: var(--gradient);
    color: var(--white);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 76, 154, 0.4);
}

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

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

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 76, 154, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.hero-graphic {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(107, 76, 154, 0.2) 0%, rgba(58, 80, 107, 0.2) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(107, 76, 154, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 50px;
    left: 50px;
}

.floating-card.delay-1 {
    top: 150px;
    right: 50px;
    animation-delay: -2s;
}

.floating-card.delay-2 {
    bottom: 50px;
    left: 100px;
    animation-delay: -4s;
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--secondary-blue);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

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

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

.service-card {
    background: var(--primary-blue);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(107, 76, 154, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--light-purple);
    box-shadow: 0 15px 40px rgba(107, 76, 154, 0.3);
}

.service-card.featured {
    border-color: var(--purple);
    background: linear-gradient(135deg, rgba(107, 76, 154, 0.1) 0%, var(--primary-blue) 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--light-purple);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--primary-blue);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--secondary-blue);
    border-radius: 10px;
    border: 1px solid rgba(107, 76, 154, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-skills h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skill-bar {
    margin-bottom: 2rem;
}

.skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.skill-progress {
    height: 10px;
    background: var(--secondary-blue);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--secondary-blue);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.contact-item a,
.contact-item p {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--light-purple);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--primary-blue);
    border: 1px solid rgba(107, 76, 154, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(107, 76, 154, 0.2);
}

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

.footer-brand p {
    color: var(--gray);
    margin-top: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 2;
}

.footer-links a:hover {
    color: var(--light-purple);
}

.footer-contact p {
    color: var(--gray);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 76, 154, 0.2);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-graphic {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .language-switcher {
        width: 100%;
    }

    .lang-button {
        width: 100%;
    }

    .lang-menu {
        right: auto;
        left: 0;
        width: 100%;
    }
}