:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent-color: #58a6ff;
    --accent-glow: rgba(88, 166, 255, 0.4);
    --gradient-start: #79c0ff;
    --gradient-end: #d2a8ff;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Tracking Gradient */
.mouse-cursor-gradient-tracking {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.15), transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* Typography & Utils */
h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.dot {
    color: var(--accent-color);
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary-outline {
    border: 1px solid var(--text-secondary);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9em;
}

.btn-primary-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 10px;
}

.btn-secondary:hover {
    color: var(--accent-color);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn-primary-outline) {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary-outline):hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: rgba(56, 139, 253, 0.15);
    color: #58a6ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 139, 253, 0.3);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

/* Abstract Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--accent-color), #bc8cff);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.5;
    animation: morph 8s ease-in-out infinite;
    position: absolute;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg);
    }

    50% {
        border-radius: 70% 30% 30% 70% / 50% 50% 30% 50%;
        transform: rotate(180deg);
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg);
    }
}

.code-badge {
    background: var(--card-bg);
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: absolute;
    font-family: monospace;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-1 {
    top: 15%;
    left: 8%;
    animation: float 6s ease-in-out infinite;
}

.floating-2 {
    top: 45%;
    right: 5%;
    animation: float 5s ease-in-out infinite 1s;
}

.floating-3 {
    bottom: 15%;
    left: 15%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.floating-4 {
    bottom: 55%;
    left: 35%;
    animation: float 7s ease-in-out infinite 0.5s;
}

.floating-5 {
    top: 20%;
    right: 25%;
    animation: float 6s ease-in-out infinite 1.5s;
}

.floating-6 {
    bottom: 30%;
    right: 15%;
    animation: float 8s ease-in-out infinite 0.2s;
}

.floating-7 {
    top: 10%;
    left: 55%;
    animation: float 7s ease-in-out infinite 1s;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Services */
.services-section {
    padding: 100px 0;
}

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

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.featured-service {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(88, 166, 255, 0.1);
    transform: translateY(-5px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.highlight-text {
    margin-top: 15px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Portfolio */
.portfolio-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-5px);
}

.project-content {
    padding: 25px;
    background: linear-gradient(to top, var(--card-bg) 95%, transparent);
    z-index: 2;
    flex-grow: 1;
    /* Pushes content to fill space */
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.private-project {
    background: repeating-linear-gradient(45deg,
            var(--card-bg),
            var(--card-bg) 10px,
            rgba(255, 255, 255, 0.01) 10px,
            rgba(255, 255, 255, 0.01) 20px);
}

/* Contact */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.team-member .role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item {
    margin-top: 15px;
}

.contact-item .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-item .value {
    font-size: 1.2rem;
    font-weight: 500;
}

.link {
    border-bottom: 1px solid var(--accent-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-links a {
    color: var(--text-secondary);
}

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

.contact-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.billing-info {
    text-align: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    max-width: 500px;
}

.billing-info h3 {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.billing-info p {
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #25D366;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    background: #25D366;
    color: white;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp .icon {
    font-size: 1.2rem;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-visual {
        display: none;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    /* Mobile Menu */
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
        width: 30px;
        height: 20px;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--text-primary);
        margin-bottom: 5px;
        transition: 0.3s;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
    }

    .nav-links.open {
        right: 0;
    }
}

/* Cookie Consent */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    z-index: 10000;
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}