@import url("_shared.css");

/* ======================================================
   PRICING PAGE - Corporate
   Theme: Deep slate with subtle blue accent
   ====================================================== */

:root {
    --accent: oklch(62% 0.15 250);
    --accent-secondary: oklch(68% 0.12 220);

    --gradient-primary: linear-gradient(
        135deg,
        oklch(55% 0.15 250) 0%,
        oklch(62% 0.12 235) 50%,
        oklch(68% 0.12 220) 100%
    );
    --gradient-text: linear-gradient(
        135deg,
        oklch(100% 0 0) 0%,
        oklch(90% 0.01 240) 100%
    );
    --gradient-mesh:
        radial-gradient(ellipse at 30% 0%, oklch(20% 0.02 250 / 0.8) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 100%, oklch(18% 0.015 230 / 0.6) 0%, transparent 60%),
        oklch(11% 0.01 250);

    --text-primary: oklch(96% 0 0);
    --text-body: oklch(82% 0.01 250);
    --text-muted: oklch(65% 0.01 250);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--gradient-mesh);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Subtle, static background — no animation */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 15%, oklch(30% 0.03 250 / 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 85%, oklch(25% 0.02 230 / 0.2) 0%, transparent 50%);
    z-index: -1;
}

/* ======================================================
   SECTION HEADERS
   ====================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

/* ======================================================
   TRUST BAR
   ====================================================== */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: clamp(3rem, 8vh, 5rem);
}

@media (width >= 768px) {
    .trust-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-item {
    background: oklch(14% 0.01 250);
    padding: 1.5rem 1rem;
    text-align: center;
}

.trust-number {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* ======================================================
   PRICING SECTIONS
   ====================================================== */
.pricing {
    padding: clamp(3rem, 8vh, 5rem) 0;
}

.pricing + .pricing {
    border-top: 1px solid var(--border);
}

/* ======================================================
   PRICING PLANS
   ====================================================== */
.pricing-plans {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (width >= 768px) {
    .pricing-plans {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-plan {
    --card-glow: oklch(55% 0.1 250);
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-plan h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-plan .price {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.pricing-plan ul {
    list-style: none;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}

.pricing-plan li {
    color: var(--text-body);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-plan li::before {
    content: "\2713";
    color: oklch(65% 0.15 220);
    font-weight: 700;
    font-size: 0.85rem;
}

.pricing-plan .button {
    margin-top: auto;
}

/* Plan badge */
.plan-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--gradient-primary);
    color: white;
    border-radius: 0 0 var(--r-sm) var(--r-sm);
}

/* Featured plan */
.pricing-plan.featured {
    --card-glow: oklch(62% 0.15 250);
    border-color: oklch(60% 0.1 250 / 0.4);
    box-shadow:
        0 0 0 1px oklch(60% 0.1 250 / 0.2),
        0 8px 32px -8px oklch(0% 0 0 / 0.4);
}

.pricing-plan.featured:hover {
    transform: translateY(-8px);
}

/* ======================================================
   PRICING NOTE
   ====================================================== */
.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border);
}

.pricing-note i {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: oklch(65% 0.12 220);
}

/* ======================================================
   COMPARISON TABLE
   ====================================================== */
.pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-lg);
}

.pricing-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    background: oklch(14% 0.01 250 / 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem 1.25rem;
    text-align: center;
    border-bottom: 1px solid oklch(100% 0 0 / 0.04);
}

.pricing-table th {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: oklch(100% 0 0 / 0.02);
    padding: 1.25rem 1rem;
}

.pricing-table td {
    color: var(--text-body);
    font-size: 0.9rem;
}

.pricing-table td:first-child,
.pricing-table th:first-child {
    text-align: left;
    width: 22%;
    font-weight: 600;
    color: var(--text-primary);
}

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

.pricing-table tr:hover td {
    background: oklch(100% 0 0 / 0.02);
}

.pricing-table i {
    color: oklch(65% 0.15 220);
}

/* ======================================================
   FAQ
   ====================================================== */
.faq-section {
    padding: clamp(4rem, 10vh, 6rem) 0;
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: 720px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: oklch(14% 0.01 250);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: oklch(100% 0 0 / 0.12);
}

.faq-item summary {
    padding: 1.15rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.3s ease;
}

.faq-item summary:hover {
    background: oklch(100% 0 0 / 0.02);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    padding: 0 1.5rem 1.15rem;
    color: var(--text-body);
    font-size: 0.9rem;
    line-height: 1.7;
}
