/* Main CSS file for Sales Department Landing */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Фирменная цветовая палитра */
:root {
    /* Основные цвета */
    --primary-color: #88faea;
    --primary-hover: #6df5d8;
    --primary-light: #e8fdf8;
    --secondary-color: #f0f8f0;
    --text-color: #2d3a2d;
    --white: #fff;
    --light-gray: #f8f9fa;
    --border-color: #eaeaea;

    /* Тени */
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-primary: rgba(136, 250, 234, 0.15);
    --shadow-primary-hover: rgba(136, 250, 234, 0.25);

    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #6dd4c0, #4fb8a8);
    --gradient-secondary: linear-gradient(135deg, #f0f8f0, #e8f5e8);

    /* Переходы */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--gradient-secondary);
    color: var(--text-color);
    overflow-x: hidden;
}

.font-display {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Gradient text effect */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced button styles */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-enhanced:focus {
    outline: none;
    box-shadow: none;
}

.btn-enhanced:active {
    outline: none;
    box-shadow: none;
}

.btn-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px var(--shadow-primary-hover);
}

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

.btn-enhanced::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 ease-in-out;
}

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

/* Card hover effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Background patterns */
.parallax-bg {
    background: var(--gradient-secondary);
}

.hero-bg {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 250, 234, 0.2);
}

/* Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Scroll reveal animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation styles */
.nav-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(136, 250, 234, 0.2);
    transition: transform 0.3s ease-in-out;
}

/* Mobile header hide on scroll */
@media (max-width: 768px) {
    .nav-glass.hidden-mobile {
        transform: translateY(-100%);
    }
}

/* Ensure mobile header is hidden on desktop */
@media (min-width: 768px) {
    .md\\:hidden {
        display: none !important;
    }

    /* Hide mobile menu on desktop */
    .mobile-menu {
        display: none !important;
    }

    /* Show desktop header on desktop */
    .hidden.md\\:block {
        display: block !important;
    }
}

/* Hero section styles */
.hero-bg {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 50%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
}

/* Video background styles */
.hero-bg video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    filter: blur(5px);
}

/* Background images for ROP section only - 3px blur */
#rop div[style*="background-image"] {
    filter: blur(3px);
    opacity: 0.5;
}

/* Background images for Sales Department section - 5px blur */
#sales-department div[style*="background-image"] {
    filter: blur(5px);
    opacity: 0.9;
}

/* Background images for Problems section - 5px blur */
#problems div[style*="background-image"] {
    filter: blur(5px);
}

/* Background images for Strategy section - 2px blur */
#strategy div[style*="background-image"] {
    filter: blur(2px);
}

/* Background images for FAQ section - 2px blur */
#faq div[style*="background-image"] {
    filter: blur(2px);
}

/* Align card headers and subheaders - exclude results card */
#rop .card:not(.results-card) .text-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 200px;
}

#rop .card:not(.results-card) h3 {
    flex: 0 0 auto;
    margin-bottom: 1rem;
}

/* Remove flex for paragraphs on desktop */
@media (min-width: 768px) {
    #rop .card:not(.results-card) p {
        flex: none;
        display: block;
    }
}

/* Glass effect for problems section cards */
#problems .card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(136, 250, 234, 0.2) !important;
}

/* Text colors for problems section cards */
#problems .card h3,
#problems .card p {
    color: #1f2937 !important;
}

/* Glass effect for sales department section cards */
#sales-department .card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(136, 250, 234, 0.2) !important;
}

/* Text colors for sales department cards */
#sales-department .card h3,
#sales-department .card p,
#sales-department .card span {
    color: #1f2937 !important;
}

/* Make right column card stretch to full height */
#sales-department .space-y-8 {
    display: flex;
    flex-direction: column;
}

#sales-department .space-y-8>.card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Glass effect for strategy section cards */
#strategy .card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(136, 250, 234, 0.2) !important;
}

