/* CallSpedia - Distinctive Royal Cobalt Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* Typography & Display Utilities */
.font-display {
    font-family: 'Space Grotesk', var(--font-sans);
}
.font-mono {
    font-family: var(--font-mono);
}

.text-gradient-brand {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-royal {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Eyebrow Label */
.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-royal);
    margin-bottom: 1rem;
}

/* Buttons */
.btn-brand-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background: var(--gradient-btn);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-brand-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.28) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(25deg);
    animation: btnShimmerSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes btnShimmerSweep {
    0%, 65% { left: -70%; }
    100% { left: 150%; }
}

.btn-brand-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.42);
    filter: brightness(1.06);
    color: #FFFFFF;
}

.btn-clean-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    background: #FFFFFF;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: all 0.2s ease;
}

.btn-clean-outline:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: var(--primary-royal);
    transform: translateY(-1px);
}

/* Header & Clean Navigation */
.header-clean {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.35rem;
    color: #0A1128;
    letter-spacing: -0.02em;
}

.brand-logo-emblem {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1E40AF 0%, #4F46E5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
    color: #FFFFFF;
}

.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.4rem 0.2rem;
    position: relative;
    transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-royal);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-btn);
    border-radius: 2px;
}

/* Mobile Toggle */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.4rem;
}

.mobile-drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    padding: 1.5rem;
    display: none;
    flex-direction: column;
    gap: 1rem;
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
}

.mobile-drawer.open {
    display: flex;
}

/* Hero Section (White Foundation with Radial Ambient Light) */
.hero-wrapper {
    padding: 5rem 0 5.5rem;
    background: 
        radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
        #FFFFFF;
    border-bottom: 1px solid var(--border-light);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-heading {
    font-size: 3rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0A1128;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .hero-heading {
        font-size: 3.8rem;
    }
}

.hero-subtext {
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2rem;
}

/* Distinctive Telephony Soundwave & Interactive Command Center */
.telephony-visualizer-card {
    background: #080E24;
    border-radius: var(--radius-xl);
    padding: 2.25rem 2rem;
    color: #FFFFFF;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(8, 14, 36, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 40px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.live-dot-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.soundwave-container {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    padding: 0 0.5rem;
}

.soundwave-bar {
    width: 4px;
    background: linear-gradient(180deg, #38BDF8 0%, #6366F1 100%);
    border-radius: 4px;
    animation: waveBounce 1.4s ease-in-out infinite alternate;
}
.soundwave-bar:nth-child(1) { height: 12px; animation-delay: 0.1s; }
.soundwave-bar:nth-child(2) { height: 26px; animation-delay: 0.3s; }
.soundwave-bar:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.soundwave-bar:nth-child(4) { height: 32px; animation-delay: 0.5s; }
.soundwave-bar:nth-child(5) { height: 22px; animation-delay: 0.4s; }
.soundwave-bar:nth-child(6) { height: 14px; animation-delay: 0.2s; }

@keyframes waveBounce {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.1); }
}

/* Interactive Telephony Routing Feed Rows */
.telephony-feed-row {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.35s ease;
    position: relative;
}

.telephony-feed-row.live-active {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(96, 165, 250, 0.45);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.18);
}

.telephony-feed-row.live-active::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: #38BDF8;
    border-radius: 4px;
}

/* Floating Micro Trust Badges */
.floating-trust-badge {
    position: absolute;
    background: #FFFFFF;
    color: #0A1128;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(10, 17, 40, 0.16), 0 0 0 1px rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
    z-index: 5;
    animation: floatBadge 4.5s ease-in-out infinite alternate;
    pointer-events: none;
}

.floating-trust-badge-1 {
    top: -18px;
    right: -14px;
    animation-delay: 0.5s;
}

.floating-trust-badge-2 {
    bottom: -18px;
    left: -14px;
    animation-delay: 1.8s;
}

@keyframes floatBadge {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-7px); }
}

@media (max-width: 991px) {
    .floating-trust-badge {
        display: none;
    }
}

