/* ============================================================
   SOWKES SMM PANEL — Premium Landing Page Styles
   Dark Theme · Glassmorphism · Gradient Accents · Micro-animations
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
    --sw-bg-primary: #0B0F19;
    --sw-bg-secondary: #111827;
    --sw-bg-card: rgba(255, 255, 255, 0.04);
    --sw-bg-card-hover: rgba(255, 255, 255, 0.08);
    --sw-glass: rgba(255, 255, 255, 0.06);
    --sw-glass-border: rgba(255, 255, 255, 0.08);
    --sw-text-primary: #F9FAFB;
    --sw-text-secondary: #9CA3AF;
    --sw-text-muted: #6B7280;
    --sw-accent-start: #6366F1;
    --sw-accent-end: #8B5CF6;
    --sw-accent-glow: rgba(99, 102, 241, 0.25);
    --sw-accent-cyan: #06B6D4;
    --sw-accent-pink: #EC4899;
    --sw-gradient-main: linear-gradient(135deg, var(--sw-accent-start), var(--sw-accent-end));
    --sw-gradient-text: linear-gradient(90deg, var(--sw-accent-cyan), var(--sw-accent-start), var(--sw-accent-pink));
    --sw-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --sw-shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --sw-shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --sw-shadow-glow: 0 0 40px var(--sw-accent-glow);
    --sw-radius-sm: 12px;
    --sw-radius-md: 16px;
    --sw-radius-lg: 24px;
    --sw-radius-xl: 32px;
    --sw-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bs-primary: #6366F1 !important;
    --bs-primary-rgb: 99, 102, 241 !important;
    --bs-primary-hover: #818CF8 !important;
    --bs-primary-hover-rgb: 129, 140, 248 !important;
}

/* ── Reset & Base ── */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body.bg-white {
    background: var(--sw-bg-primary) !important;
    color: var(--sw-text-primary);
    font-family: 'Inter', 'Poppins', 'Public Sans', system-ui, sans-serif !important;
    overflow-x: hidden;
}

::selection {
    background: var(--sw-accent-start);
    color: white;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--sw-bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--sw-accent-start);
    border-radius: 3px;
}

/* ── Pre-loader ── */
.loader {
    background: var(--sw-bg-primary) !important;
    backdrop-filter: blur(20px);
}
.loader h2, .loader p {
    color: var(--sw-text-primary) !important;
}

/* ── Navbar ── */
.navbar {
    background: rgba(30, 41, 82, 0.35) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: var(--sw-radius-lg) !important;
    padding: 10px 20px !important;
    transition: var(--sw-transition);
    z-index: 1000;
    margin: 16px auto !important;
    max-width: 1200px;
    left: 50% !important;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.navbar.top-nav-collapse {
    background: rgba(20, 30, 65, 0.55) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.06);
    border-color: rgba(99, 102, 241, 0.18);
}

.navbar.default {
    background: rgba(30, 41, 82, 0.35) !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .logo-img {
    border: none !important;
    border-radius: 8px !important;
    transition: var(--sw-transition);
    filter: drop-shadow(0 0 12px var(--sw-accent-glow));
}

.navbar-brand .logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px var(--sw-accent-glow));
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--sw-text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px !important;
    border-radius: var(--sw-radius-sm);
    transition: var(--sw-transition);
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--sw-text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--sw-gradient-main);
    border-radius: 2px;
}

.btn-masuk {
    background: var(--sw-gradient-main) !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 8px 24px !important;
    border-radius: 50px !important;
    transition: var(--sw-transition) !important;
    box-shadow: 0 4px 15px var(--sw-accent-glow);
}

.btn-masuk:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--sw-accent-glow) !important;
    filter: brightness(1.1);
}

/* ── Hero / Header Section ── */
.header {
    background: var(--sw-bg-primary) !important;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 20% 30%, rgba(6, 182, 212, 0.08) 0%, transparent 60%) !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 100px 0 160px 0 !important;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Animated grid pattern behind hero */
.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.header h6 {
    color: var(--sw-text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px !important;
}

.header h2 {
    color: var(--sw-text-primary) !important;
    font-weight: 800 !important;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 16px !important;
}

.header p {
    color: var(--sw-text-secondary) !important;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
}

.header .btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: var(--sw-transition);
    position: relative;
    z-index: 1;
}

