/* ===== Shared Marketing Pages ===== */

.page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 140px 32px 100px;
}
.page-header {
    text-align: center;
    margin-bottom: 64px;
}
.page-header h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--text);
}
.page-header p {
    font-size: 18px;
    color: var(--text-sub);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Cards Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}
.card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    background: var(--bg);
    transition: border-color 0.15s;
}
.card:hover {
    border-color: #D4D4D8;
}
.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 20px;
    background: var(--border-light);
    color: var(--text);
}
.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}
.card p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
}
.card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.pricing-toggle span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-sub);
}
.pricing-toggle span.active {
    color: var(--text);
}
.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--border);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background 0.2s;
}
.toggle-switch.active {
    background: var(--text);
}
.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
}
.toggle-switch.active::after {
    transform: translateX(20px);
}
.pricing-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    background: var(--bg);
}
.pricing-card.featured {
    border-color: var(--text);
    position: relative;
}
.pricing-card.featured::before {
    content: 'Most popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 100px;
    background: var(--text);
    color: white;
}
.pricing-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.pricing-card .price {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text);
    margin: 16px 0 4px;
}
.pricing-card .price-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.pricing-card .price-sub {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 24px;
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 28px;
}
.pricing-card li {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pricing-card li::before {
    content: '✓';
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.pricing-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: var(--bg);
    cursor: pointer;
    font-family: var(--font);
    text-align: center;
    text-decoration: none;
    transition: all 0.15s;
}
.pricing-btn:hover {
    border-color: var(--text);
    background: var(--border-light);
}
.pricing-btn-primary {
    background: var(--text);
    color: white;
    border-color: var(--text);
}
.pricing-btn-primary:hover {
    background: #000;
}

/* ===== Example Canvas ===== */
.example-section {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 2px dashed #C4B5FD;
}
.example-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.example-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.example-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 8px;
}
.example-desc {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 32px;
}
.example-canvas {
    position: relative;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 23px, #ECEAF3 23px, #ECEAF3 24px),
        repeating-linear-gradient(90deg, transparent, transparent 23px, #ECEAF3 23px, #ECEAF3 24px);
    background-color: #F5F4FA;
    border-radius: 16px;
    border: 1px solid var(--border);
    height: 380px;
    overflow: hidden;
}
.ex-node {
    position: absolute;
    z-index: 2;
}
.ex-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.ex-card-note {
    background: #FFF9C4;
    border-color: #FEE082;
}
.ex-card-doc {
    border: 1.5px dashed #A1A1AA;
    padding: 12px 16px;
}
.ex-badge {
    display: inline-block;
    font-size: 8px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-bottom: 4px;
    letter-spacing: 0.4px;
}
.ex-badge-pdf { background: #FEF2F2; color: #E8434A; }
.ex-badge-docx { background: #EFF6FF; color: #3B82F6; }
.ex-badge-pptx { background: #FFF7ED; color: #F97316; }
.ex-badge-csv { background: #ECFDF5; color: #10B981; }
.ex-badge-img { background: #F5F3FF; color: #8B5CF6; }
.ex-badge-doc { background: var(--border-light); color: var(--text-sub); }
.ex-name { font-size: 11px; font-weight: 600; color: var(--text); }
.ex-sub { font-size: 10px; color: #7C6F3A; margin-top: 2px; }
.ex-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}
.ex-lines span {
    display: block;
    height: 4px;
    border-radius: 2px;
}
.ex-gen {
    margin-top: 8px;
    font-size: 9px;
    font-weight: 600;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 5px;
    background: var(--text);
    color: white;
}
.ex-cursor {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    gap: 2px;
}
.ex-cursor-label {
    font-size: 9px;
    font-weight: 600;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 10px;
    white-space: nowrap;
}
.example-canvas svg.ex-connections {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page { padding: 110px 20px 60px; }
    .page-header h1 { font-size: 32px; letter-spacing: -1px; }
    .page-header { margin-bottom: 40px; }
    .card-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .example-canvas { height: 280px; }
    .example-title { font-size: 22px; }
}
@media (max-width: 480px) {
    .page-header h1 { font-size: 28px; }
}
