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

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #050e36;
    background-image: radial-gradient(circle at 50% 50%, #091659 0%, #050e36 100%);
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: #4ac6ff;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #73d8ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.6);
}

/* Header styles */
header {
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.logo {
    width: 40px;
    height: 40px;
    /*background-color: #4ac6ff;*/
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 0 15px rgba(74, 198, 255, 0.5);*/
    margin-right: 10px;
    /*animation: pulse 2s infinite;*/
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.home-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.home-link:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
}

nav ul li a:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4ac6ff;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

.active:after {
    width: 100%;
}

/* Button styles */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, #4a90e2, #4ac6ff);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(74, 198, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4ac6ff, #4a90e2);
    transition: all 0.3s;
    z-index: -1;
}

.btn:hover:before {
    left: 0;
}

.btn:hover {
    box-shadow: 0 5px 20px rgba(74, 198, 255, 0.6);
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    border: 2px solid #4ac6ff;
    color: #4ac6ff;
    margin-right: 10px;
}

.btn.secondary:hover {
    background-color: rgba(74, 198, 255, 0.1);
    box-shadow: 0 0 15px rgba(74, 198, 255, 0.3);
}

/* Hero section */
.hero {
    padding: 60px 0;
    text-align: left;
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.hero-content {
    width: 50%;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.hero h2 span {
    display: block;
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.hero p {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35%;
    z-index: 1;
    overflow: hidden;
    border-radius: 0 0 25% 25%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 50% 50% 0 0 / 90%;
    -webkit-mask-image: radial-gradient(#ffffff 50%, #00000000 70%);
    mask-image: radial-gradient(#ffffff 50%, #00000000 70%);
}

.hero:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 30%;
    width: 300px;
    height: 300px;
    background: #4a90e2;
    opacity: 0.1;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

.hero:after {
    content: "";
    position: absolute;
    top: 30%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: #ff00cc;
    opacity: 0.1;
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

/* Remove the previous after pseudo-element */
.hero-image:after {
    content: none;
}

/* Features section */
.features {
    padding: 80px 0;
    position: relative;
}

.features h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.features h2 span {
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.feature {
    padding: 30px;
    background-color: rgba(9, 22, 89, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature h3 {
    color: #4ac6ff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
}

.feature h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #4ac6ff, transparent);
}

.feature p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* How it works section */
.how-it-works {
    padding: 80px 0;
    position: relative;
    background-color: rgba(9, 22, 89, 0.2);
}

.how-it-works h2, .benefits-section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.how-it-works h2 span, .benefits-section h2 span {
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(9, 22, 89, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.step-number {
    background: linear-gradient(45deg, #4a90e2, #4ac6ff);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.step h3 {
    color: #4ac6ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Testimonials section */
.testimonials {
    padding: 80px 0;
    position: relative;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.testimonials h2 span {
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    padding: 30px;
    background-color: rgba(9, 22, 89, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

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

.rating {
    color: #ffcc00;
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.quote {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.quote:before {
    content: "\201C";
    font-size: 2.5rem;
    color: rgba(74, 198, 255, 0.3);
    position: absolute;
    top: -10px;
    left: -15px;
}

.author {
    color: #4ac6ff;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Survey form */
.survey {
    padding: 60px 0;
    position: relative;
}

.survey h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.survey-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(9, 22, 89, 0.3);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
}

.form-group select,
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s;
}

.form-group select:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #4ac6ff;
    box-shadow: 0 0 0 2px rgba(74, 198, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background-color: #091659;
    color: #ffffff;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: color 0.3s;
}

.checkbox-group label:hover {
    color: #ffffff;
}

.checkbox-group input {
    margin-right: 10px;
    accent-color: #4ac6ff;
    width: 18px;
    height: 18px;
}

/* Results page */
.results {
    padding: 60px 0;
    position: relative;
}

.results h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.analysis-box, .explanation-box {
    background-color: rgba(9, 22, 89, 0.3);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.analysis-box h3, .explanation-box h3, #recommendations h3 {
    color: #4ac6ff;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.analysis-box h3:after, .explanation-box h3:after, #recommendations h3:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #4ac6ff, transparent);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.product-card {
    background-color: rgba(9, 22, 89, 0.4);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.product-card:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4a90e2, #4ac6ff, #ff00cc, #4a90e2);
    z-index: -1;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s;
    background-size: 400%;
    animation: gradient-border 3s linear infinite;
}

.product-card:hover:before {
    opacity: 1;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.product-card img:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(9, 22, 89, 0.4));
    pointer-events: none;
}

.product-info {
    padding: 20px;
}

.product-info h4 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
}

.product-info h4:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #4ac6ff, transparent);
}

.product-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.product-info .price {
    font-weight: 700;
    color: #4ac6ff;
    font-size: 1.2rem;
    display: block;
    margin-top: 15px;
    text-shadow: 0 0 10px rgba(74, 198, 255, 0.5);
    position: relative;
}

/* Buy Now Button Styling */
.buy-now-btn {
    background: linear-gradient(45deg, #4a90e2, #4ac6ff);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 8px 15px;
    margin-top: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(74, 198, 255, 0.3);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 198, 255, 0.5);
}

.buy-now-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #4ac6ff, #4a90e2);
    transition: all 0.3s;
    z-index: -1;
}

.buy-now-btn:hover:before {
    left: 0;
}

.actions {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
footer {
    background-color: rgba(5, 14, 54, 0.5);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-content {
        width: 60%;
    }
    
    .hero-image {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        margin: 0 auto 40px;
    }
    
    .hero-image {
        position: relative;
        width: 80%;
        margin: 40px auto 0;
        top: auto;
        transform: none;
        right: auto;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        gap: 15px;
    }
    
    nav ul li a {
        font-size: 0.75rem;
    }
}

/* Special effects and decorations */
.glow-effect {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 1;
}

.glow-1 {
    background-color: #4ac6ff;
    top: 20%;
    left: 10%;
}

.glow-2 {
    background-color: #ff00cc;
    bottom: 10%;
    right: 20%;
}

.grid-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    pointer-events: none;
}

/* Scanner effect for hero image */
.scanner-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.scanner-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #4ac6ff, transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { 
        top: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: 100%;
        opacity: 0;
    }
}

/* CTA Section styles */
.cta-section {
    padding: 80px 0;
    position: relative;
    background-color: rgba(9, 22, 89, 0.2);
    overflow: hidden;
}

.cta-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-content {
    width: 50%;
    padding-right: 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.cta-content h2 span {
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.cta-content p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-image {
    width: 45%;
    position: relative;
    z-index: 2;
    border-radius: 0 0 25% 25%;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    -webkit-mask-image: radial-gradient(#ffffff 50%, #00000000 70%);
    mask-image: radial-gradient(#ffffff 50%, #00000000 70%);
}

.cta-section:before {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: #ff00cc;
    opacity: 0.1;
    filter: blur(80px);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .cta-section .container {
        flex-direction: column;
    }
    
    .cta-content {
        width: 100%;
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .cta-image {
        width: 80%;
    }
}

/* Add style for span in headings */
.survey h2 span,
.results h2 span {
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

/* Results stats styles */
.results-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.stat-box {
    background-color: rgba(9, 22, 89, 0.4);
    border-radius: 15px;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-box:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #4a90e2, #4ac6ff, #ff00cc, #4a90e2);
    opacity: 0.1;
    z-index: 0;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #4ac6ff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* Scanner overlay for face image */
.scanner-overlay {
   /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 198, 255, 0.05), transparent);
    pointer-events: none;
    z-index: 2;*/
}

/* Pulse animation for logo */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 198, 255, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 198, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 198, 255, 0);
    }
}

/* Tech lines */
.tech-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.1;
    overflow: hidden;
}

.tech-lines:before, .tech-lines:after {
    content: "";
    position: absolute;
    background: #4ac6ff;
}

.tech-lines:before {
    width: 1px;
    height: 100%;
    left: 30%;
    top: 0;
    box-shadow: 0 0 10px rgba(74, 198, 255, 0.8);
}

.tech-lines:after {
    width: 100%;
    height: 1px;
    left: 0;
    top: 70%;
    box-shadow: 0 0 10px rgba(74, 198, 255, 0.8);
}

/* Custom selection color */
::selection {
    background-color: rgba(74, 198, 255, 0.2);
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: rgba(9, 22, 89, 0.3);
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4ac6ff;
}

/* Checkbox and form element focus styles */
input[type="checkbox"]:checked {
    position: relative;
}

input[type="checkbox"]:checked:after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(rgba(74, 198, 255, 0.2), transparent 70%);
    animation: pulse-small 2s infinite;
}

@keyframes pulse-small {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

@keyframes gradient-border {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* Face scanning overlay styles */
.face-scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    pointer-events: none;
    z-index: 3;
    border-radius: 50% 50% 0 0 / 90%;
    overflow: hidden;
    -webkit-mask-image: radial-gradient(#ffffff 50%, #00000000 70%);
    mask-image: radial-gradient(#ffffff 50%, #00000000 70%);;
}

/* Scanner overlay for face image */
.scanner-overlay {
   /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(74, 198, 255, 0.05), transparent);
    pointer-events: none;
    z-index: 2;*/
}

/* Stats section */
.stats-section {
    padding: 40px 0;
    position: relative;
}

.personalized-card {
    max-width: 400px;
    margin: 0 auto;
    background-color: rgba(9, 22, 89, 0.4);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.personalized-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #4a90e2, #4ac6ff, #ff00cc, #4a90e2);
    opacity: 0.1;
    z-index: 0;
}

.personalized-card .stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #4ac6ff;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.personalized-card .stat-text {
    color: #ffffff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.search-field {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    position: relative;
    z-index: 1;
}

.search-field:focus {
    border-color: #4ac6ff;
    box-shadow: 0 0 0 2px rgba(74, 198, 255, 0.3);
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 14, 54, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: rgba(9, 22, 89, 0.7);
    margin: 50px auto;
    width: 90%;
    max-width: 700px;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(74, 198, 255, 0.2);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #4ac6ff;
}

.modal h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    text-transform: uppercase;
}

/* Scanning animation */
.scan-animation {
    margin-bottom: 25px;
    padding: 15px;
    background-color: rgba(9, 22, 89, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(74, 198, 255, 0.3);
}

.scanning-text {
    color: #4ac6ff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-align: center;
}

.scanning-text.success {
    color: #4aff8c;
    font-weight: 600;
}

.progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #4a90e2, #4ac6ff);
    border-radius: 3px;
    transition: width 0.1s ease;
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    .product-preview {
        position: static;
        width: 80%;
        margin: 30px auto 0;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20px auto;
    }
}

/* Face grid overlay */
.face-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Small grid - thinner lines */
        linear-gradient(rgba(74, 198, 255, 0.08) 0.5px, transparent 0.5px),
        linear-gradient(90deg, rgba(74, 198, 255, 0.08) 0.5px, transparent 0.5px),
        /* Medium grid - thinner lines */
        linear-gradient(rgba(74, 198, 255, 0.12) 4px, transparent 4px),
        linear-gradient(90deg, rgba(74, 198, 255, 0.12) 4px, transparent 4px);
    background-size: 
        8px 8px, /* Smaller grid */
        8px 8px, /* Smaller grid */
        40px 40px, /* Medium grid */
        40px 40px; /* Medium grid */
    pointer-events: none;
    opacity: 0.8;
    z-index: 2;
    animation: gridPulse 3s infinite ease-in-out, gridColorShift 8s infinite alternate;
}

/* Add an additional diagonal line effect with thinner lines */
.face-grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 99.5%, rgba(74, 198, 255, 0.2) 99.6%, transparent 99.7%),
        linear-gradient(135deg, transparent 99.5%, rgba(74, 198, 255, 0.2) 99.6%, transparent 99.7%);
    background-size: 25px 25px;
    pointer-events: none;
    opacity: 0.7;
    animation: gridPulse 2.5s infinite ease-in-out alternate, gridColorShift 10s infinite alternate;
}

/* Add color shimmer animation */
@keyframes gridColorShift {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(30deg);
    }
}

/* More pronounced grid animation */
@keyframes gridPulse {
    0% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.1;
    }
}

/* Main CTA section */
.main-cta {
    padding: 100px 0;
    position: relative;
    text-align: center;
    background-color: rgba(9, 22, 89, 0.1);
    overflow: hidden;
    margin-bottom: 60px;
}

.main-cta h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.main-cta h2 span {
    color: #4ac6ff;
    text-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

/* Main CTA enhanced with vertical flow */
.cta-wrapper {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: rgba(9, 22, 89, 0.3);
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-feature-item .feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(74, 198, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #4ac6ff;
    box-shadow: 0 0 20px rgba(74, 198, 255, 0.3);
}

.cta-feature-item .feature-text {
    text-align: left;
}

.cta-feature-item .feature-text h4 {
    color: #ffffff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cta-feature-item .feature-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 1.5rem;
    color: #4ac6ff;
    margin: 10px 0;
    animation: bounceArrow 1.5s infinite;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #4a90e2, #4ac6ff);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(74, 198, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 198, 255, 0.6);
}

.pulse-animation {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 198, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(74, 198, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 198, 255, 0);
    }
}

/* Media queries for responsive design */
@media (max-width: 768px) {
    .cta-feature-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .cta-feature-item .feature-text {
        text-align: center;
    }
    
    .cta-feature-item .feature-icon {
        margin-bottom: 10px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Hero feature icons */
.hero-features {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    background: rgba(74, 198, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ac6ff;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(74, 198, 255, 0.3);
}

.feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background-color: #4ac6ff;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
    animation: scroll 1.5s infinite;
}

.arrow {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    margin-top: 5px;
}

@keyframes scroll {
    0% { opacity: 1; top: 7px; }
    100% { opacity: 0; top: 25px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Benefits section */
.benefits-section {
    padding: 100px 0;
    position: relative;
    background-color: rgba(9, 22, 89, 0.2);
    overflow: hidden;
}

.benefits-section:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: #4a90e2;
    opacity: 0.05;
    filter: blur(100px);
    border-radius: 50%;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Benefits Cards Grid Style */
.benefits-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-item {
    position: relative;
}

.benefit-content {
    background-color: rgba(9, 22, 89, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 198, 255, 0.3);
}

.benefit-content:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4ac6ff, transparent);
    animation: gradient-border 3s infinite;
}

.benefit-icon {
    background: rgba(74, 198, 255, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #4ac6ff;
    font-size: 1.8rem;
    box-shadow: 0 0 20px rgba(74, 198, 255, 0.3);
}

.benefit-content h3 {
    color: #4ac6ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .benefits-flow {
        grid-template-columns: 1fr;
    }
}

/* How it works - vertical flow */
.process-flow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* Add a continuous vertical line down the center */
.process-flow::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom,   rgba(74, 198, 255, 0.0) 0%,   rgba(74, 198, 255, 0.2) 15%,   rgba(74, 198, 255, 0.8) 25%, rgba(74, 198, 255, 0.2) 35%,   rgba(74, 198, 255, 0.8) 45%, rgba(74, 198, 255, 0.2) 55%,   rgba(74, 198, 255, 0.8) 65%,   rgba(74, 198, 255, 0.2) 75%, rgba(74, 198, 255, 0.2) 85%,   rgba(74, 198, 255, 0.8) 90%, rgba(74, 198, 255, 0) 95%);
    transform: translateX(-50%);
    z-index: 1;
}

.process-flow .step-item {
    display: flex;
    position: relative;
    margin-bottom: 40px;
    padding: 20px 0;
    align-items: center;
}

.process-flow .step-item:last-child {
    margin-bottom: 0;
}

/* Left-aligned step */
.process-flow .step-item.left {
    justify-content: flex-start;
}

/* Right-aligned step */
.process-flow .step-item.right {
    justify-content: flex-end;
}

/* Center dot connectors */
.process-flow .step-item::after {
    content: '';
    position: absolute;
    left: 49%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background-color: #4ac6ff;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(74, 198, 255, 0.8);
    animation: pulse 2s infinite alternate;
}

/* Horizontal connectors from card to center line */
.process-flow .step-item.left::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 400px;
    right: 50%;
    height: 3px;
    background: linear-gradient(to right, transparent, #4ac6ff);
    transform: translateY(-50%);
    z-index: 1;
}

.process-flow .step-item.right::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 400px;
    left: 50%;
    height: 3px;
    background: linear-gradient(to left, transparent, #4ac6ff);
    transform: translateY(-50%);
    z-index: 1;
}

/* Media queries for responsive design */
@media (max-width: 900px) {
    .process-flow {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .process-flow::before {
        left: 30px;
    }
    
    .process-flow .step-item {
        flex-direction: row;
        margin-bottom: 30px;
        padding-left: 60px;
    }
    
    .process-flow .step-item.left, 
    .process-flow .step-item.right {
        justify-content: flex-start;
    }
    
    .process-flow .step-content {
        max-width: 100%;
    }
    
    .process-flow .step-item::after {
        left: 30px;
    }
    
    .process-flow .step-item.left::before,
    .process-flow .step-item.right::before {
        left: 30px;
        right: auto;
        width: 30px;
        background: linear-gradient(to right, transparent, #4ac6ff);
    }
}

/* Benefits summary - redesigned for better integration with timeline */
.benefits-summary {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    background: linear-gradient(to bottom, rgba(9, 22, 89, 0.3), rgba(9, 22, 89, 0.1));
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.benefits-summary::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #4a90e2, #4ac6ff);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(74, 198, 255, 0.7);
    z-index: 2;
}

.benefits-summary::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    z-index: 3;
}

.benefits-summary .benefit-item {
    flex: 1;
    padding: 0 15px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.benefit-item {
text-align: center;
}

.benefits-summary .benefit-item:last-child {
    border-right: none;
}

.benefits-summary .benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.2), rgba(74, 198, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #4ac6ff;
    font-size: 1.4rem;
    box-shadow: 0 0 15px rgba(74, 198, 255, 0.2);
}

.benefit-text h4 {
    color: #4ac6ff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .benefits-summary {
        flex-direction: column;
        padding: 30px;
    }
    
    .benefits-summary .benefit-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 0;
        display: flex;
        align-items: flex-start;
        gap: 15px;
    }
    
    .benefits-summary .benefit-item:last-child {
        border-bottom: none;
    }
    
    .benefits-summary .benefit-icon {
        margin-bottom: 0;
    }
}

/* Base step-content styling that applies to all */
.step-content {
    background-color: rgba(9, 22, 89, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Specific styles for the homepage timeline elements */
.process-flow .step-content {
    max-width: 400px;
    display: flex;
    gap: 20px;
}

.process-flow .step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 198, 255, 0.3);
}

.process-flow .step-content .step-number {
    background: linear-gradient(45deg, #4a90e2, #4ac6ff);
    color: white;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(74, 198, 255, 0.5);
}

.process-flow .step-details {
    flex: 1;
}

.process-flow .step-details h3 {
    color: #4ac6ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-flow .step-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.process-flow .step-details .step-icon {
    font-size: 2rem;
    color: #4ac6ff;
    opacity: 0.8;
} 


@media (max-width: 768px) {
    .nav-container {
      justify-content: center;
    }
    
    .site-branding {
      justify-content: center;
    }
    
    /* Slightly increase logo size on mobile for better visibility */
    .logo {
      width: 60px !important;
      height: 60px !important;
      margin-right: 15px;
    }
    
    /* Make the home text link slightly larger too */
    .home-link {
      font-size: 1.25rem;
    }
    
    /* Add a slight glow to the logo on mobile */
    .logo img {
      filter: drop-shadow(0 0 5px rgba(74, 198, 255, 0.5));
      }

      .hero-features {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-content h2 {
        font-size: 2.1rem;
    }

    .process-flow {
        max-width: 100%;
        padding: 0;
    }

    .process-flow .step-item {
        flex-direction: row;
        margin-bottom: 30px;
        padding-left: 30px;
    }

    .process-flow .step-item::after {
        left: 22px;
    }
    .process-flow .step-details h3 {
        color: #4ac6ff;
        margin-bottom: 15px;
        font-size: 1.1rem;
    }
} 