/* Custom Stylesheet for VERIX Landing Page */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-dark: #090B11;
    --bg-card: rgba(18, 22, 39, 0.7);
    --bg-card-hover: rgba(26, 31, 56, 0.85);
    --line: rgba(99, 102, 241, 0.15);
    --line-active: rgba(99, 102, 241, 0.4);
    
    /* Harmonious Color Palette */
    --primary: #6366F1;       /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.5);
    --secondary: #06B6D4;     /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.5);
    --accent: #8B5CF6;        /* Violet */
    
    /* Text Colors */
    --tx-main: #F8FAFC;
    --tx-muted: #94A3B8;
    --tx-dim: #64748B;
    
    /* Fonts */
    --ff-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ff-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Miscellaneous */
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Base & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--tx-main);
    font-family: var(--ff-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--ff-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--ff-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFF;
    border: none;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--tx-main);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--tx-muted);
}

.btn-cta {
    background-color: #25D366; /* WhatsApp Green */
    color: #FFF;
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

.icon-arrow {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    transition: var(--transition);
}

.btn-primary:hover .icon-arrow {
    transform: translateX(4px);
}

/* --- Header / Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(9, 11, 17, 0.85);
    backdrop-filter: blur(16px);
    border-color: var(--line);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: var(--ff-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.logo-text {
    background: linear-gradient(135deg, #FFF 30%, var(--tx-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    color: var(--secondary);
}

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

.nav-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--tx-muted);
    transition: var(--transition);
    position: relative;
    padding: 4px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--tx-main);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 8px 18px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--tx-main);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-glow-1 {
    position: absolute;
    top: 10%;
    left: 15%;
    width: 350px;
    height: 350px;
    background: var(--primary);
    filter: blur(140px);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: var(--secondary);
    filter: blur(140px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-container {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 50px;
    margin-bottom: 20px;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, #FFF 20%, var(--primary) 60%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--tx-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Hero Visual Mockup --- */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mockup-container {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.05);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    transform: rotateY(-8deg) rotateX(4deg);
}

.mockup-container:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: var(--line-active);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(99, 102, 241, 0.15);
}

.mockup-header {
    background: rgba(9, 11, 17, 0.6);
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 16px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background-color: #EF4444; }
.mockup-dots span:nth-child(2) { background-color: #F59E0B; }
.mockup-dots span:nth-child(3) { background-color: #10B981; }

.mockup-title {
    font-size: 0.75rem;
    font-family: var(--ff-body);
    color: var(--tx-dim);
    letter-spacing: 0.02em;
}

.mockup-body {
    padding: 16px;
}

/* --- Chat Simulator --- */
.chat-sim {
    display: flex;
    flex-direction: column;
    height: 380px;
    background: rgba(8, 10, 16, 0.5);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    overflow: hidden;
}

.chat-header {
    padding: 10px 14px;
    background: rgba(14, 18, 30, 0.9);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar {
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.chat-user-info {
    display: flex;
    flex-direction: column;
}

.chat-user-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.chat-user-status {
    font-size: 0.65rem;
    color: #10B981;
}

.chat-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.78rem;
}

.msg {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    position: relative;
    line-height: 1.4;
}

.msg-in {
    background: rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.msg-out {
    background: rgba(99, 102, 241, 0.12);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.msg p {
    margin-bottom: 4px;
}

.msg p:last-child {
    margin-bottom: 0;
}

.msg-time {
    display: block;
    text-align: right;
    font-size: 0.6rem;
    color: var(--tx-dim);
    margin-top: 2px;
}

.msg-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-end;
    width: 60%;
    margin-top: -4px;
}

.chat-btn {
    padding: 6px 12px;
    background: var(--primary);
    color: #FFF;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chat-btn.btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--tx-muted);
}

.chat-btn:hover {
    transform: scale(1.02);
}

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

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--tx-muted);
    font-size: 1rem;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-6px);
    border-color: var(--line-active);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.06);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.service-card:hover .service-icon-wrapper {
    background: var(--primary);
    color: #FFF;
    box-shadow: 0 0 15px var(--primary-glow);
}

.service-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.service-card-title {
    font-size: 1.15rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.service-card-desc {
    color: var(--tx-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex: 1;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--secondary);
}

/* --- Featured Section (VERIX Pedidos) --- */
.featured-section {
    padding: 100px 0;
    background: rgba(99, 102, 241, 0.01);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.featured-title {
    font-size: clamp(2rem, 3.5vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.featured-desc {
    color: var(--tx-muted);
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.3rem;
    line-height: 1.2;
}

.features-list strong {
    color: var(--tx-main);
    display: block;
    margin-bottom: 2px;
}

.features-list div {
    color: var(--tx-muted);
}

/* --- Flow Visualization --- */
.flow-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    padding: 18px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.flow-step:hover {
    border-color: var(--line-active);
    transform: translateX(6px);
    background: var(--bg-card-hover);
}

.flow-step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #FFF;
    flex-shrink: 0;
    box-shadow: 0 0 10px var(--primary-glow);
}

.flow-step-content h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    font-weight: 600;
}

.flow-step-content p {
    font-size: 0.8rem;
    color: var(--tx-muted);
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
}

.cta-card {
    background: linear-gradient(135deg, #101428 0%, #0F1223 100%);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 64px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 800;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-desc {
    color: var(--tx-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

.icon-wa {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* --- Footer --- */
.footer {
    background-color: #06080D;
    border-top: 1px solid var(--line);
    padding: 64px 0 32px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--tx-muted);
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-container h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tx-main);
    margin-bottom: 20px;
}

.footer-container a {
    display: block;
    color: var(--tx-dim);
    font-size: 0.85rem;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-container a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 24px;
    text-align: center;
    color: var(--tx-dim);
    font-size: 0.8rem;
}

/* --- Responsive Adaptability --- */
@media(max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media(max-width: 768px) {
    .navbar {
        padding: 16px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: rgba(9, 11, 17, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 28px;
        border-bottom: 1px solid var(--line);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: var(--transition);
    }
    
    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