/* Trust Bar */
.trust-strip {
    padding: 2.25rem 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #EEF2FF;
    color: var(--primary-royal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Clean Cards (White Base, Crisp Modern Elevation) */
.card-clean,
.card-clean-white {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.card-clean::before,
.card-clean-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #6366F1, #10B981);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.card-clean:hover,
.card-clean-white:hover {
    border-color: #BFDBFE;
    box-shadow: 0 18px 30px -6px rgba(37, 99, 235, 0.1), 0 6px 12px -3px rgba(15, 23, 42, 0.04);
    transform: translateY(-5px);
}

.card-clean:hover::before,
.card-clean-white:hover::before {
    opacity: 1;
}

/* Scroll Reveal Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Horizontal Step Ribbon */
.ribbon-steps {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.ribbon-steps::-webkit-scrollbar {
    display: none;
}

.ribbon-step-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

.ribbon-step-item .num {
    font-family: var(--font-mono);
    color: var(--primary-royal);
    font-weight: 700;
}

/* Approved Traffic Channels Grid */
.traffic-channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .traffic-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .traffic-channels-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.traffic-channel-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.traffic-channel-card:hover {
    border-color: var(--accent-indigo);
    box-shadow: var(--shadow-hover);
}

.traffic-channel-card .tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-royal);
    margin-bottom: 0.4rem;
}

/* Distinct Royal Slate Contrast Section */
.section-royal-slate {
    background: #0A1128;
    color: #FFFFFF;
    padding: 5.5rem 0;
}

.card-slate-contrast {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--text-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.card-slate-contrast:hover {
    transform: translateY(-3px);
}

.card-slate-contrast .badge-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #EEF2FF;
    color: var(--primary-royal);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* 5-Step Application Wizard Styles */
.wizard-container {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    margin-top: 2rem;
}

.wizard-nav-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
}

.wizard-stepper-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #E2E8F0;
    z-index: 1;
    transform: translateY(-50%);
}

.wizard-stepper-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--gradient-btn);
    z-index: 2;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.wizard-stepper-node {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #CBD5E1;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    transition: all 0.25s ease;
}

