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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: #2b6cb0;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a4f8c;
}

/* Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2b6cb0;
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Enhanced Background Particles */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    animation: floatParticle 20s infinite linear;
}

@keyframes floatParticle {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 50px) rotate(90deg); }
    50% { transform: translate(50px, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
}

/* Header & Navigation with Enhanced Animations */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(43, 108, 176, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo container transition */
.logo-container {
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0) scale(1);
    height: auto;
    overflow: hidden;
}

.logo-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(1deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-3px) rotate(-1deg); }
}

.logo-shield {
    font-size: 2.5rem;
    color: #2b6cb0;
    margin-bottom: 5px;
    animation: shieldPulse 2s infinite, shieldGlow 3s infinite alternate;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shieldGlow {
    0% { text-shadow: 0 0 5px rgba(43, 108, 176, 0.3); }
    100% { text-shadow: 0 0 20px rgba(43, 108, 176, 0.8); }
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    animation: textGradient 4s infinite alternate;
}

@keyframes textGradient {
    0% { background: linear-gradient(45deg, #2b6cb0, #4299e1); background-clip: text; -webkit-background-clip: text; color: transparent; }
    100% { background: linear-gradient(45deg, #4299e1, #2b6cb0); background-clip: text; -webkit-background-clip: text; color: transparent; }
}

.logo-part1 {
    color: #2b6cb0;
}

.logo-part2 {
    color: #4a5568;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 2px;
    font-weight: 500;
    animation: subtitleSlide 2s infinite;
}

@keyframes subtitleSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* FIXED Navigation with Clean Animations */
.main-nav {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1001;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2b6cb0;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    gap: 10px;
    transition: justify-content 0.3s ease;
}

/* Fixed Navigation Links - Clean Hover Effects */
.nav-link {
    padding: 10px 20px;
    font-weight: 500;
    color: #4a5568;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Fixed Hover Animation - No Glitch */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.1), rgba(66, 153, 225, 0.1));
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover,
.nav-link.active {
    color: #2b6cb0;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2b6cb0, #4299e1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-dropdown {
    position: relative;
}

/* FIXED: Scrollable Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 15px 0;
    min-width: 260px;
    max-height: 400px; /* Fixed height */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    border: 1px solid rgba(43, 108, 176, 0.1);
    overflow-y: auto; /* Make it scrollable */
    overflow-x: hidden;
}

/* Scrollbar styling for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(43, 108, 176, 0.05);
    border-radius: 4px;
    margin: 5px 0;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1a4f8c, #2b6cb0);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: #4a5568;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background-color: #f7fafc;
    color: #2b6cb0;
    border-left-color: #2b6cb0;
    padding-left: 28px;
}

.dropdown-link i {
    width: 20px;
    text-align: center;
    color: #718096;
    transition: all 0.3s ease;
}

.dropdown-link:hover i {
    color: #2b6cb0;
    transform: translateX(3px);
}

.nav-cta {
    margin-left: 10px;
}

/* Enhanced Buttons with Particle Effects */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(50, 50, 93, 0.2), 0 5px 10px rgba(0, 0, 0, 0.12);
}

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

.btn-primary {
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a4f8c, #2b6cb0);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: #2b6cb0;
    border: 2px solid #2b6cb0;
}

.btn-secondary:hover {
    background-color: #ebf8ff;
    color: #1a4f8c;
    border-color: #1a4f8c;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-nav {
    padding: 10px 20px;
}

/* Hero Section with Enhanced Animations */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ebf8ff 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(66, 153, 225, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(43, 108, 176, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite alternate;
}

@keyframes gradientShift {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 50px;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1a202c;
    animation: titleGlow 3s infinite alternate, titleFloat 6s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(43, 108, 176, 0.2);
}

@keyframes titleGlow {
    0% { text-shadow: 0 2px 10px rgba(43, 108, 176, 0.2); }
    100% { text-shadow: 0 2px 20px rgba(43, 108, 176, 0.4); }
}

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

.hero-description {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    min-width: 140px;
    animation: statBounce 1s ease;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2b6cb0;
    margin-bottom: 5px;
    animation: numberCount 2s ease-out;
}

@keyframes numberCount {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    animation: fadeIn 1s ease 0.5s both;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-5px) rotate(-1deg); }
}

.device-mockup {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(43, 108, 176, 0.3);
    animation: mockupGlow 3s infinite alternate;
}

@keyframes mockupGlow {
    0% { box-shadow: 0 30px 60px rgba(43, 108, 176, 0.3); }
    100% { box-shadow: 0 30px 80px rgba(43, 108, 176, 0.5); }
}

.screen-animation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.server-node {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    animation: nodePulse 2s infinite, nodeOrbit 10s linear infinite;
}

@keyframes nodeOrbit {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

.server-node:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s, 0s;
}

.server-node:nth-child(2) {
    top: 60%;
    left: 40%;
    animation-delay: 0.5s, 0s;
}

.server-node:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 1s, 0s;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.connection-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, white, transparent);
    height: 3px;
    border-radius: 2px;
    animation: lineFlow 3s linear infinite;
}

.connection-line:nth-child(4) {
    top: 25%;
    left: 20%;
    width: 25%;
    transform: rotate(30deg);
    animation-delay: 0s;
}

.connection-line:nth-child(5) {
    top: 65%;
    left: 45%;
    width: 30%;
    transform: rotate(-20deg);
    animation-delay: 0.5s;
}

.connection-line:nth-child(6) {
    top: 35%;
    right: 25%;
    width: 20%;
    transform: rotate(10deg);
    animation-delay: 1s;
}

@keyframes lineFlow {
    0% { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); }
    50% { background: linear-gradient(90deg, transparent, white, transparent); }
    100% { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); }
}

