/* Custom CSS for FinBae Landing Page */

:root {
    /* Crygo Color Palette */
    --primary: #99E39E;
    --primary-dark: #7BC580;
    --primary-light: #B3EABA;
    --secondary: #1DC8CD;
    --secondary-dark: #17A3A7;
    --secondary-light: #4DD4D8;
    --success: #3CD278;
    --warning: #F7931A;
    --error: #CF3127;
    --info: #1DC8CD;
    --teal-green: #477E70;
    --charcoal-gray: #666C78;
    --deep-slate: #282C36;
    --slate-gray: #2F3543;
    
    /* Dark theme colors */
    --darkmode: #000510;
    --dark-light: #0C372A;
    --dark-grey: #1E2229;
    --light-grey: #505050;
    --section: #737373;
    --dark-border: #959595;
    
    /* Text colors */
    --muted: #D8DBDB;
    --midnight-text: #263238;
    --light: #f8f9fa;
    --light-emphasis: rgba(216, 219, 219, 0.75);
    --white-75: rgba(255, 255, 255, 0.75);
    --white-soft: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #99E39E 0%, #7BC580 100%);
    --gradient-secondary: linear-gradient(135deg, #1DC8CD 0%, #17A3A7 100%);
    --gradient-dark: linear-gradient(135deg, #000510 0%, #1E2229 100%);
    --gradient-subtle: linear-gradient(135deg, #1E2229 0%, #2F3543 100%);
    --gradient-teal: linear-gradient(135deg, #477E70 0%, #666C78 100%);
    
    /* Soft color backgrounds */
    --primary-soft: rgba(153, 227, 158, 0.15);
    --secondary-soft: rgba(29, 200, 205, 0.15);
    --success-soft: rgba(60, 210, 120, 0.15);
    --warning-soft: rgba(247, 147, 26, 0.15);
    --error-soft: rgba(207, 49, 39, 0.15);
    --teal-soft: rgba(71, 126, 112, 0.15);
    --charcoal-soft: rgba(102, 108, 120, 0.15);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--darkmode);
    color: var(--muted);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Crygo Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.display-4 {
    font-weight: 700;
}

.display-5 {
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Crygo Font Sizes (matching Tailwind config) */
.text-76 { font-size: 4.75rem; line-height: 1.2; }
.text-70 { font-size: 4.375rem; line-height: 1.2; }
.text-54 { font-size: 3.375rem; line-height: 1.2; }
.text-44 { font-size: 2.75rem; line-height: 1.3; }
.text-40 { font-size: 2.5rem; line-height: 3rem; }
.text-36 { font-size: 2.25rem; line-height: 2.625rem; }
.text-30 { font-size: 1.875rem; line-height: 2.25rem; }
.text-28 { font-size: 1.75rem; line-height: 2.25rem; }
.text-24 { font-size: 1.5rem; line-height: 2rem; }
.text-22 { font-size: 1.375rem; line-height: 2rem; }
.text-21 { font-size: 1.3125rem; line-height: 1.875rem; }
.text-18 { font-size: 1.125rem; line-height: 1.5rem; }
.text-16 { font-size: 1rem; line-height: 1.6875rem; }
.text-14 { font-size: 0.875rem; line-height: 1.225rem; }

/* Crygo Custom Colors */
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-error { color: var(--error) !important; }
.text-info { color: var(--info) !important; }
.text-teal-green { color: var(--teal-green) !important; }
.text-charcoal-gray { color: var(--charcoal-gray) !important; }
.text-deep-slate { color: var(--deep-slate) !important; }
.text-slate-gray { color: var(--slate-gray) !important; }
.text-muted { color: var(--muted) !important; }
.text-light-emphasis { color: var(--light-emphasis) !important; }
.text-white-75 { color: var(--white-75) !important; }

/* Crygo Background Colors */
.bg-primary-soft { background-color: var(--primary-soft) !important; }
.bg-secondary-soft { background-color: var(--secondary-soft) !important; }
.bg-success-soft { background-color: var(--success-soft) !important; }
.bg-warning-soft { background-color: var(--warning-soft) !important; }
.bg-error-soft { background-color: var(--error-soft) !important; }
.bg-teal-soft { background-color: var(--teal-soft) !important; }
.bg-charcoal-soft { background-color: var(--charcoal-soft) !important; }
.bg-white-soft { background-color: var(--white-soft) !important; }
.bg-darkmode { background-color: var(--darkmode) !important; }
.bg-dark-grey { background-color: var(--dark-grey) !important; }
.bg-deep-slate { background-color: var(--deep-slate) !important; }
.bg-slate-gray { background-color: var(--slate-gray) !important; }

/* Crygo Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

.bg-gradient-subtle {
    background: var(--gradient-subtle);
}

.bg-gradient-teal {
    background: var(--gradient-teal);
}

/* Crygo-style Navbar */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(0, 5, 16, 0.95) !important;
    border-bottom: 1px solid rgba(149, 149, 149, 0.2);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    color: var(--muted) !important;
}

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

/* Additional hover utilities for navbar */
.hover-text-primary:hover {
    color: var(--primary) !important;
}

/* Navbar active section highlighting */
.nav-link-active {
    color: var(--primary) !important;
    font-weight: 600 !important;
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
    border-radius: 1px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #99E39E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-indicator {
    transition: transform 0.3s ease;
}

.trust-indicator:hover {
    transform: translateY(-5px);
}

/* Dashboard Mockup */
.dashboard-mockup {
    position: relative;
    backdrop-filter: blur(10px);
    background-color: var(--dark-grey);
    border: 1px solid rgba(149, 149, 149, 0.2);
}

.metric-card {
    border: 1px solid rgba(149, 149, 149, 0.1);
}

/* Floating Elements Animation */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    right: -10%;
    animation-delay: -1s;
}

.floating-2 {
    top: 60%;
    right: -5%;
    animation-delay: -3s;
}

.floating-3 {
    top: 30%;
    left: -5%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: var(--dark-grey);
    border: 1px solid rgba(149, 149, 149, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(153, 227, 158, 0.2);
    border-color: var(--primary);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    border: 1px solid rgba(149, 149, 149, 0.1);
}

/* How It Works Section */
.step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
}

.how-it-works-card {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.how-it-works-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.process-flow {
    background-color: var(--dark-grey);
    border: 1px solid rgba(149, 149, 149, 0.1);
}

/* Differentiator Cards */
.differentiator-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: var(--dark-grey);
    border: 1px solid rgba(149, 149, 149, 0.1);
}

.differentiator-card:hover {
    transform: translateY(-5px);
    border-color: rgba(149, 149, 149, 0.3);
}

.differentiator-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Section */
.early-access-form {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(149, 149, 149, 0.2);
}

.form-control, .form-select {
    background-color: rgba(0, 5, 16, 0.05);
    border: 1px solid rgba(149, 149, 149, 0.2);
    color: var(--midnight-text);
}

.form-control:focus, .form-select:focus {
    background-color: rgba(0, 5, 16, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(153, 227, 158, 0.25);
    color: var(--midnight-text);
}

.form-control::placeholder {
    color: rgba(115, 115, 115, 0.7);
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: var(--dark-grey);
    border: 1px solid rgba(149, 149, 149, 0.1);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(149, 149, 149, 0.3);
}

/* Crygo-style Buttons */
.btn {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.btn-primary {
    background-color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: var(--darkmode) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: transparent !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(153, 227, 158, 0.25) !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    border: 1px solid var(--primary) !important;
    color: var(--primary) !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--primary) !important;
    color: var(--darkmode) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(153, 227, 158, 0.25) !important;
}

.btn-outline-light {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-light:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--darkmode);
    transform: translateY(-2px);
}

/* Crygo-specific hover classes */
.hover-bg-transparent:hover {
    background-color: transparent !important;
}

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

.hover-bg-primary:hover {
    background-color: var(--primary) !important;
}

.hover-text-darkmode:hover {
    color: var(--darkmode) !important;
}

/* Badges */
.badge {
    font-weight: 500;
    font-size: 0.875rem;
}

/* Progress Bars */
.progress {
    background-color: rgba(149, 149, 149, 0.2);
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Footer */
footer {
    background-color: var(--darkmode);
    border-top: 1px solid rgba(149, 149, 149, 0.2);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary) !important;
}

/* Social Icons */
footer .d-flex a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

footer .d-flex a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .floating-element {
        display: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

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

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

/* Static Hero Elements - No Animations */
.phone-float {
    /* Remove all animations - static positioning */
    transform: scale(1);
}

.badge-rotate {
    /* Remove all animations - static positioning */
    transform: scale(1);
}

.phone-glow {
    /* Static shadow - no animation */
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.screen-flicker {
    /* Static screen - no animation */
    background-color: #000;
    opacity: 1;
}

.chart-animate {
    /* Static chart - no animation */
    stroke-dasharray: none;
    opacity: 1;
}

/* Comprehensive Mobile Fixes and Optimizations */
@media (max-width: 768px) {
    /* Container spacing adjustments for mobile */
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Hero section mobile fixes */
    #main-banner {
        padding-top: 4rem !important;
        padding-bottom: 2rem !important;
        min-height: 100vh !important;
    }
    
    #main-banner .row {
        min-height: auto !important;
    }
    
    #main-banner h1 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 2rem !important;
    }
    
    /* Phone mockup mobile adjustments - Static */
    .phone-float {
        transform: scale(0.8);
        /* No animations on mobile */
    }
    
    .badge-rotate {
        transform: scale(0.8);
        /* No animations on mobile */
    }
    
    /* Button adjustments for mobile */
    .btn {
        font-size: 0.9rem !important;
        padding: 0.6rem 1.2rem !important;
    }
    
    /* App store buttons mobile */
    #main-banner .d-flex.gap-4 {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }
    
    #main-banner .d-flex.gap-4 .btn {
        justify-content: center !important;
        text-align: center !important;
    }
    
    /* Section spacing mobile */
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Typography mobile */
    h2 {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
    }
    
    h5, h6 {
        font-size: 1.1rem !important;
    }
    
    p {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
    }
    
    /* Feature cards mobile */
    .feature-card, .how-it-works-card, .differentiator-card {
        margin-bottom: 1.5rem !important;
    }
    
    /* Timeline mobile adjustments */
    #development .position-relative {
        margin-top: 2rem !important;
    }
    
    #development .position-absolute {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-bottom: 2rem !important;
    }
    
    /* Contact form mobile */
    #contact .row.g-5 {
        gap: 2rem !important;
    }
    
    /* Navbar mobile improvements */
    .navbar-brand {
        font-size: 1.2rem !important;
    }
    
    .offcanvas {
        max-width: 280px !important;
    }
    
    /* Static elements for mobile performance */
    .phone-glow {
        box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
    }
    
    .screen-flicker {
        background-color: #000 !important;
        opacity: 1 !important;
    }
    
    /* Ensure proper spacing from edges */
    body {
        overflow-x: hidden;
    }
    
    .container-fluid[style*="max-width"] {
        max-width: 100% !important;
        margin: 0 auto;
    }
}

