/* CSS Custom Properties */

/* Pulse animation for testimonial */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}
:root {
    /* Primary Colors */
    --primary: 220 20% 32%; /* #374151 - Mature Gray-Blue */
    --primary-dark: 220 25% 25%; /* #2D333E */
    --secondary: 220 40% 15%; /* #1A2332 - Dark Navy */
    --accent: 220 30% 45%; /* #4B5564 */
    
    /* Neutral Colors */
    --background: 210 11% 98%; /* #F5F7FA */
    --surface: 0 0% 100%; /* #FFFFFF */
    --text-primary: 220 40% 15%; /* #1A2332 */
    --text-secondary: 220 15% 45%; /* #6B7280 */
    --text-muted: 220 10% 60%; /* #9CA3AF */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--primary-dark)));
    --gradient-accent: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Problem/Solution Section Colors */
    --problem-danger: #dc3545;
    --problem-warning: #ffc107;
    --solution-success: #28a745;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.5;
    color: #0f172a;
    background: #ffffff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: hsl(var(--text-secondary));
}

/* Modern Button System */
.btn {
    border-radius: 6px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    letter-spacing: -0.011em;
}

.btn-primary {
    background: #0f172a;
    border-color: #0f172a;
    color: white;
}

.btn-primary:hover {
    background: #334155;
    border-color: #334155;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.25);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.8125rem;
}



.btn-primary:focus, .btn-primary:active {
    background: hsl(var(--primary-dark));
    border-color: hsl(var(--primary-dark));
    box-shadow: 0 0 0 0.2rem hsla(var(--primary), 0.25);
}

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

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

.bg-dark {
    background: hsl(var(--secondary)) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background: hsla(var(--secondary), 0.95) !important;
    padding: 1rem 0;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: white !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: var(--transition-base);
    padding: 0.5rem 1rem !important;
    border-radius: 0.375rem;
}

.navbar-nav .nav-link:hover {
    color: hsl(var(--accent)) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile navigation alignment */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: right;
        align-items: flex-end;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        text-align: right;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        text-align: right;
        justify-content: flex-end;
        width: 100%;
    }
    
    /* Make navigation buttons smaller and right-aligned on mobile */
    .navbar-nav .btn {
        text-align: right;
        justify-content: center;
        width: auto !important;
        display: inline-block !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        padding: 0.375rem 0.75rem !important;
        font-size: 0.875rem !important;
        border-radius: 8px !important;
    }
    
    .navbar-nav .nav-item:last-child .btn,
    .navbar-nav .nav-item:nth-last-child(2) .btn {
        margin-bottom: 0.5rem !important;
    }
}