.wizard-stepper-node.active {
    background: var(--primary-royal);
    border-color: var(--primary-royal);
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.wizard-stepper-node.completed {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
}

/* Interactive Pill Toggles (Yes / No) */
.toggle-pill-group {
    display: inline-flex;
    background: #F1F5F9;
    padding: 3px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
}

.toggle-pill-btn {
    padding: 0.45rem 1.4rem;
    border-radius: var(--radius-full);
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.15s ease;
}

.toggle-pill-btn.active {
    background: #0A1128;
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Interactive Multi-Select Category Tag Chips */
.tag-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag-chip {
    padding: 0.45rem 0.9rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.tag-chip:hover {
    border-color: #94A3B8;
}

.tag-chip.selected {
    background: #0A1128;
    border-color: #0A1128;
    color: #FFFFFF;
}

/* Multi-select Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

@media (min-width: 640px) {
    .checkbox-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.checkbox-item-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-item-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: var(--primary-royal);
    cursor: pointer;
}

/* Clean Form Controls */
.field-group {
    margin-bottom: 1.35rem;
}

.field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.field-input, .field-select, .field-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field-input:focus, .field-select:focus, .field-textarea:focus {
    outline: none;
    border-color: var(--primary-royal);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* International Phone Country Picker & Real-Time Validation */
.phone-picker-wrapper {
    position: relative;
    width: 100%;
}

.phone-picker-control {
    display: flex;
    align-items: stretch;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
}

.phone-picker-control:focus-within {
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.phone-picker-control.is-invalid {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.phone-picker-control.is-valid {
    border-color: #10B981 !important;
}

.phone-country-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.75rem 0.95rem;
    background: #F8FAFC;
    border: none;
    border-right: 1px solid var(--border-light);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s ease;
    user-select: none;
}

.phone-country-trigger:hover,
.phone-country-trigger:focus {
    background: #EFF6FF;
    outline: none;
}

.phone-country-flag {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
}

.phone-country-dial {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #1D4ED8;
    font-weight: 700;
}

.phone-country-arrow {
    color: #64748B;
    transition: transform 0.2s ease;
}

.phone-picker-wrapper.dropdown-open .phone-country-arrow {
    transform: rotate(180deg);
}

.phone-local-input {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.75rem 1rem !important;
    flex: 1;
    min-width: 0;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    outline: none !important;
    background: transparent;
    color: var(--text-primary);
}

.phone-local-input::placeholder {
    color: #94A3B8;
    font-family: var(--font-mono);
}

/* Dropdown list */
.phone-country-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-width: 380px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    box-shadow: 0 18px 36px -4px rgba(15, 23, 42, 0.2), 0 0 1px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow: hidden;
    animation: countryDropdownFade 0.18s ease-out;
}

@keyframes countryDropdownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.phone-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #E2E8F0;
    background: #F8FAFC;
}

.phone-search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.88rem;
    width: 100%;
    color: var(--text-primary);
    font-family: inherit;
}

.phone-country-list {
    max-height: 250px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.phone-country-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.12s ease;
    border-bottom: 1px solid #F8FAFC;
}

.phone-country-item:hover,
.phone-country-item.is-selected {
    background: #EFF6FF;
}

.phone-country-item-left {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 500;
    color: #0F172A;
}

.phone-country-item-dial {
    font-family: var(--font-mono);
    color: #2563EB;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Validation Feedback message */
.phone-validation-feedback {
    font-size: 0.8rem;
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.phone-validation-feedback.error {
    color: #DC2626;
}

.phone-validation-feedback.valid {
    color: #059669;
}

/* FAQ Accordion - Unified for Homepage & Dedicated FAQ */
.clean-faq-list,
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 860px;
    margin: 2rem auto 0;
}

.clean-faq-card,
.faq-item {
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.clean-faq-card:hover,
.faq-item:hover {
    border-color: #CBD5E1;
}

.clean-faq-card.active,
.faq-item.active {
    border-color: #93C5FD;
    box-shadow: 0 4px 16px -2px rgba(29, 78, 216, 0.08);
}

.clean-faq-header,
.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
    gap: 1rem;
}

.clean-faq-header:hover,
.faq-trigger:hover,
.clean-faq-card.active .clean-faq-header,
.faq-item.active .faq-trigger {
    color: var(--primary-royal);
}

.clean-faq-header svg,
.faq-trigger svg,
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1D4ED8;
}

.clean-faq-card.active .clean-faq-header svg,
.faq-item.active .faq-trigger svg,
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.clean-faq-body,
.faq-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
    padding: 0 1.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    box-sizing: border-box;
}

.clean-faq-card.active .clean-faq-body,
.faq-item.active .faq-content {
    opacity: 1;
    padding-bottom: 1.5rem;
}

/* Floating WhatsApp Support Widget & Popup Message */
.wa-floating-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Pure Circular Icon Button */
.wa-icon-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    text-decoration: none;
}

.wa-icon-button:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
    color: #FFFFFF !important;
}

.wa-icon-button svg {
    width: 32px;
    height: 32px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Radar pulse animation around icon */
.wa-icon-pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: waPulseRing 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    pointer-events: none;
}

@keyframes waPulseRing {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* Unread Badge */
.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-mono);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
}

/* Message Popup Box (Appears on Land / Refresh) */
.wa-message-popup {
    position: absolute;
    bottom: 74px;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 16px 40px -6px rgba(10, 17, 40, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    z-index: 10000;
    display: none;
    transform-origin: bottom right;
    animation: waPopupEntrance 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.wa-message-popup.show {
    display: block;
}

@keyframes waPopupEntrance {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wa-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    color: #64748B;
    font-size: 1.15rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.wa-popup-close:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.wa-popup-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
}

.wa-popup-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.wa-popup-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-popup-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    border: 2px solid #FFFFFF;
}

.wa-popup-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.wa-popup-status {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 600;
}

.wa-popup-body {
    margin-bottom: 1rem;
}

.wa-popup-bubble {
    background: #F0FDF4;
    border: 1px solid #DCFCE7;
    color: #14532D;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0.7rem 0.85rem;
    border-radius: 12px 12px 12px 2px;
    margin-bottom: 0.45rem;
}

.wa-popup-bubble-sub {
    color: #64748B;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0;
    padding: 0 0.2rem;
}

.wa-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1rem;
    background: #25D366;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.86rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.wa-popup-btn:hover {
    background: #20BA56;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
    color: #FFFFFF !important;
}

