﻿/* --- RESET & VARIABLES --- */
:root {
    --primary: #6366f1; /* Indigo */
    --primary-dark: #4f46e5;
    --secondary: #ec4899; /* Pink */
    --dark: #0f172a; /* Slate 900 */
    --text: #334155; /* Slate 700 */
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--dark);
    line-height: 1.2;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

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

/* NAV */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
}

.logo-icon {
    background: var(--dark);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 1rem;
    transition: 0.3s;
}

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

.link-back {
    text-decoration: none;
    color: #64748b;
    font-size: 0.85rem;
    margin-right: 1rem;
}

/* BUTTONS */
.btn-primary, .btn-primary-sm, .btn-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
    }

.btn-primary-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: var(--dark);
    color: white;
}

.btn-secondary {
    background: white;
    border: 1px solid #cbd5e1;
    color: var(--dark);
}

    .btn-secondary:hover {
        background: #f1f5f9;
    }

.btn-lg {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.full-width {
    width: 100%;
}

/* HERO */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fff 0%, #f0fdfa 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge-new {
    background: #e0e7ff;
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.micro-copy {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}

/* HERO VISUAL MOCKUP */
.hero-visual {
    position: relative;
}

.app-window {
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

    .app-window:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

.window-header {
    background: #f8fafc;
    padding: 0.8rem;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

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

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.window-body {
    padding: 1.5rem;
}

.task-row {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 1rem;
}

.active-row {
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.checked {
    background: #22c55e;
    border-color: #22c55e;
}

.task-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.task-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.strike {
    text-decoration: line-through;
    color: #94a3b8;
}

.task-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    align-self: flex-start;
    margin-top: 4px;
}

.green-tag {
    background: #dcfce7;
    color: #166534;
}

.avatar {
    width: 30px;
    height: 30px;
    background: #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

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

.pulse {
    color: #22c55e;
    font-size: 0.7rem;
    animation: pulse 2s infinite;
    margin-left: 0.5rem;
}

.floating-stat {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    text-align: center;
}

.stat-1 strong {
    color: var(--primary);
    font-size: 1.5rem;
    display: block;
}

/* SECTIONS */
.section-logos {
    padding: 3rem 0;
    text-align: center;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

    .section-logos p {
        font-size: 0.8rem;
        letter-spacing: 1px;
        color: #94a3b8;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

.logo-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 1.2rem;
}

.section-pain {
    padding: 6rem 0;
    background: var(--white);
}

.sub-label {
    color: var(--primary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

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

.pain-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: 0.3s;
}

    .pain-card:hover {
        transform: translateY(-5px);
        background: white;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.red-icon {
    background: #fee2e2;
}

.orange-icon {
    background: #ffedd5;
}

.purple-icon {
    background: #e0e7ff;
}

.section-solution {
    background: var(--dark);
    color: white;
    padding: 6rem 0;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefit-list li {
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
}

.mock-kanban {
    display: flex;
    gap: 1rem;
}

    .mock-kanban .col {
        width: 140px;
        background: rgba(255,255,255,0.1);
        padding: 0.8rem;
        border-radius: 8px;
    }

.col-head {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 0.8rem;
    display: block;
}

.card-sm {
    background: white;
    color: var(--text);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.active-card {
    border-left: 3px solid var(--primary);
}

.section-features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: 0.3s;
}

    .feature-box:hover {
        border-color: var(--primary);
    }

    .feature-box h4 {
        margin-bottom: 0.5rem;
    }

.section-cases {
    padding: 6rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.case-card {
    padding: 2.5rem;
    background: var(--dark);
    color: white;
    border-radius: 16px;
}

    .case-card h3 {
        color: white;
        margin-bottom: 1rem;
    }

.section-compare {
    padding: 6rem 0;
}

.table-wrapper {
    margin-top: 3rem;
    overflow-x: auto;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

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

    .compare-table th {
        background: var(--bg-light);
        text-transform: uppercase;
        font-size: 0.8rem;
        color: #64748b;
    }

.highlight {
    color: var(--primary);
    font-weight: 700;
    background: #e0e7ff !important;
}

.check {
    color: #22c55e;
    font-weight: 700;
}

.x {
    color: #94a3b8;
}

.security-badge {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

    .security-badge strong {
        font-size: 1.2rem;
        display: block;
        margin-bottom: 0.5rem;
    }

/* PRICING */
.section-pricing {
    padding: 6rem 0;
    background: var(--bg-light);
}

.price-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
}

    .price-card.popular {
        border: 2px solid var(--primary);
        transform: scale(1.05);
        z-index: 2;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

.tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1rem 0;
}

    .price span {
        font-size: 1rem;
        color: #94a3b8;
        font-weight: 400;
    }

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

    .features li {
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
        position: relative;
        color: var(--text);
        font-size: 0.9rem;
    }

        .features li::before {
            content: '✓';
            color: var(--primary);
            position: absolute;
            left: 0;
            font-weight: 700;
        }

/* FAQ */
.faq-list details {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.faq-list summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

    .faq-list summary::after {
        content: '+';
        color: var(--primary);
        font-weight: 700;
    }

.faq-list details[open] summary::after {
    content: '-';
}

.faq-list p {
    margin-top: 1rem;
    color: #64748b;
}

.footer-cta {
    padding: 8rem 0;
    background: var(--dark);
    color: white;
}

    .footer-cta h2 {
        color: white;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.terms {
    color: #64748b;
    font-size: 0.8rem;
}

@media(max-width: 900px) {
    .hero-grid, .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 3rem;
    }

    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .nav-links {
        display: none;
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}