/* Mobile spacing optimization */
@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    section.py-5 {
        padding: 2rem 0 !important;
    }
    
    /* Reduce container margins */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Reduce hero section padding */
    .hero-section {
        padding-bottom: 1rem !important;
    }
    
    .hero-section .container {
        padding-top: 2rem !important;
    }
    
    /* Reduce feature section spacing */
    .feature-card {
        margin-bottom: 1.5rem !important;
    }
    
    /* Reduce platform section spacing */
    .platform-screenshot {
        margin-bottom: 2rem !important;
    }
    
    /* Reduce track record section spacing */
    .track-record-container {
        margin-top: 2rem !important;
        padding-top: 1rem !important;
    }
    
    /* Reduce testimonial spacing */
    .testimonial-container {
        padding: 20px 15px !important;
        margin-top: 2rem !important;
    }
    
    /* Reduce plans section spacing */
    #plans .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Reduce contact section spacing */
    #contact .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Move AI-Powered Investor Matching container closer to graphic on mobile */
    .platform-feature-container-white {
        margin-top: -1rem !important;
    }
    
    .platform-feature-content-white {
        padding: 1rem !important;
    }
    
    /* Reduce spacing between platform feature rows */
    .row.align-items-center.mb-5 {
        margin-bottom: 2rem !important;
    }
    
    /* Reduce space between expert support and track record sections */
    #platform {
        padding-bottom: 1rem !important;
    }
    
    #success {
        padding-top: 1rem !important;
    }
    
    /* Proportionate mobile text sizes similar to desktop */
    .platform-feature-content-white ul li {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.7rem !important;
        display: flex !important;
        align-items: flex-start !important;
    }
    
    .platform-feature-content-white ul li span {
        font-size: 0.9rem !important;
    }
    
    .platform-feature-content-white h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.3 !important;
    }
    
    .platform-feature-content-white p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
    /* Hero section mobile text */
    .hero-section h1 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-section .lead {
        font-size: 1.1rem !important;
    }
    
    .hero-section p {
        font-size: 0.95rem !important;
    }
    
    /* Center button and add spacing on mobile */
    .hero-section .d-flex {
        justify-content: center !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-section .col-lg-6:first-child {
        text-align: center !important;
        margin-bottom: 1rem !important;
    }
    
    /* Feature badges mobile sizing */
    .feature-badge .badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    /* Adjust icon size for better alignment and remove extra space */
    .platform-feature-content-white ul li .fas {
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
        margin-right: 0.5rem !important;
        margin-top: 0.1rem !important;
    }
    
    /* Ensure text wraps properly with proper alignment */
    .platform-feature-content-white ul li span {
        /* flex: 1 !important; */
        font-size: 0.9rem !important;
    }
    
    /* Section headings mobile sizing */
    section h2 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
    }
    
    section .lead {
        font-size: 1rem !important;
    }
    
    /* Shorter wave transitions on mobile */
    .position-relative svg {
        height: 30px !important;
    }
    
    /* Shorter wave transitions on mobile */
    .position-relative svg {
        height: 30px !important;
    }
    
    /* Track record section mobile text */
    #success {
        padding-top: 3rem !important;
    }
    
    #success h2 {
        font-size: 1.7rem !important;
    }
    
    #success .lead {
        font-size: 0.95rem !important;
    }
    
    #success .text-center {
        margin-bottom: 2rem !important;
    }
    
    /* Testimonial mobile text */
    .testimonial-container p {
        font-size: 1.1rem !important;
        line-height: 1.5 !important;
    }
    
    .testimonial-container h4 {
        font-size: 1.1rem !important;
    }
    
    /* Metrics section mobile styling */
    .metrics-bar-fullwidth {
        padding: 2rem 0 !important;
    }
    
    .metric-item-glow h4 {
        font-size: 1.4rem !important;
    }
    
    .metric-item-glow p {
        font-size: 0.8rem !important;
    }
    
    /* Navigation buttons mobile sizing */
    .navbar .btn {
        padding: 0.25rem 0.75rem !important;
        font-size: 0.85rem !important;
        border-radius: 25px !important;
    }
    
    /* Track Record Mobile Layout */
    .logos-container {
        padding: 1rem 0 !important;
        margin: 0 -15px !important;
    }
    
    .success-item {
        min-width: 250px !important;
        padding: 1rem !important;
    }
    
    .company-name {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.3rem !important;
    }
    
    .funding-amount {
        font-size: 0.85rem !important;
        opacity: 0.85 !important;
    }
    
    /* Slower animation on mobile to show all clients */
    .logos-scroll {
        animation: scroll 30s linear infinite !important;
    }
    
    /* Remove hover effects on mobile */
    .success-item:hover {
        transform: none !important;
    }
    
    .logos-scroll:hover,
    .logos-container:hover .logos-scroll {
        animation-play-state: running !important;
    }
    
    /* Touch-friendly mobile interactions */
    .logos-container {
        touch-action: pan-x !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Better visual hierarchy on mobile */
    #success .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Improved readability for long company names on mobile */
    .company-name {
        word-break: break-word !important;
        hyphens: auto !important;
    }
    
    /* Ensure smooth scrolling performance on mobile */
    .logos-scroll {
        will-change: transform !important;
        backface-visibility: hidden !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .success-item {
        min-width: 220px !important;
        padding: 0.75rem !important;
    }
    
    .company-name {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
    }
    
    .funding-amount {
        font-size: 0.8rem !important;
    }
    
    /* Even faster animation for very small screens */
    .logos-scroll {
        animation: scroll 5s linear infinite !important;
    }
}

/* Hero Section */
.hero-section {
    background: url('../images/ombre_black_to_brightblue_diagonal.png') center center / cover no-repeat;
    position: relative;
    overflow: hidden;
    padding-top: 0px;
    margin-top: -60px;
    padding-bottom: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-slow);
}

