/* =========================================
   O'CLOCK LANDING PAGE - PREMIUM SAAS THEME
   ========================================= */

:root {
    --primary: #135bec;
    --primary-light: #4c85ff;
    --primary-dark: #104ec0;
    --secondary: #0f172a;
    /* Slate 900 */
    --accent: #10b981;
    /* Emerald 500 */

    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-light: #e2e8f0;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px -10px rgba(19, 91, 236, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- REUSABLE COMPONENTS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    box-shadow: 0 4px 6px rgba(19, 91, 236, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(19, 91, 236, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--secondary);
    padding: 12px 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 14px;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 100;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    color: var(--secondary);
    letter-spacing: -0.04em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo .dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    transition: color 0.2s;
}

.btn-login:hover {
    color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(19, 91, 236, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(19, 91, 236, 0.1);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(19, 91, 236, 0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.marker-underline {
    position: relative;
    display: inline-block;
}

.marker-svg {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: auto;
    color: var(--primary);
    /* Rotulador color */
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.trust-marks {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-marks span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-marks i {
    color: var(--accent);
}

.hero-visual {
    position: relative;
    width: 100%;
    perspective: 1000px;
}

.mockup-container {
    background: white;
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border: 1px solid rgba(226, 232, 240, 0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-container:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

/* --- TRUSTED BY --- */
.trusted-by {
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.trusted-by p {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.logos:hover {
    opacity: 0.8;
}

.fake-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- FEATURES --- */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: white;
    border-color: #cbd5e1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* --- TWO COLUMN HIGHLIGHT --- */
.highlight-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.highlight-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.highlight-flex.reverse {
    flex-direction: row-reverse;
}

.highlight-text {
    flex: 1;
}

.highlight-text h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-item i {
    color: var(--accent);
    margin-top: 4px;
}

.check-item h4 {
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--secondary);
}

.check-item p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.highlight-image {
    flex: 1;
}

.highlight-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

/* --- PRICING --- */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pricing-tier {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 950;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--secondary);
    font-weight: 500;
}

.pricing-features i {
    color: var(--accent);
}

.pricing-card .btn {
    width: 100%;
}

/* --- FOOTER --- */
.footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: white;
    color: var(--secondary);
}

.footer-desc {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a:hover {
    color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
    }

    .trust-marks {
        align-items: center;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-flex,
    .highlight-flex.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn-login {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}