/* Enhanced Animations */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-button {
    opacity: 0;
    transform: scale(0.9) rotate(-5deg);
    animation: fadeInScale 0.6s ease 0.3s forwards;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* FIX FOR CTA BUTTONS - Ensure they're always visible */
.cta-buttons .btn {
    opacity: 1 !important;
    transform: scale(1) rotate(0deg) !important;
    animation: none !important;
}

/* But CTA buttons still need their special pulse animation */
.cta-buttons .btn-cta {
    animation: ctaButtonPulse 2s infinite !important;
}

.animate-stat {
    opacity: 0;
    transform: translateY(20px) scale(0.5);
}

.animate-stat:nth-child(1) { animation: statPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards; }
.animate-stat:nth-child(2) { animation: statPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.7s forwards; }
.animate-stat:nth-child(3) { animation: statPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.9s forwards; }
.animate-stat:nth-child(4) { animation: statPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.1s forwards; }

@keyframes statPop {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-card {
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
    animation: cardFlip 0.8s ease forwards;
}

@keyframes cardFlip {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.animate-card:nth-child(1) { animation-delay: 0.2s; }
.animate-card:nth-child(2) { animation-delay: 0.4s; }
.animate-card:nth-child(3) { animation-delay: 0.6s; }

/* Features Section with Enhanced Animations */
.features-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2b6cb0, #4299e1, #2b6cb0);
    background-size: 200% 100%;
    animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: headerSlide 1s ease;
}

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

.section-title {
    color: #1a202c;
    margin-bottom: 15px;
    animation: titleShimmer 3s infinite;
}

@keyframes titleShimmer {
    0%, 100% { background-position: -100% 0; }
    50% { background-position: 200% 0; }
}

.section-title {
    background: linear-gradient(90deg, #1a202c, #2b6cb0, #1a202c);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.section-subtitle {
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    animation: subtitleFade 1s ease 0.5s both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(43, 108, 176, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(43, 108, 176, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(43, 108, 176, 0.15);
    border-color: rgba(43, 108, 176, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #2b6cb0;
    margin-bottom: 25px;
    display: inline-block;
    animation: iconFloat 4s ease-in-out infinite;
}

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

.feature-title {
    font-size: 1.6rem;
    color: #1a202c;
    margin-bottom: 20px;
    position: relative;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2b6cb0, #4299e1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover .feature-title::after {
    width: 100px;
}

.feature-description {
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #2d3748;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2b6cb0;
    position: relative;
    transition: all 0.3s ease;
}

.feature-link::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.feature-link:hover {
    gap: 15px;
    color: #1a4f8c;
}

.feature-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Text Block Sections with Enhanced Animations */
.text-block-section {
    padding: 100px 0;
    position: relative;
}

.alt-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #edf2f7 100%);
}

.text-block-title {
    color: #1a202c;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 20px;
    animation: titleWave 2s infinite;
}

@keyframes titleWave {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
}

.text-block-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2b6cb0, #4299e1);
    border-radius: 2px;
    animation: lineExtend 2s infinite alternate;
}

@keyframes lineExtend {
    0% { width: 80px; }
    100% { width: 120px; }
}

.text-block-subtitle {
    color: #2d3748;
    margin-top: 35px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    animation: subtitleSlideIn 0.8s ease;
}

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

.text-block-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 25px;
    background: linear-gradient(180deg, #2b6cb0, #4299e1);
    border-radius: 3px;
    animation: barPulse 2s infinite;
}

@keyframes barPulse {
    0%, 100% { height: 25px; }
    50% { height: 35px; }
}

.text-block-paragraph {
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.8;
    animation: paragraphReveal 0.6s ease;
}

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

/* Enhanced Tables */
.table-container {
    margin: 40px 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: tableSlideIn 1s ease;
}

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

.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.data-table th {
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 20px;
    border-bottom: 4px solid #1a4f8c;
    position: relative;
    overflow: hidden;
}

.data-table th::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: headerShine 3s infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.data-table td {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.data-table tr:nth-child(even) {
    background-color: #f7fafc;
}

.data-table tr:hover {
    background-color: #ebf8ff;
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(43, 108, 176, 0.1);
}

/* Enhanced Lists */
.styled-ol, .styled-ul {
    margin: 25px 0;
    padding-left: 30px;
    list-style-type: none;
}

.styled-ol li, .styled-ul li {
    margin-bottom: 15px;
    line-height: 1.7;
    position: relative;
    padding-left: 10px;
    opacity: 0;
    transform: translateX(-20px);
    animation: listItemSlide 0.5s ease forwards;
}

@keyframes listItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.styled-ol li {
    counter-increment: item;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
}

.styled-ol li::before {
    content: counter(item) ". ";
    font-weight: 700;
    color: #2b6cb0;
    position: absolute;
    left: -30px;
    font-size: 1.2rem;
    animation: numberPop 0.3s ease;
}

@keyframes numberPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.styled-ul li {
    animation-delay: calc(var(--item-index, 0) * 0.1s + 0.3s);
}

.styled-ul li::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 12px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    border-radius: 50%;
    animation: dotBounce 1s infinite;
}

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

/* CTA Section with Enhanced Animations */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2b6cb0 0%, #1a4f8c 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: ctaTitleGlow 2s infinite alternate;
}

@keyframes ctaTitleGlow {
    0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.7); }
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: ctaTextFloat 3s ease-in-out infinite;
}

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

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-cta {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: ctaButtonPulse 2s infinite;
}

@keyframes ctaButtonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-primary.btn-cta {
    background: linear-gradient(135deg, white, #f7fafc);
    color: #2b6cb0;
}

.btn-primary.btn-cta:hover {
    background: linear-gradient(135deg, #f7fafc, white);
    color: #1a4f8c;
}

.btn-secondary.btn-cta {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-secondary.btn-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
    opacity: 0.95;
    animation: guaranteeSlide 1s ease;
}

@keyframes guaranteeSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 0.95; }
}

/* Enhanced Footer */
.site-footer {
    background: linear-gradient(135deg, #1a202c 0%, #0d1117 100%);
    color: #a0aec0;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2b6cb0, #4299e1, #2b6cb0);
    animation: gradientFlow 3s linear infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
    animation: footerFadeIn 1s ease;
}

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

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    animation: logoSpin 10s linear infinite;
}

@keyframes logoSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.footer-logo .logo-shield {
    font-size: 2.5rem;
    color: #4299e1;
    animation: shieldFloat 3s ease-in-out infinite;
}

.footer-logo .logo-text {
    font-size: 2rem;
    animation: textFade 3s infinite alternate;
}

@keyframes textFade {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.footer-description {
    margin-bottom: 30px;
    line-height: 1.8;
    animation: textReveal 1s ease;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2d3748, #4a5568);
    border-radius: 50%;
    color: #a0aec0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(66, 153, 225, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: linear-gradient(135deg, #4299e1, #2b6cb0);
    color: white;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(66, 153, 225, 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-links-column h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4299e1, #2b6cb0);
    animation: linePulse 2s infinite;
}

@keyframes linePulse {
    0%, 100% { width: 40px; }
    50% { width: 60px; }
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
    animation: listItemFade 0.5s ease forwards;
    animation-delay: calc(var(--list-index, 0) * 0.1s);
    opacity: 0;
    transform: translateX(-10px);
}

@keyframes listItemFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.footer-links-list a {
    color: #a0aec0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-links-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4299e1, transparent);
    transition: width 0.3s ease;
}

.footer-links-list a:hover {
    color: #4299e1;
    padding-left: 10px;
}

.footer-links-list a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(45, 55, 72, 0.5);
    text-align: center;
    animation: bottomSlideUp 1s ease;
}

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

.copyright {
    margin-bottom: 15px;
    font-size: 0.95rem;
    animation: textGlow 3s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px rgba(160, 174, 192, 0.3); }
    100% { text-shadow: 0 0 15px rgba(160, 174, 192, 0.6); }
}

.disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
    animation: disclaimerFade 2s infinite alternate;
}

