/* ───────────────────────────────
   Fiinsy Landing – Responsive CSS
   ─────────────────────────────── */

/* ---------- 1. Theme & Reset ---------- */
:root {
    --primary-color: #1E3C6F;
    --secondary-color: #EF7F1A;
    --accent-color: #3f3aa0;
    --light-bg: #f5f6fa;
    --card-bg: #ffffff;
    --dark-text: #24243e;
    --gray-text: #6b6b8a;
    --border-radius: 1rem;
    --transition-speed: .4s;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    background: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}


.noto-sans {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ---------- 2. Navbar Pill (desktop default) ---------- */
header.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    background: transparent;
}

header.navbar .container {
    width: auto;
    margin: 0 1rem;
    max-width: 1500px;       /* was 1150px – more width on large screens */
    padding: .8rem 2.5rem;   /* was 1.5rem – more left/right breathing room */
    border-radius: 2.5rem;   /* slightly more pill-like */
    background: rgba(255, 255, 255, .3);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 2rem;               /* was 1.5rem – more space between items */
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}


.logo img {
    height: 34px;
}

/* .nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    font-weight: 500;
    font-size: .95rem;
    color: var(--primary-color);
    transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
} */

.cta-button {
    padding: .6rem 1.4rem;
    border-radius: .75rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    transition: background var(--transition-speed);
}

.cta-button:hover {
    background: var(--secondary-color);
}

.desktop-only {
    display: inline-block;
}

/* Hamburger icon */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: none;
    cursor: pointer;
    padding: .25rem;
    margin-left: auto;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-color);
    transition: .3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 3. Mobile drawer (≤768 px) ---------- */
@media (max-width:768px) {
    .desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: env(safe-area-inset-right, 20px) !important;
        bottom: 0 !important;
        left: 0 !important;
        width: calc(100vw - 20px)!important;
        max-width: none !important;

        background: #fff !important;
        padding: 7rem 2rem 4rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        overflow-y: auto !important;

        box-shadow: -4px 0 16px rgba(0, 0, 0, .08) !important;
        z-index: 105 !important;

        transform: translateX(100%);
        /* hidden by default */
        transition: transform var(--transition-speed) ease;
    }

    .nav-links.open {
        transform: translateX(0) !important;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* CTA inside drawer */
    .mobile-only {
        display: block;
        margin-top: auto;
        text-align: center;
        padding: .9rem 1rem;
        border-radius: .75rem;
        background: var(--primary-color);
        color: #fff;
        font-weight: 600;
    }
}

/* ---------- 4. Desktop reset (≥769 px) ---------- */
@media (min-width:769px) {
    .mobile-only {
        display: none !important;
    }

    .nav-links {
        position: static !important;
        transform: none !important;
        width: auto;
        height: auto;
        padding: 0;
        overflow: visible;
        display: flex;
        flex-direction: row;
        gap: 2rem;
        box-shadow: none;
        background: transparent;
    }
}


/* ---------- 3. Sections ---------- */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--gray-text);
}

/* ---------- 4. Hero ---------- */
.hero {
    background: radial-gradient(120% 100% at 60% 0%, #dde7ff 0%, var(--light-bg) 100%);
    padding: 8rem 0 4rem;
    overflow: hidden;
    position: relative;
}

.hero .inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1 1 500px;
}

.hero-text h1 {
    font-family: Playfair Display;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-text p {
    max-width: 600px;
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: .75rem 1.6rem;
    border-radius: .75rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, var(--primary-color),
            var(--secondary-color));
    transition: transform .25s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, var(--secondary-color),
            var(--primary-color));  
    color: #fff;
}

/* Hero cards grid */
.hero-cards {
    flex: 1 1 430px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.hero-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .05);
}

.hero-card .heading {
    font-size: .85rem;
    color: var(--gray-text);
    margin-bottom: .4rem;
    font-weight: 600;
}

