/* Caribbean Red Color Palette - Custom Styles */
:root {
    /* Primary Caribbean Red Colors */
    --caribbean-red: #DC2626;
    --caribbean-red-light: #EF4444;
    --caribbean-red-dark: #991B1B;
    --caribbean-coral: #F97316;
    --caribbean-sunset: #FB923C;

    /* Caribbean Blues */
    --caribbean-turquoise: #06B6D4;
    --caribbean-ocean: #0891B2;
    --caribbean-deep: #0E7490;

    /* Caribbean Tropical */
    --tropical-lime: #84CC16;
    --tropical-emerald: #10B981;
    --tropical-teal: #14B8A6;

    /* Neutrals with warmth */
    --warm-sand: #FEF3C7;
    --warm-beige: #FDE68A;
    --warm-gray: #78716C;
    --deep-charcoal: #1C1917;

    /* Enhanced contrast colors for accessibility */
    --text-on-red: #FFFFFF;
    --text-on-light: #1F2937;
    --overlay-dark: rgba(0, 0, 0, 0.75);
    --overlay-medium: rgba(0, 0, 0, 0.5);
}

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

/* ======================
   MODERN SPLIT SCREEN HERO 2025
   ====================== */

/* Hero Container - Split Screen Layout */
.hero-split-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: white;
}

/* Mobile Header Spacer - CRITICAL FIX */
.hero-mobile-spacer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px; /* Header height */
    z-index: 1;
}

/* Mobile: Stack vertically with proper spacing */
@media (max-width: 1023px) {
    .hero-split-screen {
        flex-direction: column;
        min-height: auto;
        padding-top: 80px; /* Header height - CRITICAL */
    }

    .hero-mobile-spacer {
        display: block;
    }
}

/* Desktop: Side by side */
@media (min-width: 1024px) {
    .hero-split-screen {
        flex-direction: row;
        padding-top: 0;
    }

    .hero-mobile-spacer {
        display: none;
    }
}

/* ======================
   LEFT SIDE - CONTENT
   ====================== */

.hero-split-left {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: white;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-split-left {
        padding: 6rem 4rem;
        min-height: 100vh;
    }
}

@media (min-width: 1280px) {
    .hero-split-left {
        padding: 6rem 6rem;
    }
}

.hero-split-content {
    max-width: 600px;
    width: 100%;
}

/* Badge */
.hero-badge-container {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(249, 115, 22, 0.1));
    border: 1.5px solid rgba(220, 38, 38, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--caribbean-red);
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.hero-badge-modern:hover {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(249, 115, 22, 0.15));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--tropical-emerald);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Title */
.hero-split-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-split-title-line {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--deep-charcoal);
    margin-bottom: 0.25rem;
}

.hero-split-title-accent {
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 640px) {
    .hero-split-title-line {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .hero-split-title-line {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-split-title-line {
        font-size: 3.75rem;
    }
}

@media (min-width: 1280px) {
    .hero-split-title-line {
        font-size: 4rem;
    }
}

/* Description */
.hero-split-description {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #6B7280;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (min-width: 768px) {
    .hero-split-description {
        font-size: 1.25rem;
        line-height: 1.8;
    }
}

/* CTA Buttons */
.hero-split-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

@media (min-width: 640px) {
    .hero-split-cta {
        flex-direction: row;
        gap: 1rem;
    }
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral));
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.hero-cta-primary:hover::before {
    transform: translateX(100%);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--caribbean-red);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid var(--caribbean-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background: var(--caribbean-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.hero-cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover .hero-cta-arrow,
.hero-cta-secondary:hover .hero-cta-arrow {
    transform: translateX(4px);
}

/* Stats */
.hero-split-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #E5E7EB;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-split-stat {
    text-align: left;
}

.hero-split-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--caribbean-red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .hero-split-stat-number {
        font-size: 2.5rem;
    }
}

.hero-split-stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 500;
    line-height: 1.4;
}

/* ======================
   RIGHT SIDE - VISUAL
   ====================== */

.hero-split-right {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-split-right {
        padding: 6rem 4rem;
        min-height: 100vh;
    }
}

/* Gradient Background */
.hero-split-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(220, 38, 38, 0.05) 0%,
        rgba(249, 115, 22, 0.08) 50%,
        rgba(6, 182, 212, 0.05) 100%);
}

/* Visual Container */
.hero-visual-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
}

@media (min-width: 768px) {
    .hero-visual-container {
        height: 600px;
    }
}

/* Visual Cards Base Style */
.hero-visual-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: floatCard 6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-visual-card:hover {
    transform: translateY(-8px) !important;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.15),
        0 10px 10px -5px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Main Code Card */
.hero-card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    animation-delay: 0s;
    z-index: 5;
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.hero-card-dots {
    display: flex;
    gap: 0.375rem;
}

