/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
:root {
    --bg-main: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-main: #1A1A1A;
    --text-muted: #666666;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0072FF 0%, #00C6FF 100%);
    --gradient-secondary: linear-gradient(135deg, #0BA360 0%, #3CBA92 100%);
    --gradient-accent: linear-gradient(135deg, #0072FF 0%, #3CBA92 100%);

    /* Brand Colors (Fallbacks) */
    --color-blue: #0072FF;
    --color-green: #3CBA92;

    /* Spacing & Borders */
    --padding-section: 6rem;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--padding-section) 0;
}

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

.center {
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* Utilities */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.gradient-bg {
    background: var(--gradient-accent);
    color: white;
}

.gradient-1 {
    background: var(--gradient-primary);
}

.gradient-2 {
    background: var(--gradient-secondary);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--color-blue);
}

/* Language Toggle */
.lang-toggle {
    display: flex;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 0.25rem;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 16px;
    transition: var(--transition);
}

.lang-btn.active {
    background: white;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.w-100 {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 8rem;
    /* Account for navbar */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
    max-width: 90%;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    z-index: 1;
}

.browser-mockup {
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: float-browser 8s ease-in-out infinite;
}

.browser-mockup:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(2deg) translateY(-5px);
}

.browser-header {
    background: #f8f9fa;
    padding: 0.8rem 1rem;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

/* Professional Site Layout inside Browser */
.professional-layout {
    background: #fdfdfd;
    display: flex;
    flex-direction: column;
}

.mockup-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mockup-logo {
    width: 80px;
    height: 14px;
    background: var(--gradient-accent);
    border-radius: 4px;
    opacity: 0.8;
}

.mockup-links {
    display: flex;
    gap: 12px;
}

.mockup-links span {
    width: 35px;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
}

.mockup-hero {
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(180deg, #fcfcfc 0%, #f4f7f6 100%);
}

.mockup-title {
    width: 65%;
    height: 24px;
    background: #333;
    border-radius: 6px;
    margin-bottom: 4px;
}

.mockup-subtitle {
    width: 85%;
    height: 8px;
    background: #ced4da;
    border-radius: 4px;
}

.mockup-subtitle.short {
    width: 55%;
}

.mockup-btn {
    width: 120px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 114, 255, 0.2);
}

.mockup-cards {
    display: flex;
    gap: 1.2rem;
    padding: 0 1.5rem 3rem 1.5rem;
    transform: translateY(-1.5rem);
}

.m-card {
    flex: 1;
    background: white;
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.m-icon {
    width: 28px;
    height: 28px;
    background: var(--gradient-secondary);
    border-radius: 8px;
    margin-bottom: 12px;
    opacity: 0.8;
}

.m-lines span {
    display: block;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    margin-bottom: 8px;
}

.m-lines span:last-child {
    width: 60%;
    margin-bottom: 0;
}

/* Floating Badges */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    z-index: 10;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-top-left {
    top: -10px;
    left: 80px;
    animation: float-badge-1 6s ease-in-out infinite;
}

.badge-bottom-right {
    bottom: 20px;
    right: -40px;
    animation: float-badge-2 7s ease-in-out infinite;
}

.sparkle {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 26px;
    background: white;
    padding: 6px 8px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 25;
    animation: float-sparkle 6s ease-in-out infinite;
}

@keyframes float-sparkle {
    0% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-20px) rotate(15deg) scale(1.15);
    }

    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }
}

@keyframes float-browser {
    0% {
        transform: perspective(1200px) rotateY(-6deg) rotateX(4deg) translateY(0px);
    }

    50% {
        transform: perspective(1200px) rotateY(-6deg) rotateX(4deg) translateY(-12px);
    }

    100% {
        transform: perspective(1200px) rotateY(-6deg) rotateX(4deg) translateY(0px);
    }
}

@keyframes float-badge-1 {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes float-badge-2 {
    0% {
        transform: translateY(0px);
    }

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

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

/* ==========================================================================
   Grids & Layouts
   ========================================================================== */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ==========================================================================
   The Digital Challenge (Feature Cards)
   ========================================================================== */
.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Our Approach (Numbered List)
   ========================================================================== */
.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.list-item {
    display: flex;
    gap: 1.5rem;
}

.item-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    min-width: 70px;
}

.list-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Core Services
   ========================================================================== */
.service-card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bullet-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ==========================================================================
   How We Work (Process)
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-box {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-step {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
    padding: 8rem 0;
}

.cta-inner {
    background: var(--gradient-accent);
    border-radius: var(--border-radius-lg);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-inner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.cta-inner .btn {
    background: white;
    color: var(--color-blue);
}

.cta-inner .btn:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.contact-form-box {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

input,
select,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-light);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links strong,
.footer-socials strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

/* ==========================================================================
   Animations & WhatsApp Button
   ========================================================================== */
.fade-up-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {

    .hero-container,
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .card-grid-3,
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: 0.3s ease-in-out;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .card-grid-3,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .cta-inner h2 {
        font-size: 2rem;
    }

    .Numbered-list {
        gap: 1.5rem;
    }
}