.header .btn.bg-white {
    background: var(--sw-gradient-main) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 20px var(--sw-accent-glow);
}

.header .btn.bg-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--sw-accent-glow);
    filter: brightness(1.15);
}

.header .btn.btn-primary {
    background: transparent !important;
    border: 1.5px solid var(--sw-glass-border) !important;
    color: var(--sw-text-primary) !important;
    backdrop-filter: blur(10px);
}

.header .btn.btn-primary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--sw-accent-start) !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

/* Hero Image */
.img-head {
    background: none !important;
    position: relative;
}

.img-head::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--sw-gradient-main);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

.img-head img {
    transform: translateY(0px);
    animation: heroFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(0.5deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(-0.5deg); }
}

@keyframes pulseGlow {
    0% { opacity: 0.15; transform: translate(-50%, -50%) scale(0.9); }
    100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.1); }
}

/* ── Waves ── */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('images/landing/wave.png');
    background-size: 1000px 100px;
    opacity: 0.15 !important;
    filter: brightness(2) hue-rotate(220deg);
}

.wave.wave1 {
    animation: waveAnimate 30s linear infinite;
    z-index: 10;
    opacity: 0.2 !important;
    animation-delay: 0s;
    bottom: 0;
}

.wave.wave2 {
    animation: waveAnimate2 15s linear infinite;
    z-index: 9;
    opacity: 0.1 !important;
    animation-delay: -5s;
    bottom: 10px;
}

.wave.wave3 {
    animation: waveAnimate 30s linear infinite;
    z-index: 8;
    opacity: 0.05 !important;
    animation-delay: -2s;
    bottom: 10px;
}

.wave.wave4 {
    animation: waveAnimate2 5s linear infinite;
    z-index: 7;
    opacity: 0.12 !important;
    animation-delay: -5s;
    bottom: 20px;
}

@keyframes waveAnimate {
    0% { background-position: 0; }
    100% { background-position: 1000px; }
}

@keyframes waveAnimate2 {
    0% { background-position: 0; }
    100% { background-position: -1000px; }
}


/* ── Stats Counter Cards ── */
section[style*="margin-top: -100px"] {
    z-index: 10 !important;
}

section[style*="margin-top: -100px"] .card {
    background: var(--sw-glass) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--sw-glass-border) !important;
    border-radius: var(--sw-radius-md) !important;
    transition: var(--sw-transition);
    overflow: hidden;
    position: relative;
}

section[style*="margin-top: -100px"] .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sw-gradient-main);
    opacity: 0;
    transition: var(--sw-transition);
}

section[style*="margin-top: -100px"] .card:hover {
    background: var(--sw-bg-card-hover) !important;
    border-color: rgba(99, 102, 241, 0.2) !important;
    transform: translateY(-6px);
    box-shadow: var(--sw-shadow-glow);
}

section[style*="margin-top: -100px"] .card:hover::before {
    opacity: 1;
}

section[style*="margin-top: -100px"] .card h3 {
    color: transparent !important;
    background: var(--sw-gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerGradient 3s linear infinite;
    font-weight: 800 !important;
    font-size: 2rem !important;
}

section[style*="margin-top: -100px"] .card p {
    color: var(--sw-text-secondary) !important;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Remove pattern card backgrounds for glassmorphism */
.card-1, .card-2, .card-3 {
    background-image: none !important;
}

@keyframes shimmerGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ── About Section ── */
section.position-relative.py-5 {
    background: transparent !important;
}

/* The about section container - wrap in glassmorphism */
section.position-relative.py-5 > .container-fluid.mb-5 > .container > .row {
    background: var(--sw-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--sw-glass-border);
    border-radius: var(--sw-radius-xl);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: var(--sw-transition);
}

section.position-relative.py-5 > .container-fluid.mb-5 > .container > .row:hover {
    border-color: rgba(99, 102, 241, 0.18);
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.08);
}

/* Decorative gradient blob behind the card */
section.position-relative.py-5 > .container-fluid.mb-5 > .container > .row::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite alternate;
}

/* Decorative accent line at top of card */
section.position-relative.py-5 > .container-fluid.mb-5 > .container > .row::after {
    content: '';
    position: absolute;
    top: 0;
    left: 36px;
    width: 60px;
    height: 3px;
    background: var(--sw-gradient-main);
    border-radius: 3px;
}