.hero-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero-card-dots span:nth-child(1) {
    background: #EF4444;
}

.hero-card-dots span:nth-child(2) {
    background: #F59E0B;
}

.hero-card-dots span:nth-child(3) {
    background: #10B981;
}

.hero-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
}

.hero-card-body {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.hero-code-line {
    margin-bottom: 0.25rem;
}

.hero-code-indent {
    padding-left: 1.5rem;
}

.hero-code-keyword {
    color: #DC2626;
    font-weight: 600;
}

.hero-code-function {
    color: #0891B2;
    font-weight: 600;
}

.hero-code-variable {
    color: #6366F1;
}

.hero-code-string {
    color: #10B981;
}

.hero-code-operator {
    color: #F59E0B;
}

.hero-code-punctuation {
    color: #6B7280;
}

/* Floating Tech Badges */
.hero-tech-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--caribbean-red);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    animation: floatTech 4s ease-in-out infinite;
    z-index: 6;
}

.hero-tech-icon {
    width: 20px;
    height: 20px;
}

.hero-tech-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.hero-tech-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.hero-tech-3 {
    bottom: 25%;
    left: 8%;
    animation-delay: 2s;
}

@keyframes floatTech {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(3deg);
    }
}

/* Stats Card */
.hero-card-stats {
    bottom: 15%;
    right: 5%;
    width: 180px;
    padding: 1.25rem;
    animation-delay: 1s;
    z-index: 4;
}

.hero-stats-item {
    margin-bottom: 1rem;
}

.hero-stats-item:last-child {
    margin-bottom: 0;
}

.hero-stats-bar {
    height: 6px;
    background: #E5E7EB;
    border-radius: 9999px;
    margin-bottom: 0.375rem;
    overflow: hidden;
}

.hero-stats-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--caribbean-red), var(--caribbean-coral));
    animation: fillBar 2s ease-out 0.5s backwards;
}

@keyframes fillBar {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

.hero-stats-label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 600;
}

/* Checkmark Card */
.hero-card-check {
    top: 15%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--tropical-emerald), var(--tropical-teal));
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    animation-delay: 2s;
    z-index: 4;
}

.hero-check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--caribbean-red), var(--caribbean-coral));
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--caribbean-turquoise), var(--caribbean-ocean));
    bottom: -5%;
    left: -5%;
    animation-delay: 2s;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--tropical-emerald), var(--tropical-teal));
    top: 40%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Wave Bottom */
.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 120px;
    line-height: 0;
    z-index: 10;
}

.hero-wave-bottom svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* Mobile Optimizations */
@media (max-width: 1023px) {
    .hero-split-left {
        padding: 3rem 1.5rem;
    }

    .hero-split-right {
        padding: 3rem 1.5rem;
        min-height: 500px;
    }

    .hero-visual-container {
        height: 400px;
    }

    .hero-card-main {
        width: 95%;
    }

    .hero-tech-float {
        font-size: 0.75rem;
        padding: 0.625rem 1rem;
    }

    .hero-tech-icon {
        width: 16px;
        height: 16px;
    }

    .hero-card-stats {
        width: 160px;
        padding: 1rem;
    }

    .hero-split-stats {
        gap: 1rem;
    }
}

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

/* ======================
   EXISTING STYLES (PRESERVED)
   ====================== */

/* Custom Gradients with improved overlay for text readability */
.gradient-caribbean {
    background: linear-gradient(135deg, var(--caribbean-red) 0%, var(--caribbean-coral) 50%, var(--caribbean-sunset) 100%);
}

.gradient-caribbean-overlay {
    background: linear-gradient(135deg,
        rgba(220, 38, 38, 0.95) 0%,
        rgba(249, 115, 22, 0.95) 50%,
        rgba(251, 146, 60, 0.95) 100%);
}

.gradient-ocean {
    background: linear-gradient(135deg, var(--caribbean-turquoise) 0%, var(--caribbean-ocean) 50%, var(--caribbean-deep) 100%);
}

.gradient-tropical {
    background: linear-gradient(135deg, var(--tropical-emerald) 0%, var(--tropical-teal) 50%, var(--caribbean-turquoise) 100%);
}

.gradient-sunset {
    background: linear-gradient(135deg, var(--caribbean-red) 0%, var(--caribbean-coral) 100%);
}

