/* ============================================
   GoHighLevel Clone - Custom Styles
   Background: #111827 | Text: #ffffff
   ============================================ */

:root {
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-card: #1a2332;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent: #4f86f7;
    --accent-glow: rgba(79, 134, 247, 0.4);
    --gradient-start: #4f86f7;
    --gradient-end: #a855f7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    max-width: 100vw;
}
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---- Text Gradient ---- */
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Badge Pill ---- */
.badge-pill {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(79, 134, 247, 0.1);
    border: 1px solid rgba(79, 134, 247, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.5px;
}

/* ---- Glowing Button ---- */
.btn-glow {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px var(--accent-glow);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow);
}
.btn-glow:active { transform: translateY(0); }

.btn-outline-primary {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* ==============================
   NAVBAR
   ============================== */
#mainNav {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: transparent;
}
#mainNav.scrolled {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover { color: #fff !important; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 60%; }

/* ==============================
   HERO SECTION
   ============================== */
.hero-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 0;
}
.hero-particles .particle {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-section .container { position: relative; z-index: 1; }

.hero-img {
    max-width: 100%;
    border-radius: 16px;
    filter: drop-shadow(0 20px 60px rgba(79, 134, 247, 0.2));
}

.hero-image-wrapper { position: relative; }
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background: linear-gradient(135deg, rgba(79,134,247,0.1), rgba(168,85,247,0.1));
    border-radius: 24px;
    z-index: -1;
    filter: blur(40px);
}

/* Floating animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==============================
   STATS SECTION
   ============================== */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stat-card {
    padding: 30px 20px;
    transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}
.stat-card h2 { font-size: 2rem; }

/* ==============================
   TRUST BADGES SCROLL
   ============================== */
.trust-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-grid img {
    opacity: 1;
    transition: opacity 0.3s;
    filter: brightness(1.2);
}
.trust-grid img:hover { opacity: 1; }

@media (max-width: 767px) {
    .trust-grid { gap: 20px; }
    .trust-grid img { height: 45px; }
}

/* ==============================
   FEATURES SECTION
   ============================== */
.features-section { background: var(--bg-primary); }

.feature-tabs {
    gap: 8px;
    flex-wrap: wrap;
}
.feature-tabs .nav-link {
    background: var(--bg-secondary);
    border-radius: 50px;
    padding: 12px 24px !important;
    color: var(--text-secondary) !important;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
}
.feature-tabs .nav-link::after { display: none; }
.feature-tabs .nav-link:hover {
    color: #fff !important;
    background: rgba(79,134,247,0.1);
    border-color: var(--accent);
}
.feature-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.feature-item {
    padding: 10px 0;
    font-size: 0.95rem;
    transition: transform 0.2s;
}
.feature-item:hover { transform: translateX(5px); }

.feature-image-wrapper {
    position: relative;
    padding: 20px;
}
.shadow-glow {
    box-shadow: 0 20px 60px rgba(79, 134, 247, 0.15);
}

/* ==============================
   WHAT'S INCLUDED SECTION
   ============================== */
.included-section {
    background: var(--bg-primary);
    overflow: hidden;
}
.included-image-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.included-img {
    width: 100%;
    border-radius: 16px;
    transition: transform 0.5s ease;
}
.included-image-wrapper:hover .included-img {
    transform: scale(1.02);
}
.included-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    right: 10%;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(79,134,247,0.15) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

/* ==============================
   DIFFERENTIATORS
   ============================== */
.differentiators-section { background: var(--bg-secondary); }

.diff-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.diff-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.diff-card:hover { transform: translateY(-8px); border-color: rgba(79,134,247,0.2); }
.diff-card:hover::before { transform: scaleX(1); }

.diff-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, rgba(79,134,247,0.15), rgba(168,85,247,0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials-section { background: var(--bg-primary); }

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 35px;
    height: 100%;
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79,134,247,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.testimonial-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.testimonial-avatar-img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

/* ==============================
   MOBILE / SUPPORT SECTION
   ============================== */
.mobile-section { background: var(--bg-secondary); }

.mobile-feature-item {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.4s;
}
.mobile-feature-item:hover {
    transform: translateX(8px);
    border-color: rgba(79,134,247,0.2);
}
.mobile-icon {
    width: 56px; height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(79,134,247,0.15), rgba(168,85,247,0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
}

/* ==============================
   PRICING SECTION
   ============================== */
.pricing-section { background: var(--bg-primary); }

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79,134,247,0.2);
}
.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 10px 40px var(--accent-glow);
}
.popular-badge {
    position: absolute;
    top: 20px; right: -30px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
}
.price-tag { margin: 25px 0; }

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.pricing-features li:last-child { border-bottom: none; }

