/* ============================================================
   CRONOS SISTEMAS — Main Stylesheet
   Style: Tech Noir — Dark charcoal, Cobalt blue, Silver
   ============================================================ */

:root {
    /* Atlas Brand Colors */
    --cobalt: oklch(0.42 0.22 264);
    --cobalt-light: oklch(0.55 0.22 264);
    --cobalt-dark: oklch(0.30 0.20 264);
    --charcoal: oklch(0.175 0.015 270);
    --charcoal-light: oklch(0.22 0.015 270);
    --silver: oklch(0.72 0.02 260);
    --silver-light: oklch(0.88 0.01 260);

    /* Theme tokens */
    --bg-primary: oklch(0.155 0.018 270);
    --bg-secondary: oklch(0.20 0.018 270);
    --bg-tertiary: oklch(0.135 0.018 270);
    --text-primary: oklch(0.95 0.005 260);
    --text-secondary: oklch(0.72 0.02 260);
    --text-muted: oklch(0.50 0.02 260);
    --border-color: oklch(1 0 0 / 0.10);
    --border-hover: oklch(0.50 0.22 264 / 0.5);
    --glass-bg: oklch(1 0 0 / 0.04);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: flex;
    }
}

.gradient-text {
    background: linear-gradient(135deg, oklch(0.70 0.18 264), oklch(0.88 0.01 260));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.atlas-glow {
    box-shadow: 0 0 20px oklch(0.50 0.22 264 / 0.3), 0 0 60px oklch(0.50 0.22 264 / 0.1);
}

.atlas-glow-sm {
    box-shadow: 0 0 10px oklch(0.50 0.22 264 / 0.25);
}

.atlas-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

.dot-grid-bg {
    background-image: radial-gradient(circle, oklch(1 0 0 / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: oklch(0.35 0.05 264);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cobalt);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: oklch(0.155 0.018 270 / 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    padding: 0 1rem;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 1024px) {
    .navbar-content {
        height: 4.5rem;
    }
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 0 10px oklch(0.50 0.22 264 / 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-brand {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

.logo-sub {
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: white;
    color: var(--cobalt-light);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Search */
.search-wrapper {
    position: relative;
}

.search-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-btn:hover {
    color: white;
    border-color: var(--border-hover);
}

.search-dropdown {
    position: absolute;
    right: 0;
    top: 3rem;
    width: 20rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: none;
    overflow: hidden;
    z-index: 100;
}

.search-dropdown.active {
    display: block;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.search-input-wrapper svg {
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 0.875rem;
}

#searchInput::placeholder {
    color: oklch(0.38 0.02 260);
}

.search-clear {
    color: var(--text-muted);
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-results {
    max-height: 15rem;
    overflow-y: auto;
    padding: 0.25rem;
}

.search-result-item {
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-result-item:hover {
    background: oklch(1 0 0 / 0.05);
}

.search-result-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.search-result-name {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.search-result-badge {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
}

.search-result-badge.pro {
    background: oklch(0.50 0.22 264 / 0.25);
    color: oklch(0.70 0.18 264);
}

.search-result-badge.basico {
    background: oklch(1 0 0 / 0.1);
    color: var(--text-secondary);
}

.search-result-desc {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-empty {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.search-default {
    padding: 0.75rem;
}

.search-default-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
}

.search-default-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-default-tag {
    font-size: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background: var(--glass-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-default-tag:hover {
    border-color: var(--border-hover);
    color: white;
}

/* CTA Button */
.cta-btn {
    background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
    color: white;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.cta-btn:hover {
    background: linear-gradient(135deg, var(--cobalt-light), var(--cobalt));
    box-shadow: 0 0 20px oklch(0.50 0.22 264 / 0.4);
    transform: translateY(-1px);
}

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

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    width: 1.5rem;
    height: 1.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.mobile-menu-toggle span {
    width: 100%;
    height: 0.125rem;
    background: var(--text-secondary);
    border-radius: 0.0625rem;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.375rem, -0.375rem);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--glass-bg);
    border-top: 1px solid var(--border-color);
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    z-index: 40;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: var(--text-secondary);
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: oklch(1 0 0 / 0.05);
    color: white;
}

.mobile-cta {
    margin-top: 0.5rem;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .hero-slider {
        margin-top: 4.5rem;
    }
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, oklch(0.10 0.018 270 / 0.92), oklch(0.10 0.018 270 / 0.70), oklch(0.10 0.018 270 / 0.30));
    z-index: 2;
}

.hero-slide-overlay-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, oklch(0.10 0.018 270 / 0.80), transparent);
    z-index: 2;
}

.hero-slide-grid {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide-text {
    max-width: 42rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: var(--glass-bg);
    border: 1px solid oklch(0.50 0.22 264 / 0.4);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.5s ease forwards;
}

.hero-badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--cobalt-light);
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-badge-text {
    color: var(--cobalt-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: white;
    opacity: 0;
    transform: translateY(1.5rem);
    animation: fadeInUp 0.5s ease 0.075s forwards;
    white-space: pre-line;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    color: oklch(0.78 0.01 260);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 28rem;
    opacity: 0;
    transform: translateY(1.5rem);
    animation: fadeInUp 0.5s ease 0.15s forwards;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(1.5rem);
    animation: fadeInUp 0.5s ease 0.225s forwards;
}

.hero-cta-secondary {
    background: var(--glass-bg);
    color: white;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    border: 1px solid oklch(1 0 0 / 0.15);
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-cta-secondary:hover {
    background: oklch(1 0 0 / 0.1);
    border-color: var(--border-hover);
}

/* Hero navigation */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hero-arrow:hover {
    border-color: var(--border-hover);
    background: oklch(0.50 0.22 264 / 0.15);
}

.hero-prev {
    left: 1rem;
}

.hero-next {
    right: 1rem;
}

@media (min-width: 1024px) {
    .hero-prev {
        left: 2rem;
    }

    .hero-next {
        right: 2rem;
    }
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: oklch(1 0 0 / 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 1.5rem;
    background: var(--cobalt-light);
}

.hero-dot:hover {
    background: oklch(1 0 0 / 0.6);
}

/* Hero counter */
.hero-counter {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    color: oklch(1 0 0 / 0.4);
    font-size: 0.75rem;
    font-family: monospace;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================================
   MODULES SECTION
   ============================================================ */

.modules-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .modules-section {
        padding: 7rem 0;
    }
}

.modules-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.2;
    pointer-events: none;
}

.modules-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.06));
    filter: blur(120px);
    pointer-events: none;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.section-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.section-badge.centered {
    justify-content: center;
}

.badge-line {
    width: 2rem;
    height: 0.0625rem;
    background: var(--cobalt);
}

.badge-text {
    color: var(--cobalt-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
}

.section-title {
    font-size: 1.875rem;
    line-height: 1.2;
    color: white;
    margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 28rem;
}

.filter-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.25rem;
    border-radius: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

@media (min-width: 1024px) {
    .filter-tabs {
        align-self: auto;
    }
}

.filter-tab {
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
}

.filter-tab.active {
    background: var(--cobalt);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.filter-tab:hover:not(.active) {
    color: white;
}

/* Modules carousel */
.modules-carousel {
    position: relative;
    z-index: 10;
}

.carousel-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
    height: 4px;
}

.carousel-track::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: oklch(0.35 0.05 264);
    border-radius: 2px;
}

.module-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .module-card {
        flex: 0 0 320px;
    }
}

@media (min-width: 1024px) {
    .module-card {
        flex: 0 0 340px;
    }
}

.module-card-inner {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.module-card-inner:hover {
    transform: translateY(-1rem);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px oklch(0.50 0.22 264 / 0.2);
}

.module-card-inner.selected {
    border-color: oklch(0.50 0.22 264 / 0.6);
    box-shadow: 0 0 30px oklch(0.50 0.22 264 / 0.25);
}

.module-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.module-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: oklch(0.50 0.22 264 / 0.15);
    border: 1px solid oklch(0.50 0.22 264 / 0.25);
    color: oklch(0.65 0.20 264);
}

.module-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid;
}

.module-badge.pro {
    background: oklch(0.50 0.22 264 / 0.2);
    color: oklch(0.65 0.20 264);
    border-color: oklch(0.50 0.22 264 / 0.3);
}

.module-badge.basico {
    background: oklch(1 0 0 / 0.08);
    color: var(--text-secondary);
    border-color: oklch(1 0 0 / 0.15);
}

.module-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.module-description {
    color: oklch(0.58 0.02 260);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.module-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.module-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.module-feature-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--cobalt);
    flex-shrink: 0;
}

.module-cta {
    width: 100%;
    padding: 0.625rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.module-cta.pro {
    background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
    color: white;
}

.module-cta.pro:hover {
    background: linear-gradient(135deg, var(--cobalt-light), var(--cobalt));
}

.module-cta.basico {
    background: oklch(1 0 0 / 0.08);
    color: white;
    border: 1px solid oklch(1 0 0 / 0.15);
}

.module-cta.basico:hover {
    background: oklch(1 0 0 / 0.15);
}

/* Carousel navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.carousel-arrows {
    display: flex;
    gap: 0.5rem;
}

.carousel-arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.carousel-arrow:hover:not(:disabled) {
    border-color: var(--border-hover);
    background: oklch(0.50 0.22 264 / 0.15);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-hint {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================================
   PLANS SECTION
   ============================================================ */

.plans-section {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-tertiary);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .plans-section {
        padding: 7rem 0;
    }
}

.plans-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.15;
    pointer-events: none;
}

.plans-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 400px;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.05));
    filter: blur(120px);
    pointer-events: none;
}

.plans-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-badge.centered {
    justify-content: center;
    margin-bottom: 0.75rem;
}

.section-title.centered {
    margin-bottom: 1rem;
}

.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plan-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.plan-card.highlighted {
    border-color: oklch(0.50 0.22 264 / 0.4);
    box-shadow: 0 0 30px oklch(0.50 0.22 264 / 0.2);
}

.plan-card.highlighted::before {
    content: 'Mais Completo';
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'Space Grotesk', sans-serif;
}

.plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.plan-icon-wrapper {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-card.highlighted .plan-icon-wrapper {
    background: oklch(0.50 0.22 264 / 0.25);
    border: 1px solid oklch(0.50 0.22 264 / 0.4);
    color: oklch(0.65 0.20 264);
}

.plan-card:not(.highlighted) .plan-icon-wrapper {
    background: oklch(1 0 0 / 0.08);
    border: 1px solid oklch(1 0 0 / 0.15);
    color: var(--text-secondary);
}

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.plan-subtitle {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    font-family: 'Space Grotesk', sans-serif;
}

.plan-price-note {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.plan-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.plan-modules-label,
.plan-features-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
}

.plan-modules,
.plan-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.plan-module,
.plan-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
}

.plan-check {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
}

.plan-card.highlighted .plan-check {
    color: var(--cobalt);
}

.plan-card:not(.highlighted) .plan-check {
    color: var(--text-secondary);
}

.plan-cta {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.plan-card.highlighted .plan-cta {
    background: linear-gradient(135deg, var(--cobalt), var(--cobalt-dark));
    color: white;
}

.plan-card.highlighted .plan-cta:hover {
    background: linear-gradient(135deg, var(--cobalt-light), var(--cobalt));
}

.plan-card:not(.highlighted) .plan-cta {
    background: oklch(1 0 0 / 0.08);
    color: white;
    border: 1px solid oklch(1 0 0 / 0.15);
}

.plan-card:not(.highlighted) .plan-cta:hover {
    background: oklch(1 0 0 / 0.15);
}

.plans-note {
    text-align: center;
    color: oklch(0.42 0.02 260);
    font-size: 0.875rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .about-section {
        padding: 7rem 0;
    }
}

.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.2;
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.05));
    filter: blur(120px);
    pointer-events: none;
    transform: translateY(-50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 5rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: oklch(0.50 0.22 264 / 0.3);
    transition: border-color 0.3s ease;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, oklch(0.70 0.18 264), oklch(0.88 0.01 260));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

@media (min-width: 1024px) {
    .stat-value {
        font-size: 3rem;
    }
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.about-text {
    position: relative;
    z-index: 10;
}

.about-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-description:last-of-type {
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: oklch(0.50 0.22 264 / 0.3);
    background: oklch(1 0 0 / 0.05);
}

.value-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: oklch(0.50 0.22 264 / 0.15);
    border: 1px solid oklch(0.50 0.22 264 / 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: oklch(0.60 0.20 264);
}

.value-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.375rem;
}

.value-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.contact-section {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-tertiary);
    overflow: hidden;
}