/* Glass effect for FAQ section cards */
#faq .card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(136, 250, 234, 0.2) !important;
}

/* Text colors for FAQ section */
#faq .card h3,
#faq .card p {
    color: #1f2937 !important;
}

/* Align strategy section cards */
#strategy .grid.lg\\:grid-cols-2 {
    display: flex;
    align-items: stretch;
}

#strategy .space-y-8 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#strategy .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#strategy .card h3 {
    flex: 0 0 auto;
    margin-bottom: 1.5rem;
    min-height: 120px;
    display: flex;
    align-items: center;
}

#strategy .card .space-y-4 {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#strategy .card .flex.items-start {
    align-items: center;
}

/* Exclude solutions card from alignment rules */
#strategy .card.solutions-card {
    flex: none;
    display: block;
}

#strategy .card.solutions-card h3 {
    flex: none;
    margin-bottom: 1rem;
    min-height: auto;
    display: block;
}



.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(136, 250, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(136, 250, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Section backgrounds */
.section-bg-light {
    background: rgba(240, 248, 240, 0.8);
}

.section-bg-dark {
    background: rgba(136, 250, 234, 0.05);
}

/* Button variants */
.btn-primary {
    background: var(--gradient-primary) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    transition: all var(--transition-normal);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:focus {
    outline: none;
    box-shadow: none;
}

.btn-primary:active {
    outline: none;
    box-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #1f2937 !important;
    border: 2px solid rgba(31, 41, 55, 0.3) !important;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all var(--transition-normal);
    outline: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    text-shadow: none;
}

.btn-secondary:focus {
    outline: none;
    box-shadow: none;
}

.btn-secondary:active {
    outline: none;
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(136, 250, 234, 0.2) !important;
    color: #1f2937 !important;
    border: 2px solid var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 250, 234, 0.3), 0 4px 15px rgba(136, 250, 234, 0.2);
    text-shadow: none;
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 250, 234, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(136, 250, 234, 0.4);
    transform: translateY(-4px);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    display: none;
}

/* Show mobile menu only on mobile */
@media (max-width: 767px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Burger icon animation */
#mobileMenuBtn {
    transition: all 0.3s ease;
    position: relative;
    width: 24px;
    height: 24px;
}

#mobileMenuBtn i {
    transition: all 0.3s ease;
}

/* Burger to X animation */
#mobileMenuBtn.burger-open i:before {
    content: "\f00d";
    /* FontAwesome X icon */
}

#mobileMenuBtn.burger-open i {
    transform: rotate(180deg);
}

/* Background Elements Z-Index */
.particle-container {
    z-index: 1;
}

.absolute.inset-0.pointer-events-none {
    z-index: 1;
}

/* Enhanced Interactive Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(136, 250, 234, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(136, 250, 234, 0.6);
        transform: scale(1.05);
    }
}

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

    100% {
        transform: translateX(100%);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Interactive Elements */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