/* ==============================
   INTEGRATIONS SLIDER
   ============================== */
.integrations-section {
    background: var(--bg-secondary);
    overflow: hidden;
}

.slider-row {
    overflow: hidden;
    position: relative;
    padding: 5px 0;
}
.slider-row::before,
.slider-row::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.slider-row::before { left: 0; background: linear-gradient(to right, var(--bg-secondary), transparent); }
.slider-row::after { right: 0; background: linear-gradient(to left, var(--bg-secondary), transparent); }

.slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
}
.slider-track.slide-left {
    animation: slideLeft 35s linear infinite;
}
.slider-track.slide-right {
    animation: slideRight 35s linear infinite;
}
.slider-track:hover {
    animation-play-state: paused;
}

.slider-item {
    flex-shrink: 0;
    width: 160px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 20px;
    transition: all 0.35s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.slider-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(79,134,247,0.2);
}
.slider-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes slideRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

@media (max-width: 767px) {
    .slider-item { width: 120px; height: 56px; padding: 10px 14px; }
    .slider-track { gap: 14px; }
}

/* ==============================
   COMPARISON SECTION
   ============================== */
.comparison-section { background: var(--bg-primary); }

.comparison-pill {
    display: inline-block;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}
.comparison-pill:hover {
    background: rgba(79,134,247,0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

/* ==============================
   CTA SECTION
   ============================== */
.cta-section { background: var(--bg-secondary); }

.cta-box {
    background: linear-gradient(135deg, rgba(79,134,247,0.08), rgba(168,85,247,0.08));
    border: 1px solid rgba(79,134,247,0.2);
    border-radius: 24px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(79,134,247,0.05) 0%, transparent 50%);
    animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ==============================
   FOOTER
   ============================== */
footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.social-links a {
    display: inline-flex;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 8px;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-links a:hover { color: var(--accent); padding-left: 5px; }

/* ==============================
   TWO-STEP PAYMENT MODAL
   ============================== */
.modal-content {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    color: var(--text-primary);
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 auto;
    max-width: 480px;
    padding: 20px 0 10px;
}
.step-line {
    position: absolute;
    top: 36px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    z-index: 0;
}
.step-line-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    transition: width 0.5s ease;
}
.step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}
.step-dot .dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s;
}
.step-dot.active .dot {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}
.step-dot.completed .dot {
    background: var(--accent);
    border-color: var(--accent);
}
.step-dot span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}
.step-dot.active span { color: var(--text-primary); }

/* Form Steps */
.form-step {
    display: none;
    animation: stepFadeIn 0.4s ease;
}
.form-step.active { display: block; }

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Input with icon */
.input-icon-wrap {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.85rem;
    z-index: 2;
    pointer-events: none;
}
.form-control-icon {
    padding-left: 40px !important;
}

/* Client Range Radio */
.range-option {
    cursor: pointer;
}
.range-option input { display: none; }
.range-option span {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    color: var(--text-secondary);
}
.range-option input:checked + span {
    background: rgba(79,134,247,0.1);
    border-color: var(--accent);
    color: var(--accent);
}
.range-option:hover span {
    border-color: rgba(79,134,247,0.3);
}