.hero-image:hover img {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Feature Cards */
.feature-card {
    transition: var(--transition-base);
    border: 1px solid hsl(var(--background));
    background: hsl(var(--surface));
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--primary));
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    color: white;
}

/* Workflow Cards */
.workflow-card {
    transition: var(--transition-base);
}

.workflow-card:hover {
    transform: translateY(-5px);
}

.workflow-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

/* Platform Features */
.platform-feature {
    transition: var(--transition-base);
    border-radius: 0.75rem;
    background: hsl(var(--surface));
    border: 1px solid hsl(var(--background));
}

.platform-feature:hover {
    background: hsl(var(--primary));
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.platform-feature:hover i {
    color: white !important;
}

/* Metric Cards */
.metric-card {
    transition: var(--transition-base);
    border: 1px solid hsl(var(--background));
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: hsl(var(--primary));
}

/* Metrics Bar */
.metrics-bar {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d) !important;
    border: 1px solid rgba(0, 196, 204, 0.2);
    transition: var(--transition-base);
}

.metrics-bar:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Full Width Metrics Bar */
.metrics-bar-fullwidth {
    background: #000000 !important;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.metrics-bar-fullwidth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(0, 196, 204, 0.1) 50%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: subtle-move 20s linear infinite;
}

@keyframes subtle-move {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.metric-item-glow {
    position: relative;
    padding: 0.5rem 1rem 1rem 1rem;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.metric-item-glow::after {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.metric-item-glow:last-child::after {
    display: none;
}

.metric-item-glow:hover {
    transform: translateY(-3px);
}

.counter {
    font-size: 3rem;
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    letter-spacing: -0.02em;
    transition: var(--transition-base);
}

.glow-text {
    color: #ffffff !important;
    text-shadow: 
        0 0 3px rgba(255, 255, 255, 0.3),
        0 0 6px rgba(255, 255, 255, 0.2),
        0 0 12px rgba(0, 196, 204, 0.2),
        0 0 18px rgba(0, 196, 204, 0.1);
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    from {
        text-shadow: 
            0 0 3px rgba(255, 255, 255, 0.3),
            0 0 6px rgba(255, 255, 255, 0.2),
            0 0 12px rgba(0, 196, 204, 0.2),
            0 0 18px rgba(0, 196, 204, 0.1);
    }
    to {
        text-shadow: 
            0 0 4px rgba(255, 255, 255, 0.4),
            0 0 8px rgba(255, 255, 255, 0.3),
            0 0 15px rgba(0, 196, 204, 0.25),
            0 0 20px rgba(0, 196, 204, 0.15);
    }
}

.metric-item {
    position: relative;
    padding: 1rem;
}

.metric-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(0, 196, 204, 0.3);
}

.metric-item:last-child::after {
    display: none;
}

/* Differentiators Section */
.differentiator-content {
    padding: 2rem;
}

.differentiator-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.differentiator-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--accent)));
    border-radius: 2px;
}

.differentiator-content ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    padding-left: 0.5rem;
    transition: var(--transition-base);
}

.differentiator-content ul li:hover {
    transform: translateX(5px);
    color: hsl(var(--primary));
}

.differentiator-image {
    padding: 1rem;
}

.placeholder-graphic {
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.placeholder-graphic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--primary));
}

@media (max-width: 991.98px) {
    .differentiator-content {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .order-lg-1,
    .order-lg-2 {
        order: unset !important;
    }
}

/* Platform Overview Section */
.platform-gradient {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 25%, #2b77ad 50%, #3182ce 75%, #4299e1 100%);
    position: relative;
    overflow: hidden;
}

.platform-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.05) 50%, transparent 51%);
    background-size: 30px 30px;
    opacity: 0.3;
    animation: platform-move 25s linear infinite;
}