.hero-card .value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.spent-card .chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    width: 100%;
    height: 40px;
    margin-top: .4rem;
}

.spent-card .chart-bars .bar {
    flex: 1;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary-color),
            var(--secondary-color));
}

.spent-card .bar-1 {
    height: 40%;
}

.spent-card .bar-2 {
    height: 70%;
}

.spent-card .bar-3 {
    height: 50%;
}

.spent-card .bar-4 {
    height: 80%;
}

.spent-card .bar-5 {
    height: 60%;
}

.transfers-card ul {
    list-style: none;
    margin-top: .4rem;
    padding-left: 0;
}

.transfers-card li {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    padding: .3rem 0;
}

.transfers-card .amount {
    font-weight: 600;
}

.transfers-card .positive {
    color: #21c97a;
}

@media(max-width:640px) {
    .hero .inner {
        flex-direction: column;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }
}

/* ---------- 5. Partners Marquee ---------- */
.partners {
    text-align: center;
    padding-top: 3rem;
    overflow: hidden;
}

.partners p {
    color: var(--gray-text);
    margin-bottom: .1rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.partners-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 2.5rem;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.row-left .partners-track {
    animation: scroll-left 10s linear infinite;
}

.row-right .partners-track {
    animation: scroll-right 10s linear infinite;
}

.partners-track img {
    height: 200px;
    width: auto;
    opacity: .85;
    transition: opacity .3s;
}

.partners-track img:hover {
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* ---------- 6. Video Mock-up ---------- */
.video-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
}

.mockup-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    cursor: pointer;
    pointer-events: none;
    transition: transform .25s;
}

.mockup-play::before {
    content: '';
    position: absolute;
    left: 37%;
    top: 28%;
    width: 0;
    height: 0;
    border-left: 24px solid var(--primary-color);
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.mockup-play:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

/* ---------- 7. Stats ---------- */
.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-item .value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-item .label {
    color: var(--secondary-color);
}

/* ---------- 8. Feature Blocks ---------- */
.feature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1 1 500px;
}

.feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-text p {
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.subfeatures {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.subfeature {
    flex: 1 1 250px;
}

.subfeature h4 {
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--secondary-color);
}

.subfeature p {
    color: var(--gray-text);
}

.feature-image {
    flex: 1 1 450px;
}

/* ---------- 9. Pricing (updated) ---------- */

/* Header row: toggle + intro offer */
.pricing-head{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin:1rem 0 1.25rem;
  }
  
  /* Billing switch */
  .switcher{
    position:relative;
    display:inline-grid;
    grid-auto-flow:column;
    gap:.75rem;
    background:#fff;
    padding:.35rem;
    border-radius:2rem;
    box-shadow:0 6px 16px rgba(0,0,0,.06);
  }
  .bill-btn{
    border:0;
    background:transparent;
    padding:.55rem 1rem;
    border-radius:1.5rem;
    font-weight:600;
    color:var(--gray-text);
    cursor:pointer;
  }
  .bill-btn.is-active{ color:var(--primary-color); }
  .bill-btn em.save{ font-style:normal; font-weight:700; color:var(--secondary-color); margin-left:.35rem; }
  .switch-dot{
    position:absolute; top:4px; bottom:4px; width:calc(50% - .45rem);
    border-radius:999px;
    background:linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index:-1; transition:transform .25s;
  }
  /* default = yearly on the right */
  .switcher .switch-dot{ transform:translateX(calc(100% + .45rem)); }
  .switcher.is-monthly .switch-dot{ transform:translateX(.45rem); }
  
  /* Introductory offer (hidden when Monthly) */
  .intro-offer{
    display:flex; align-items:center; gap:.75rem; flex-wrap:wrap;
    font-size:.95rem; color:var(--primary-color);
  }
  .intro-offer .io-label{ font-weight:700; }
  .intro-offer .io-detail, .intro-offer .io-remaining{ white-space:nowrap; }
  .intro-meter{
    flex:0 0 220px; height:8px; background:#eef3ff; border-radius:6px; overflow:hidden;
  }
  .intro-meter span{
    display:block; height:100%;
    background:linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition:width .6s ease;
    border-radius:6px;
  }
  
  /* Cards layout */
  .pricing-plans{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:2rem;
  }
  
  .pricing-card{
    background:var(--card-bg);
    border-radius:var(--border-radius);
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    flex:1 1 280px;
    max-width:320px;
    padding:2rem;
    text-align:left;
  }
  
  /* De-emphasize Free so Premium stands out */
  .pricing-card.pricing-free{ filter:saturate(.92); opacity:.95; }
  
  /* Premium highlight (Yearly is default focus) */
  .premium-highlight{
    position:relative;
    background:
      linear-gradient(#fff,#fff) padding-box,
      linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    border:2px solid transparent;
    box-shadow:0 16px 40px rgba(30,60,111,.18);
    transform:translateY(-8px);
    outline:1px solid rgba(30,60,111,.06);
    isolation:isolate;
  }
  .premium-highlight::before{
    content:"";
    position:absolute; inset:-2rem -1.5rem; z-index:-1;
    background:
      radial-gradient(60% 50% at 30% 20%, rgba(239,127,26,.18), transparent 70%),
      radial-gradient(50% 40% at 70% 10%, rgba(30,60,111,.22), transparent 60%);
    filter:blur(35px);
    animation:glowPulse 8s ease-in-out infinite;
  }
  @keyframes glowPulse{
    0%,100%{ opacity:.9; transform:scale(1); }
    50%{    opacity:1;  transform:scale(1.03); }
  }
  
  /* Ribbon tag */
  .badge-ribbon{
    position:absolute; top:-12px; left:18px;
    background:linear-gradient(135deg, var(--primary-color), #6aa4ff);
    color:#fff; font-weight:700; font-size:.8rem;
    padding:.35rem .6rem; border-radius:.5rem;
    box-shadow:0 6px 16px rgba(0,0,0,.12);
  }
  
  /* Price/typography */
  .pricing-card .price{
    font-size:2.5rem;
    font-weight:800;
    margin-bottom:.25rem;
    color:var(--primary-color);
    line-height:1.1;
  }
  .premium-highlight .price{ color:var(--primary-color); }
  .pricing-card .currency{ font-size:1rem; }
  .price-note{ font-size:.92rem; color:var(--gray-text); margin:.25rem 0 .75rem; }
  
  /* Discount visuals */
  .price-wrap{ display:flex; flex-direction:column; gap:.25rem; }
  .old-price{
    font-size:1rem; color:#9aa0b4; text-decoration:line-through; opacity:.9;
    height:1.25rem; /* keeps layout stable when hidden */
  }
  .offer-tag{
    align-self:flex-start;
    font-size:.78rem; font-weight:700; letter-spacing:.2px;
    color:#1E3C6F;
    background:linear-gradient(135deg,#ffe8d1,#e9f1ff);
    border:1px solid rgba(30,60,111,.15);
    padding:.28rem .55rem;
    border-radius:.5rem;
    text-transform:none;
  }
  .hidden{ display:none !important; }
  
  /* Features list */
  .pricing-card ul{ list-style:none; margin:1rem 0 1.5rem; padding-left:0; }
  .pricing-card ul li{
    display:flex; align-items:center; gap:.5rem;
    margin-bottom:.5rem; font-size:.9rem;
  }
  .pricing-card ul li i{ color:var(--primary-color); }
  
  /* Buttons */
  .pricing-card .choose-btn{
    display:block; text-align:center;
    padding:.75rem; border-radius:.9rem;
    font-weight:700;
    transition: background var(--transition-speed) ease,
            color var(--transition-speed) ease,
            border-color var(--transition-speed) ease,
            transform .2s ease,
            box-shadow .2s ease;

  }
  .pricing-card:not(.premium-highlight) .choose-btn{
    border:2px solid var(--primary-color);
    color:var(--primary-color);
    background:transparent;
  }
  .pricing-card:not(.premium-highlight) .choose-btn:hover{
    background:var(--primary-color); color:#fff;
  }
  
  /* Primary CTA on premium – bigger, pill, arrow */
  .choose-btn-primary{
    background:linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color:#fff !important; border:0;
    box-shadow:0 12px 28px rgba(30,60,111,.22);
  }
  .choose-btn-primary.btn-xl{
    padding:1rem 1.25rem;
    font-size:1rem;
  }
  .choose-btn-primary::after{
    content:"→";
    font-weight:800;
    margin-left:.55rem;
    display:inline-block;
    transform:translateX(0);
    transition:transform .2s ease;
  }
  .choose-btn-primary:hover{
    filter:saturate(1.05) brightness(1.02);
    transform:translateY(-1px);
    box-shadow:0 16px 32px rgba(30,60,111,.25);
    background:linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  }
  .choose-btn-primary:hover::after{ transform:translateX(4px); }
  
  /* Hover micro-lift */
  .premium-highlight:hover{ transform:translateY(-10px); }
  
  /* Responsive tweaks */
  @media (max-width:900px){
    .pricing-head{ gap:.75rem; }
    .intro-offer{ width:100%; order:2; }
  }
  @media (max-width:640px){
    .intro-meter{ flex:1 1 auto; }
  }
     
/* ---------- 10. Testimonials ---------- */
.testimonials {
    background: radial-gradient(circle, var(--light-bg), #fff);
    padding: 5rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, .04);
}

.client-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.client-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: .75rem;
}

.client-info .name {
    font-weight: 600;
}

.client-info .role {
    font-size: .75rem;
    color: var(--gray-text);
}

.testimonial-card p.quote {
    font-style: italic;
    color: var(--gray-text);
}

/* ---------- 11. CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color),
            var(--primary-color));
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .9);
}

.btn-secondary {
    display: inline-block;
    padding: .75rem 1.75rem;
    border-radius: .75rem;
    background: #fff;
    color: var(--primary-color);
    font-weight: 600;
    transition: transform .25s;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--primary-color),
            var(--secondary-color));
    color: #fff;

}

/* ---------- 12. Footer ---------- */
footer {
    background: var(--card-bg);
    padding: 4rem 2rem;
    border-top: 1px solid #eaeaea;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: color var(--transition-speed);
}

.social-icons a:hover {
    color: var(--accent-color);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-column ul li a {
    color: var(--gray-text);
    font-size: .875rem;
    transition: color var(--transition-speed);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: .75rem;
    color: var(--gray-text);
}

/* ---------- 13. Fade Between Sections ---------- */
.section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -40px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .6), transparent);
    z-index: -1;
}

.hero::after,
footer::after,
.testimonials::after {
    display: none;
}

/* ---------- 14. Animations ---------- */
.animate {
    opacity: 0;
    transition: opacity .8s ease, transform .8s ease;
}

.animate.visible {
    opacity: 1;
    transform: none;
}

.fade-up {
    transform: translateY(60px);
}

.fade-left {
    transform: translateX(60px);
}

.fade-right {
    transform: translateX(-60px);
}

/* ===== YouTube Lightbox ===== */
.yt-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100; /* header is 100, so we're above */
    display: none; /* toggled by JS */
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  
  .yt-overlay.is-open { display: flex; }
  
  .yt-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: saturate(120%) blur(2px);
  }
  
  .yt-dialog {
    position: relative;
    width: min(90vw, 1200px);
    aspect-ratio: 16 / 9;
    max-height: 90vh;
    background: #000;
    border-radius: 16px;
    box-shadow: 0 14px 48px rgba(0,0,0,.35);
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
  }
  
  .yt-overlay.is-open .yt-dialog {
    transform: translateY(0);
    opacity: 1;
  }
  
  .yt-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  
  /* Close button (brand styling) */
  .yt-close {
    position: absolute;
    top: 10px;
    right: 10px;
    inline-size: 44px; /* logical width */
    block-size: 44px;  /* logical height */
    border: 0;
    border-radius: 999px;
    background: #1E3C6F;
    color: #fff;
    font-size: 22px;
    line-height: 44px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
  }
  .yt-close:hover { background: #EF7F1A; }
  .yt-close:focus { outline: 3px solid rgba(239,127,26,.35); outline-offset: 2px; }
  
  @media (prefers-reduced-motion: reduce) {
    .yt-dialog { transition: none; }
  }
  
  /* Lock scroll when open */
  body.no-scroll { overflow: hidden; }
  
/* ---------- 7. Animations / helpers ---------- */
.animate {
    opacity: 0;
    transition: opacity .8s ease, transform .8s ease;
}

.animate.visible {
    opacity: 1;
    transform: none;
}

.fade-up {
    transform: translateY(60px);
}

.fade-left {
    transform: translateX(60px);
}

.fade-right {
    transform: translateX(-60px);
}

/* ---------- 8. Misc small-screen tweaks ---------- */
@media(max-width:640px) {
    .hero .inner {
        flex-direction: column;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {
    .section {
        padding: 4rem 1rem;
    }

    .feature-image,
    .feature-text {
        flex: 1 1 100%;
    }

    .pricing-plans {
        flex-direction: column;
    }
}


:root{
    --brand:#1E3C6F;         /* navy */
    --accent:#EF7F1A;        /* orange */
    --sky:#e9f1ff;           /* very light blue */
  }
  
  body{
    background: radial-gradient(1200px 600px at 10% -10%, #eef3ff 0%, transparent 60%),
                radial-gradient(1000px 500px at 110% 0%, #f7f0ff 0%, transparent 60%),
                #f7f9fc; /* base */
  }
  
  /* fixed layer behind everything */
  .site-bg{
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    filter: blur(40px) saturate(110%);
  }
  
  .site-bg .blob{
    position: absolute;
    width: 42vmax; height: 42vmax;
    border-radius: 50%;
    opacity: .28;
    will-change: transform;
    animation: float 18s ease-in-out infinite;
  }
  
  .site-bg .b1{ background: var(--brand); left:-15vmax; top:-10vmax; animation-delay: 0s; }
  .site-bg .b2{ background: var(--accent); right:-12vmax; top:-8vmax; animation-delay: 3s; }
  .site-bg .b3{ background: #6aa4ff; left:20vmax; bottom:-18vmax; animation-delay: 6s; opacity:.22; }
  
  @keyframes float{
    0%,100%{ transform: translate3d(0,0,0) scale(1); }
    50%{ transform: translate3d(2vmax, -2vmax, 0) scale(1.05); }
  }
  
  /* Respect motion preferences */
  @media (prefers-reduced-motion: reduce){
    .site-bg .blob{ animation: none; }
  }
  

  /* ====== Glow background for feature rows & CTA ====== */
.feature,
.cta-banner {
  position: relative;
  isolation: isolate; /* keep glow below content */
}

.feature::before,
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -3rem -2rem;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(239, 127, 26, 0.15), transparent 70%),
    radial-gradient(50% 40% at 85% 15%, rgba(30, 60, 111, 0.18), transparent 60%);
  filter: blur(35px);
  opacity: 0.9;
  transform: translateZ(0);
  animation: glowPulse 8s ease-in-out infinite;
}

/* Slightly stronger glow for CTA */
.cta-banner::before {
  background:
    radial-gradient(65% 50% at 30% 20%, rgba(239, 127, 26, 0.22), transparent 70%),
    radial-gradient(50% 40% at 75% 15%, rgba(30, 60, 111, 0.25), transparent 60%);
  filter: blur(40px);
}

/* Glow pulse animation */
@keyframes glowPulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.03); }
}
.panel{
    position: relative;
    isolation: isolate; /* keeps glow under content */
  }
  .panel.has-glow::before{
    content:"";
    position: absolute;
    inset: -6rem -4rem;
    z-index:-1;
    background:
      radial-gradient(60% 50% at 20% 10%, rgba(239,127,26,.18), transparent 70%),
      radial-gradient(50% 40% at 85% 15%, rgba(30,60,111,.22), transparent 60%);
    filter: blur(30px);
    opacity:.9;
    transform: translateZ(0);
  }
  
  .dots-bg{
    position: fixed;
    inset: 0;
    z-index:-1;
    pointer-events:none;
    background-image:
       radial-gradient(circle at 1px 1px, rgba(30,60,111,.12) 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: radial-gradient(80% 60% at 50% 40%, #000 60%, transparent 100%);
    animation: drift 22s linear infinite;
    opacity:.35;
  }
  
  @keyframes drift{
    0%{ transform: translateY(0) }
    100%{ transform: translateY(18px) } /* slow scroll shimmer */
  }
  
  @media (prefers-reduced-motion: reduce){
    .dots-bg{ animation:none; }
  }
  

  /* ===== Page Loader ===== */
.page-loader{
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background:
      radial-gradient(1200px 600px at 10% -10%, #eef3ff 0%, transparent 60%),
      radial-gradient(1000px 500px at 110% 0%, #f7f0ff 0%, transparent 60%),
      rgba(247, 249, 252, .85);
    backdrop-filter: blur(4px);
    transition: opacity .35s ease, visibility .35s ease;
  }
  
  .page-loader.is-hidden{
    opacity: 0;
    visibility: hidden;
  }
  
  .loader-wrap{
    position: relative;
    width: 120px; height: 120px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: rgba(255,255,255,.6);
    box-shadow: 0 16px 40px rgba(30,60,111,.18);
    overflow: hidden;
  }
  
  .loader-logo{
    width: 86px; height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
    animation: logoPulse 1.8s ease-in-out infinite;
  }
  
  /* animated ring around the logo */
  .ring{
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    -webkit-mask:
      radial-gradient(circle at center, transparent 40px, #000 41px);
            mask:
      radial-gradient(circle at center, transparent 40px, #000 41px);
    background:
      conic-gradient(from 0turn,
         #1E3C6F, #1E3C6F 25%,
         #EF7F1A 50%, #6aa4ff 75%,
         #1E3C6F 100%);
    animation: spin 1.2s linear infinite;
    filter: blur(.2px);                /* smoother edges */
    opacity: .85;
  }
  
  /* soft outer glow */
  .loader-wrap::after{
    content:"";
    position:absolute; inset:-35px;
    border-radius: 30px;
    background:
      radial-gradient(60% 50% at 30% 30%, rgba(239,127,26,.25), transparent 70%),
      radial-gradient(60% 50% at 70% 20%, rgba(30,60,111,.25), transparent 70%);
    filter: blur(30px);
    z-index:-1;
    animation: glowPulse 2.8s ease-in-out infinite;
  }
  
  @keyframes spin{ to{ transform: rotate(1turn); } }
  @keyframes glowPulse{
    0%,100%{ opacity:.9; transform: scale(1); }
    50%{    opacity:1;  transform: scale(1.05); }
  }
  @keyframes logoPulse{
    0%,100%{ transform: translateZ(0) scale(1); }
    50%{    transform: translateZ(0) scale(1.03); }
  }
  
  /* Motion safety */
  @media (prefers-reduced-motion: reduce){
    .ring, .loader-wrap::after, .loader-logo{ animation: none; }
  }
  
/* ---------- End of File ---------- */