/* About image with gradient border glow */
section.position-relative.py-5 img[alt="img about"] {
    border-radius: var(--sw-radius-md) !important;
    border: 2px solid rgba(99, 102, 241, 0.2) !important;
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.12),
        0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--sw-transition);
    background: var(--sw-bg-secondary);
    padding: 8px;
}

section.position-relative.py-5 img[alt="img about"]:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow:
        0 0 40px rgba(99, 102, 241, 0.2),
        0 24px 48px rgba(0, 0, 0, 0.35);
    border-color: rgba(99, 102, 241, 0.4) !important;
}

/* About title */
section.position-relative.py-5 > .container-fluid.mb-5 h2 {
    color: var(--sw-text-primary) !important;
    font-weight: 800 !important;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.3;
    margin-bottom: 8px !important;
}

/* About subtitle */
section.position-relative.py-5 > .container-fluid.mb-5 h6 {
    color: transparent !important;
    background: var(--sw-gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmerGradient 4s linear infinite;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* About description */
section.position-relative.py-5 > .container-fluid.mb-5 p.fw-normal {
    color: var(--sw-text-secondary) !important;
    line-height: 1.8;
    font-size: 0.9rem;
    max-width: 600px;
}

section.position-relative.py-5 h2 {
    color: var(--sw-text-primary) !important;
    font-weight: 800 !important;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

section.position-relative.py-5 h6 {
    color: var(--sw-text-secondary) !important;
    font-weight: 500;
}

section.position-relative.py-5 p {
    color: var(--sw-text-secondary) !important;
    line-height: 1.8;
}

/* About button */
section.position-relative.py-5 .btn-primary {
    background: var(--sw-gradient-main) !important;
    border: none !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px var(--sw-accent-glow);
    transition: var(--sw-transition);
    position: relative;
    overflow: hidden;
}

section.position-relative.py-5 .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

section.position-relative.py-5 .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--sw-accent-glow);
    filter: brightness(1.1);
}

section.position-relative.py-5 .btn-primary:hover::before {
    left: 100%;
}

/* ── Feature/About Cards Section (with gradient background) ── */
section[style*="background: linear-gradient"] {
    background: transparent !important;
    position: relative;
}

section[style*="background: linear-gradient"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Section titles */
.section-title {
    color: var(--sw-text-primary) !important;
    font-weight: 800 !important;
}

h2.text-primary {
    color: var(--sw-text-primary) !important;
}

h2.text-dark {
    color: var(--sw-text-primary) !important;
}

/* ── Layout (About) Cards — Creative ── */
.row.g-4.text-center {
    counter-reset: about-counter;
}

.row.g-4.text-center > div {
    counter-increment: about-counter;
}

.card.layout-card {
    background: var(--sw-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--sw-glass-border) !important;
    border-radius: var(--sw-radius-md) !important;
    transition: var(--sw-transition);
    position: relative;
    overflow: hidden;
    text-align: left !important;
    padding-top: 16px;
}

/* Gradient accent line on the left */
.card.layout-card::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 0;
    width: 3px;
    background: var(--sw-gradient-main);
    border-radius: 0 3px 3px 0;
    opacity: 0.6;
    transition: var(--sw-transition);
}

/* Gradient number badge — auto-numbered */
.card.layout-card::after {
    content: '0' counter(about-counter);
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--sw-gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.12;
    line-height: 1;
    animation: shimmerGradient 4s linear infinite;
}

.card.layout-card:hover {
    background: var(--sw-bg-card-hover) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.1), var(--sw-shadow-md);
}

.card.layout-card:hover::before {
    opacity: 1;
    width: 4px;
    box-shadow: 0 0 12px var(--sw-accent-glow);
}

.card.layout-card:hover::after {
    opacity: 0.2;
}

.card.layout-card h5 {
    color: var(--sw-text-primary) !important;
    font-weight: 700;
    font-size: 1rem;
}

.card.layout-card .text-muted {
    color: var(--sw-text-secondary) !important;
    font-size: 0.87rem;
    line-height: 1.7;
}

/* ── Features / Steps Section Cards — Creative ── */
.product-cards-block .row {
    counter-reset: step-counter;
}

.product-cards-block .row > div {
    counter-increment: step-counter;
}

.product-cards-block .card {
    background: var(--sw-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--sw-glass-border) !important;
    border-radius: var(--sw-radius-md) !important;
    transition: var(--sw-transition);
    position: relative;
    overflow: visible;
}