@keyframes platform-move {
    0% { transform: translateX(-30px) translateY(-30px); }
    100% { transform: translateX(30px) translateY(30px); }
}

.platform-feature-container {
    position: relative;
    background: linear-gradient(145deg, rgba(45, 82, 130, 0.8), rgba(26, 54, 93, 0.9));
    border-radius: 20px;
    padding: 8px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.platform-feature-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 30%,
        rgba(0, 0, 0, 0.05) 70%,
        rgba(0, 0, 0, 0.1) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.platform-feature-container:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.platform-feature-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(49, 130, 206, 0.15) 0%,
        rgba(66, 153, 225, 0.1) 50%,
        rgba(26, 54, 93, 0.2) 100%);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.platform-feature-content h3 {
    font-size: 2rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.platform-feature-content .feature-badge .badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 20px;
}

.feature-badge {
    margin-bottom: 1.5rem;
}

.platform-feature-content ul li {
    font-size: 1rem;
    line-height: 1.6;
    transition: var(--transition-base);
}

.platform-feature-content ul li:hover {
    transform: translateX(5px);
    opacity: 1;
}

.platform-screenshot {
    position: relative;
    z-index: 2;
}

.platform-screenshot img {
    transition: var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 650px;
    height: auto;
}

/* Expert Support Conference Image - Smaller Size */
.platform-feature:nth-child(6) .platform-screenshot img {
    max-width: 500px;
    width: 75%;
    margin: 0 auto;
    display: block;
}

.platform-screenshot:hover img {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.platform-feature-container-white {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 8px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-base);
}

.platform-feature-container-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.8) 0%,
        rgba(248, 250, 252, 0.6) 30%,
        rgba(226, 232, 240, 0.4) 70%,
        rgba(203, 213, 224, 0.3) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.platform-feature-container-white:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    border-color: rgba(66, 153, 225, 0.3);
}

.platform-feature-content-white {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.9) 50%,
        rgba(237, 242, 247, 0.85) 100%);
    border-radius: 15px;
    border: 1px solid rgba(66, 153, 225, 0.1);
    backdrop-filter: blur(5px);
}

.platform-feature-content-white h3 {
    font-size: 2rem;
    line-height: 1.3;
}