@media (min-width: 1024px) {
    .contact-section {
        padding: 7rem 0;
    }
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.15;
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 300px;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.07));
    filter: blur(120px);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: oklch(0.50 0.22 264 / 0.3);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: oklch(0.50 0.22 264 / 0.15);
    border: 1px solid oklch(0.50 0.22 264 / 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: oklch(0.60 0.20 264);
}

.contact-card-text {
    flex: 1;
}

.contact-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-value {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.contact-tagline {
    background: var(--glass-bg);
    border: 1px solid oklch(0.50 0.22 264 / 0.2);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 0.5rem;
}

.contact-tagline-title {
    color: var(--cobalt-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-tagline-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Contact form */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: oklch(0.65 0.02 260);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
    font-family: 'Space Grotesk', sans-serif;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: oklch(1 0 0 / 0.05);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    color: white;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: oklch(0.38 0.02 260);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: oklch(0.50 0.22 264 / 0.6);
    background: oklch(1 0 0 / 0.08);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A8B2C4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.form-group select option {
    background: var(--bg-secondary);
    color: white;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    gap: 1rem;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: oklch(0.50 0.22 264 / 0.2);
    border: 1px solid oklch(0.50 0.22 264 / 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: oklch(0.60 0.20 264);
}

.form-success h3 {
    font-size: 1.25rem;
    color: white;
}

.form-success p {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 20rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid oklch(1 0 0 / 0.08);
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: oklch(0.12 0.018 270);
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, oklch(0.50 0.22 264 / 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 3fr;
        gap: 4rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.social-link:hover {
    color: white;
    border-color: oklch(0.50 0.22 264 / 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--cobalt-light);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid oklch(1 0 0 / 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .modules-section,
    .plans-section,
    .about-section,
    .contact-section {
        padding: 3rem 0;
    }

    .stats-grid {
        margin-bottom: 3rem;
    }

    .about-content {
        gap: 2rem;
    }
}
