/*
Theme Name: TickClip Partners
Theme URI: https://partners.tickclip.io
Description: Minimal theme for the TickClip Seller Portal subdomain. Built to work with the TickClip Seller Portal plugin.
Version: 1.0.0
Author: TickClip
Author URI: https://tickclip.io
Text Domain: tickclip-partners
Requires at least: 6.0
Requires PHP: 7.4
*/

/* === Base Reset === */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* TickClip brand - matching main domain */
    --tc-blue: #4361ee;
    --tc-blue-dark: #3a56d4;
    --tc-blue-light: #dce4ff;
    --tc-purple: #7c3aed;
    --tc-purple-dark: #6d28d9;
    --tc-navy: #0f1729;
    --tc-navy-mid: #1e293b;

    /* Verdict colours */
    --tc-tick: #22c55e;
    --tc-tick-bg: #ecfdf5;
    --tc-clip: #f59e0b;
    --tc-clip-bg: #fffbeb;
    --tc-skip: #ef4444;
    --tc-skip-bg: #fef2f2;

    /* Neutrals */
    --tc-dark: #0f172a;
    --tc-text: #334155;
    --tc-muted: #64748b;
    --tc-light-muted: #94a3b8;
    --tc-border: #dfe6f0;
    --tc-bg: #eef2ff;
    --tc-bg-alt: #f5f7ff;
    --tc-white: #ffffff;

    /* Shape */
    --tc-radius: 24px;
    --tc-radius-md: 16px;
    --tc-radius-sm: 10px;
    --tc-shadow: 0 1px 4px rgba(15,23,42,0.06);
    --tc-shadow-lg: 0 8px 24px rgba(15,23,42,0.1);
    --tc-max-width: 1100px;
    --tc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--tc-font);
    color: var(--tc-text);
    background: var(--tc-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--tc-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.tc-container {
    max-width: var(--tc-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* === Header === */
.tc-site-header {
    background: var(--tc-white);
    border-bottom: 1px solid var(--tc-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.tc-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tc-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--tc-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tc-white);
    font-size: 1.2rem;
    font-weight: 800;
}

.tc-logo-tick,
.tc-logo-clip {
    color: var(--tc-navy);
}

.tc-logo-badge {
    font-size: 0.6rem;
    color: var(--tc-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--tc-bg);
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 4px;
}

.tc-header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tc-header-nav a {
    color: var(--tc-navy);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}

.tc-header-nav a:hover {
    color: var(--tc-blue);
    text-decoration: none;
}

/* === Buttons (pill-shaped like main domain) === */
.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: var(--tc-radius);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.01em;
}

.tc-btn-primary {
    background: var(--tc-blue);
    color: var(--tc-white) !important;
    box-shadow: 0 2px 8px rgba(67,97,238,0.3);
}

.tc-btn-primary:hover {
    background: var(--tc-blue-dark);
    box-shadow: 0 4px 12px rgba(67,97,238,0.4);
    transform: translateY(-1px);
}

.tc-btn-cta {
    background: linear-gradient(135deg, var(--tc-blue) 0%, var(--tc-purple) 100%);
    color: var(--tc-white) !important;
    box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}

.tc-btn-cta:hover {
    box-shadow: 0 6px 20px rgba(124,58,237,0.45);
    transform: translateY(-1px);
}

.tc-btn-tick {
    background: var(--tc-blue);
    color: var(--tc-white) !important;
}

.tc-btn-tick:hover {
    background: var(--tc-blue-dark);
}

.tc-btn-outline {
    background: transparent;
    color: var(--tc-navy) !important;
    border: 2px solid var(--tc-border);
}

.tc-btn-outline:hover {
    border-color: var(--tc-blue);
    color: var(--tc-blue) !important;
    background: rgba(67,97,238,0.04);
}

.tc-btn-lg {
    padding: 14px 40px;
    font-size: 1rem;
}

.tc-btn-sm {
    padding: 7px 18px;
    font-size: 0.82rem;
}

/* === Hero (matching TickClip icy blue style) === */
.tc-hero {
    background: var(--tc-bg);
    color: var(--tc-navy);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
}

.tc-hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.tc-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.12;
    margin: 0 0 20px;
    letter-spacing: -0.03em;
    color: var(--tc-navy);
}

.tc-hero h1 .tc-highlight {
    background: linear-gradient(135deg, var(--tc-blue), var(--tc-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tc-hero-subtitle {
    font-size: 1.15rem;
    color: var(--tc-muted);
    margin: 0 0 40px;
    line-height: 1.7;
    font-style: italic;
}

.tc-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tc-hero-stats {
    display: flex;
    justify-content: center;
    gap: 56px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--tc-border);
}

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

.tc-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tc-blue);
    display: block;
    letter-spacing: -0.02em;
}

.tc-stat-label {
    font-size: 0.78rem;
    color: var(--tc-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* === Sections === */
.tc-section {
    padding: 80px 0;
}

.tc-section-alt {
    background: var(--tc-white);
}

.tc-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 52px;
}

.tc-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--tc-navy);
    letter-spacing: -0.02em;
}

.tc-section-header p {
    font-size: 1.05rem;
    color: var(--tc-muted);
    margin: 0;
    line-height: 1.7;
}

/* === Why TickClip === */
.tc-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tc-why-card {
    background: var(--tc-white);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-md);
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tc-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tc-shadow-lg);
}

.tc-why-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.tc-icon-tick { background: var(--tc-tick-bg); color: var(--tc-tick); }
.tc-icon-clip { background: var(--tc-clip-bg); color: var(--tc-clip); }
.tc-icon-primary { background: var(--tc-blue-light); color: var(--tc-blue); }
.tc-icon-dark { background: #f1f5f9; color: var(--tc-navy); }

.tc-why-card h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
    color: var(--tc-navy);
    font-weight: 700;
}