/* Icon shapes - All Square */
.icon-rectangle, .icon-ellipse, .icon-square {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 8px;
    padding: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.step-number-new {
    background: var(--primary);
    color: var(--darkmode);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* ================================
   Hero Image Styles
   ================================ */

/* Hero image container */
.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}



/* ================================
   Responsive Hero Image
   ================================ */
@media (max-width: 768px) {
    .hero-image {
        width: 350px !important;
        height: 350px !important;
    }
}

/* ================================
   Mobile Features Section
   ================================ */
@media (max-width: 768px) {
    /* Features section mobile adjustments */
    #features {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    #features h2 {
        font-size: 2rem !important;
        line-height: 2.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    #features p.text-muted {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
    }
    
    /* Feature cards mobile layout */
    #features .col-md-6 {
        margin-bottom: 1.5rem !important;
    }
    
    #features .hover-lift {
        padding: 1.5rem !important;
    }
    
    /* Icon and heading mobile layout */
    #features .d-flex.align-items-center.gap-3 {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    #features .d-flex.align-items-center.gap-3 .rounded-3 {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
    
    #features .d-flex.align-items-center.gap-3 i {
        font-size: 1.5rem !important;
    }
    
    #features .d-flex.align-items-center.gap-3 h4 {
        font-size: 1.25rem !important;
        line-height: 1.5rem !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    #features .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    #features h2 {
        font-size: 1.75rem !important;
        line-height: 2.25rem !important;
    }
    
    #features .hover-lift {
        padding: 1.25rem !important;
    }
    
    #features .d-flex.align-items-center.gap-3 .rounded-3 {
        width: 3rem !important;
        height: 3rem !important;
    }
    
    #features .d-flex.align-items-center.gap-3 i {
        font-size: 1.25rem !important;
    }
    
    #features .d-flex.align-items-center.gap-3 h4 {
        font-size: 1.125rem !important;
        line-height: 1.375rem !important;
    }
}




