:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 22, 0.6);
    --primary: #1A67F8;
    --primary-glow: rgba(26, 103, 248, 0.4);
    --whatsapp: #00D084;
    --whatsapp-glow: rgba(0, 208, 132, 0.4);
    --text-main: #FAFAFA;
    --text-muted: #A0A0A0;
    --border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

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

/* Typography & Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    background: #1455d6;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #000;
    box-shadow: 0 4px 20px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--whatsapp-glow);
    background: #00b371;
}

/* Top Bar */
.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 40px;
    background: var(--primary);
    color: #fff;
    z-index: 101;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

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

.tb-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tb-link {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s;
}

.tb-link:hover {
    opacity: 0.8;
}

.tb-link svg {
    width: 14px;
    height: 14px;
}

.tb-divider {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .tb-left { display: none; }
    .tb-right { width: 100%; justify-content: center; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-accent {
    color: var(--primary);
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-link svg {
    width: 18px;
    height: 18px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.call-btn {
    background: var(--primary);
}
.call-btn::before {
    background: var(--primary);
}

.wa-btn {
    background: var(--whatsapp);
    color: #000;
}
.wa-btn::before {
    background: var(--whatsapp);
}

.float-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.7) 50%, rgba(5,5,5,0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 650px;
}

.hero-headline {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: #E0E0E0;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-contact-info p {
    font-size: 1.1rem;
    color: #E0E0E0;
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid var(--border);
}

.hero-contact-info a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.hero-contact-info a:hover {
    color: var(--primary);
}

.hero-cards {
    position: relative;
    width: 400px;
    height: 400px;
    display: none;
}

@media (min-width: 1024px) {
    .hero-cards {
        display: block;
    }
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
}

.floating-card.c-1 {
    top: 20%;
    right: 0;
}

.floating-card.c-2 {
    bottom: 20%;
    left: 20px;
    animation-delay: -3s;
}

.fc-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-icon svg {
    width: 24px;
    height: 24px;
}

.fc-text {
    display: flex;
    flex-direction: column;
}

.fc-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.fc-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

/* Trust Section */
.trust-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.trust-item h3 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-item h3::after {
    content: '+';
}

.trust-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0.5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.service-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, var(--primary), transparent, var(--whatsapp));
}

.service-card.large {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

.service-card.standard {
    grid-column: span 3;
    padding: 30px;
}

.sc-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.service-card:hover .sc-image img {
    transform: scale(1.08);
}

.sc-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sc-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.sc-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.sc-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.sc-link svg {
    width: 18px;
    height: 18px;
}

.service-card:hover .sc-link {
    gap: 12px;
}

.sc-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 103, 248, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.sc-icon svg {
    width: 24px;
    height: 24px;
}

/* Why Choose Us */
.why-choose-us {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(255, 184, 0, 0.03), var(--bg-dark));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 184, 0, 0.03);
    border-color: rgba(255, 184, 0, 0.2);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.05);
    transform: translateY(-5px);
}

.f-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB800;
}

.f-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Before & After */
.before-after-section {
    padding: 120px 0;
}

.slider-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

.image-comparison {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.image-comparison img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.img-before-wrapper img {
    width: 200%; /* Important: Double the width to counteract the wrapper 50% */
    max-width: none;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    z-index: 2;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.handle-button svg {
    width: 16px;
    height: 16px;
}

.slider-labels {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
    pointer-events: none;
}

.slider-labels span {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Work Showcase Gallery */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.showcase-img {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.showcase-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
    z-index: 1;
    pointer-events: none;
}

.showcase-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-img:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-img img {
        height: 300px;
    }
}

/* Testimonials */
.testimonials-section {
    padding: 120px 0;
    background: rgba(255,255,255,0.01);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
}

.stars {
    color: #FFB800;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.t-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.t-author {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-author::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary);
}

/* Service Areas */
.service-areas {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.sa-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.sa-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(26,103,248,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.sa-icon svg {
    width: 40px;
    height: 40px;
}

.service-areas h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-areas p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Final CTA */
.final-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 103, 248, 0.1) 100%);
    position: relative;
}

.cta-container {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 80px 40px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(26,103,248,0.1) 0%, transparent 50%);
    z-index: 0;
}

.cta-container h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-container p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    background: var(--bg-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card.large, .service-card.standard {
        grid-column: span 1;
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-headline {
        font-size: 3.5rem;
    }
    .trust-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cta-container h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    .hero-text {
        text-align: center;
        margin: 0 auto;
    }
    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-actions {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
    }
}
