/* Main Content Wrapper */
main {
    flex: 1;
}

/* Enhanced Card Styles for Better Visibility */
.rich-card {
    border: 2px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.rich-card:hover {
    border-color: #F4B400 !important;
    box-shadow: 0 8px 24px rgba(244, 180, 0, 0.15) !important;
}

/* Persona Cards */
.persona-card {
    border: 2px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.persona-card:hover {
    border-color: #0A192F !important;
    transform: translateY(-8px);
}

/* Bento Items */
.bento-item {
    border: 2px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.bento-item:hover {
    border-color: #F4B400 !important;
    box-shadow: 0 8px 24px rgba(244, 180, 0, 0.15) !important;
}

/* Stat Cards */
.stat-card-modern {
    border: 2px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.stat-card-modern:hover {
    border-color: #F4B400 !important;
    transform: translateY(-4px);
}

/* Feature Check Items */
.feature-check-item {
    border: 2px solid #E5E7EB !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

.feature-check-item:hover {
    border-color: #F4B400 !important;
    background-color: #FFFBEB !important;
}

/* Scope Cards */
.scope-card {
    border: 2px solid #E5E7EB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.scope-card:hover {
    border-color: #0A192F !important;
    transform: translateY(-4px);
}

/* Enhanced Button Interactivity */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 180, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.2);
}

/* Add subtle pulse animation to CTA buttons */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(244, 180, 0, 0.3);
    }

    50% {
        box-shadow: 0 4px 20px rgba(244, 180, 0, 0.5);
    }
}

.btn-primary.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced Link Hover Effects */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F4B400, #F59E0B);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Smooth Image Zoom on Hover */
.card img,
.rich-card img,
.persona-card img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover img,
.rich-card:hover img,
.persona-card:hover img {
    transform: scale(1.05);
}

/* Add subtle background pattern to sections */
.section-pattern {
    position: relative;
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(244, 180, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(10, 25, 47, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section-pattern>* {
    position: relative;
    z-index: 1;
}

/* ===================================
   SECTION GRADIENT BLENDING
   =================================== */

/* Smooth gradient transitions between sections */
.section-blend-to-white {
    background: linear-gradient(180deg, #0A192F 0%, #1a2942 50%, #f9fafb 100%);
    padding: 4rem 0 0 0;
    margin-bottom: -2px;
}

.section-blend-to-dark {
    background: linear-gradient(180deg, #ffffff 0%, #e5e7eb 50%, #0A192F 100%);
    padding: 4rem 0 0 0;
    margin-bottom: -2px;
}

.section-blend-light {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

/* ===================================
   INTERACTIVE UI ENHANCEMENTS
   =================================== */

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #F4B400, #F59E0B);
    z-index: 10001;
    transition: width 0.1s ease;
    box-shadow: 0 2px 8px rgba(244, 180, 0, 0.4);
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F4B400, #F59E0B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(244, 180, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    animation: float-pulse 3s ease-in-out infinite;
}

.floating-contact:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 32px rgba(244, 180, 0, 0.6);
}

.floating-contact i {
    font-size: 28px;
    color: #0A192F;
}

@keyframes float-pulse {

    0%,
    100% {
        transform: translateY(0px);
        box-shadow: 0 8px 24px rgba(244, 180, 0, 0.4);
    }

    50% {
        transform: translateY(-8px);
        box-shadow: 0 12px 32px rgba(244, 180, 0, 0.5);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive Stat Numbers */
.stat-number {
    display: inline-block;
    transition: all 0.3s ease;
}

.stat-number:hover {
    transform: scale(1.1);
    color: #F4B400;
}

/* Background Patterns */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(244, 180, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ===================================
   SMOOTH SECTION TRANSITIONS
   =================================== */

/* Remove negative margins - they cut off content */
section {
    border: none !important;
    border-top: none !important;
}

/* Smooth gradient backgrounds for each section type */
/* These should be applied directly to section elements in HTML */