@keyframes disclaimerFade {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

/* Enhanced Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2b6cb0, #4299e1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(43, 108, 176, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.back-to-top::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.5s ease;
}

.back-to-top:hover::before {
    left: 100%;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #1a4f8c, #2b6cb0);
    transform: translateY(-10px) scale(1.1) rotate(360deg);
    box-shadow: 0 15px 40px rgba(43, 108, 176, 0.6);
}

/* Floating Elements Animation */
.floating-element {
    position: absolute;
    pointer-events: none;
    animation: floatAround 20s infinite linear;
}

@keyframes floatAround {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(100px, 50px) rotate(90deg); }
    50% { transform: translate(50px, 100px) rotate(180deg); }
    75% { transform: translate(-50px, 50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-container {
        margin-bottom: 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-subtitle {
        font-size: 0.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Mobile dropdown becomes part of main menu */
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(43, 108, 176, 0.05);
        margin-top: 10px;
        max-height: 300px;
        border: none;
        border-radius: 8px;
        padding: 10px 0;
    }
    
    .dropdown-link {
        padding: 10px 20px;
    }
    
    .dropdown-link:hover {
        padding-left: 25px;
    }
    
    .menu-toggle.active .menu-toggle-bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .menu-toggle-bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -7px);
    }
    
    /* Adjust header inner for mobile when logo is hidden */
    .header-inner.compact {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
    }
    
    /* Adjust nav menu position for compact header */
    .nav-menu {
        top: 70px; /* Adjusted for compact header */
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 320px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section, .features-section, .text-block-section, .cta-section {
        padding: 70px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-links-column {
        text-align: center;
    }
    
    .footer-links-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}