/* Gradient step number badge floating top-left */
.product-cards-block .card::before {
    content: counter(step-counter);
    position: absolute;
    top: -14px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--sw-gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px var(--sw-accent-glow);
    z-index: 2;
    line-height: 32px;
    text-align: center;
}

/* Animated gradient underline */
.product-cards-block .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sw-gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 var(--sw-radius-md) var(--sw-radius-md);
}

.product-cards-block .card:hover {
    background: var(--sw-bg-card-hover) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.1), var(--sw-shadow-md);
}

.product-cards-block .card:hover::after {
    transform: scaleX(1);
}

.product-cards-block .card:hover::before {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--sw-accent-glow);
}

.product-cards-block .card h4 {
    color: var(--sw-text-primary) !important;
    font-weight: 700;
}

.product-cards-block .card p {
    color: var(--sw-text-secondary) !important;
}

/* ── Why Choose Us Section — BOLD REDESIGN ── */

/* Section title — animated gradient */
.container.title h2.section-title {
    background: linear-gradient(135deg, #a78bfa, #818cf8, #6366f1, #ec4899, #a78bfa);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: shimmerGradient 4s linear infinite;
}

/* Card base — glassmorphism with more depth */
.card.border-0.shadow-none {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(99, 102, 241, 0.1) !important;
    border-radius: var(--sw-radius-lg) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Inner spotlight glow — hidden by default */
.card.border-0.shadow-none::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%,
        rgba(99, 102, 241, 0.06) 0%,
        transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

/* Animated gradient border glow line at bottom */
.card.border-0.shadow-none::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #06b6d4);
    background-size: 300% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 var(--sw-radius-lg) var(--sw-radius-lg);
    z-index: 2;
}

/* Hover: lift + glow + show effects */
.card.border-0.shadow-none:hover {
    background: rgba(20, 30, 55, 0.7) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(99, 102, 241, 0.1);
}

.card.border-0.shadow-none:hover::before {
    opacity: 1;
}

.card.border-0.shadow-none:hover::after {
    transform: scaleX(1);
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Card text */
.card.border-0.shadow-none h5 {
    color: var(--sw-text-primary) !important;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px !important;
}

.card.border-0.shadow-none p {
    color: var(--sw-text-secondary) !important;
    line-height: 1.7;
    font-size: 0.88rem;
}

/* ── Per-card unique accent colors via nth-child ── */

/* Card 1: Purple */
.row.g-3 > .col-md-6.col-lg-4:nth-child(1) .avtar.bg-light-primary {
    background: linear-gradient(135deg, #7c3aed, #6366f1) !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.row.g-3 > .col-md-6.col-lg-4:nth-child(1) .card.border-0.shadow-none:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(124, 58, 237, 0.12);
}

.row.g-3 > .col-md-6.col-lg-4:nth-child(1) .card.border-0.shadow-none:hover::after {
    background: linear-gradient(90deg, #7c3aed, #8b5cf6, #a78bfa);
    background-size: 200% 100%;
}

/* Card 2: Cyan */
.row.g-3 > .col-md-6.col-lg-4:nth-child(2) .avtar.bg-light-primary {
    background: linear-gradient(135deg, #0891b2, #06b6d4) !important;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.row.g-3 > .col-md-6.col-lg-4:nth-child(2) .card.border-0.shadow-none:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(6, 182, 212, 0.12);
}

.row.g-3 > .col-md-6.col-lg-4:nth-child(2) .card.border-0.shadow-none:hover::after {
    background: linear-gradient(90deg, #0891b2, #06b6d4, #22d3ee);
    background-size: 200% 100%;
}

/* Card 3: Pink */
.row.g-3 > .col-md-6.col-lg-4:nth-child(3) .avtar.bg-light-primary {
    background: linear-gradient(135deg, #db2777, #ec4899) !important;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.row.g-3 > .col-md-6.col-lg-4:nth-child(3) .card.border-0.shadow-none:hover {
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(236, 72, 153, 0.12);
}

.row.g-3 > .col-md-6.col-lg-4:nth-child(3) .card.border-0.shadow-none:hover::after {
    background: linear-gradient(90deg, #db2777, #ec4899, #f472b6);
    background-size: 200% 100%;
}

/* ── Icon (avtar) — pulsing ring effect ── */
.avtar.bg-light-primary {
    background: var(--sw-gradient-main) !important;
    color: white !important;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px !important;
    font-size: 1.4rem;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Pulsing ring behind the icon */
.avtar.bg-light-primary::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: inherit;
    opacity: 0.2;
    z-index: -1;
    animation: pulseRing 2.5s ease-in-out infinite;
}

.avtar.bg-light-primary::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 22px;
    background: inherit;
    opacity: 0.08;
    z-index: -2;
    animation: pulseRing 2.5s ease-in-out 0.3s infinite;
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.08); opacity: 0.08; }
}

/* Icon scale on card hover */
.card.border-0.shadow-none:hover .avtar.bg-light-primary {
    transform: scale(1.1) rotate(-5deg);
}

.card.border-0.shadow-none:hover .avtar.bg-light-primary::before {
    animation: pulseRing 1.5s ease-in-out infinite;
    opacity: 0.25;
}

/* ── Testimonials Section ── */
.carousel-cell {
    width: 100%;
    max-width: 600px;
    margin-right: 30px;
}

.carousel-cell::before {
    display: block;
}

.carousel-cell .d-flex.border {
    background: var(--sw-glass) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sw-glass-border) !important;
    border-radius: var(--sw-radius-md) !important;
    transition: var(--sw-transition);
    box-shadow: var(--sw-shadow-sm) !important;
}

.carousel-cell .d-flex.border:hover {
    border-color: rgba(99, 102, 241, 0.2) !important;
    box-shadow: var(--sw-shadow-glow) !important;
    transform: translateY(-3px);
}

.carousel-cell p.fw-light {
    color: var(--sw-text-secondary) !important;
    font-style: italic;
    line-height: 1.7;
}

.carousel-cell h6 {
    color: var(--sw-text-primary) !important;
    font-weight: 700;
}

.carousel-cell p.m-0 {
    color: var(--sw-text-muted) !important;
    font-size: 0.85rem;
}

.carousel-cell img.rounded-circle {
    border: 2px solid var(--sw-glass-border) !important;
    box-shadow: 0 0 15px var(--sw-accent-glow);
}

/* Flickity overrides */
.flickity-button {
    background: var(--sw-glass) !important;
    color: var(--sw-text-primary) !important;
    border: 1px solid var(--sw-glass-border);
}

.flickity-button:hover {
    background: var(--sw-bg-card-hover) !important;
    border-color: var(--sw-accent-start);
}

/* ── FAQ / Accordion Section ── */
.accordion .card {
    background: var(--sw-glass) !important;
    border: 1px solid var(--sw-glass-border) !important;
    border-radius: var(--sw-radius-md) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
}

.accordion-button {
    background: transparent !important;
    color: var(--sw-text-primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 20px;
    border: none !important;
    box-shadow: none !important;
    transition: var(--sw-transition);
}

.accordion-button:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.08) !important;
    color: var(--sw-accent-start) !important;
}

.accordion-button::after {
    filter: brightness(0) invert(1) opacity(0.5);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0.6) sepia(1) saturate(10) hue-rotate(220deg);
}

.accordion .card-body {
    background: transparent !important;
    color: var(--sw-text-secondary) !important;
    border-top: 1px solid var(--sw-glass-border) !important;
    line-height: 1.8;
    padding: 16px 20px;
}

/* ── Footer ── */
footer.bg-dark {
    background: var(--sw-bg-secondary) !important;
    border-top: 1px solid var(--sw-glass-border);
}

footer p, footer a {
    color: var(--sw-text-secondary) !important;
    font-size: 0.9rem;
}

footer .footer-link {
    color: var(--sw-text-primary) !important;
    font-weight: 700;
}

footer .nav-link {
    color: var(--sw-text-muted) !important;
    transition: var(--sw-transition);
}

footer .nav-link:hover {
    color: var(--sw-accent-start) !important;
}

/* ── General Button Overrides ── */
.btn-primary {
    background: var(--sw-gradient-main) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 15px var(--sw-accent-glow);
}

.btn-primary:hover,
.btn-check:focus+.btn-primary,
.btn-primary:focus {
    background: var(--sw-gradient-main) !important;
    border: none !important;
    filter: brightness(1.1);
    box-shadow: 0 8px 25px var(--sw-accent-glow);
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
    box-shadow: 0 0 0 0.15rem var(--sw-accent-glow) !important;
}

/* ── Text Color Overrides ── */
.text-primary {
    color: var(--sw-accent-start) !important;
}

.text-dark, .text-black {
    color: var(--sw-text-primary) !important;
}

.text-white {
    color: var(--sw-text-primary) !important;
}

.text-muted {
    color: var(--sw-text-secondary) !important;
}

.text-opacity-75 {
    color: var(--sw-text-secondary) !important;
}

/* ── Hero gradient text overrides ── */
.hero-text-gradient, .hp-hero-text-gradient {
    --hp-color-one: var(--sw-accent-cyan) !important;
    --hp-color-two: var(--sw-accent-pink) !important;
    --color-one: var(--sw-accent-cyan) !important;
    --color-two: var(--sw-accent-pink) !important;
}

/* ── Responsive Adjustments ── */
@media (max-width: 768px) {
    .navbar {
        margin: 10px auto !important;
        width: calc(100% - 20px);
        padding: 8px 14px !important;
        border-radius: var(--sw-radius-md) !important;
    }

    .header {
        padding: 80px 0 140px 0 !important;
        text-align: center;
    }

    .header h2 {
        font-size: 1.6rem;
    }

    .header p {
        max-width: 100%;
        margin: 0 auto;
    }

    .header .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .navbar-collapse {
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--sw-radius-md);
        padding: 16px;
        margin-top: 10px;
        border: 1px solid var(--sw-glass-border);
    }

    section[style*="margin-top: -100px"] .card h3 {
        font-size: 1.5rem !important;
    }

    .card.border-0.shadow-none {
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .header {
        padding: 70px 0 120px 0 !important;
    }

    .header h2 {
        font-size: 1.4rem;
    }

    section[style*="margin-top: -100px"] .card h3 {
        font-size: 1.3rem !important;
    }
}

/* ── Utility: Animated gradient border ── */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(99, 102, 241, 0.15); }
    50% { border-color: rgba(139, 92, 246, 0.3); }
}