.glow-element {
    animation: glow 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes button-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.animate-button-shimmer {
    background: linear-gradient(90deg, #88faea, #6df5d8, #88faea);
    background-size: 200% 100%;
    animation: button-shimmer 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.animate-button-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer-sweep 2s ease-in-out infinite;
}

@keyframes shimmer-sweep {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.animate-button-shimmer-pulse {
    background: linear-gradient(90deg, #88faea, #6df5d8, #88faea);
    background-size: 200% 100%;
    animation: button-shimmer 3s ease-in-out infinite, pulse-glow 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.animate-button-shimmer-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer-sweep 2s ease-in-out infinite;
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

.pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

/* Enhanced Card Hover Effects */
.enhanced-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.enhanced-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(136, 250, 234, 0.1), transparent);
    transition: left 0.6s;
}

.enhanced-card:hover::before {
    left: 100%;
}

.enhanced-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(136, 250, 234, 0.2);
}

/* Interactive Background Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.particle:nth-child(odd) {
    animation-direction: reverse;
    animation-duration: 10s;
}

.particle:nth-child(3n) {
    animation-duration: 12s;
    animation-delay: -2s;
}

/* Desktop styles - ensure proper display */
@media (min-width: 768px) {

    /* Desktop navigation */
    .nav-glass .hidden.md\\:block {
        display: flex !important;
    }

    .nav-glass .md\\:hidden {
        display: none !important;
    }

    /* Mobile menu button hidden on desktop */
    #mobileMenuBtn {
        display: none !important;
    }

    /* Force hide mobile header on desktop */
    .nav-glass>.md\\:hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Force show desktop header on desktop */
    .nav-glass>.hidden.md\\:block {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-title .gradient-text {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    /* Video background for mobile */
    .hero-bg video {
        object-position: center;
    }

    /* Navigation */
    .nav-glass {
        padding: 0.75rem 0;
    }

    /* Header logo and text adjustments */
    .nav-glass .flex.items-center.space-x-2 img {
        height: 2rem;
    }

    .nav-glass .text-sm {
        font-size: 0.875rem;
    }

    .nav-glass .text-xs {
        font-size: 0.75rem;
    }

    /* Desktop header hide on mobile */
    .nav-glass .hidden.md\\:block {
        display: none !important;
    }

    /* Mobile header show */
    .nav-glass .md\\:hidden {
        display: flex !important;
    }

    /* Hero Section */
    .hero-bg {
        padding: 1rem 0 1.5rem 0;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        margin-top: 0.25rem;
    }

    /* Hero UTP Block - уменьшенные отступы */
    #hero .mb-10.max-w-4xl {
        margin-bottom: 0.75rem !important;
    }

    /* Hero UTP Card - компактная для мобильной версии */
    .hero-utp-card {
        padding: 0.8rem 0.8rem 0 0.8rem !important;
        margin-bottom: 0.8rem !important;
        border-radius: 0.8rem !important;
    }

    .hero-utp-card h2 {
        font-size: 1rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.25 !important;
    }

    .hero-utp-card p {
        font-size: 0.75rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.35 !important;
    }

    /* Hero CTA Buttons - компактные для мобильной версии */
    #hero .flex.flex-col.sm\\:flex-row {
        margin-top: 0.75rem !important;
        gap: 0.75rem !important;
    }

    #hero .btn-enhanced {
        padding: 0.625rem 1rem !important;
        font-size: 0.875rem !important;
    }

    /* Hero Services Tags - компактные для мобильной версии */
    .hero-services-tags {
        gap: 0.3rem !important;
        margin-top: 0.75rem !important;
    }

    .hero-services-tags span {
        padding: 0.2rem 0.4rem !important;
        font-size: 0.5625rem !important;
        line-height: 1.1 !important;
    }

    /* ROP Text Block - исправление отображения на мобильной версии */
    .rop-text-block {
        text-align: center !important;
    }

    .rop-text-main br,
    .rop-text-annotation br {
        display: none !important;
    }

    .rop-text-main,
    .rop-text-annotation {
        display: block;
        white-space: normal;
        word-wrap: break-word;
    }

    .rop-text-main {
        margin-bottom: 0.5rem !important;
        font-size: 1rem !important; /* 16px */
    }

    .rop-text-annotation {
        margin-top: 0.25rem !important;
        font-size: 0.875rem !important; /* 14px */
    }

    .hero-title .gradient-text,
    .hero-title span[style*="color: #bcfaec"] {
        font-size: 1.875rem !important;
    }

    /* Уменьшаем размеры блоков заголовка */
    .hero-title .block {
        margin-bottom: 0.25rem !important;
    }

    /* Grid adjustments */
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid.lg\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Cards */
    .card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .glass-effect {
        padding: 1.25rem;
    }

    /* Buttons */
    .btn-enhanced {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
        width: 100%;
    }

    .btn-primary {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }

    /* Text sizes */
    .text-4xl {
        font-size: 1.75rem;
    }

    .text-5xl {
        font-size: 2rem;
    }

    .text-6xl {
        font-size: 2.5rem;
    }

    .text-3xl {
        font-size: 1.5rem;
    }

    .text-2xl {
        font-size: 1.25rem;
    }

    .text-xl {
        font-size: 1.125rem;
    }

    /* Spacing */
    .py-20 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .py-12 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .mb-16 {
        margin-bottom: 1.25rem;
    }

    .mb-8 {
        margin-bottom: 1rem;
    }

    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Footer adjustments */
    footer .flex.items-center.space-x-2 img {
        height: 2rem;
    }

    footer .text-sm {
        font-size: 0.875rem;
    }

    footer .text-xs {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    /* Extra small screens */
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .hero-title .gradient-text {
        font-size: 1.75rem;
    }

    .text-4xl {
        font-size: 1.5rem;
    }

    .text-5xl {
        font-size: 1.75rem;
    }

    .text-3xl {
        font-size: 1.25rem;
    }

    .text-2xl {
        font-size: 1.125rem;
    }

    .text-xl {
        font-size: 1rem;
    }

    .px-6 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .py-20 {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .py-12 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .card {
        padding: 0.875rem;
    }

    .glass-effect {
        padding: 0.875rem;
    }

    .btn-enhanced {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .btn-secondary {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    /* Hero section extra small screens */
    .hero-bg {
        padding: 1rem 0 1.5rem 0;
    }

    /* Header adjustments for very small screens */
    .nav-glass .flex.items-center.space-x-2 img {
        height: 1.75rem;
    }

    .nav-glass .text-sm {
        font-size: 0.75rem;
    }

    .nav-glass .text-xs {
        font-size: 0.625rem;
    }

    /* Footer adjustments for very small screens */
    footer .flex.items-center.space-x-2 img {
        height: 1.75rem;
    }

    footer .text-sm {
        font-size: 0.75rem;
    }

    footer .text-xs {
        font-size: 0.625rem;
    }

    /* Stats adjustments */
    .grid.grid-cols-3>div {
        padding: 0.5rem;
    }

    .grid.grid-cols-3 .text-2xl {
        font-size: 1.125rem;
    }

    .grid.grid-cols-3 .text-xs {
        font-size: 0.625rem;
    }
}

/* Utility classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.border-gradient-primary {
    border: 2px solid transparent;
    background: var(--gradient-secondary) padding-box,
        var(--gradient-primary) border-box;
}

/* Hero title improvements */
.hero-title {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    margin-top: 2rem;
}

.hero-title .gradient-text {
    text-shadow: 0 4px 8px rgba(16, 183, 125, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Gradient text shadows for sections */
section .gradient-text {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Glass effect cards for ROP section */
#rop .card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(136, 250, 234, 0.2);
}

/* Text colors for ROP cards */
#rop .card h3,
#rop .card h4,
#rop .card p,
#rop .card span {
    color: #1f2937 !important;
}

#rop .card .text-gray-300 {
    color: #374151 !important;
}

/* Icon colors for ROP cards */
#rop .card i {
    color: #1f2937 !important;
}

#rop .card .text-teal-400 {
    color: #059669 !important;
}

#rop .card .text-blue-400 {
    color: #2563eb !important;
}

/* Results card colors - only for results card */
#rop .card .text-gray-700 {
    color: #1f2937 !important;
}

