/**
 * AnySolution.it - Custom CSS (Vortex-inspired)
 * Palette:
 * - Dark blue primary: #21223f
 * - Blue: #1D467A
 * - Green accent: #add03e
 * - Gray text: #a8a9c4, #6C6D8B
 * - Dark text: #4a4a4a
 */

/* ==========================================
   SELECTION & BASE
   ========================================== */
::selection {
    background: rgba(173, 208, 62, 0.25);
    color: #21223f;
}

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

html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Arrow icon animation on hover — increases gap */
.btn:hover {
    gap: 0.75rem;
}

.btn-primary {
    background: #1D467A;
    color: #fff;
    box-shadow: 0 2px 8px rgba(29, 70, 122, 0.15);
}
.btn-primary:hover {
    background: #21223f;
    box-shadow: 0 12px 28px -6px rgba(33, 34, 63, 0.35);
    transform: translateY(-3px);
}
.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(33, 34, 63, 0.3);
}

.btn-accent {
    background: linear-gradient(135deg, #add03e 0%, #c2e65a 100%);
    color: #21223f;
    box-shadow: 0 2px 8px rgba(173, 208, 62, 0.2);
    font-weight: 700;
}
.btn-accent:hover {
    background: linear-gradient(135deg, #9ec032 0%, #add03e 100%);
    box-shadow: 0 12px 28px -6px rgba(173, 208, 62, 0.4);
    transform: translateY(-3px);
}
.btn-accent:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(173, 208, 62, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(29, 70, 122, 0.3);
    color: #1D467A;
    backdrop-filter: blur(4px);
}
.btn-outline:hover {
    background: #1D467A;
    color: #fff;
    border-color: #1D467A;
    box-shadow: 0 12px 28px -6px rgba(29, 70, 122, 0.25);
    transform: translateY(-3px);
}
.btn-outline:active {
    transform: translateY(-1px);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

.btn-white {
    background: #fff;
    color: #21223f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-weight: 600;
}
.btn-white:hover {
    background: #fff;
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}
.btn-white:active {
    transform: translateY(-1px);
}

/* Small button variant */
.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    border-radius: 0.625rem;
}

/* Large button variant */
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border-radius: 0.875rem;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    box-shadow: 0 20px 50px -12px rgba(33, 34, 63, 0.12);
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(173, 208, 62, 0.3);
}

.card-dark {
    background: linear-gradient(145deg, #21223f 0%, #2a2c50 50%, #21223f 100%);
    border-radius: 1rem;
    padding: 2rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-dark:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(173, 208, 62, 0.25);
}

/* ==========================================
   GLASS CARD - Glassmorphism effect
   ========================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(173, 208, 62, 0.2);
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

/* Light variant */
.glass-card-light {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card-light:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(173, 208, 62, 0.3);
    box-shadow: 0 20px 50px -12px rgba(33, 34, 63, 0.1);
    transform: translateY(-4px);
}

/* ==========================================
   SERVICE CARD HOVER - Premium border glow
   ========================================== */
.service-card-hover {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.service-card-hover::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}
.service-card-hover:hover {
    box-shadow: 0 20px 50px -12px rgba(33, 34, 63, 0.12),
                0 0 30px -8px rgba(173, 208, 62, 0.15);
    transform: translateY(-6px) scale(1.02);
}
.service-card-hover:hover::before {
    background: linear-gradient(135deg, #add03e, #1D467A, #add03e);
    opacity: 1;
}

/* Dark variant */
.service-card-hover-dark {
    background: linear-gradient(145deg, #21223f 0%, #2a2c50 50%, #21223f 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.service-card-hover-dark::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}
.service-card-hover-dark:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 40px -8px rgba(173, 208, 62, 0.12);
    transform: translateY(-6px) scale(1.02);
}
.service-card-hover-dark:hover::before {
    background: linear-gradient(135deg, #add03e, #1D467A, #add03e);
    opacity: 1;
}

/* ==========================================
   STAT CARD - Metrics/statistics display
   ========================================== */
.stat-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #add03e, #1D467A);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
    box-shadow: 0 20px 50px -12px rgba(33, 34, 63, 0.1);
    transform: translateY(-4px);
}
.stat-card:hover::after {
    transform: scaleX(1);
}
.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #1D467A, #add03e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .stat-label {
    font-size: 0.875rem;
    color: #6C6D8B;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Dark stat card */
.stat-card-dark {
    background: linear-gradient(145deg, #21223f, #2a2c50);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.stat-card-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #add03e, #1D467A);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card-dark:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}
.stat-card-dark:hover::after {
    transform: scaleX(1);
}
.stat-card-dark .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: #add03e;
}
.stat-card-dark .stat-label {
    font-size: 0.875rem;
    color: #a8a9c4;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ==========================================
   TESTIMONIAL CARD
   ========================================== */
.testimonial-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(173, 208, 62, 0.15);
    font-family: Georgia, serif;
    pointer-events: none;
}
.testimonial-card:hover {
    box-shadow: 0 20px 50px -12px rgba(33, 34, 63, 0.1);
    transform: translateY(-4px);
    border-color: rgba(173, 208, 62, 0.2);
}
.testimonial-card .stars {
    display: flex;
    gap: 0.25rem;
    color: #add03e;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.testimonial-card .testimonial-text {
    color: #4a4a4a;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-card .testimonial-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(173, 208, 62, 0.3);
}
.testimonial-card .testimonial-name {
    font-weight: 700;
    color: #21223f;
    font-size: 0.9375rem;
}
.testimonial-card .testimonial-role {
    font-size: 0.8125rem;
    color: #6C6D8B;
}

/* Dark testimonial */
.testimonial-card-dark {
    background: linear-gradient(145deg, #21223f, #2a2c50);
    border-radius: 1rem;
    padding: 2rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.testimonial-card-dark::before {
    content: '\201C';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(173, 208, 62, 0.1);
    font-family: Georgia, serif;
    pointer-events: none;
}
.testimonial-card-dark:hover {
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
    border-color: rgba(173, 208, 62, 0.2);
}
.testimonial-card-dark .testimonial-text {
    color: #a8a9c4;
}
.testimonial-card-dark .testimonial-name {
    color: #fff;
}
.testimonial-card-dark .testimonial-role {
    color: #6C6D8B;
}

/* ==========================================
   PROCESS STEP - Timeline with connecting line
   ========================================== */
.process-steps {
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% - 4rem);
    background: linear-gradient(180deg, #add03e 0%, #1D467A 50%, #add03e 100%);
    opacity: 0.3;
}

/* Horizontal connecting line (for row layout) */
.process-steps-horizontal {
    position: relative;
}
.process-steps-horizontal::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 3rem;
    right: 3rem;
    height: 2px;
    background: linear-gradient(90deg, #add03e 0%, #1D467A 50%, #add03e 100%);
    opacity: 0.3;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}
.process-step .step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #21223f, #1D467A);
    color: #add03e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    border: 3px solid rgba(173, 208, 62, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.process-step .step-number::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(173, 208, 62, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-step:hover .step-number {
    transform: scale(1.1);
    border-color: rgba(173, 208, 62, 0.5);
    box-shadow: 0 0 30px rgba(173, 208, 62, 0.2);
}
.process-step:hover .step-number::after {
    border-color: rgba(173, 208, 62, 0.25);
    inset: -10px;
}
.process-step .step-title {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}
.process-step .step-desc {
    font-size: 0.875rem;
    color: #6C6D8B;
    line-height: 1.6;
}

/* ==========================================
   FAQ ITEM - Accordion style
   ========================================== */
.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}
.faq-item + .faq-item {
    margin-top: 0.75rem;
}
.faq-item:hover {
    border-color: rgba(173, 208, 62, 0.2);
}
.faq-item.active {
    border-color: rgba(173, 208, 62, 0.3);
    box-shadow: 0 4px 20px -4px rgba(33, 34, 63, 0.08);
}
.faq-item .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #21223f;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    user-select: none;
}
.faq-item .faq-question:hover {
    color: #1D467A;
}
.faq-item .faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(173, 208, 62, 0.1);
    color: #add03e;
    font-size: 0.875rem;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: #add03e;
    color: #21223f;
}
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}
.faq-item .faq-answer p {
    color: #6C6D8B;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Dark FAQ */
.faq-item-dark {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, rgba(33, 34, 63, 0.8), rgba(42, 44, 80, 0.8));
}
.faq-item-dark + .faq-item-dark {
    margin-top: 0.75rem;
}
.faq-item-dark:hover {
    border-color: rgba(173, 208, 62, 0.15);
}
.faq-item-dark.active {
    border-color: rgba(173, 208, 62, 0.25);
}
.faq-item-dark .faq-question {
    color: #fff;
}
.faq-item-dark .faq-answer p {
    color: #a8a9c4;
}

/* ==========================================
   HERO BADGE
   ========================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(173, 208, 62, 0.1);
    color: #add03e;
    border: 1px solid rgba(173, 208, 62, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-badge .badge-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #add03e;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* ==========================================
   FLOATING ORB - Decorative background
   ========================================== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}
.floating-orb-green {
    background: rgba(173, 208, 62, 0.12);
}
.floating-orb-blue {
    background: rgba(29, 70, 122, 0.15);
}
.floating-orb-purple {
    background: rgba(100, 80, 180, 0.08);
}

/* ==========================================
   SECTIONS
   ========================================== */
.section-dark {
    background: linear-gradient(145deg, #21223f 0%, #1a1b35 40%, #21223f 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 10% 20%, rgba(29, 70, 122, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 500px 350px at 90% 80%, rgba(173, 208, 62, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.section-light {
    background: linear-gradient(180deg, #f8f8fb 0%, #f0f0f5 100%);
    position: relative;
}

/* ==========================================
   ICON BOX
   ========================================== */
.icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.icon-box-accent {
    background: rgba(173, 208, 62, 0.1);
    color: #add03e;
}
.icon-box-accent:hover {
    background: #add03e;
    color: #21223f;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px -4px rgba(173, 208, 62, 0.3);
}
.icon-box-primary {
    background: rgba(29, 70, 122, 0.1);
    color: #1D467A;
}
.icon-box-primary:hover {
    background: #1D467A;
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px -4px rgba(29, 70, 122, 0.3);
}
.icon-box-dark {
    background: rgba(255, 255, 255, 0.06);
    color: #add03e;
}
.icon-box-dark:hover {
    background: rgba(173, 208, 62, 0.15);
    transform: scale(1.1) rotate(-5deg);
}
.icon-box-lg {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 1.5rem;
    border-radius: 1rem;
}

/* ==========================================
   GRADIENT BORDER
   ========================================== */
.gradient-border {
    position: relative;
    border-radius: 1rem;
    background: #fff;
    isolation: isolate;
}
.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, #add03e, #1D467A, #add03e);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.gradient-border-dark {
    position: relative;
    border-radius: 1rem;
    background: linear-gradient(145deg, #21223f, #2a2c50);
    isolation: isolate;
}
.gradient-border-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(173, 208, 62, 0.4), rgba(29, 70, 122, 0.3), rgba(173, 208, 62, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ==========================================
   TEXT UTILITIES
   ========================================== */
.text-balance {
    text-wrap: balance;
}

/* ==========================================
   BADGES
   ========================================== */
.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(173, 208, 62, 0.1);
    color: #add03e;
    border: 1px solid rgba(173, 208, 62, 0.15);
}

.badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(29, 70, 122, 0.1);
    color: #1D467A;
    border: 1px solid rgba(29, 70, 122, 0.15);
}

/* Solid variants for dark backgrounds */
.badge-accent-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #21223f;
    color: #add03e;
}

.badge-primary-solid {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #1D467A;
    color: #fff;
}

/* ==========================================
   DIVIDER
   ========================================== */
.divider-accent {
    width: 4rem;
    height: 0.25rem;
    background: linear-gradient(90deg, #add03e, #1D467A);
    border-radius: 9999px;
}

/* ==========================================
   GRADIENTS
   ========================================== */
.bg-gradient-primary {
    background: linear-gradient(135deg, #21223f 0%, #1D467A 50%, #21223f 100%);
}

.bg-gradient-hero {
    background: linear-gradient(145deg, #0f1023 0%, #21223f 25%, #1D467A 55%, #21223f 85%, #0f1023 100%);
}

.bg-gradient-light {
    background: linear-gradient(180deg, #F5F5F8 0%, #EDEDF3 100%);
}

.bg-gradient-mesh {
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(29, 70, 122, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 80% 70%, rgba(173, 208, 62, 0.08) 0%, transparent 60%),
        linear-gradient(145deg, #21223f 0%, #1a1b35 100%);
}

/* text-gradient: used for headings on LIGHT backgrounds */
.text-gradient {
    background: linear-gradient(135deg, #1D467A, #21223f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* text-gradient-light: used for headings on DARK backgrounds */
.text-gradient-light {
    background: linear-gradient(135deg, #add03e, #c4e86a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(135deg, #add03e, #1D467A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   FORM INPUTS
   ========================================== */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #21223f;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input::placeholder {
    color: #a8a9c4;
}
.form-input:focus {
    outline: none;
    border-color: #add03e;
    box-shadow: 0 0 0 3px rgba(173, 208, 62, 0.12),
                0 4px 12px -2px rgba(33, 34, 63, 0.06);
}

.form-input-dark {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.form-input-dark::placeholder {
    color: #6C6D8B;
}
.form-input-dark:focus {
    outline: none;
    border-color: rgba(173, 208, 62, 0.4);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(173, 208, 62, 0.08);
}

textarea.form-input,
textarea.form-input-dark {
    resize: vertical;
    min-height: 120px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.reveal {
    opacity: 0;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-20px);
}
.reveal-right {
    opacity: 0;
    transform: translateX(20px);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.97);
}
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 6s ease-in-out 2s infinite;
}

/* Slow pulse for decorative elements */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Gentle rotate */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F5F5F8;
}
::-webkit-scrollbar-thumb {
    background: #A8A9C4;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6C6D8B;
}

/* ==========================================
   RESPONSIVE UTILITIES
   ========================================== */
@media (max-width: 768px) {
    .text-display {
        font-size: 2.5rem !important;
    }
    .text-h1 {
        font-size: 2rem !important;
    }
    .text-h2 {
        font-size: 1.75rem !important;
    }

    .process-steps::before {
        left: 2rem;
    }
    .process-steps-horizontal::before {
        display: none;
    }

    .stat-card .stat-number,
    .stat-card-dark .stat-number {
        font-size: 2rem;
    }

    .floating-orb {
        display: none;
    }
}

/* ==========================================
   GSAP FALLBACK
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-up {
        opacity: 1 !important;
        transform: none !important;
    }
    .animate-float,
    .animate-float-delayed,
    .animate-pulse-slow,
    .animate-spin-slow {
        animation: none !important;
    }
}

html:not(.gsap-ready) .reveal,
html:not(.gsap-ready) .reveal-left,
html:not(.gsap-ready) .reveal-right,
html:not(.gsap-ready) .reveal-scale,
html:not(.gsap-ready) .reveal-up {
    animation: revealFallback 0.4s 0.5s ease-out forwards;
}

@keyframes revealFallback {
    to {
        opacity: 1;
        transform: none;
    }
}
