/*
Theme Name: Persigned – Influencer Contracts SaaS
Theme URI: https://persigned.com/
Author: Persigned
Author URI: https://persigned.com/
Description: A clean, responsive SaaS theme built for Persigned.com – influencer contract templates and e-signing platform.
Version: 1.2.0
Text Domain: persigned
*/

:root {
    --ps-navy: #0a1a44;
    --ps-teal: #00d2d2;
    --ps-teal-soft: #3bdeb9;
    --ps-glow: #7cf8ff;
    --ps-bg: #020617;
    --ps-card: #050b1f;
    --ps-border: #1e293b;
    --ps-text: #e5e7eb;
    --ps-muted: #94a3b8;
    --ps-radius-lg: 1.25rem;
    --ps-radius-md: 0.9rem;
    --ps-radius-full: 999px;
    --ps-shadow-soft: 0 22px 60px rgba(2, 6, 23, 0.85);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #02091c 0, #020617 45%, #000 100%);
    color: var(--ps-text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: radial-gradient(circle at top, rgba(124, 248, 255, 0.15), rgba(2, 6, 23, 0.96));
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.brand-logo img {
    height: 34px;
    filter: drop-shadow(0 10px 30px rgba(0, 210, 210, 0.6));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.95rem;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--ps-muted);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.8rem;
}

.primary-nav a {
    color: var(--ps-muted);
    position: relative;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--ps-teal), var(--ps-glow));
    transition: width 0.2s ease-out;
}

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

.primary-nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Buttons */

.btn,
.button,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.3rem;
    border-radius: var(--ps-radius-full);
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: radial-gradient(circle at 10% 0, var(--ps-glow) 0, var(--ps-teal-soft) 40%, var(--ps-teal) 100%);
    color: #02101a;
    box-shadow: 0 16px 40px rgba(0, 210, 210, 0.6);
}

.btn-primary:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 22px 55px rgba(0, 210, 210, 0.7);
}

.btn-outline {
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--ps-muted);
    background: rgba(2, 6, 23, 0.8);
}

.btn-outline:hover {
    border-color: rgba(124, 248, 255, 0.4);
    color: var(--ps-text);
    background: rgba(15, 23, 42, 0.95);
}

.btn-glow {
    box-shadow: 0 0 0 0 rgba(0, 210, 210, 0.45);
    animation: btnPulse 2.4s infinite;
}

/* Layout */

.site-main {
    min-height: 60vh;
}

.hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 3.5rem 1.25rem 3.8rem;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.05fr);
    gap: 2.7rem;
    align-items: center;
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2.9rem;
}

.section-header {
    margin-bottom: 1.9rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.section-kicker {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ps-muted);
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.section-description {
    font-size: 0.85rem;
    color: var(--ps-muted);
    max-width: 28rem;
}

/* Hero copy */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.12rem 0.5rem;
    border-radius: var(--ps-radius-full);
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: radial-gradient(circle at 0 0, rgba(0, 210, 210, 0.18), rgba(2, 6, 23, 0.9));
    color: var(--ps-muted);
    font-size: 0.7rem;
}

.hero-eyebrow .badge {
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 210, 210, 0.2);
    color: var(--ps-glow);
    font-size: 0.65rem;
}

.hero-title {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 0.7rem;
}

.hero-title .gradient {
    background: linear-gradient(120deg, var(--ps-teal), var(--ps-glow), #c4f1ff);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text {
    font-size: 0.95rem;
    color: var(--ps-muted);
    max-width: 30rem;
    margin-bottom: 1.3rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    font-size: 0.78rem;
    color: var(--ps-muted);
    margin-bottom: 1.6rem;
}

.hero-meta strong {
    color: var(--ps-text);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-footnote {
    font-size: 0.7rem;
    color: var(--ps-muted);
}

/* Hero card */

.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: var(--ps-radius-lg);
    background: radial-gradient(circle at 0 0, rgba(0, 210, 210, 0.18), #020617 55%);
    border: 1px solid rgba(37, 99, 235, 0.7);
    padding: 1.15rem;
    box-shadow: var(--ps-shadow-soft);
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at top, rgba(124, 248, 255, 0.18), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

.hero-card-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.hero-card-title {
    font-size: 0.8rem;
    font-weight: 600;
}

.hero-card-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 210, 210, 0.18);
    color: var(--ps-glow);
    border: 1px solid rgba(0, 210, 210, 0.5);
}

.hero-card-body {
    position: relative;
    z-index: 1;
    border-radius: calc(var(--ps-radius-lg) - 0.4rem);
    border: 1px solid rgba(15, 23, 42, 0.9);
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.9), #020617);
    padding: 0.85rem;
    font-size: 0.72rem;
}

.hero-card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.hero-card-row .label {
    color: var(--ps-muted);
}

.hero-card-row .value {
    color: var(--ps-text);
    font-weight: 500;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.65rem;
    background: rgba(37, 99, 235, 0.2);
    color: #bfdbfe;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #22c55e;
}

/* Features */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.feature-card {
    position: relative;
    background: radial-gradient(circle at 0 0, rgba(0, 210, 210, 0.16), #020617);
    border-radius: var(--ps-radius-md);
    border: 1px solid rgba(30, 64, 175, 0.8);
    padding: 1rem;
    font-size: 0.83rem;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.85);
    overflow: hidden;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.95);
    border-color: rgba(0, 210, 210, 0.7);
}

.feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 0.9rem;
    background: rgba(0, 210, 210, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text {
    color: var(--ps-muted);
}

/* Pricing */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.pricing-card {
    position: relative;
    background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.5), #020617);
    border-radius: var(--ps-radius-md);
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 1.2rem;
    font-size: 0.83rem;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.9);
    overflow: hidden;
}

.pricing-card--highlight {
    border-color: rgba(0, 210, 210, 0.9);
    box-shadow: 0 24px 65px rgba(0, 210, 210, 0.5);
}

.pricing-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.pricing-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.pricing-meta {
    font-size: 0.73rem;
    color: var(--ps-muted);
    margin-bottom: 0.75rem;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem;
}

.pricing-list li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.27rem;
    color: var(--ps-muted);
    font-size: 0.78rem;
}

.pricing-list li::before {
    content: "•";
    color: var(--ps-teal-soft);
    font-size: 0.7rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.95);
    background: #020617;
    padding: 1.6rem 1.25rem 2.1rem;
    margin-top: 1.6rem;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--ps-muted);
}

/* Animations */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
    0% { transform: translateY(4px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(4px); }
}

@keyframes btnPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 210, 0.5); }
    70% { box-shadow: 0 0 0 16px rgba(0, 210, 210, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 210, 0); }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.7s ease-out forwards;
}

.float-card {
    animation: floatCard 6s ease-in-out infinite;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.18s; }
.stagger-3 { animation-delay: 0.26s; }
.stagger-4 { animation-delay: 0.34s; }
.stagger-5 { animation-delay: 0.42s; }
.stagger-6 { animation-delay: 0.5s; }

/* Responsive */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 2.7rem;
    }
    .hero-visual {
        order: -1;
    }
    .feature-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .primary-nav {
        display: none;
    }
    .hero {
        padding-top: 2.2rem;
    }
    .feature-grid,
    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
