/* Landing Page Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    background-color: var(--surface);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.display-1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, var(--text-main) 0%, #434344 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.display-2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.4;
}

/* Layout Utilities */
.container-custom {
    max-width: 1200px;
    /* var(--container-width) */
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

/* Navbar Custom (Landing Specific) */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    /* var(--header-height) */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

/* Helper Classes for Refactoring */
.navbar-logo {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mobile-toggle-icon {
    border: none;
    font-size: 1.2rem;
}

.hero-badge-beta {
    background: rgba(255, 193, 7, 0.15);
    color: #B7791F;
    border-color: rgba(255, 193, 7, 0.3);
}

.mt-60 {
    margin-top: 60px;
}

.icon-full-center {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-success-custom {
    color: var(--success);
}

.text-primary-custom {
    color: var(--primary);
}

.card-date {
    margin-left: auto;
    font-size: 0.8rem;
    color: #888;
}

.card-date.new {
    color: var(--success);
    font-weight: 500;
}

.opacity-60 {
    opacity: 0.6;
}

.bg-gray-100 {
    background: #f0f0f0;
}

.text-center {
    text-align: center;
}

.badge-soon {
    font-size: 0.5em;
    background: #eee;
    padding: 4px 8px;
    border-radius: 12px;
    vertical-align: middle;
    margin-left: 8px;
    color: #666;
    font-weight: 500;
}

.mockup-item {
    flex: 1;
    background: #F2F2F7;
    height: 60px;
    border-radius: 8px;
}

.bg-surface-secondary {
    background: var(--surface-secondary);
}

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

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.benefit-icon.blue {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary);
}

.benefit-icon.green {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.benefit-icon.yellow {
    background: rgba(255, 193, 7, 0.15);
    color: #B7791F;
    border-color: rgba(255, 193, 7, 0.3);
}

.pb-0 {
    padding-bottom: 0;
}

.btn-white-black {
    background: white;
    color: black;
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.footer-custom {
    padding: 80px 0 40px;
    background: var(--surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-title {
    margin-bottom: 20px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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


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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Buttons */
.btn-apple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: scale(1.02);
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--surface-secondary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    padding-top: calc(64px + 80px);
    /* var(--header-height) + 80px */
    padding-bottom: 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(0, 122, 255, 0.05) 0%, transparent 50%);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-apple {
        width: 100%;
        max-width: 300px;
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

/* Mockup Browser Styles */
.hero-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #fff;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mockup-browser {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 500px;
}

.mockup-header {
    height: 40px;
    background: #f5f5f7;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

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

.mockup-header .dot.red {
    background: #ff5f57;
}

.mockup-header .dot.yellow {
    background: #febc2e;
}

.mockup-header .dot.green {
    background: #28c840;
}

.mockup-header .address-bar {
    margin-left: 12px;
    background: #fff;
    height: 24px;
    border-radius: 4px;
    flex: 1;
    max-width: 400px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #888;
}

.mockup-body {
    flex: 1;
    display: flex;
    background: #fff;
    overflow: hidden;
}

.mockup-sidebar {
    width: 200px;
    background: #f9f9fa;
    border-right: 1px solid #eee;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-sidebar .sidebar-item {
    height: 24px;
    border-radius: 6px;
    background: #e5e5ea;
}

.mockup-sidebar .sidebar-item.active {
    background: rgba(0, 122, 255, 0.15);
}

.mockup-content {
    flex: 1;
    padding: 30px;
    background: #fff;
}

.content-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.skeleton-title {
    width: 150px;
    height: 24px;
    background: #e5e5ea;
    border-radius: 4px;
}

.skeleton-btn {
    width: 100px;
    height: 32px;
    background: #007aff;
    border-radius: 6px;
    opacity: 0.8;
}

.content-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.card-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.skeleton-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.skeleton-icon.success {
    background: rgba(25, 135, 84, 0.15);
}

.skeleton-icon.primary {
    background: rgba(0, 122, 255, 0.15);
}

.skeleton-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-text .line {
    height: 10px;
    background: #f0f0f0;
    border-radius: 2px;
}

.w-70 {
    width: 70%;
}

.w-60 {
    width: 60%;
}

.w-40 {
    width: 40%;
}

.w-30 {
    width: 30%;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(280px, auto));
    gap: 24px;
    margin-top: 64px;
}

.bento-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 122, 255, 0.2);
}

/* Specific Grid Placements */
.card-large {
    grid-column: span 3;
}

.card-tall {
    grid-row: span 2;
    background: var(--surface-secondary);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.icon-blue {
    background: rgba(0, 122, 255, 0.1);
    color: var(--primary);
}

.icon-green {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success);
}

.icon-dark {
    background: rgba(29, 29, 31, 0.1);
    color: var(--text-main);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* UI Mockup in CSS */
.ui-mockup {
    margin-top: auto;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    padding: 16px;
    border: 1px solid var(--border);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.bento-card:hover .ui-mockup {
    transform: translateY(10px);
}

.mockup-line {
    height: 8px;
    background: var(--surface-secondary);
    border-radius: 4px;
    margin-bottom: 8px;
    width: 100%;
}

.mockup-line.short {
    width: 60%;
}

.mockup-line.blue {
    background: rgba(0, 122, 255, 0.2);
    width: 40%;
}

.mockup-line.green {
    background: rgba(25, 135, 84, 0.2);
    width: 30%;
}

/* Stats Section */
.stats-section {
    background: var(--surface-secondary);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-box {
    background: #1D1D1F;
    /* Dark Apple */
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    font-size: 1.25rem;
}

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

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 64px;
    /* var(--header-height) */
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: var(--surface);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu .btn-apple {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    justify-content: center;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .card-large,
    .card-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .mockup-sidebar {
        display: none;
    }

    .hero-image-wrapper {
        margin: 40px 16px 0;
        height: 350px;
    }

    .mockup-browser {
        height: 350px;
    }
}

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

/* Pricing Cards Refinement */
.pricing-section .container-custom {
    max-width: 1400px;
}

.pricing-card {
    background: var(--surface);
    border-radius: 28px;
    padding: 40px 32px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.pricing-card.featured:hover {
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.12);
}

.price-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0;
    letter-spacing: -1px;
}

.price-value span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0;
}

.footer-list li {
    font-size: 0.925rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.footer-list li i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.btn-apple.btn-block {
    width: 100%;
    margin-top: auto;
}

/* Specific adjustments for 4 columns */
@media (min-width: 1200px) {
    .pricing-card {
        padding: 48px 24px;
    }

    .price-value {
        font-size: 2.25rem;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .pricing-card {
        padding: 32px 20px;
    }

    .price-value {
        font-size: 2rem;
    }

    .footer-list li {
        font-size: 0.85rem;
    }
}

/* Mobile Sticky CTA */
.mobile-fixed-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: none;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    animation: slideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .mobile-fixed-cta-container {
        display: block;
    }
}

/* Comparison Table */
.comparison-container {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    background: white;
}

.table-comparison {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.table-comparison th,
.table-comparison td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table-comparison th {
    background: var(--surface-secondary);
    font-weight: 700;
    color: var(--text-main);
}

.table-comparison tr:last-child td {
    border-bottom: none;
}

.table-comparison .check-success {
    color: #28c840;
    font-size: 1.25rem;
}

.table-comparison .cross-muted {
    color: #ff5f57;
    font-size: 1.25rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-info h5 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Trial Badge */
.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(40, 200, 64, 0.1);
    color: #28a745;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Gallery/Visuals */
.visuals-gallery {
    margin-top: 60px;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    display: block;
}

/* Grid for "Para quem é" */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.pain-card {
    padding: 32px;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
}

.pain-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.pain-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pain-desc {
    color: var(--text-secondary);
    line-height: 1.5;
}