/* ── Smooth page appearance ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── FAQ Icon override ── */
.faq-icon i {
    font-size: 80px;
    position: absolute;
    margin-top: -30px;
    right: -20px;
    opacity: 0.05;
    color: var(--sw-accent-start);
}

/* Navbar toggler */
.navbar-toggler {
    border-color: var(--sw-glass-border) !important;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem var(--sw-accent-glow) !important;
}

.navbar-toggler-icon {
    filter: brightness(0) invert(1) opacity(0.8);
}

/* ==========================================================================
   TESTIMONIAL CRYPTO BUBBLES
   ========================================================================== */

/* Container setup - as interactive background */
.carousel {
    display: block !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 800px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    z-index: 1 !important; /* ABOVE Background, NOT behind parent */
    pointer-events: none;
    transform: none !important;
}

/* Base Bubble Style - Forced Circular */
.carousel-cell {
    position: absolute !important;
    left: 0;
    top: 0;
    width: var(--bubble-size, 100px) !important;
    height: var(--bubble-size, 100px) !important;
    min-width: var(--bubble-size, 100px) !important;
    min-height: var(--bubble-size, 100px) !important;
    aspect-ratio: 1/1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9999px !important; /* Extreme circularity */
    z-index: 2 !important;
    cursor: grab;
    background: transparent;
    border: none;
    pointer-events: auto; /* Re-enable clicks for bubbles */
    user-select: none;
    -webkit-user-drag: none;
    overflow: visible !important; /* Allow expanded cards to show */
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-cell:active {
    cursor: grabbing;
}

.carousel-cell.positioned {
    visibility: visible;
}

/* Glass Bubble Card */
.carousel-cell .card-2 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important; /* MANDATORY CIRCLE */
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Image inside bubble - Avatar (Always Visible Circle) */
.carousel-cell .card-2 img.testimonial-avatar {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 1 !important;
    transition: all 0.4s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Hide content strictly in bubble state */
.carousel-cell .card-2 .bubble-content {
    display: none !important;
}

.carousel-cell:hover .card-2,
.carousel-cell.active-bubble .card-2 {
    position: relative !important;
    inset: auto !important;
    width: 340px !important;
    height: auto !important;
    border-radius: 24px !important; /* Rounded rect on expansion */
    flex-direction: column !important;
    padding: 2rem !important;
    background: rgba(15, 21, 36, 0.98) !important;
    border: 2px solid rgba(99, 102, 241, 0.8) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9) !important;
    aspect-ratio: auto !important;
    overflow: hidden !important; /* Contain expanded content */
    z-index: 1000 !important;
}

/* Ensure parent matches expansion for hover area */
.carousel-cell:hover,
.carousel-cell.active-bubble {
    z-index: 1000 !important;
}

.carousel-cell:hover .card-2 img.testimonial-avatar,
.carousel-cell.active-bubble .card-2 img.testimonial-avatar {
    position: relative !important;
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 1.5rem !important;
    border: 3px solid var(--sw-accent-cyan) !important;
}

.carousel-cell:hover .card-2 .bubble-content,
.carousel-cell.active-bubble .card-2 .bubble-content {
    display: block !important;
}

.carousel-cell:hover .card-2 img.testimonial-avatar,
.carousel-cell.active-bubble .card-2 img.testimonial-avatar {
    width: 70px !important;
    height: 70px !important;
    margin-bottom: 1.5rem !important;
    border: 3px solid var(--sw-accent-cyan) !important;
}

.carousel-cell:hover .card-2 p.text-center,
.carousel-cell.active-bubble .card-2 p.text-center,
.carousel-cell:hover .card-2 .ms-2,
.carousel-cell.active-bubble .card-2 .ms-2 {
    display: block !important;
    max-height: none;
    opacity: 1;
}

.carousel-cell:hover .card-2 .ms-2,
.carousel-cell.active-bubble .card-2 .ms-2 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 0 !important;
}

