html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #02040a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary: #7d2ae8;
    --accent: #00f2fe;
    --text-main: #ffffff;
    --text-muted: #8a939e;
    --glass: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, var(--accent), var(--primary));
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bento-bg: rgba(255, 255, 255, 0.03);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease-out;
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor {
        display: block;
    }

    body:hover .custom-cursor {
        opacity: 1;
    }

    a:hover~.custom-cursor,
    button:hover~.custom-cursor {
        transform: scale(3);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 90px;
    /* A la izquierda del botón volver arriba */
    width: 50px;
    height: 50px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.1);
    background: #128c7e;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(125, 42, 232, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-social-link {
    color: var(--text-main);
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.nav-social-link:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-2px);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.lang-switch a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.5;
}

.lang-switch a:hover, .lang-switch a.active {
    opacity: 1;
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav-social-link {
        display: none; /* Hide on mobile to avoid overcrowding */
    }
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--accent);
    color: var(--bg-dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
    border: 3px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* selection */
::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    cursor: none;
    /* Hide default cursor for pro feel */
}

@media (max-width: 1024px) {
    body {
        cursor: auto;
    }
}

/* Texture overlay for premium feel */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    /* Mucho más arriba para que no asome ni un píxel */
    left: 10px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    z-index: 10000;
    transition: transform 0.3s ease;
    text-decoration: none;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    transform: translateY(100px);
    /* Baja solo cuando el usuario usa el teclado */
}

/* --- Accessibility & Focus states --- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo img {
    transition: transform 0.3s var(--transition);
}

.logo:hover img {
    transform: rotate(5deg) scale(1.1);
}

.logo span {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover:after {
    width: 100%;
}

/* --- Buttons --- */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(125, 42, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 103, 255, 0.5);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--bg-dark);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.06;
    pointer-events: none;
}

.shape-1 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -300px;
    right: -300px;
}

.shape-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -300px;
    left: -200px;
}

/* --- Metrics Section --- */
.metrics-strip {
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    font-family: 'Outfit', sans-serif;
}

.metric-item .label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Services (Bento Grid) --- */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.service-card:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
}