@media (max-width: 991.98px) {
    .platform-feature-content {
        padding: 1rem 0.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .platform-feature-content-white {
        padding: 1rem 0.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Left align bullet points on mobile */
    .platform-feature-content ul,
    .platform-feature-content-white ul {
        text-align: left;
    }
    
    .platform-screenshot {
        margin-bottom: 3rem;
    }
    
    .order-lg-1,
    .order-lg-2 {
        order: unset !important;
    }
}

/* Extra small screens - minimal padding */
@media (max-width: 575.98px) {
    .platform-feature-content {
        padding: 0.75rem 0.25rem;
    }
    
    .platform-feature-content-white {
        padding: 0.75rem 0.25rem;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Forms */
.form-control {
    border: 2px solid hsl(var(--background));
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition-base);
    background: hsl(var(--surface));
}

.form-control:focus {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 0.2rem hsla(var(--primary), 0.25);
    background: hsl(var(--surface));
}

.form-label {
    font-weight: 600;
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

/* Tables */
.table {
    background: hsl(var(--surface));
}

.table-hover tbody tr:hover {
    background: hsl(var(--background));
}

.badge {
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 90%;
    max-width: 500px;
}

.flash-messages .alert {
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    border: none;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Utility Classes */
.section-padding {
    padding: 6rem 0;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Problem Section Styles - Clean & Modern */
.problem-card {
    transition: all 0.2s ease;
    height: 100%;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.3);
}

.problem-number {
    color: hsl(var(--primary)) !important;
    font-size: 3rem !important;
    line-height: 1;
}

/* Solution Section Styles - Clean & Modern */
.solution-card {
    transition: all 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.solution-number {
    color: hsl(var(--primary)) !important;
    font-size: 3rem !important;
    line-height: 1;
}

/* Smooth scroll behavior for new sections */
#problem, #solution {
    scroll-margin-top: 80px;
}

/* Clean, minimalist backgrounds */
.bg-light {
    background: #f8fafc !important;
}

.bg-white {
    background: #ffffff !important;
}



/* Hero Section */
.hero-section {
    background: url('../images/aiRaiz_hero_gradient_dots.png') center/cover no-repeat;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

/* Solution Section - Dark purple background */
#solution {
    background-color: #0e0339 !important;
    background: #0e0339 !important;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Clean section backgrounds */
#platform {
    background: #f8fafc !important;
}

#solution {
    background: #ffffff !important;
}

/* Success section - minimal dark background */
#success {
    background: #0f172a !important;
    position: relative;
}

/* Clean card designs */
.problem-card {
    background: #0f172a !important;
    position: relative;
    overflow: hidden;
}

.solution-card {
    background: #ffffff !important;
    position: relative;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-section .row.mt-5 {
        margin-top: 2rem !important;
    }
    
    .workflow-card img {
        max-height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .flash-messages {
        width: 95%;
    }
}

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

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus Styles */
*:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .flash-messages {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary: 195 100% 30%;
        --text-primary: 0 0% 0%;
        --background: 0 0% 100%;
    }
}

/* Scrolling logos animation */
.logos-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    cursor: grab;
}

.logos-container:active {
    cursor: grabbing;
}

.logos-scroll {
    animation: scroll 45s linear infinite;
    white-space: nowrap;
    transition: transform 0.3s ease;
    width: max-content;
}

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

.logo-item, .success-item {
    min-width: 300px;
    padding: 1.5rem;
    transition: var(--transition-base);
    user-select: none;
}

.logo-item:hover, .success-item:hover {
    transform: scale(1.05);
}

.logos-scroll:hover,
.logos-container:hover .logos-scroll {
    animation-play-state: paused;
}

/* Touch and drag scrolling */
.logos-container.dragging .logos-scroll {
    animation-play-state: paused;
}

/* Navigation buttons - hidden on desktop, visible on mobile */
.track-record-nav {
    display: none;
}

/* Hide navigation buttons on all screen sizes */



.company-name {
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.funding-amount {
    font-size: 1.4rem;
    font-weight: 600;
}

.company-logo {
    fill: currentColor;
    color: white;
    opacity: 0.9;
    transition: var(--transition-base);
}

.logo-display {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-display svg {
    width: 180px;
    height: 80px;
}

.logo-item:hover .company-logo {
    opacity: 1;
    transform: scale(1.1);
}

/* Confetti Animation */
.dollar-bill-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: flyConfetti 3s ease-out forwards;
    opacity: 0;
}

.confetti.square {
    border-radius: 0;
}

.confetti.circle {
    border-radius: 50%;
}

.confetti.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 10px solid;
}

.confetti.color-1 { background-color: #374151; }
.confetti.color-2 { background-color: #4ade80; }
.confetti.color-3 { background-color: #f59e0b; }
.confetti.color-4 { background-color: #ef4444; }
.confetti.color-5 { background-color: #8b5cf6; }
.confetti.color-6 { background-color: #ec4899; }
.confetti.color-7 { background-color: #06b6d4; }
.confetti.color-8 { background-color: #84cc16; }

.confetti.triangle.color-1 { border-bottom-color: #374151; background-color: transparent; }
.confetti.triangle.color-2 { border-bottom-color: #4ade80; background-color: transparent; }
.confetti.triangle.color-3 { border-bottom-color: #f59e0b; background-color: transparent; }
.confetti.triangle.color-4 { border-bottom-color: #ef4444; background-color: transparent; }
.confetti.triangle.color-5 { border-bottom-color: #8b5cf6; background-color: transparent; }
.confetti.triangle.color-6 { border-bottom-color: #ec4899; background-color: transparent; }
.confetti.triangle.color-7 { border-bottom-color: #06b6d4; background-color: transparent; }
.confetti.triangle.color-8 { border-bottom-color: #84cc16; background-color: transparent; }

@keyframes flyConfetti {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        opacity: 1;
        transform: translateY(-50px) translateX(var(--random-x, 0px)) rotate(var(--random-rotation, 90deg)) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateY(-150px) translateX(var(--random-x, 0px)) rotate(var(--random-rotation, 180deg)) scale(0.8);
    }
    75% {
        opacity: 0.7;
        transform: translateY(-250px) translateX(var(--random-x, 0px)) rotate(var(--random-rotation, 270deg)) scale(0.6);
    }
    100% {
        opacity: 0;
        transform: translateY(-400px) translateX(var(--random-x, 0px)) rotate(var(--random-rotation, 360deg)) scale(0.2);
    }
}

.confetti.burst-1 { animation-delay: 0s; }
.confetti.burst-2 { animation-delay: 0.05s; }
.confetti.burst-3 { animation-delay: 0.1s; }
.confetti.burst-4 { animation-delay: 0.15s; }
.confetti.burst-5 { animation-delay: 0.2s; }
.confetti.burst-6 { animation-delay: 0.25s; }
.confetti.burst-7 { animation-delay: 0.3s; }
.confetti.burst-8 { animation-delay: 0.35s; }
.confetti.burst-9 { animation-delay: 0.4s; }
.confetti.burst-10 { animation-delay: 0.45s; }
.confetti.burst-11 { animation-delay: 0.5s; }
.confetti.burst-12 { animation-delay: 0.55s; }

/* Button animation enhancement */
#raiseCapitalBtn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#raiseCapitalBtn:active {
    transform: scale(0.95);
}

#raiseCapitalBtn.clicked {
    animation: buttonPulse 0.6s ease;
}

@keyframes buttonPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.05); }
    60% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Plans Section Styling */
.plans-table-container {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.plans-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    font-size: 0.95rem;
}

.plans-table thead th {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    padding: 2rem 1.5rem;
    border: none;
    position: relative;
    vertical-align: top;
}

.plans-table thead th:nth-child(2) {
    background: linear-gradient(135deg, #7dd3fc, #38bdf8);
}

.plans-table thead th:first-child {
    border-top-left-radius: 15px;
    background: #0e0339 !important;
}

.plans-table thead th:last-child {
    border-top-right-radius: 15px;
}

.feature-column {
    width: 25%;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
    color: white !important;
    background: #0e0339 !important;
}

.plan-column {
    width: 25%;
    text-align: center;
    position: relative;
    background: #0e0339 !important;
}

.plan-column.premium {
    background: #0e0339 !important;
    position: relative;
}

.plan-column.enterprise {
    background: #0e0339 !important;
}

.plan-header {
    text-align: center;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.plan-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.3;
    font-style: italic;
    max-width: 200px;
    margin: 0 auto;
}

.plan-price {
    font-size: 2rem;
    font-weight: 900;
    margin-top: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.plans-table tbody tr {
    transition: all 0.3s ease;
}

.plans-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.plans-table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.5);
}

.plans-table tbody tr:nth-child(even):hover {
    background: rgba(59, 130, 246, 0.08);
}

.plans-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

.plans-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

.plans-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: middle;
}

.feature-name {
    font-weight: 600;
    color: hsl(var(--text-primary));
    text-align: left;
    font-size: 1.1rem;
}

.plan-feature {
    text-align: center;
    font-weight: 500;
    position: relative;
    font-size: 1rem;
}

.plan-feature.basic {
    background: rgba(248, 250, 252, 0.3);
}

.plan-feature.premium {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    border-right: 3px solid #3b82f6;
}

.plan-feature.enterprise {
    background: rgba(37, 99, 235, 0.15);
    border-left: 3px solid #2563eb;
    border-right: 3px solid #2563eb;
    text-align: center;
    padding-left: 1rem;
}

.feature-detail {
    display: block;
    font-size: 0.95rem;
    color: hsl(var(--text-secondary));
    margin-top: 0.25rem;
    line-height: 1.4;
}

.plans-table .fas {
    font-size: 1.2rem;
}

.text-success {
    color: #16a34a !important;
}

.text-danger {
    color: #dc2626 !important;
}

/* Mobile Plan Carousel Styles */
.mobile-plans-carousel {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.mobile-plan-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.mobile-nav-btn {
    background: #34a5d2;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 165, 210, 0.3);
}

.mobile-nav-btn:hover {
    background: #2d8fb5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 165, 210, 0.4);
}

.mobile-nav-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mobile-plan-indicator {
    background: rgba(52, 165, 210, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #34a5d2;
    font-size: 0.9rem;
}

.mobile-plans-container {
    position: relative;
    overflow: hidden;
}

.mobile-plan-card {
    display: none;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mobile-plan-card.active {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #34a5d2;
}

.mobile-plan-name {
    color: #34a5d2;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mobile-plan-subtitle {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.4;
}

.mobile-plan-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-feature {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 10px;
    border-left: 3px solid #34a5d2;
}

.mobile-feature .feature-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    flex: 1;
    margin-right: 1rem;
}

.mobile-feature .feature-detail {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: right;
    max-width: 60%;
}

.mobile-feature .fas {
    font-size: 1.1rem;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

/* Mobile responsiveness for plans table */
@media (max-width: 991.98px) {
    .plans-table-container {
        padding: 1rem;
        position: relative;
    }
    
    .table-responsive {
        overflow-x: auto;
        position: relative;
    }
    
    .plans-table {
        min-width: 800px;
        font-size: 0.75rem;
    }
    
    .plans-table td,
    .plans-table th {
        padding: 0.5rem 0.5rem;
    }
    
    .plans-table thead th {
        padding: 0.75rem 0.5rem;
    }
    
    .feature-column {
        position: sticky;
        left: 0;
        z-index: 10;
        background: linear-gradient(135deg, #7dd3fc, #38bdf8);
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        width: 25%;
        min-width: 25%;
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    .plans-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 10;
        background: white;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        width: 25%;
        min-width: 25%;
        line-height: 1.2;
    }
    
    .plan-name {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .plan-subtitle {
        font-size: 0.65rem;
        max-width: 120px;
        margin-bottom: 0.25rem;
    }
    
    .plan-price {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }
    
    .plan-cta {
        margin-top: 0.5rem;
    }
    
    .feature-detail {
        font-size: 0.65rem;
    }
    
    .feature-name {
        font-size: 0.85rem;
    }
    
    .plan-feature {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .plans-table {
        min-width: 700px;
        font-size: 0.7rem;
    }
    
    .plans-table td,
    .plans-table th {
        padding: 0.4rem 0.4rem;
    }
    
    .plans-table thead th {
        padding: 0.5rem 0.4rem;
    }
    
    .feature-column {
        width: 25%;
        min-width: 25%;
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .plans-table tbody td:first-child {
        width: 25%;
        min-width: 25%;
        line-height: 1.1;
    }
    
    .plan-name {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }
    
    .plan-subtitle {
        font-size: 0.6rem;
        max-width: 100px;
        margin-bottom: 0.2rem;
    }
    
    .plan-price {
        font-size: 1rem;
        margin-top: 0.2rem;
    }
    
    .plan-cta {
        margin-top: 0.4rem;
    }
    
    .feature-name {
        font-size: 0.75rem;
    }
    
    .plan-feature {
        font-size: 0.7rem;
    }
    
    .feature-detail {
        font-size: 0.6rem;
    }
    
    .plan-cta .btn {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Social Media Section */
.filter-dark {
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(7426%) hue-rotate(233deg) brightness(90%) contrast(101%);
}

/* Social media icons hover effects */
.text-dark:hover {
   /* color: var(--bs-primary) !important;
    transition: color 0.3s ease; */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logos-scroll {
        animation: none !important;
    }
    
    .confetti {
        display: none !important;
    }
}
