
/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #050a0f;
}

/* Google Font */
.font-space-grotesk {
    font-family: 'Space Grotesk', sans-serif;
}

/* NFC Wave Animation */
.nfc-wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(3, 233, 244, 0.1) 0%, transparent 70%);
    animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(-25%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(25%) scale(1.1);
        opacity: 0.6;
    }
}

/* Header scroll effect */
.header-scrolled {
    background: rgba(11, 31, 51, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Section spacing and animations */
section {
    position: relative;
}

.section-header {
    opacity: 0;
    transform: translateY(30px);
}

.section-content {
    opacity: 0;
    transform: translateY(50px);
}

/* Navigation link hover effects */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #03e9f4;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Glitch effect for dynamic text */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #ff6b35;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #03e9f4;
    z-index: -2;
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(-2px, -2px); }
    100% { transform: translate(0); }
}

/* Loading animation */
.loading-bar {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #03e9f4, #ff6b35);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0b1f33;
}

::-webkit-scrollbar-thumb {
    background: #03e9f4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #02d0e0;
}

/* Swiper Custom Styles */
.heroSwiper {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #03e9f4;
    opacity: 1;
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    color: #03e9f4;
    background: rgba(11, 31, 51, 0.8);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(3, 233, 244, 0.2);
    transform: scale(1.1);
}

/* Hero Section Text Improvements */
.hero-text-content h1 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity:0.6 !important;
}

.hero-text-content p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: #ffffff !important;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    background: rgba(11, 31, 51, 0.6);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1 !important;
}

/* Enhanced background overlays for better text contrast */
.swiper-slide .absolute.inset-0.bg-\[\#050a0f\] {
    background: rgba(5, 10, 15, 0.7) !important;
}

.swiper-slide .absolute.inset-0.bg-gradient-to-r,
.swiper-slide .absolute.inset-0.bg-gradient-to-l,
.swiper-slide .absolute.inset-0.bg-gradient-to-t {
    opacity: 0.8 !important;
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #03e9f4;
    color: #0b1f33;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #03e9f4;
}

.btn-primary:hover {
    background: transparent;
    color: #03e9f4;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 233, 244, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #03e9f4;
}

.btn-secondary:hover {
    background: #03e9f4;
    color: #0b1f33;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 233, 244, 0.3);
}

/* Improved button visibility */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    backdrop-filter: blur(15px);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    padding: 14px 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #03e9f4 0%, #02c7d6 100%);
    color: #0b1f33;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(3, 233, 244, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Enhanced text animations */
.hero-text-content {
    animation: fadeInUp 1s ease-out 0.5s both;
}

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

/* Text Animation Enhancements */
.slide-content {
    animation: fadeInUp 1s ease-out;
}

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

/* Enhanced Glitch Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #ff6b35;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #03e9f4;
    z-index: -2;
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(-2px, -2px); }
    100% { transform: translate(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    /* Hero Section Mobile Improvements */
    .hero-text-content h1 {
        font-size: 2.8rem !important;
        line-height: 1.1;
        text-align: center;
    }
    
    .hero-text-content p {
        font-size: 1.1rem !important;
        line-height: 1.6;
        padding: 0.8rem 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 28px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Adjust text alignment for mobile */
    .text-right .hero-text-content,
    .text-center .hero-text-content {
        text-align: center !important;
    }
    
    .ml-auto {
        margin-left: 0 !important;
    }

    /* Swiper adjustments for mobile */
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Additional overlay for extra text protection in hero */
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 31, 51, 0.4) 0%,
        rgba(5, 10, 15, 0.6) 100%
    );
    z-index: 1;
}

.swiper-slide > .container {
    z-index: 3;
}

/* Animation classes for GSAP */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

/* Mobile menu animations */
#mobile-nav {
    transition: all 0.3s ease-in-out;
}

#mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