/* Only for results card, not for other cards */
#rop .card .text-4xl.text-teal-400 {
    color: #88faea !important;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-weight: 700;
    font-size: 22px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(136, 250, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 4px rgba(136, 250, 234, 0.5));
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 250, 234, 0.4);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

.back-to-top:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        width: 48px;
        height: 48px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Soon label for social icons */
.social-icon {
    position: relative;
}

.soon-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-icon:hover .soon-label {
    opacity: 1;
    visibility: visible;
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-overlay.show {
    display: flex;
}

.popup-content {
    background: white;
    padding: 0;
    max-width: 800px;
    width: 90%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .popup-content {
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: bold;
    color: #88faea;
    cursor: pointer;
    transition: transform 0.2s ease, text-shadow 0.3s ease;
    z-index: 10000;
}

.popup-close:hover {
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(136, 250, 234, 0.5);
}

/* Remove focus/active borders from all buttons */
button:focus,
button:active,
.btn-enhanced:focus,
.btn-enhanced:active,
.btn-primary:focus,
.btn-primary:active,
.btn-secondary:focus,
.btn-secondary:active,
.back-to-top:focus,
.back-to-top:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Additional mobile menu hiding rules */
@media (min-width: 768px) {

    /* Completely hide mobile elements on desktop */
    .md\\:hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Ensure desktop elements are visible */
    .hidden.md\\:block {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        width: auto !important;
        position: static !important;
    }
}

/* ==================== RESPONSIVE MEDIA QUERIES ==================== */

/* Tablet Portrait and below (768px) */
@media (max-width: 768px) {

    /* Hero Section */
    #hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 2rem !important;
        line-height: 1.4 !important;
    }

    .hero-title .block,
    .hero-title span {
        display: inline !important;
    }

    .hero-title .block:not(:last-child)::after {
        content: " ";
    }

    /* Sections Padding */
    section {
        padding: 60px 0 !important;
    }

    /* Headings */
    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    /* Cards Grid */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* ROP Section - Stack vertically */
    #rop .grid {
        grid-template-columns: 1fr !important;
    }

    #rop .card:not(.results-card) .text-center {
        min-height: auto !important;
    }

    #rop .card:not(.results-card) h3,
    #rop .card:not(.results-card) p {
        flex: none !important;
        display: block !important;
    }

    /* Sales Department - Stack vertically */
    #sales-department .space-y-8 {
        display: block !important;
    }

    #sales-department .space-y-8>.card {
        flex: none !important;
        display: block !important;
    }

    /* Strategy Section - Stack vertically */
    #strategy .grid.lg\\:grid-cols-2 {
        display: block !important;
    }

    #strategy .space-y-8 {
        display: block !important;
        height: auto !important;
    }

    #strategy .card {
        flex: none !important;
        display: block !important;
        margin-bottom: 2rem;
    }

    #strategy .card h3 {
        min-height: auto !important;
        display: block !important;
    }

    #strategy .card .space-y-4 {
        flex: none !important;
        display: block !important;
    }

    #strategy .card h3 {
        text-align: left !important;
    }

    /* Buttons */
    .btn-enhanced,
    .btn-primary,
    .btn-secondary {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    /* Glass effect cards */
    .glass-effect {
        padding: 1.5rem !important;
    }

    /* Section spacing */
    .mb-16 {
        margin-bottom: 2.5rem !important;
    }

    .mb-12 {
        margin-bottom: 2rem !important;
    }

    /* Icon sizes */
    .w-16.h-16 {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }

    .w-20.h-20 {
        width: 4.5rem !important;
        height: 4.5rem !important;
    }

    /* Container padding */
    .max-w-7xl {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Solutions card centering */
    #strategy .card.solutions-card {
        text-align: center !important;
    }

    #strategy .card.solutions-card h3 {
        text-align: center !important;
    }

    /* Header and Footer spacing */
    .nav-glass {
        padding: 0.5rem 0 !important;
    }

    footer {
        padding: 2rem 0 !important;
    }
}