.carousel-cell:hover .card-2 img,
.carousel-cell.active-bubble .card-2 img {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 0.5rem;
}

/* Floating Animation */
@keyframes float-bubble {
    0% { transform: translate(var(--bubble-x), var(--bubble-y)); }
    100% { transform: translate(calc(var(--bubble-x) + 20px), calc(var(--bubble-y) - 30px)); }
}

/* Specific Border Colors & Glows */
.carousel-cell:nth-child(4n+1) .card-2 img { border-color: var(--sw-accent-cyan) !important; box-shadow: 0 0 20px rgba(6, 182, 212, 0.4); }
.carousel-cell:nth-child(4n+2) .card-2 img { border-color: var(--sw-accent-pink) !important; box-shadow: 0 0 20px rgba(236, 72, 153, 0.4); }
.carousel-cell:nth-child(4n+3) .card-2 img { border-color: #f59e0b !important; box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
.carousel-cell:nth-child(4n+4) .card-2 img { border-color: #10b981 !important; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }


/* ==========================================================================
   FAQ REDESIGN (ACCORDION)
   ========================================================================== */

#accordionExample .card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s ease;
}

#accordionExample .card:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateX(5px);
}

.accordion-button {
    background: transparent !important;
    color: #fff !important;
    padding: 1.25rem 1.5rem !important;
    font-size: 1.05rem;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
    background-size: 1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--sw-accent-cyan) !important;
}