.tc-why-card p {
    font-size: 0.88rem;
    color: var(--tc-muted);
    margin: 0;
    line-height: 1.65;
}

/* === How It Works === */
.tc-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
}

.tc-step-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--tc-white);
    border-radius: var(--tc-radius-md);
    border: 1px solid var(--tc-border);
    position: relative;
}

.tc-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tc-blue);
    color: var(--tc-white);
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(67,97,238,0.25);
}

.tc-step-card h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    color: var(--tc-navy);
    font-weight: 700;
}

.tc-step-card p {
    font-size: 0.85rem;
    color: var(--tc-muted);
    margin: 0;
    line-height: 1.55;
}

/* === Verdict Explainer === */
.tc-verdicts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tc-verdict-card {
    border-radius: var(--tc-radius-md);
    padding: 36px 28px;
    text-align: center;
}

.tc-verdict-tick-card {
    background: var(--tc-tick-bg);
    border: 2px solid var(--tc-tick);
}

.tc-verdict-clip-card {
    background: var(--tc-clip-bg);
    border: 2px solid var(--tc-clip);
}

.tc-verdict-skip-card {
    background: var(--tc-skip-bg);
    border: 2px solid var(--tc-skip);
}

.tc-verdict-symbol {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
}

.tc-verdict-tick-card .tc-verdict-symbol { color: var(--tc-tick); }
.tc-verdict-clip-card .tc-verdict-symbol { color: var(--tc-clip); }
.tc-verdict-skip-card .tc-verdict-symbol { color: var(--tc-skip); }

.tc-verdict-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
}

.tc-verdict-tick-card h3 { color: var(--tc-tick); }
.tc-verdict-clip-card h3 { color: var(--tc-clip); }
.tc-verdict-skip-card h3 { color: var(--tc-skip); }

.tc-verdict-card p {
    font-size: 0.88rem;
    margin: 0;
    color: var(--tc-text);
    line-height: 1.6;
}

/* === Trust Bar === */
.tc-trust {
    background: var(--tc-navy);
    color: var(--tc-white);
    padding: 48px 0;
}

.tc-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.tc-trust-item {
    text-align: center;
}

.tc-trust-item strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tc-blue-light);
}

.tc-trust-item span {
    font-size: 0.8rem;
    color: var(--tc-light-muted);
}

/* === CTA Section (purple gradient like main domain) === */
.tc-cta {
    background: linear-gradient(135deg, var(--tc-blue) 0%, var(--tc-purple) 100%);
    color: var(--tc-white);
    padding: 72px 0;
    text-align: center;
}

.tc-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.tc-cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 36px;
}

.tc-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.tc-btn-white {
    background: var(--tc-white);
    color: var(--tc-blue) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.tc-btn-white:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.tc-btn-ghost {
    background: transparent;
    color: var(--tc-white) !important;
    border: 2px solid rgba(255,255,255,0.35);
}

.tc-btn-ghost:hover {
    border-color: var(--tc-white);
    background: rgba(255,255,255,0.08);
}

/* === FAQ === */
.tc-faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.tc-faq-item {
    background: var(--tc-white);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.tc-faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--tc-navy);
    transition: color 0.15s;
}

.tc-faq-question:hover {
    color: var(--tc-blue);
}

.tc-faq-question::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--tc-blue);
    font-weight: 300;
    transition: transform 0.2s;
}

.tc-faq-item.active .tc-faq-question::after {
    content: '\2212';
}

.tc-faq-answer {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--tc-muted);
    line-height: 1.65;
    display: none;
}

.tc-faq-item.active .tc-faq-answer {
    display: block;
}

/* === Footer === */
.tc-site-footer {
    background: var(--tc-navy);
    color: #e2e8f0;
    padding: 56px 0 28px;
}

.tc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.tc-footer-brand p {
    color: var(--tc-light-muted);
    font-size: 0.88rem;
    margin-top: 12px;
    line-height: 1.65;
}

.tc-footer-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tc-white);
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tc-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tc-footer-col li {
    margin-bottom: 10px;
}

.tc-footer-col a {
    color: var(--tc-light-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.15s;
}

.tc-footer-col a:hover {
    color: var(--tc-white);
    text-decoration: none;
}

.tc-footer-bottom {
    border-top: 1px solid var(--tc-navy-mid);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tc-footer-bottom p {
    font-size: 0.78rem;
    color: #475569;
    margin: 0;
}

.tc-footer-bottom a {
    color: var(--tc-light-muted);
    font-size: 0.78rem;
}

/* === Responsive === */
@media (max-width: 968px) {
    .tc-why-grid,
    .tc-verdicts-grid {
        grid-template-columns: 1fr;
    }

    .tc-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tc-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tc-hero h1 {
        font-size: 2.4rem;
    }

    .tc-hero-stats {
        gap: 28px;
    }

    .tc-section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .tc-header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
        gap: 12px;
    }

    .tc-header-nav {
        gap: 12px;
    }

    .tc-hero {
        padding: 48px 0 64px;
    }

    .tc-hero h1 {
        font-size: 1.9rem;
    }

    .tc-hero-subtitle {
        font-size: 1rem;
    }

    .tc-section {
        padding: 48px 0;
    }

    .tc-steps-grid,
    .tc-footer-grid {
        grid-template-columns: 1fr;
    }

    .tc-hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .tc-trust-inner {
        flex-direction: column;
        gap: 24px;
    }

    .tc-cta h2 {
        font-size: 1.6rem;
    }
}
