/* ===================================
   BUBERKASMART - FINTECH MODERN DESIGN
   Million-Dollar SaaS Aesthetic
   =================================== */

:root {
    /* FinTech Color Palette - Dark Tech */
    --bg-primary: #0B1120;
    --bg-secondary: #111827;
    --bg-tertiary: #1F2937;
    
    /* Brand Colors - Electric & Vibrant */
    --brand-primary: #3B82F6;      /* Electric Blue */
    --brand-secondary: #6366F1;    /* Vivid Indigo */
    --brand-accent: #8B5CF6;       /* Purple */
    --brand-success: #10B981;      /* Emerald */
    --brand-warning: #F59E0B;      /* Amber */
    
    /* Text Colors - High Contrast */
    --text-primary: #F9FAFB;
    --text-secondary: #E5E7EB;
    --text-muted: #9CA3AF;
    --text-dark: #1F2937;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.08);
    
    /* Typography - Modern Tech Stack */
    --font-heading: 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    
    /* Spacing - Generous Whitespace */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Border Radius - Friendly Modern */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 3rem;
    --radius-full: 9999px;
    
    /* Shadows - Soft & Elevated */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* ===================================
   BASE STYLES - DARK TECH FOUNDATION
   =================================== */

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

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dark background only for landing page sections */
.fintech-hero,
.features-section,
.section-spacing {
    color: var(--text-primary);
}

/* Typography - Geometric & Clean */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================
   HERO SECTION - MAGIC & IMPACT
   =================================== */

.fintech-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    max-width: 100vw;
    padding-top: 80px;
}

/* Prevent any horizontal overflow on the page */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Animated Background Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--brand-primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--brand-secondary);
    bottom: -10%;
    right: -10%;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--brand-accent);
    top: 50%;
    right: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: var(--space-xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    animation: slideDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 50%, var(--brand-accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    animation: slideUp 0.8s ease-out 0.4s both;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.btn-primary-glow {
    position: relative;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

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

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-secondary-glass {
    padding: 1rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    backdrop-filter: blur(20px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary-glass:hover {
    background: var(--glass-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Mockup - Floating NFC Card */
.hero-mockup {
    position: relative;
    animation: slideUp 0.8s ease-out 0.8s both;
    overflow: hidden;
    padding: 2rem 1rem;
}

.nfc-card-float {
    position: relative;
    width: 350px;
    height: 220px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    padding: var(--space-lg);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: cardFloat 6s ease-in-out infinite;
}

.nfc-card-float:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

@keyframes cardFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

/* Floating Elements - now inline badges */
.hero-badges-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-inline-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1rem;
    animation: fadeIn 1s ease-out;
}

/* ===================================
   FEATURE CARDS - GLASSMORPHISM
   =================================== */

.features-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.feature-card-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card-glass:hover {
    background: var(--glass-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

.feature-icon-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: iconShimmer 3s ease-in-out infinite;
}

@keyframes iconShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature-icon-modern svg,
.feature-icon-modern i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ===================================
   ANIMATIONS - SMOOTH & PROFESSIONAL
   =================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

@media (max-width: 768px) {
    .hero-content {
        padding: var(--space-lg) 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-glow,
    .btn-secondary-glass {
        width: 100%;
        max-width: 300px;
    }
    
    .nfc-card-float {
        width: 280px;
        height: 180px;
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .feature-card-glass {
        padding: var(--space-lg);
    }
    
    .blob-1, .blob-2, .blob-3 {
        width: 300px;
        height: 300px;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    padding: var(--space-xl);
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}

.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-spacing {
    padding: var(--space-3xl) 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--brand-primary);
    color: white;
}

::-moz-selection {
    background: var(--brand-primary);
    color: white;
}

/* ===================================
   DARK NAVBAR STYLES
   =================================== */

.navbar .nav-link:hover {
    color: var(--brand-primary) !important;
}

.navbar .navbar-collapse {
    background: rgba(11, 17, 32, 0.95);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
}

@media (min-width: 992px) {
    .navbar .navbar-collapse {
        background: transparent;
        padding: 0;
    }
}

/* ===================================
   DARK ACCORDION STYLES
   =================================== */

.accordion-button::after {
    filter: invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-button:focus {
    box-shadow: none;
}

/* ===================================
   CITY CARD HOVER
   =================================== */

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ===================================
   LANDING PAGE SCOPE
   Only apply dark body styles on landing page
   =================================== */

/* Override for non-landing pages that use container-fluid */
.container-fluid {
    max-width: 100%;
}

/* WhatsApp Float - ensure visibility on dark bg */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}
