/* --- VARIABLES --- */
:root {
    /* Colors - Psychology: Trust (Blue), Growth (Green), Luxury (Dark) */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent: #10b981;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-darker: #020617;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    /* Borders & Shadows */
    --border: rgba(255, 255, 255, 0.08);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);

    /* Typography - Fluid Scaling */
    --font-main: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Gradients */
    --gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
}

/* --- RESET & GLOBAL --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 40%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-main);
    color: white;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px var(--primary-glow);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    background: var(--primary);
    color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

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

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-link:hover {
    color: white;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 2000;
    padding: 40px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

/* --- HERO --- */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero-title {
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.stats-row {
    display: flex;
    gap: 60px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat strong {
    display: block;
    font-size: 1.8rem;
    color: white;
    font-family: var(--font-main);
    margin-bottom: 5px;
}

.stat span {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border);
    z-index: 1;
    box-shadow: var(--shadow-card);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: -1;
}

.float-card {
    position: absolute;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px);
    padding: 20px 25px;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-card);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.card-google {
    top: 60px;
    left: -40px;
}

.card-growth {
    bottom: 60px;
    right: -40px;
    animation-delay: 3s;
}

.float-card i {
    font-size: 1.8rem;
    color: var(--primary);
}

.float-card strong {
    display: block;
    font-size: 1rem;
    color: white;
}

.float-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@keyframes float {

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

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

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 60px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.service-content h3 {
    margin-bottom: 20px;
}

.service-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1.05rem;
}

.feature-list i {
    color: var(--accent);
}

/* Maps Simulator */
.maps-simulator {
    background: white;
    border-radius: 24px;
    padding: 25px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.maps-search {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f1f3f4;
    padding: 12px 20px;
    border-radius: 30px;
    margin-bottom: 20px;
    color: #5f6368;
}

.maps-search input {
    border: none;
    background: transparent;
    flex-grow: 1;
    outline: none;
    color: #333;
    font-size: 1rem;
}

.maps-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.maps-item.active {
    background: #e8f0fe;
    border-radius: 16px;
    border-left: 4px solid #1a73e8;
}

.maps-info h4 {
    color: #202124;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.stars {
    color: #e7711b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars span {
    color: #70757a;
    margin-left: 5px;
}

.maps-icon {
    width: 45px;
    height: 45px;
    background: #e8f0fe;
    color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* Web Visual */
.web-visual {
    height: 350px;
    background: var(--bg-dark);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.web-visual::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.web-visual i {
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.5;
    z-index: 1;
}

/* --- PORTFOLIO --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.project-img {
    height: 240px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-img i {
    font-size: 4rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.project-card:hover .project-img i {
    color: var(--primary);
}

.project-info {
    padding: 40px;
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

.metric {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.exp-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    padding: 25px;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-card);
}

.exp-box strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.exp-box span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.values-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.value-item:hover {
    border-color: var(--border);
}

.value-item i {
    color: var(--accent);
    font-size: 1.4rem;
}

/* --- CONTACT --- */
.contact-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.method-item:hover {
    transform: translateX(10px);
    border-color: var(--primary);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 24px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: white;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* --- FOOTER --- */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    background: #0b1120;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 500;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 968px) {
    .section {
        padding: 60px 0;
    }

    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .stats-row {
        justify-content: center;
        gap: 30px;
    }

    .hero-image {
        order: -1;
        margin-bottom: 20px;
    }

    .card-google {
        left: 0;
    }

    .card-growth {
        right: 0;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .web-card .web-visual {
        order: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 120px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .float-card {
        padding: 15px;
        gap: 10px;
    }

    .float-card strong {
        font-size: 0.9rem;
    }

    .float-card i {
        font-size: 1.4rem;
    }

    .card-google {
        top: 20px;
        left: -10px;
    }

    .card-growth {
        bottom: 20px;
        right: -10px;
    }
}