/* ─── WPLanding Main Styles ─── */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Inter", system-ui, sans-serif;
    color: #0f172a;
    overflow-x: hidden;
}

/* GSAP: hide animated elements until ready */
.gsap-reveal { visibility: hidden; }
body.gsap-ready .gsap-reveal { visibility: visible; }

/* ─── Hero Gradient ─── */
.hero-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #1e3a8a 100%);
    position: relative;
    overflow: hidden;
}
.hero-gradient::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-gradient::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
    pointer-events: none;
}

/* ─── Grid pattern overlay ─── */
.grid-pattern {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ─── CTA Button ─── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: #f97316;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
    position: relative;
    overflow: hidden;
}
.btn-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-cta:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}
.btn-cta:hover::before { opacity: 1; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}
.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ─── Benefit Cards ─── */
.benefit-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #bfdbfe;
}
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* ─── Feature Section ─── */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
@media (max-width: 768px) {
    .feature-row { grid-template-columns: 1fr; gap: 2rem; }
}
.feature-row:nth-child(even) .feature-visual { order: -1; }
@media (max-width: 768px) {
    .feature-row:nth-child(even) .feature-visual { order: 0; }
}

.feature-visual {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width=20 height=20 xmlns=http://www.w3.org/2000/svg%3E%3Ccircle cx=1 cy=1 r=1 fill=%232563eb opacity=0.08/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    position: relative;
}
.testimonial-card::before {
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 4rem;
    color: #2563eb;
    opacity: 0.15;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
}

/* ─── Pricing Cards ─── */
.pricing-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.4s;
    position: relative;
}
.pricing-card.featured {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb, 0 20px 40px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .pricing-card.featured { transform: scale(1); }
}
.pricing-card:hover:not(.featured) {
    border-color: #93c5fd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* ─── FAQ Accordion ─── */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover,
.faq-item.active { border-color: #93c5fd; }

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
    text-align: left;
}
.faq-trigger svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: #2563eb;
}

.faq-body {
    padding: 0 1.5rem 1.25rem;
    color: #475569;
    line-height: 1.7;
}

/* ─── Trust Bar ─── */
.trust-logo {
    opacity: 0.4;
    filter: grayscale(1);
    transition: all 0.3s;
    height: 28px;
}
.trust-logo:hover {
    opacity: 0.7;
    filter: grayscale(0);
}

/* ─── Social Proof Counter ─── */
.counter-value {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Sticky Header ─── */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s;
}
.sticky-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ─── Section Dividers ─── */
.section-divider {
    position: relative;
}
.section-divider::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #f97316);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ─── Floating Elements ─── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-slow { animation: float 6s ease-in-out infinite; }
.float-medium { animation: float 4s ease-in-out infinite 1s; }

/* ─── Urgency Banner ─── */
.urgency-bar {
    background: linear-gradient(90deg, #f97316, #ea580c);
    animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }
    50% { box-shadow: 0 0 30px rgba(249, 115, 22, 0.5); }
}

/* ─── Blog styles ─── */
.prose { max-width: 65ch; }
.prose h1, .prose h2, .prose h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    color: #0f172a;
}
.prose p { line-height: 1.8; color: #334155; }
.prose a { color: #2563eb; text-decoration: underline; }
.prose img { border-radius: 0.75rem; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #2563eb; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3b82f6; }