/* Backward compatibility for any remaining legacy button */
.whatsapp-widget {
    display: none !important;
}

/* Success Screen Animation */
@keyframes successScreenEntrance {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(24px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Top Utility Bar & Icons */
.top-utility-bar {
    background: #060B18;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-utility-items {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.top-utility-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.top-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: inline-block;
}

.top-sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.top-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-link:hover {
    color: #93C5FD;
}

/* Footer Dark */
.footer-royal-dark {
    background: #060B18;
    color: #FFFFFF;
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-royal-dark a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-royal-dark a:hover {
    color: #FFFFFF;
}

/* Footer Grid Architecture */
.footer-main-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1.3fr;
    gap: 3.5rem;
    align-items: start;
}

.footer-brand-col {
    max-width: 480px;
}

.footer-brand-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 1.5rem;
}

/* Footer Contact List with Iconic Badges */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 440px;
    margin-top: 1.25rem;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-icon-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-icon-badge svg {
    width: 15px;
    height: 15px;
    display: block;
}

.footer-contact-text {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.footer-contact-lbl {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: 2.2fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-apply-col {
        grid-column: span 4;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 900px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-brand-col {
        grid-column: span 2;
        max-width: 100%;
    }
    .footer-apply-col {
        grid-column: span 2;
    }
}

@media (max-width: 580px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-brand-col {
        grid-column: span 1;
    }
    .footer-apply-col {
        grid-column: span 1;
    }
}

@media (max-width: 1024px) {
    .nav-menu-desktop {
        display: none;
    }
    .mobile-toggle-btn {
        display: block;
    }
}

/* ==========================================================================
   Campaigns Directory (Card-exact Replica with Animations - No Prices)
   ========================================================================== */

.campaigns-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0A1128;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .campaigns-hero-title {
        font-size: 3.4rem;
    }
}

/* Search & Filter Bar Container */
.campaign-filters-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 3px rgba(10, 17, 40, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.campaign-filters-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 768px) {
    .campaign-filters-row {
        grid-template-columns: 1.8fr 1fr 1fr;
    }
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
}

.search-field-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.2s ease;
}

.search-field-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.filter-select-input {
    width: 100%;
    padding: 0.75rem 2.25rem 0.75rem 1rem;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    font-size: 0.92rem;
    color: var(--text-primary);
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 14px;
    transition: all 0.2s ease;
}

.filter-select-input:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.campaign-counter-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
}

/* 3-Column Grid for Campaign Cards */
.campaigns-catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
    .campaigns-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .campaigns-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Campaign Card V2 - Exact match to user screenshot */
.campaign-card-v2 {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.6rem 1.6rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(10, 17, 40, 0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    animation: campaignCardEntrance 0.5s ease backwards;
}

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

.campaign-card-v2:hover {
    transform: translateY(-5px);
    border-color: #93C5FD;
    box-shadow: 0 16px 32px -4px rgba(37, 99, 235, 0.12), 0 4px 8px -2px rgba(10, 17, 40, 0.04);
}

/* Card Top Row */
.campaign-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.campaign-category-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2563EB;
}

.campaign-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #059669;
}

.traffic-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: liveTrafficPulse 1.8s infinite ease-in-out;
}

@keyframes liveTrafficPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

/* Card Heading */
.campaign-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0A1128;
    line-height: 1.35;
    margin-bottom: 0.45rem;
    transition: color 0.2s ease;
}

.campaign-card-v2:hover .campaign-card-title {
    color: #1D4ED8;
}

/* Sub-metadata tags */
.campaign-card-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 0.45rem;
}

.meta-divider {
    color: #CBD5E1;
}

/* Approval note */
.campaign-approval-note {
    font-size: 0.76rem;
    color: #94A3B8;
    margin-bottom: 1.35rem;
}

/* Apply CTA Button */
.btn-campaign-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 1.45rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0284C7 0%, #2563EB 55%, #4F46E5 100%);
    color: #FFFFFF;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    width: fit-content;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-campaign-apply:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.35);
    filter: brightness(1.08);
    color: #FFFFFF;
}