/* Text Gradients */
.text-gradient-caribbean {
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral), var(--caribbean-sunset));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-ocean {
    background: linear-gradient(135deg, var(--caribbean-turquoise), var(--caribbean-ocean));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Text Gradient */
.text-gradient-animated {
    background: linear-gradient(90deg,
        var(--caribbean-red),
        var(--caribbean-coral),
        var(--caribbean-sunset),
        var(--caribbean-red));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

/* Keyframe Animations with improved easing */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Animation Classes with optimized timing */
.animate-fadeIn { animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-slideUp { animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-slideDown { animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-slideLeft { animation: slideLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-slideRight { animation: slideRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-scaleIn { animation: scaleIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse { animation: pulse 3s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }

/* Animation Delays for staggered effects */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }

/* Glass Morphism with improved backdrop filter */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Shadow System for better depth perception */
.shadow-caribbean {
    box-shadow:
        0 4px 6px -1px rgba(220, 38, 38, 0.15),
        0 10px 20px -3px rgba(220, 38, 38, 0.25);
}

.shadow-caribbean-lg {
    box-shadow:
        0 10px 15px -3px rgba(220, 38, 38, 0.2),
        0 20px 40px -5px rgba(220, 38, 38, 0.35),
        0 0 0 1px rgba(220, 38, 38, 0.05);
}

.shadow-ocean {
    box-shadow:
        0 4px 6px -1px rgba(6, 182, 212, 0.15),
        0 10px 20px -3px rgba(6, 182, 212, 0.25);
}

.shadow-glow {
    box-shadow:
        0 0 20px rgba(220, 38, 38, 0.3),
        0 0 40px rgba(220, 38, 38, 0.2),
        0 0 60px rgba(220, 38, 38, 0.1);
}

.shadow-smooth {
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* Enhanced Card Styles with better hover states */
.card-caribbean {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 2px solid rgba(220, 38, 38, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card-caribbean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--caribbean-red), var(--caribbean-coral), var(--caribbean-sunset));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-caribbean:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 25px -5px rgba(220, 38, 38, 0.15),
        0 25px 50px -12px rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.2);
}

.card-caribbean:hover::before {
    transform: scaleX(1);
}

/* Enhanced Button Styles with accessibility improvements */
.btn-caribbean {
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral));
    color: var(--text-on-red);
    padding: 1rem 2rem;
    border-radius: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
    text-decoration: none;
}

.btn-caribbean:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 20px -5px rgba(220, 38, 38, 0.4),
        0 20px 25px -5px rgba(220, 38, 38, 0.2);
}

.btn-caribbean:active {
    transform: translateY(-1px);
}

.btn-caribbean::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.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-outline-caribbean {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    padding: 1rem 2rem;
    border-radius: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
}

.btn-outline-caribbean:hover {
    background: white;
    color: var(--caribbean-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px -5px rgba(255, 255, 255, 0.5);
}

/* Badge Styles with improved contrast */
.badge-caribbean {
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

/* Section Backgrounds with subtle gradients */
.bg-caribbean-light {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 50%, #FED7D7 100%);
}

.bg-ocean-light {
    background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 50%, #A5F3FC 100%);
}

/* Enhanced Floating Orbs with performance optimization */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
    will-change: transform;
}

.orb-red {
    background: radial-gradient(circle, var(--caribbean-red), var(--caribbean-coral));
}

.orb-turquoise {
    background: radial-gradient(circle, var(--caribbean-turquoise), var(--caribbean-ocean));
}

.orb-tropical {
    background: radial-gradient(circle, var(--tropical-emerald), var(--tropical-teal));
}

/* Enhanced Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral));
    border-radius: 6px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--caribbean-red-dark), var(--caribbean-red));
}

/* Enhanced Text Selection */
::selection {
    background: rgba(220, 38, 38, 0.25);
    color: var(--caribbean-red-dark);
}

::-moz-selection {
    background: rgba(220, 38, 38, 0.25);
    color: var(--caribbean-red-dark);
}

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

    .floating-orb,
    .hero-shape,
    .hero-visual-card,
    .hero-tech-float {
        animation: none !important;
    }
}

/* Enhanced Focus Styles for Accessibility */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--caribbean-coral);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--caribbean-coral);
    outline-offset: 3px;
}

/* Skip to main content link for accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem 1.5rem;
    background: var(--caribbean-red);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
}

.skip-to-content:focus {
    left: 1rem;
    top: 1rem;
}

/* Utility Classes */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding: 0 2rem;
    }
}

/* Loading State */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Transition utilities for smooth interactions */
.transition-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-spring {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Enhanced hover effects for interactive elements */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
}

/* Image optimization classes */
img {
    max-width: 100%;
    height: auto;
}

.img-smooth {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Performance optimization */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Dark overlay for improved text contrast on images */
.overlay-gradient {
    position: relative;
}

.overlay-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    pointer-events: none;
}

/* Accessible contrast helpers */
.text-contrast-light {
    color: #1F2937;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.text-contrast-dark {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Enhanced gradient text with better fallback */
.text-gradient-caribbean-safe {
    background: linear-gradient(135deg, var(--caribbean-red), var(--caribbean-coral), var(--caribbean-sunset));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not (background-clip: text) {
    .text-gradient-caribbean-safe {
        color: var(--caribbean-red);
    }
}
