/* ===================================
   KARPETA - NOTION STYLE CSS
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #FFFFFF;
    color: #37352F;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background-color: #F7F7F5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #E9E9E7;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    position: relative;
    height: 36px;
    text-decoration: none;
}

.logo-full,
.logo-icon {
    height: 36px;
    width: auto;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    left: 0;
}

.logo-full {
    opacity: 1;
    transform: scale(1);
}

.logo-icon {
    opacity: 0;
    transform: scale(0.8);
    height: 32px;
}

/* When scrolled */
.navbar.scrolled .logo-full {
    opacity: 0;
    transform: scale(0.8);
}

.navbar.scrolled .logo-icon {
    opacity: 1;
    transform: scale(1);
}

/* Adjust logo width container to prevent layout shift */
.navbar-logo {
    width: 180px;
    /* Adjust based on your full logo width */
}

.navbar.scrolled .navbar-logo {
    width: 32px;
    transition: width 0.3s ease;
}

.logo-text {
    letter-spacing: -0.02em;
}

.navbar-links {
    display: flex;
    gap: 32px;
}

.navbar-links a {
    color: #37352F;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: #5A5A5A;
}

.navbar-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link-login {
    color: #787774;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.btn-notion {
    background-color: #37352F;
    color: white;
    border: 1px solid #37352F;
    border-radius: 6px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-notion:hover {
    background-color: #5A5A5A;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-emoji {
    font-size: 72px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-emoji img {
    width: 120px;
    height: auto;
}

/* Folder icon for mockup sidebar */
.folder-icon-small {
    width: 20px;
    /* Increased slightly for better visibility */
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
    opacity: 0.8;
}

@keyframes float {

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

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

.hero-title {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #37352F;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: #787774;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.5;
}

.hero-cta {
    margin-bottom: 80px;
}

.btn-primary {
    background-color: #37352F;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #5A5A5A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-microcopy {
    margin-top: 16px;
    font-size: 14px;
    color: #9B9A97;
}

/* Hero Visual - Mockup */
.hero-visual {
    max-width: 900px;
    margin: 0 auto;
}

.mockup {
    background: #FFFFFF;
    border: 1px solid #E9E9E7;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mockup-header {
    background: #F7F7F5;
    padding: 12px 16px;
    border-bottom: 1px solid #E9E9E7;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #DBDBDA;
}

.mockup-title {
    font-size: 14px;
    font-weight: 600;
    color: #37352F;
}

.mockup-content {
    display: flex;
    min-height: 300px;
}

.mockup-sidebar {
    width: 200px;
    background: #F7F7F5;
    padding: 16px;
    border-right: 1px solid #E9E9E7;
}

.mockup-item {
    padding: 6px 12px;
    margin-bottom: 2px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-item.active {
    background: rgba(55, 53, 47, 0.08);
    font-weight: 600;
}

.mockup-emoji {
    font-size: 18px;
    line-height: 1;
    display: block;
    width: 20px;
    text-align: center;
}

.mockup-item:hover {
    background-color: #EDEDED;
}

.mockup-main {
    flex: 1;
    padding: 24px;
}

.mockup-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    background-color: #FAFAFA;
    border: 1px solid #F0F0F0;
}

.file-icon {
    font-size: 20px;
}

.file-name {
    flex: 1;
    font-size: 14px;
    color: #37352F;
}

.file-tag {
    font-size: 12px;
    padding: 4px 8px;
    background-color: #FFF9C4;
    border-radius: 4px;
    color: #37352F;
}

/* ===================================
   PROBLEM SECTION
   =================================== */
.problem-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9B9A97;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
}

.checkbox {
    font-size: 20px;
    flex-shrink: 0;
}

.problem-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-box {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paper-stack {
    position: relative;
}

.paper {
    width: 100px;
    height: 120px;
    background: white;
    border: 2px solid #37352F;
    position: absolute;
}

.paper:nth-child(1) {
    transform: rotate(-10deg) translate(-20px, -10px);
}

.paper:nth-child(2) {
    transform: rotate(5deg) translate(10px, 5px);
}

.paper:nth-child(3) {
    transform: rotate(-5deg) translate(0px, 15px);
}

.confused-person {
    font-size: 72px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* ===================================
   SOLUTION SECTION - BENTO GRID
   =================================== */
.solution-section {
    padding: 80px 0;
}

.section-heading {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bento-card {
    background: #F7F7F5;
    border: 1px solid #E9E9E7;
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s;
}

.bento-card:hover {
    transform: translateY(-2px);
}

.bento-large {
    grid-row: span 2;
}

.card-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-text {
    font-size: 16px;
    color: #787774;
    line-height: 1.6;
}

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step {
    text-align: center;
}

.step-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 72px;
    font-weight: 700;
    color: #E9E9E7;
    line-height: 1;
    margin-bottom: 24px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-text {
    font-size: 16px;
    color: #787774;
    line-height: 1.6;
}

/* ===================================
   FILOSOFIA / MANIFESTO
   =================================== */
.filosofia-section {
    padding: 80px 0;
}

.manifesto {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    line-height: 1.8;
    color: #37352F;
    border-left: 4px solid #37352F;
    padding-left: 32px;
    font-style: italic;
}

.manifesto em {
    font-style: normal;
    border-bottom: 2px solid #FFF9C4;
}

.manifesto footer {
    margin-top: 24px;
    font-size: 18px;
    font-style: normal;
    color: #787774;
}

/* ===================================
   PRICING
   =================================== */
.pricing-section {
    padding: 80px 0;
    background-color: #FAFAFA;
}

.pricing-table {
    background: white;
    border: 1px solid #E9E9E7;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
}

.pricing-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1.5fr;
    background: #F7F7F5;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid #E9E9E7;
}

.pricing-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1.5fr;
    padding: 20px 24px;
    border-bottom: 1px solid #E9E9E7;
    align-items: center;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-highlight {
    background-color: #FFFEF7;
}

.badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    background-color: #37352F;
    color: white;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 500;
}

/* Waitlist Form Styles */
.waitlist-form {
    display: flex;
    gap: 8px;
    max-width: 500px;
    margin: 0 auto 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.input-notion {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    border: 1px solid #E9E9E7;
    border-radius: 6px;
    font-size: 16px;
    background-color: #FAFAFA;
    transition: all 0.2s;
    outline: none;
    font-family: inherit;
}

.input-notion:focus {
    background-color: white;
    border-color: #37352F;
    box-shadow: 0 0 0 2px rgba(55, 53, 47, 0.1);
}

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

.btn-black:hover {
    background-color: #333333;
}

.success-message {
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid #C8E6C9;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.hero-emoji {
    font-size: 72px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed image styles since we switched back to emoji text for the 🤫 icon */
}

/* Pricing Table Updates */
.pricing-header,
.pricing-row {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    /* Simplificado */
}

.col-credits {
    color: #37352F;
}

/* Confetti Canvas */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.btn-plan {
    background-color: white;
    color: #37352F;
    border: 1px solid #E9E9E7;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-plan:hover {
    background-color: #F7F7F5;
}

.btn-plan-highlight {
    background-color: #37352F;
    color: white;
    border-color: #37352F;
}

.btn-plan-highlight:hover {
    background-color: #5A5A5A;
}

/* ===================================
   FAQ
   =================================== */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    border: 1px solid #E9E9E7;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background-color: #FAFAFA;
}

.faq-icon {
    font-size: 12px;
    transition: transform 0.3s;
    color: #9B9A97;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #FAFAFA;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 20px 44px;
    color: #787774;
    line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 48px 0;
    border-top: 1px solid #E9E9E7;
    background-color: #F7F7F5;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-text {
    color: #787774;
    font-size: 14px;
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .navbar-links {
        display: none;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .problem-visual {
        order: -1;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-row: span 1;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-header,
    .pricing-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pricing-header {
        display: none;
    }

    .pricing-row>div:before {
        content: attr(class);
        font-weight: 600;
        display: inline-block;
        width: 140px;
    }

    .pricing-buttons {
        grid-template-columns: 1fr;
    }

    .mockup-content {
        flex-direction: column;
    }

    .mockup-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #E9E9E7;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-emoji {
        font-size: 48px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-heading {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .manifesto {
        font-size: 18px;
        padding-left: 20px;
    }

    .navbar-ctas {
        gap: 8px;
    }

    .nav-link-login {
        display: none;
    }
}