/* Section background patterns */
.bg-tech-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(3, 233, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

/* Card hover effects */
.product-card {
    transition: all 0.3s ease;
    
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 233, 244, 0.2);
    border-color: #03e9f4;
}

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

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #03e9f4;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #03e9f4;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .btn-primary,
    .btn-secondary,
    #main-header,
    .swiper-pagination,
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #03e9f4;
        color: #000000;
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #03e9f4;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Technology Section Styles */
.bg-tech-pattern {
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(3, 233, 244, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        linear-gradient(135deg, #050a0f 0%, #0b1f33 100%);
}

.tech-item {
    padding: 2rem;
    background: rgba(11, 31, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: rgba(3, 233, 244, 0.3);
    box-shadow: 0 20px 40px rgba(3, 233, 244, 0.1);
}

.tech-icon {
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tech-features {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.tech-item:hover .tech-features {
    opacity: 1;
}

/* Diagram Styles */
.diagram-container {
    position: relative;
    overflow: hidden;
}

.diagram-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.flow-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.9);
    width: 200px;
}

.flow-item.active {
    opacity: 1;
    transform: scale(1);
    background: rgba(3, 233, 244, 0.1);
    border: 1px solid rgba(3, 233, 244, 0.3);
}

.flow-connection {
    position: relative;
    height: 60px;
    width: 4px;
    background: linear-gradient(to bottom, rgba(3, 233, 244, 0.3), transparent);
}

.connection-line {
    width: 100%;
    height: 100%;
    background: rgba(3, 233, 244, 0.2);
    border-radius: 2px;
}

.connection-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #03e9f4;
    border-radius: 2px;
    animation: pulseFlow 2s infinite;
}

@keyframes pulseFlow {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

/* Stats Animation */
.stat-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design for Technology Section */
@media (max-width: 1024px) {
    .technology-grid {
        gap: 3rem;
    }
    
    .diagram-flow {
        gap: 1.5rem;
    }
    
    .flow-item {
        width: 180px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .technology-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-item {
        padding: 1.5rem;
    }
    
    .diagram-container {
        padding: 1.5rem;
    }
    
    .flow-item {
        width: 160px;
    }
    
    .technology-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .tech-item {
        padding: 1rem;
    }
    
    .flow-item {
        width: 140px;
    }
    
    .technology-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
/* Enhanced Biometric Section Styles */
.biometric-features,
.advanced-features {
    padding: 1rem;
    background: rgba(11, 31, 51, 0.3);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.biometric-features:hover,
.advanced-features:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.biometric-features h4,
.advanced-features h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.patent-info {
    position: relative;
    overflow: hidden;
}

.patent-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #03e9f4, #ff6b35);
}

.tech-features li {
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.tech-features li:hover {
    transform: translateX(5px);
    color: #e2e8f0;
}

/* Animation for patent info */
@keyframes patentGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(3, 233, 244, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(3, 233, 244, 0.2);
    }
}

.patent-info {
    animation: patentGlow 4s ease-in-out infinite;
}

/* Responsive adjustments for enhanced biometric section */
@media (max-width: 768px) {
    .biometric-features,
    .advanced-features {
        padding: 0.75rem;
    }
    
    .biometric-features h4,
    .advanced-features h4 {
        font-size: 0.8rem;
    }
    
    .tech-features li {
        font-size: 0.75rem;
    }
    
    .patent-info {
        padding: 0.75rem;
    }
}


/* Products & Applications Section Styles */
.products-filter {
    position: relative;
}

.filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.filter-btn.active {
    box-shadow: 0 8px 25px rgba(3, 233, 244, 0.3);
    transform: translateY(-2px);
}

.filter-btn:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Product Cards */
.product-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
}

.product-inner {
    position: relative;
    overflow: hidden;
}

.product-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.product-icon {
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: rotate(5deg);
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: scale(1.05);
}

.product-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

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

/* Grid Layout Animations */
.products-grid {
    position: relative;
}

.product-card {
    animation: productCardEnter 0.6s ease forwards;
}

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

/* Filter Animation */
.products-grid {
    display: grid;
    transition: grid-template-rows 0.3s ease;
}

/* Responsive Design for Products Section */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .products-filter {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .product-inner {
        padding: 1.5rem;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .product-price {
        text-align: center;
    }
    
    .product-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-inner {
        padding: 1rem;
    }
    
    .products-cta .btn-primary,
    .products-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Staggered Animation for Product Cards */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }


/* Innovation & Patents Section Styles */
.founder-spotlight {
    position: relative;
    overflow: hidden;
}

.founder-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #03e9f4, transparent);
}

.achievement-item {
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: rgba(3, 233, 244, 0.3);
}

/* Timeline Styles */
.timeline-container {
    position: relative;
}

.timeline-line {
    z-index: 1;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(5, 10, 15, 0.8);
    border-radius: 50%;
    margin: 0 auto;
}

.timeline-content {
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
}

.patent-badge {
    transition: all 0.3s ease;
}

.patent-badge:hover {
    transform: scale(1.05);
}

/* AI Network Simulation */
.ai-network {
    position: relative;
    background: 
        radial-gradient(circle at 20% 50%, rgba(3, 233, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(3, 233, 244, 0.1) 0%, transparent 50%);
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #03e9f4;
    transform: translate(-50%, -50%);
    animation: nodePulse 2s ease-in-out infinite;
}

.network-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, #03e9f4, transparent);
    transform-origin: left center;
    animation: connectionFlow 3s linear infinite;
}

@keyframes nodePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(3, 233, 244, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(3, 233, 244, 0);
    }
}

@keyframes connectionFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0;
        transform: scaleX(0);
    }
}

/* Feature Items Animation */
.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item:hover .text-gray-300 {
    color: #e2e8f0;
}

/* Responsive Design for Innovation Section */
@media (max-width: 1024px) {
    .founder-spotlight {
        padding: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 60px;
        text-align: left !important;
    }
    
    .timeline-marker {
        position: absolute;
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item .flex {
        position: relative;
    }
    
    .founder-spotlight {
        padding: 1.5rem;
    }
    
    .simulation-container {
        padding: 1.5rem;
    }
    
    .ai-network {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-info {
        text-align: center;
    }
    
    .founder-info .flex.items-center {
        justify-content: center;
    }
    
    .patent-link {
        text-align: center !important;
    }
    
    .simulation-features .feature-item {
        font-size: 0.9rem;
    }
}

/* Scroll Animations for Timeline */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Patent Link Hover Effects */
.patent-link .bg-\[\#050a0f\] {
    transition: all 0.3s ease;
}

.patent-link .bg-\[\#050a0f\]:hover {
    border-color: rgba(3, 233, 244, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 233, 244, 0.2);
}

/* About Section Styles */
.mission-statement {
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #03e9f4, #ff6b35);
}

.vision-content {
    transition: all 0.3s ease;
}

.vision-content:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.vision-features .feature-item {
    transition: all 0.3s ease;
}

.vision-features .feature-item:hover {
    transform: translateX(10px);
}

.vision-features .feature-item:hover .text-gray-300 {
    color: #e2e8f0;
}

/* Story Image Styles */
.story-image {
    position: relative;
}

.story-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #03e9f4, #ff6b35, #03e9f4);
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

.company-story {
    transition: all 0.3s ease;
}

.company-story:hover {
    transform: translateY(-5px);
    border-color: rgba(3, 233, 244, 0.3);
}

/* Values Section */
.value-item {
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item:hover .value-icon {
    transform: rotate(5deg);
}

.value-icon {
    transition: all 0.3s ease;
}

/* Mission Statement Quote */
blockquote {
    position: relative;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: rgba(3, 233, 244, 0.2);
    font-family: serif;
    line-height: 1;
}

/* Background Pattern for About Section */
#about {
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(3, 233, 244, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
}

/* Responsive Design for About Section */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }
    
    .mission-statement,
    .vision-content,
    .company-story {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-statement,
    .vision-content,
    .company-story {
        padding: 1.5rem;
    }
    
    .story-image {
        margin-bottom: 2rem;
    }
    
    .vision-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mission-statement,
    .vision-content,
    .company-story {
        padding: 1rem;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .about-cta .btn-primary,
    .about-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for value items */
.value-item {
    opacity: 0.7;
    transform: translateY(30px);
}

.value-item.animated {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

/* Hover effects for mission content */
.mission-content > div {
    transition: all 0.3s ease;
}

.mission-content > div:hover {
    transform: translateX(5px);
}


/* Contact Section Styles */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item:hover .text-gray-400 {
    color: #cbd5e0;
}

.quick-action-btn {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-action-btn:hover {
    border-color: rgba(3, 233, 244, 0.3);
    transform: translateY(-2px);
}

/* Form Styles */
.form-type-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.form-type-btn.active {
    box-shadow: 0 8px 25px rgba(3, 233, 244, 0.3);
    transform: translateY(-2px);
}

.form-type-btn:not(.active):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.form-group input,
.form-group textarea,
.form-group select {
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    box-shadow: 0 0 0 3px rgba(3, 233, 244, 0.1);
}

/* Form type transitions */
.contact-form-active,
.contact-form-hidden {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.contact-form-active {
    opacity: 1;
    transform: translateY(0);
}

/* Checkbox styling */
input[type="checkbox"] {
    border-radius: 4px;
}

input[type="checkbox"]:checked {
    background-color: #03e9f4;
    border-color: #03e9f4;
}

/* Response info animations */
.response-info {
    animation: fadeInUp 0.8s ease-out;
}

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

/* Final CTA Section */
#final-cta {
    position: relative;
    overflow: hidden;
}

#final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(3, 233, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    z-index: 1;
}

#final-cta > .container {
    position: relative;
    z-index: 2;
}

/* Enhanced button styles for final CTA */
#final-cta .btn-primary {
    background: linear-gradient(135deg, #03e9f4 0%, #02c7d6 100%);
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(3, 233, 244, 0.4);
}

#final-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(3, 233, 244, 0.6);
}

#final-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

#final-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.2);
}

/* Responsive Design for Contact Section */
@media (max-width: 1024px) {
    .contact-content {
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-type-selector .flex {
        justify-content: center;
    }
    
    .form-type-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .response-info .flex {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info,
    .contact-form {
        padding: 1rem;
    }
    
    .form-type-btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-actions .quick-action-btn {
        padding: 1rem;
    }
    
    #final-cta .btn-primary,
    #final-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
}

/* Form validation styles */
.form-group input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
}

.form-group input:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
}

 
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #03e9f4;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Footer Section Styles */
#main-footer {
    position: relative;
}

.footer-main {
    background: rgba(5, 10, 15, 0.8);
    backdrop-filter: blur(10px);
}

.footer-title {
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #03e9f4, #ff6b35);
    border-radius: 1px;
}

.footer-links li {
    transition: all 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-link {
    position: relative;
    transition: all 0.3s ease;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #03e9f4;
    border-radius: 2px;
    transition: height 0.3s ease;
}

.footer-link:hover::before {
    height: 70%;
}

.social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.social-link:hover {
    border-color: #03e9f4;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(3, 233, 244, 0.3);
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item:hover .text-gray-400 {
    color: #cbd5e0;
}

.newsletter-form input {
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    box-shadow: 0 0 0 2px rgba(3, 233, 244, 0.2);
}

.newsletter-form button {
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.legal-link {
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #03e9f4;
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

.back-to-top-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.back-to-top-btn:hover {
    border-color: #03e9f4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(3, 233, 244, 0.4);
}

/* Footer Bottom Styles */
.footer-bottom {
    background: rgba(11, 31, 51, 0.9);
    backdrop-filter: blur(10px);
}

 
.footer-col {
    opacity: 0.7;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.footer-col.animated {
    opacity: 1;
    transform: translateY(0);
}

 
@media (max-width: 1024px) {
    .footer-main {
        padding: 3rem 0;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 2rem 0;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links li:hover {
        transform: translateX(0);
    }
    
    .footer-link::before {
        display: none;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .footer-bottom .flex {
        gap: 1rem;
    }
    
    .legal-links {
        order: 2;
    }
    
    .back-to-top {
        order: 1;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 1.5rem 0;
    }
    
    .footer-col {
        margin-bottom: 1.5rem;
    }
    
    .footer-social {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form button {
        border-radius: 0.75rem;
        width: 100%;
    }
    
    .footer-bottom .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-links {
        order: 1;
    }
    
    .back-to-top {
        order: 2;
    }
}

 
.back-to-top-btn {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

 
#main-footer .absolute.inset-0 img {
    filter: brightness(0.7) contrast(1.1);
}

 
#main-footer .absolute.inset-0.bg-gradient-to-t {
    background: linear-gradient(to top, rgba(11, 31, 51, 0.95), rgba(5, 10, 15, 0.8));
}

 
.footer-link .group:hover .text-\[\#03e9f4\] {
    animation: iconPulse 0.6s ease-in-out;
}

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