/* Circular animation for FinBae AI CFO text */
.circular-text {
    animation: circularRotate 8s linear infinite;
    transform-origin: center;
}

@keyframes circularRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.circular-text:hover {
    animation-play-state: paused;
}

/* Instagram button specific styling to ensure it's clickable */
.instagram-link {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
}

.instagram-link:hover {
    text-decoration: none !important;
}

#instagram-follow-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10 !important;
}

#instagram-follow-btn:hover {
    text-decoration: none !important;
}

/* Notification Toast Styles */
.notification-toast {
    animation: slideInRight 0.3s ease-out;
    border: none !important;
    backdrop-filter: blur(10px);
}

.notification-toast.alert-success {
    background: linear-gradient(135deg, rgba(60, 210, 120, 0.95) 0%, rgba(60, 210, 120, 0.9) 100%) !important;
    color: var(--darkmode) !important;
    border-left: 4px solid var(--success) !important;
}

.notification-toast.alert-danger {
    background: linear-gradient(135deg, rgba(207, 49, 39, 0.95) 0%, rgba(207, 49, 39, 0.9) 100%) !important;
    color: white !important;
    border-left: 4px solid var(--error) !important;
}

.notification-toast.alert-info {
    background: linear-gradient(135deg, rgba(29, 200, 205, 0.95) 0%, rgba(29, 200, 205, 0.9) 100%) !important;
    color: var(--darkmode) !important;
    border-left: 4px solid var(--info) !important;
}

.notification-toast .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.notification-toast .btn-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 0.2rem rgba(207, 49, 39, 0.25) !important;
}

.form-control.is-valid {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 0.2rem rgba(60, 210, 120, 0.25) !important;
}

.invalid-feedback {
    color: var(--error) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--success) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}