.accordion-collapse {
    border: none !important;
}

.accordion-body, .card-body.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.6;
}


/* ==========================================================================
   FOOTER REDESIGN
   ========================================================================== */

footer.bg-dark {
    background: rgba(11, 15, 25, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0 30px 0 !important;
    margin-top: 80px !important;
}

/* Floating Footer Box Effect */
footer .container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
}

footer a.footer-link {
    color: var(--sw-accent-cyan) !important;
    transition: all 0.3s ease;
}

footer a.footer-link:hover {
    text-shadow: 0 0 10px var(--sw-accent-cyan);
}

footer .nav-link {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease;
}

footer .nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   VALUE PROPS / SERVICE CARDS
   ========================================================================== */
section .card.border-0.shadow-none {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    transition: all 0.4s ease;
}

section .card.border-0.shadow-none:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

section .avtar.bg-light-primary {
    background: rgba(99, 102, 241, 0.1) !important;
    color: var(--sw-accent-cyan) !important;
    transition: all 0.3s ease;
}

section .card:hover .avtar.bg-light-primary {
    background: var(--sw-gradient-accent) !important;
    color: #fff !important;
    transform: scale(1.1) rotate(10deg);
}

section h5 {
    color: #fff !important;
    font-weight: 600 !important;
}

section p.mb-0 {
    color: rgba(255, 255, 255, 0.6) !important;
}
