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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f7;
    --accent-color: #6366f1;
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-xl);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-features {
    list-style: none;
    margin-bottom: 32px;
}

.hero-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.hero-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* Phone Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.phone-frame {
    width: 280px;
    background: #1a1a1a;
    border-radius: 44px;
    padding: 6px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-notch {
    display: none;
}

.phone-screen {
    background: var(--white);
    border-radius: 38px;
    overflow: hidden;
    height: 560px;
    position: relative;
}

.phone-screen-welcome {
    display: flex;
    flex-direction: column;
}

/* Welcome Screen (like the app screenshot) */
.welcome-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px 24px;
    text-align: center;
}

.welcome-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
}

.welcome-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.welcome-btn {
    display: block;
    width: 100%;
    max-width: 220px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}

.welcome-btn:hover {
    background: #333;
    transform: scale(1.02);
}

.welcome-copyright {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: auto;
    padding-top: 40px;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: var(--white);
}

.section-label {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 70px;
}

.feature-card {
    background: var(--secondary-color);
    padding: 40px 32px;
    border-radius: 24px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon-svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.feature-step {
    position: absolute;
    top: 40px;
    right: 32px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Smart Folders Section */
.smart-folders {
    padding: 100px 0;
}

.folders-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.folders-text .section-title {
    text-align: left;
}

.folders-text .section-description {
    text-align: left;
    margin: 16px 0 32px;
}

.folders-list {
    list-style: none;
}

.folders-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.folder-icon {
    font-size: 1.2rem;
}

/* Sidebar Preview */
.folders-mockup {
    display: flex;
    justify-content: center;
}

.sidebar-preview {
    width: 260px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 0;
    box-shadow: var(--shadow-xl);
}

.sidebar-header {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 8px;
}

.sidebar-section {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 16px 20px 8px;
    font-weight: 500;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-item:hover {
    background: var(--secondary-color);
}

.sidebar-item.active {
    background: var(--secondary-color);
    color: var(--text-primary);
    font-weight: 500;
}

.item-icon {
    font-size: 1rem;
}

/* Integrations Section */
.integrations {
    padding: 100px 0;
    background: var(--secondary-color);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.integration-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    transition: transform 0.2s, box-shadow 0.2s;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.integration-card.coming-soon {
    opacity: 0.7;
}

.integration-card.available {
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.integration-card.available:hover {
    border-color: #f97316;
    box-shadow: var(--shadow-lg);
}

.integration-card.available:has(.integration-icon.slack):hover {
    border-color: #e01e5a;
}

.integration-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    flex-shrink: 0;
}

.integration-icon.hubspot {
    background: #f97316;
}

.integration-icon.google {
    background: #60a5fa;
}

.integration-icon.jira {
    background: #3b82f6;
}

.integration-icon.notion {
    background: #a78bfa;
}

.integration-icon.slack {
    background: #4A154B;
}

.integration-info {
    flex: 1;
}

.integration-info h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.integration-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.integration-status {
    font-size: 0.75rem;
    font-weight: 500;
    color: #10b981;
    background: #d1fae5;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.integration-status.soon {
    color: var(--text-muted);
    background: var(--secondary-color);
}

.integration-status.active {
    color: #10b981;
    background: #d1fae5;
}

/* Slack Card with Add to Slack button */
.slack-card {
    flex-wrap: wrap;
    cursor: default;
}

.slack-card:hover {
    border-color: #4A154B !important;
}

.slack-card-actions {
    width: 100%;
    display: flex;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-add-to-slack {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4A154B;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.btn-add-to-slack:hover {
    background: #611f69;
    transform: translateY(-1px);
}

.btn-add-to-slack svg {
    width: 18px;
    height: 18px;
}

.btn-slack-doc {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-slack-doc:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

/* How it works Section */
.how-it-works {
    padding: 100px 0;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 12px;
}

.step p {
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--primary-color);
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background: var(--secondary-color);
}

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

/* Footer */
.footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 80px;
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 8px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .hero-centered {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-mockup {
        order: 1;
    }

    .hero-features {
        display: inline-block;
        text-align: left;
    }

    .folders-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .folders-text .section-title,
    .folders-text .section-description {
        text-align: center;
    }

    .folders-list {
        display: flex;
        justify-content: center;
        gap: 24px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 72px);
        z-index: 998;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links li a {
        display: block;
        padding: 20px 0;
        font-size: 1.5rem;
        color: var(--text-primary);
        font-weight: 600;
        text-align: center;
    }

    .btn-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        order: -1;
        position: relative;
        z-index: 999;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-centered {
        gap: 40px;
    }

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

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

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

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

    .footer-links {
        justify-content: flex-start;
        gap: 40px;
    }

    .phone-frame {
        width: 240px;
        padding: 5px;
        border-radius: 38px;
    }

    .phone-screen {
        height: 480px;
        border-radius: 34px;
    }

    .welcome-title {
        font-size: 1.6rem;
    }

    .welcome-btn {
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .slack-card-actions {
        flex-direction: column;
    }

    .btn-add-to-slack,
    .btn-slack-doc {
        justify-content: center;
        text-align: center;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .feature-step {
        top: 28px;
        right: 20px;
    }

    .phone-frame {
        width: 220px;
        padding: 4px;
        border-radius: 34px;
    }

    .phone-screen {
        height: 440px;
        border-radius: 30px;
    }
}