.service-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.service-card:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .service-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card:hover {
    background: rgba(125, 42, 232, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.badge {
    background: var(--glass);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    border: 1px solid var(--glass-border);
}

.section-header h2 {
    font-size: 3rem;
    margin-top: 1.5rem;
}

.section-header h2 span {
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    cursor: default;
    text-align: center;
    /* Cartas centradas */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: var(--glass);
    border-radius: 50%;
    /* Iconos circulares para más armonía */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent);
    border: 1px solid var(--glass-border);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
    width: 100%;
    text-align: left;
}

.service-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.service-list li i {
    color: var(--accent);
    width: 16px;
}

/* --- Process Section --- */
.process {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.3;
    display: block;
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Tech Section --- */
.tech {
    padding: 60px 0;
}

.tech-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
}

.tech-box h3 {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: scale(1.1);
}

.tech-item i {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.method i {
    color: var(--primary);
}

.contact-form-box {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.contact-form .btn {
    width: 100%;
    cursor: pointer;
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(125, 42, 232, 0.05));
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.why-content h2 {
    font-size: 3rem;
    margin: 1.5rem 0;
}

.benefits {
    margin-top: 3rem;
    display: grid;
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    background: var(--glass);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.why-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../logoMMDevs.jpeg') center 0% / 50% no-repeat;
    opacity: 0.15;
    z-index: 1;
}

.experience-card {
    position: absolute;
    bottom: 20px;
    right: -60px;
    z-index: 10;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.experience-card .number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

/* --- Process Section --- */
.process {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(125, 42, 232, 0.05));
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.process-item:hover .process-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.process-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.process-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Conector - Solo en desktop */
@media (min-width: 1024px) {
    .process-grid::after {
        content: '';
        position: absolute;
        top: 35px;
        left: 10%;
        width: 80%;
        height: 2px;
        background: repeating-linear-gradient(to right, var(--glass-border) 0%, var(--glass-border) 50%, transparent 50%, transparent 100%);
        background-size: 20px 100%;
        z-index: 1;
    }
}

/* --- Projects Section --- */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(125, 42, 232, 0.2);
}

/* --- Advanced Project Mockups --- */
.project-img {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #0a0c12;
    /* Fondo sólido oscuro como placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

/* Skeleton animation for loading feel */
@keyframes skeleton-loading {
    0% {
        background-color: #02040a;
    }

    50% {
        background-color: #080a10;
    }

    100% {
        background-color: #02040a;
    }
}

.project-img {
    animation: skeleton-loading 2s infinite ease-in-out;
}

.project-img img {
    visibility: hidden;
    /* Oculto hasta que cargue (opcional) */
}

.project-img img[src] {
    visibility: visible;
}

/* Browser Frame Mockup */
.project-img::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px 10px 0 0;
    border: 1px solid var(--glass-border);
    border-bottom: none;
    z-index: 2;
}

/* Browser dots */
.project-img::before {
    content: '...';
    position: absolute;
    top: 12px;
    left: calc(5% + 15px);
    font-family: Arial, sans-serif;
    color: var(--text-muted);
    letter-spacing: 2px;
    font-size: 14px;
    z-index: 3;
    line-height: 1;
}

.project-img img {
    width: 90%;
    height: 85%;
    margin-top: 30px;
    object-fit: cover;
    object-position: top center;
    border-radius: 0 0 10px 10px;
    border: 1px solid var(--glass-border);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Adjustments for non-weird logos */
.project-img img.logo-img {
    object-fit: contain;
    width: 70%;
    height: 70%;
    padding: 30px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    border-radius: 20px;
    margin-top: 0;
    /* Reset for logos */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.project-card:hover .project-img img {
    transform: translateY(-5px) scale(1.02);
}

.project-card:hover .project-img img:not(.logo-img) {
    object-position: bottom;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 4, 10, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.project-tags span {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-view {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--glass);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.faq-item p {
    color: var(--text-muted);
}

footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo span {
    color: var(--primary);
}

.social-links {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--glass);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.1);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 1rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .btn-nav {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-image {
        height: 350px;
    }

    .experience-card {
        right: 0;
        bottom: -20px;
    }

    .contact-info {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        gap: 1.5rem;
    }

    .tech-box {
        padding: 2rem 1rem;
    }

    .contact-form-box {
        padding: 1.5rem;
    }
}

/* --- Legal Pages Styles --- */
.legal-page {
    padding-top: 150px;
    padding-bottom: 100px;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.legal-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--accent);
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: none; /* Custom lists for premium look */
}

.legal-content li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    position: relative;
    font-size: 1.1rem;
}

.legal-content li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: -1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
    }
    
    .legal-content h1 {
        font-size: 2.2rem;
    }
}

/* --- Case Study (Project Details) --- */
.project-detail-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(125, 42, 232, 0.15), transparent 50%),
                radial-gradient(circle at bottom left, rgba(0, 242, 254, 0.1), transparent 50%);
    text-align: center;
}

.project-detail-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-category-badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-main-img {
    margin-top: -50px;
    position: relative;
    z-index: 5;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.project-main-img img {
    width: 100%;
    display: block;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    padding: 80px 0;
}

.project-description h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.project-description p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.project-sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 25px;
    position: sticky;
    top: 120px;
}

.sidebar-item {
    margin-bottom: 2rem;
}

.sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.sidebar-item p, .sidebar-item li {
    font-size: 1.1rem;
    color: var(--text-main);
}

.tech-stack-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-gallery {
    padding-bottom: 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.project-cta {
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    padding: 100px 0;
    text-align: center;
}

@media (max-width: 900px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-detail-hero h1 {
        font-size: 2.8rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(125, 42, 232, 0.04);
}

.testimonial-stars {
    color: #f5c542;
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
    font-family: 'Outfit', sans-serif;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Pricing --- */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.pricing-cat i {
    width: 16px;
    height: 16px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--primary);
    background: rgba(125, 42, 232, 0.04);
}

.pricing-card.featured {
    border-color: rgba(125, 42, 232, 0.5);
    background: rgba(125, 42, 232, 0.06);
}

.pricing-badge-tag {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--gradient);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Outfit', sans-serif;
}

.pricing-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-family: 'Outfit', sans-serif;
}

.pricing-price {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.35rem;
}

.pricing-price span {
    font-size: 0.85rem;
    font-weight: 400;
    background: none;
    -webkit-text-fill-color: var(--text-muted);
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- About Section --- */
.about-founder {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.about-stat-num {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.1;
    margin-bottom: 4px;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
}

.about-card-logo {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    font-family: 'Outfit', sans-serif;
}

.about-card-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    justify-content: flex-start;
    text-align: left;
}

.about-card-detail i {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.available-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

.available-dot {
    width: 7px;
    height: 7px;
    background: #25d366;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

