:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --primary-color: #00d4ff;
    --secondary-color: #7b2cbf;
    --accent-color: #ff007a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(20, 20, 20, 0.6);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(123, 44, 191, 0.15), transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: #fff;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary-color);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

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

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #aaa;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-bg-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: auto;
    opacity: 0.6;
    z-index: -1;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}

.hero-card {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
}

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

.code-snippet pre {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 10px;
    color: #d4d4d4;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #bbb;
}

/* About Section */
.about-section {
    padding: 6rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-list {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

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

.check-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
}

.contact-form-container {
    width: 100%;
    max-width: 600px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-main);
}

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

.full-width {
    width: 100%;
    cursor: pointer;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: #666;
}

.social-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: #aaa;
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
        width: 100%;
    }

    .hero-bg-img {
        width: 100%;
        height: auto;
        opacity: 0.4;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0a0a0a;
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Language Toggle */
.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary-color);
    color: #fff;
}

/* Tech Stack Marquee */
.tech-stack-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: marquee 20s linear infinite;
    padding-left: 4rem;
}

.marquee-content i {
    font-size: 3rem;
    color: #444;
    transition: color 0.3s;
}

.marquee-content i:hover {
    color: var(--primary-color);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #aaa;
    font-size: 1.1rem;
}

/* Process Section */
.process-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Projects Section */
.projects-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.project-card {
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    /* Placeholder gradient for project image */
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.8)), 
                linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.project-content {
    padding: 2rem;
    width: 100%;
}

.btn-secondary.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    text-align: center;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.faq-container {
    padding: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #aaa;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Approximate max height */
    margin-top: 0.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
