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

:root {
  /* Light Theme */
  --bg-color: #f8fafc;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --secondary: #3b82f6;
  --accent: #8b5cf6;
  --border: #e2e8f0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-color: #0f172a;
  --surface: #1e293b;
  --surface-glass: rgba(30, 41, 59, 0.7);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --secondary: #60a5fa;
  --accent: #a78bfa;
  --border: #334155;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.4);
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html { scroll-padding-top: 90px; overflow-x: hidden; }

body {
  background-color: var(--bg-color); color: var(--text-main);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden; line-height: 1.6;
}

img, iframe { max-width: 100%; }
img { display: block; }
a, button { -webkit-tap-highlight-color: transparent; }

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Typography & Utils */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section.container { padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }
.section-title { font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.2; overflow-wrap: break-word; }
.section-subtitle { color: var(--text-muted); font-size: 1.125rem; max-width: 600px; margin: 0 auto 3rem; }
.gradient-text { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mt-4 { margin-top: 1rem; }

/* Background Blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; animation: pulseGlow 10s infinite ease-in-out; }
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: rgba(79, 70, 229, 0.2); }
.blob-2 { bottom: 10%; right: 0; width: 600px; height: 600px; background: rgba(139, 92, 246, 0.2); animation-delay: 2s; }

/* Navbar */
nav { position: fixed; top: 0; width: 100%; padding: 1rem 0; z-index: 100; backdrop-filter: blur(12px); background: var(--surface-glass); border-bottom: 1px solid var(--border); transition: all 0.3s; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; min-height: 44px; display: flex; align-items: center; }
.nav-links a:hover { color: var(--primary); }
.theme-toggle, .mobile-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; border-radius: 50%; cursor: pointer; color: var(--text-main); }
.theme-toggle { display: flex; font-size: 1.2rem; }
.mobile-toggle { display: none; font-size: 1.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; max-width: 100%; padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; white-space: normal; transition: all 0.3s; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-2px); color: white; }
.btn-outline { border: 2px solid var(--border); color: var(--text-main); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.card-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero Section */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; padding-top: 5rem; }
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-mockup { margin-top: 4rem; position: relative; animation: float 6s ease-in-out infinite; }
.hero-mockup img { max-width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }

/* Grid Layouts */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(79, 70, 229, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; }

/* Pricing Cards */
.pricing-card { text-align: center; padding: 3rem 2rem; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price { font-size: 3rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--text-main); }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.features-list { list-style: none; margin: 2rem 0; text-align: left; }
.features-list li { margin-bottom: 1rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.75rem; }
.features-list li i { color: var(--primary); }
.recommended { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.badge{
    padding:10px 16px;
    border-radius:999px;
    background:rgba(139,92,246,0.08);
    border:1px solid rgba(139,92,246,0.25);
    color:var(--text-main);
    font-size:14px;
    display:inline-flex;
    align-items:center;
    gap:8px;
}


/* Timeline (About Page) */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline::after { content: ''; position: absolute; width: 2px; background: var(--border); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--surface); border: 4px solid var(--primary); top: 15px; border-radius: 50%; z-index: 1; }
.left { left: 0; } .right { left: 50%; }
.right::after { left: -10px; }
.timeline-content { padding: 20px 30px; background: var(--surface); position: relative; border-radius: 16px; border: 1px solid var(--border); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-main); }
.form-control { width: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-color); color: var(--text-main); font-family: inherit; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }

/* Media */
.profile-layout { align-items: center; gap: 4rem; }
.profile-image { width: 320px; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.responsive-video { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: #000; }
.responsive-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-title { font-weight: 700; margin-bottom: 1.5rem; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 0.75rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 2rem; }

/* Dashboard Showcase */

.dashboard-showcase{
    position: relative;
    width: 100%;
    height: 720px;
    margin-top: 5rem;
}

.dash-img{
    position: absolute;
    width: 460px;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
    object-fit: cover;
    background: var(--surface);
}

.dash-img:hover{
    transform: translateY(-12px) scale(1.04);
}

/* Top Left */
.dash-1{
    top: 0;
    left: 2%;
    z-index: 4;
    transform: rotate(-5deg);
}

/* Top Right */
.dash-2{
    top: 40px;
    right: 2%;
    z-index: 3;
    transform: rotate(4deg);
}

/* Bottom Left */
.dash-3{
    bottom: 0;
    left: 12%;
    z-index: 2;
    transform: rotate(-3deg);
}

/* Bottom Right */
.dash-4{
    bottom: 40px;
    right: 12%;
    z-index: 1;
    transform: rotate(3deg);
}

/* Mobile */
@media (max-width: 768px){

    .dashboard-showcase{
        height: auto;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .dash-img{
        position: relative;
        width: 100%;
        max-width: 340px;
        transform: none !important;
    }

    .dash-1,
    .dash-2,
    .dash-3,
    .dash-4{
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
    }
}
/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 21px; }
  .right { left: 0%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }
  body.menu-open { overflow: hidden; }
  nav { padding: 0.625rem 0; padding-top: max(0.625rem, env(safe-area-inset-top)); }
  .nav-container { padding: 0 1rem; }
  .logo { font-size: 1.3rem; }
  .nav-links {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.75rem);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    background: var(--surface);
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }
  .nav-links.active { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links a { width: 100%; padding: 0.75rem 1rem; border-radius: 10px; }
  .nav-links a:hover { background: var(--bg-color); }
  .mobile-toggle { display: flex; }
  body > .section.container:first-of-type { padding-top: 7rem !important; }
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
  .hero p { font-size: 1rem; margin-bottom: 2rem; }
  .hero-btns { width: min(100%, 360px); margin: 0 auto; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-btns .btn { width: 100%; }
  .hero-mockup { margin-top: 2.5rem; animation: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid { gap: 1.25rem; }
  .card { padding: 1.5rem; }
  .pricing-card { padding: 2rem 1.5rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .card-actions { flex-direction: column; align-items: stretch; }
  .card-actions .btn { width: 100%; }
  .profile-layout { gap: 2rem !important; }
  .badge { max-width: 100%; justify-content: center; text-align: center; }
  .blob { filter: blur(70px); animation: none; }
  .blob-1 { width: 280px; height: 280px; }
  .blob-2 { width: 320px; height: 320px; right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  footer { padding: 3rem 0 1.5rem; margin-top: 2rem; }
  .footer-grid { gap: 1.5rem; margin-bottom: 2rem; }
  .footer-title { margin-bottom: 1rem; }
}
@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .hero h1 br { display: none; }
  .card { padding: 1.25rem; border-radius: 14px; }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .price { font-size: 2.35rem; }
  .features-list li { align-items: flex-start; }
  .timeline { padding: 1rem 0; }
  .timeline::after { left: 11px; }
  .timeline-item { padding-left: 32px; padding-right: 0; }
  .timeline-item::after { left: 1px; }
  .timeline-content { padding: 1.25rem; }
  .coming-soon-card::after { right: -42px; }
}
.bankxtally-icon{
    background: rgba(16,185,129,.1);
    color:#10b981;
}

.coming-soon-badge{
    display:inline-block;
    padding:6px 12px;
    border-radius:999px;
    background:rgba(245,158,11,.15);
    color:#f59e0b;
    font-size:.8rem;
    font-weight:700;
    margin-bottom:15px;
    letter-spacing:.5px;
}

.launching-text{
    font-size:1.4rem;
}

.coming-soon-card{
    position:relative;
    overflow:hidden;
}

.coming-soon-card::after{
    content:"COMING SOON";
    position:absolute;
    top:20px;
    right:-35px;
    transform:rotate(45deg);
    padding:6px 40px;
    font-size:.7rem;
    font-weight:700;
    background:#f59e0b;
    color:#fff;
}

@media (hover: none) {
  .card:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .dash-img:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