/* Mobile Landscape and below (640px) */
@media (max-width: 640px) {

    /* Hero */
    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-title .block,
    .hero-title span {
        display: inline !important;
    }

    .hero-title .block:not(:last-child)::after {
        content: " ";
    }

    #hero {
        padding: 100px 16px 50px !important;
    }

    #hero p {
        font-size: 1rem !important;
    }

    /* Headings */
    h2,
    section h2 {
        font-size: 1.875rem !important;
        margin-bottom: 1.25rem !important;
    }

    h3,
    section h3 {
        font-size: 1.375rem !important;
        margin-bottom: 0.875rem !important;
    }

    /* Sections */
    section {
        padding: 50px 16px !important;
    }

    /* Cards */
    .card {
        padding: 1.25rem !important;
    }

    /* Text sizes */
    .text-xl {
        font-size: 1.125rem !important;
    }

    .text-lg {
        font-size: 1rem !important;
    }

    .text-2xl {
        font-size: 1.5rem !important;
    }

    .text-3xl {
        font-size: 1.75rem !important;
    }

    .text-4xl {
        font-size: 2rem !important;
    }

    /* Buttons */
    .btn-enhanced,
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }

    /* Spacing */
    .mb-16 {
        margin-bottom: 2rem !important;
    }

    .mb-12 {
        margin-bottom: 1.5rem !important;
    }

    .mb-8 {
        margin-bottom: 1.25rem !important;
    }

    .mb-6 {
        margin-bottom: 1rem !important;
    }

    /* Gap */
    .gap-8 {
        gap: 1.25rem !important;
    }

    .gap-12 {
        gap: 1.5rem !important;
    }

    /* Solutions card centering */
    #strategy .card.solutions-card {
        text-align: center !important;
    }

    #strategy .card.solutions-card h3 {
        text-align: center !important;
    }

    /* Header and Footer spacing */
    .nav-glass {
        padding: 0.5rem 0 !important;
    }

    footer {
        padding: 1.5rem 0 !important;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {

    /* Hero */
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1rem !important;
    }

    .hero-title .block,
    .hero-title span {
        display: inline !important;
    }

    .hero-title .block:not(:last-child)::after {
        content: " ";
    }

    #hero {
        padding: 90px 12px 40px !important;
    }

    #hero p {
        font-size: 0.9375rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Headings */
    h2,
    section h2 {
        font-size: 1.625rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    h3,
    section h3 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* Sections */
    section {
        padding: 40px 12px !important;
    }

    /* Cards */
    .card {
        padding: 1rem !important;
    }

    /* Text sizes */
    .text-xl {
        font-size: 1rem !important;
    }

    .text-lg {
        font-size: 0.9375rem !important;
    }

    .text-2xl {
        font-size: 1.375rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }

    .text-4xl {
        font-size: 1.75rem !important;
    }

    .text-5xl {
        font-size: 2rem !important;
    }

    /* Buttons */
    .btn-enhanced,
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }

    /* Icons */
    .w-12.h-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    .w-16.h-16 {
        width: 3rem !important;
        height: 3rem !important;
    }

    .w-20.h-20 {
        width: 3.5rem !important;
        height: 3.5rem !important;
    }

    /* Spacing */
    .mb-16 {
        margin-bottom: 1.75rem !important;
    }

    .mb-12 {
        margin-bottom: 1.25rem !important;
    }

    .mb-8 {
        margin-bottom: 1rem !important;
    }

    .mb-6 {
        margin-bottom: 0.875rem !important;
    }

    .mb-4 {
        margin-bottom: 0.75rem !important;
    }

    /* Gap */
    .gap-8 {
        gap: 1rem !important;
    }

    .gap-12 {
        gap: 1.25rem !important;
    }

    /* Container padding */
    .max-w-7xl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Grid templates */
    .grid.md\\:grid-cols-2,
    .grid.lg\\:grid-cols-2,
    .grid.lg\\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    /* Solutions card centering */
    #strategy .card.solutions-card {
        text-align: center !important;
    }

    #strategy .card.solutions-card h3 {
        text-align: center !important;
    }

    /* Header and Footer spacing */
    .nav-glass {
        padding: 0.5rem 0 !important;
    }

    footer {
        padding: 1.25rem 0 !important;
    }

    /* Copyright text size */
    footer p {
        font-size: 0.75rem !important;
    }
}