/* ═══════════════════════════════════════════════════════════
   SHANI FINSERVE — Product Page Stylesheet v3.0 (Fintech Ecosystem)
   Cinematic Dark Heroes, Glassmorphism, Advanced Calculators, True SaaS UI
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Cinematic Hero Section ────────────────────────── */
.sf-product-hero {
    position: relative;
    background: #030809; /* Deep space dark */
    padding: 160px 0 100px;
    color: #ffffff;
    overflow: hidden;
    z-index: 1;
}

/* Noise Texture Overlay */
.sf-product-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

/* Mesh Gradient Orbs */
.sf-hero-orb-1, .sf-hero-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -2;
    opacity: 0.6;
    animation: sfOrbFloat 15s ease-in-out infinite alternate;
}
.sf-hero-orb-1 {
    top: -150px; left: -100px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(35,219,224,0.15) 0%, transparent 70%);
}
.sf-hero-orb-2 {
    bottom: -150px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes sfOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 40px) scale(1.1); }
}

.sf-hero-content {
    position: relative;
    z-index: 2;
}

.sf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(35, 219, 224, 0.1);
    border: 1px solid rgba(35, 219, 224, 0.2);
    color: #23dbe0;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(35, 219, 224, 0.1);
}

.sf-hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sf-hero-desc {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
    max-width: 540px;
}

.sf-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Visual Product Storytelling (Right Side) */
.sf-hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sf-glass-metric-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sf-hero-visual:hover .sf-glass-metric-panel {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.sf-metric-item {
    display: flex;
    flex-direction: column;
}
.sf-metric-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}
.sf-metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #23dbe0;
    letter-spacing: -0.02em;
}

/* Floating Elements around Hero */
.sf-float-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: floatVertical 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.sf-float-badge--top { top: 20px; right: -20px; animation-delay: -1s; }
.sf-float-badge--bottom { bottom: 20px; left: -20px; animation-delay: -3s; }
.sf-float-badge i { font-size: 20px; color: #10b981; }
.sf-float-badge span { font-size: 13px; font-weight: 700; color: #fff; }

@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ── 2. Unified Content Architecture ──────────────────── */
/* Breadcrumbs */
.sf-breadcrumbs-bar {
    background: #f8fafc;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}
.sf-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}
.sf-breadcrumbs li {
    color: #94a3b8;
}
.sf-breadcrumbs li a {
    color: #0d5152;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.sf-breadcrumbs li a:hover {
    color: #23dbe0;
}
.sf-breadcrumbs li::after {
    content: '/';
    margin-left: 8px;
    color: #cbd5e1;
}
.sf-breadcrumbs li:last-child::after {
    content: '';
}
.sf-breadcrumbs li.active {
    color: #475569;
    font-weight: 600;
}

.sf-page-section {
    padding: 90px 0;
    background: #ffffff;
    position: relative;
}
.sf-page-section--alt {
    background: #fcfdfe; /* Very subtle cool gray */
}

.sf-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}
.sf-section-header h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0d5152;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.sf-section-header p {
    font-size: 16px;
    color: #5a6872;
    line-height: 1.6;
}

/* ── 3. Premium Bento Grid Components ─────────────────── */
/* Feature Cards */
.sf-feature-card {
    background: #ffffff;
    border: 1px solid rgba(13,81,82,0.08);
    border-radius: 20px;
    padding: 32px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}
.sf-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(35,219,224,0);
    transition: box-shadow 0.4s ease;
}
.sf-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(13,81,82,0.06);
}
.sf-feature-card:hover::after {
    box-shadow: inset 0 0 0 1px rgba(35,219,224,0.3);
}
.sf-feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(35,219,224,0.1);
    color: #0d5152;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.sf-feature-card:hover .sf-feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: #23dbe0;
    color: #031414;
}
.sf-feature-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0d5152;
    margin-bottom: 10px;
}
.sf-feature-card p {
    font-size: 14.5px;
    color: #5a6872;
    line-height: 1.6;
    margin: 0;
}