/* Plan Cards in Step 2 */
.plan-select-card {
    background: var(--bg-secondary);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.plan-select-card:hover {
    border-color: rgba(79,134,247,0.3);
}
.plan-select-card.active {
    border-color: var(--accent);
    background: rgba(79,134,247,0.05);
}
.plan-radio {
    position: absolute;
    top: 12px;
    right: 12px;
    color: rgba(255,255,255,0.15);
    font-size: 1.1rem;
    transition: all 0.3s;
}
.plan-select-card.active .plan-radio {
    color: var(--accent);
}
.plan-popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 14px;
    border-radius: 0 0 8px 8px;
}
.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin: 4px 0;
}
.plan-price small {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.plan-mini-features {
    list-style: none;
    padding: 0;
    margin: 0;
}
.plan-mini-features li {
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 3px 0;
}
.plan-mini-features li i {
    color: var(--accent);
    margin-right: 6px;
    font-size: 0.7rem;
}

/* Payment Fields */
.payment-fields-wrap {
    background: linear-gradient(135deg, rgba(79,134,247,0.04), rgba(168,85,247,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 22px;
}

/* Stripe Inline Field - Beautiful */
.stripe-inline-field {
    display: flex;
    align-items: center;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: var(--bg-secondary);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.stripe-inline-field::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.stripe-inline-field:focus-within,
.stripe-inline-field.focused {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79,134,247,0.12), 0 4px 20px rgba(79,134,247,0.1);
}
.stripe-field-segment {
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 52px;
    transition: background 0.2s;
}
.stripe-field-segment.active {
    background: rgba(79,134,247,0.06);
}
.stripe-field-segment input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.stripe-field-segment input::placeholder {
    color: rgba(255,255,255,0.25);
    font-weight: 400;
}
.stripe-field-segment input:-webkit-autofill,
.stripe-field-segment input:-webkit-autofill:hover,
.stripe-field-segment input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 40px var(--bg-secondary) inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
    font-size: 0.95rem;
}
.stripe-card-number {
    flex: 2.2;
}
.stripe-expiry {
    flex: 1;
    min-width: 90px;
}
.stripe-cvv {
    flex: 0.9;
    min-width: 80px;
}
.stripe-field-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.card-brand-icon {
    color: rgba(255,255,255,0.3);
    margin-right: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s;
}
.card-brand-icon.detected {
    font-size: 1.3rem;
}
.card-brand-icon.fa-cc-visa { color: #1a1f71; }
.card-brand-icon.fa-cc-mastercard { color: #eb001b; }
.card-brand-icon.fa-cc-amex { color: #2e77bc; }
.card-brand-icon.fa-cc-discover { color: #ff6000; }
.card-brand-icon.detected.fa-cc-visa,
.card-brand-icon.detected.fa-cc-mastercard,
.card-brand-icon.detected.fa-cc-amex,
.card-brand-icon.detected.fa-cc-discover {
    filter: brightness(1.6);
}
.stripe-field-icon-right {
    color: rgba(255,255,255,0.2);
    margin-left: 8px;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.stripe-inline-field .shake {
    background: rgba(239,68,68,0.08);
}
.stripe-inline-field .shake input {
    color: #ef4444;
}
/* Stripe Elements Container */
.stripe-element-container {
    background: var(--bg-secondary);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s;
}
.stripe-element-container.StripeElement--focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(79,134,247,0.12), 0 4px 20px rgba(79,134,247,0.1);
}
.stripe-element-container.StripeElement--invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

/* Autofill styling for regular form fields */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 40px var(--bg-secondary) inset !important;
    -webkit-text-fill-color: #fff !important;
    transition: background-color 5000s ease-in-out 0s;
    border-color: var(--accent) !important;
}

/* Trial Summary */
.trial-summary {
    background: rgba(79,134,247,0.05);
    border: 1px solid rgba(79,134,247,0.15);
    border-radius: 12px;
    padding: 16px 20px;
}

/* Form Controls */
.form-control {
    background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 10px;
    padding: 12px 16px;
}
.form-control:focus {
    background: var(--bg-secondary);
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-control::placeholder { color: var(--text-secondary); }
.form-label { color: var(--text-secondary); }
.form-check-input {
    background-color: var(--bg-secondary);
    border-color: rgba(255,255,255,0.15);
}
.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}
.form-check-input:focus {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Validation Shake */
@keyframes shake {
    0%,100% { transform: translateX(0); }
    20%,60% { transform: translateX(-6px); }
    40%,80% { transform: translateX(6px); }
}
.shake { animation: shake 0.4s ease; }

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Shimmer effect on cards */
.diff-card::after,
.testimonial-card::after,
.mobile-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.02) 50%, transparent 60%);
    transition: transform 0.6s;
    transform: translateX(-100%);
}
.diff-card:hover::after,
.testimonial-card:hover::after,
.mobile-card:hover::after {
    transform: translateX(100%);
}

/* ==============================
   MOBILE MENU
   ============================== */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        position: static !important;
        visibility: visible !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        overflow: visible !important;
    }
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: none;
    z-index: 1039;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
/*.mobile-menu-overlay.active {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/

@media (max-width: 991px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #0f1729 0%, #111827 100%);
        padding: 80px 30px 30px;
        z-index: 1040;
        display: block;
        overflow-y: auto;
        border-left: 1px solid rgba(255,255,255,0.06);
        box-shadow: -20px 0 60px rgba(0,0,0,0.5);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
    }
    .navbar-collapse.open {
        transform: translateX(0);
        visibility: visible;
    }
    .navbar-collapse .navbar-nav {
        flex-direction: column;
        gap: 0;
    }
    .navbar-collapse .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .navbar-collapse .nav-item:last-child {
        border-bottom: none;
        margin-top: 20px;
    }
    .navbar-collapse .nav-link {
        padding: 16px 5px !important;
        font-size: 1.05rem;
        font-weight: 500;
        display: flex;
        align-items: center;
        transition: all 0.2s;
        border-radius: 8px;
    }
    .navbar-collapse .nav-link:hover {
        background: rgba(79,134,247,0.08);
        padding-left: 12px !important;
        color: var(--accent) !important;
    }
    .navbar-collapse .ms-lg-3 { margin-left: 0 !important; }
    .navbar-collapse .btn-primary {
        display: block;
        text-align: center;
        padding: 14px !important;
        font-size: 1rem;
        border-radius: 12px;
    }
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
        position: relative;
        z-index: 1041;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-toggler-icon {
        width: 24px;
        height: 24px;
    }
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 991px) {
    .hero-section { padding-top: 100px; }
    .hero-section .row { min-height: auto !important; padding: 40px 0; }
    .display-3 { font-size: 2.5rem; }
    .display-5 { font-size: 1.8rem; }
    .feature-tabs { gap: 5px; flex-wrap: wrap; }
    .feature-tabs .nav-link { padding: 10px 16px !important; font-size: 0.85rem; }
    .cta-box { padding: 50px 20px; }
    .pricing-card { margin-bottom: 20px; }
    .diff-card, .testimonial-card { margin-bottom: 15px; }
}

@media (max-width: 767px) {
    .display-3 { font-size: 1.8rem; }
    .display-4 { font-size: 1.6rem; }
    .display-5 { font-size: 1.4rem; }
    .display-6 { font-size: 1.2rem; }
    h3 { font-size: 1.3rem; }
    .lead { font-size: 1rem; }
    .stat-card h2 { font-size: 1.3rem; }
    .stat-card { padding: 20px 15px; }
    .pricing-card { padding: 30px 20px; }
    .hero-section { padding-top: 80px; }
    .hero-section .btn-lg { padding: 12px 24px; font-size: 0.95rem; }
    .hero-image-wrapper { margin-top: 30px; }
    section.py-5 { padding: 40px 0 !important; }
    .badge-pill { font-size: 0.8rem; padding: 6px 14px; }
    .trust-logos img { height: 25px; }
    .feature-tabs { gap: 3px; }
    .feature-tabs .nav-link { padding: 8px 12px !important; font-size: 0.75rem; }
    .feature-tabs .nav-link i { display: none; }
    .feature-item { font-size: 0.85rem; padding: 8px 0; }
    .diff-card { padding: 25px 20px; }
    .testimonial-card { padding: 25px 20px; }
    .mobile-section .row { text-align: center; }
    .mobile-feature-item { flex-direction: column; text-align: center; }
    .mobile-icon { margin: 0 auto 10px !important; }
    .comparison-pill { font-size: 0.8rem; padding: 8px 16px; }
    .cta-box { padding: 35px 20px; border-radius: 20px; }
    .cta-box .btn-lg { width: 100%; }
    .included-img { border-radius: 12px; }
    footer .row > div { text-align: center; }
    footer .social-links { justify-content: center; }
    .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 15px; }

    /* Modal responsive */
    .modal-dialog { margin: 0; max-width: 100%; height: 100%; max-height: 100vh; }
    .modal-content { border-radius: 0; height: 100%; max-height: 100vh; }
    .modal-body { padding: 12px 16px 80px !important; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }
    .modal-header { position: sticky; top: 0; z-index: 2; background: var(--bg-card); }
    .step-indicator { margin-top: 8px; }
    .step-dot span { font-size: 0.65rem; }
    .plan-select-card { padding: 15px 12px; }
    .plan-price { font-size: 1.4rem; }
    .plan-mini-features { font-size: 0.72rem; }
    .payment-fields-wrap { padding: 15px; }

    /* Stripe field stacks on small screens */
    .stripe-inline-field { flex-wrap: wrap; border-radius: 12px; }
    .stripe-card-number { flex: 1 1 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stripe-expiry, .stripe-cvv { flex: 1; }
    .stripe-field-divider:first-of-type { display: none; }

    .trial-summary { padding: 14px 16px; font-size: 0.9rem; }
    #formStep2 .d-flex.gap-3 { flex-direction: column; gap: 10px !important; }
    #backToStep1 { width: 100%; }
}

@media (max-width: 767px) {
    .hero-image-wrapper::before { left: 0; right: 0; }
    section, .container { max-width: 100vw; overflow-x: hidden; }
}

@media (max-width: 400px) {
    .display-3 { font-size: 1.5rem; }
    .container { padding-left: 12px; padding-right: 12px; }
    .feature-tabs .nav-link { padding: 6px 8px !important; font-size: 0.7rem; }
    .plan-select-card { padding: 12px 10px; }
    .plan-price { font-size: 1.2rem; }
    .btn-glow { font-size: 0.9rem; }
}

/* ============================
   Disclosure Top Bar
   ============================ */
.disclosure-bar {
    background: linear-gradient(90deg, #1a2332 0%, #0f172a 100%);
    padding: 8px 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(79,134,247,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1031;
    text-align: center;
}
.disclosure-bar .container {
    gap: 12px;
}
.disclosure-bar span {
    line-height: 1.4;
}
.disclosure-chat-btn {
    background: var(--accent);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s;
}
.disclosure-chat-btn:hover {
    background: #3a6fd8;
    color: #fff;
    transform: translateY(-1px);
}
.navbar.fixed-top {
    top: 38px;
}

@media (max-width: 767px) {
    .disclosure-bar { font-size: 0.68rem; padding: 6px 0; }
    .disclosure-bar span { display: block; text-align: center; }
    .disclosure-chat-btn { margin-top: 4px; }
    .navbar.fixed-top { top: 52px; }
}

/* ============================
   Form Disclosure
   ============================ */
.form-disclosure {
    background: rgba(79,134,247,0.08);
    border: 1px solid rgba(79,134,247,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}
.form-disclosure i {
    color: var(--accent);
}

/* ============================
   Mobile Call Bar
   ============================ */
.mobile-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: linear-gradient(135deg, var(--accent) 0%, #3a6fd8 100%);
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.mobile-call-btn:hover {
    color: #fff;
}

/* ============================
   Chat Widget
   ============================ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
}
.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #3a6fd8);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(79,134,247,0.4);
    position: relative;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(79,134,247,0.5);
}
.chat-icon-close { display: none; }
.chat-window.open ~ .chat-toggle .chat-icon-open { display: none; }
.chat-window.open ~ .chat-toggle .chat-icon-close { display: inline; }
.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}
.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 360px;
    max-height: 480px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
}
.chat-window.open {
    display: flex;
    animation: chatSlideUp 0.3s ease;
}
@keyframes chatSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-header {
    background: linear-gradient(135deg, var(--accent), #3a6fd8);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}
.chat-status {
    font-size: 0.7rem;
    opacity: 0.9;
}
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 4px;
}
.chat-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}
.chat-close:hover { background: rgba(255,255,255,0.25); }
.chat-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    max-height: 300px;
}
.chat-message {
    max-width: 85%;
    margin-bottom: 12px;
}
.chat-message.bot {
    background: var(--bg-card);
    border-radius: 12px 12px 12px 4px;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.05);
}
.chat-message.bot p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.85);
}
.chat-time {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    display: block;
}
.chat-input-area {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: var(--bg-card);
}
.chat-input-area .form-control {
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 20px;
    padding: 8px 16px;
}
.chat-input-area .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(79,134,247,0.15);
}
.chat-input-area .btn {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .chat-widget { bottom: 70px; right: 16px; }
    .chat-window { width: calc(100vw - 32px); right: -8px; max-height: 400px; }
    .chat-toggle { width: 52px; height: 52px; font-size: 1.2rem; }
}

/* ============================
   About Page Extras
   ============================ */
.diff-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s;
}
.diff-card:hover {
    border-color: rgba(79,134,247,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.diff-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(79,134,247,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 16px;
}
.footer-disclosure {
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.06);
}