/* Insight Banner (Designed SEO Content) */
.sf-insight-banner {
    background: linear-gradient(135deg, rgba(35,219,224,0.05), rgba(16,185,129,0.02));
    border: 1px solid rgba(35,219,224,0.2);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.sf-insight-banner i {
    font-size: 28px;
    color: #1a7475;
}
.sf-insight-banner-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0d5152;
    margin-bottom: 8px;
}
.sf-insight-banner-content p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* ── 4. Premium Tables (Rates & Comparisons) ──────────── */
.sf-premium-table-wrapper {
    background: #ffffff;
    border: 1px solid rgba(13,81,82,0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.sf-premium-table {
    width: 100%;
    border-collapse: collapse;
}
.sf-premium-table th, .sf-premium-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(13,81,82,0.05);
}
.sf-premium-table th {
    background: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5a6872;
}
.sf-premium-table td {
    font-size: 15px;
    color: #0d5152;
    font-weight: 500;
}
.sf-premium-table tr:last-child td {
    border-bottom: none;
}
.sf-premium-table tr:hover td {
    background: rgba(35,219,224,0.02);
}

/* ── 5. Advanced CRED/Groww Style Calculator ──────────── */
.sf-calc-wrapper {
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(13,81,82,0.08);
    border: 1px solid rgba(13,81,82,0.05);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.sf-calc-controls {
    flex: 1;
    min-width: 320px;
    padding: 50px;
}
.sf-calc-visuals {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(135deg, #0d5152 0%, #031414 100%);
    padding: 50px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Sliders */
.sf-slider-group {
    margin-bottom: 32px;
}
.sf-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.sf-slider-label {
    font-size: 14px;
    font-weight: 600;
    color: #5a6872;
}
.sf-slider-value {
    font-size: 18px;
    font-weight: 800;
    color: #0d5152;
    background: rgba(35,219,224,0.1);
    padding: 6px 12px;
    border-radius: 8px;
}

/* Custom Range Input */
.sf-range-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    position: relative;
}
/* The active track is handled via inline background linear-gradient in JS */
.sf-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #23dbe0;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(35,219,224,0.3);
    transition: transform 0.1s;
    margin-top: -9px;
}
.sf-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.sf-range-input::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: transparent; 
}

/* Results Display */
.sf-calc-result-main {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
.sf-calc-result-main span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
}
.sf-calc-result-main h2 {
    font-size: 48px;
    font-weight: 800;
    color: #23dbe0;
    margin: 8px 0 0;
    letter-spacing: -0.02em;
}

.sf-calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.sf-calc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 12px;
}
.sf-calc-breakdown-row span {
    font-size: 14.5px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sf-calc-breakdown-row span i {
    width: 12px; height: 12px; border-radius: 50%;
}
.sf-calc-breakdown-row strong {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
}

/* ── 6. Designed FAQ Accordions ───────────────────────── */
.sf-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.sf-faq-item {
    background: #ffffff;
    border: 1px solid rgba(13,81,82,0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.sf-faq-item:hover {
    border-color: rgba(35,219,224,0.3);
}
.sf-faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: #0d5152;
    user-select: none;
}
.sf-faq-icon {
    color: #23dbe0;
    transition: transform 0.3s ease;
    font-size: 20px;
}
.sf-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sf-faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    font-size: 15px;
    color: #5a6872;
    line-height: 1.6;
}
.sf-faq-item.active {
    background: #fcfdfe;
    border-color: rgba(35,219,224,0.4);
    box-shadow: 0 10px 30px rgba(13,81,82,0.05);
}
.sf-faq-item.active .sf-faq-icon {
    transform: rotate(180deg);
    color: #0d5152;
}

/* ── 7. High Conversion Lead Form ─────────────────────── */
.sf-lead-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(13,81,82,0.08);
    border: 1px solid rgba(13,81,82,0.05);
}
.sf-form-group {
    margin-bottom: 20px;
    position: relative;
}
.sf-form-control {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 20px;
    font-size: 15px;
    color: #0d5152;
    transition: all 0.3s ease;
    outline: none;
}
.sf-form-control:focus {
    background: #ffffff;
    border-color: #23dbe0;
    box-shadow: 0 0 0 4px rgba(35,219,224,0.15);
}
.sf-form-control::placeholder {
    color: #94a3b8;
}

.sf-btn-primary {
    background: linear-gradient(90deg, #23dbe0, #1a9ea2);
    color: #ffffff;
    border: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(35,219,224,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.sf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(35,219,224,0.4);
}

/* Sticky Mobile CTA */
.sf-mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 16px 20px;
    z-index: 99;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

/* ── 8. Responsive Adjustments (Mobile-First Polish) ──── */
@media (max-width: 991px) {
    .sf-product-hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    .sf-hero-title { font-size: 38px; }
    .sf-hero-actions { justify-content: center; margin-bottom: 40px; }
    
    .sf-calc-controls, .sf-calc-visuals {
        padding: 30px 20px;
    }
    .sf-calc-result-main h2 { font-size: 36px; }
    
    .sf-lead-card { padding: 30px 20px; }
    
    .sf-mobile-sticky-cta { display: block; }
    /* Add padding to body to account for sticky CTA */
    body { padding-bottom: 80px; }
}
