/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --accent-color: #00d9ff;
    --accent-color-secondary: #7700ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --card-bg: rgba(20, 20, 40, 0.6);
    --card-border: rgba(0, 217, 255, 0.3);
    --glow-intensity: 10px;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--accent-color), rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40px 70px, var(--accent-color-secondary), rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 90px 40px, #fff, rgba(0, 0, 0, 0)),
        radial-gradient(1px 1px at 120px 80px, #fff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: particlesMove 20s infinite linear;
}

@keyframes particlesMove {
    from { background-position: 0 0; }
    to { background-position: 200px 200px; }
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color-secondary) 0%, rgba(119, 0, 255, 0.1) 40%, transparent 70%);
    filter: blur(40px);
    top: -250px;
    right: -250px;
    opacity: 0.3;
    animation: glowPulse 8s infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.4; transform: scale(1.2); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.accent {
    color: var(--accent-color);
}

.glow-text {
    text-shadow: 0 0 10px var(--accent-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 26, 0.8);
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

.download-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-secondary));
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.download-btn:after {
    display: none;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.4);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    0% { text-shadow: 0 0 5px rgba(0, 217, 255, 0.5); }
    100% { text-shadow: 0 0 20px rgba(0, 217, 255, 0.8), 0 0 30px rgba(0, 217, 255, 0.6); }
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-secondary));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.4);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.secondary-button {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.secondary-button:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-3px);
}

.visual-container {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-wave {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: wavePulse 3s infinite;
}

.audio-wave.delayed {
    animation-delay: 1s;
    width: 250px;
    height: 250px;
    border-color: var(--accent-color-secondary);
}

.audio-wave.more-delayed {
    animation-delay: 2s;
    width: 200px;
    height: 200px;
    border-color: #fff;
}

@keyframes wavePulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.7; }
}

.central-glow {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--accent-color);
    filter: blur(20px);
    animation: centralPulse 2s infinite alternate;
}

@keyframes centralPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 0.9; }
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover:before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.testimonial:before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(0, 217, 255, 0.2);
    font-family: serif;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    color: var(--accent-color);
}

.testimonial-author p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 26, 0.8), rgba(5, 5, 16, 0.9));
    border-radius: 20px;
    margin: 4rem auto;
    border: 1px solid var(--card-border);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* About Page */
.about-hero, .privacy-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero-content h1, .privacy-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.about-content, .privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.about-section.reversed {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.hexagon-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.hexagon {
    position: absolute;
    width: 150px;
    height: 86px;
    background: var(--accent-color);
    margin: 43px 0;
    opacity: 0.7;
    animation: hexagonFloat 5s infinite ease-in-out;
}

.hexagon:before, .hexagon:after {
    content: "";
    position: absolute;
    width: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
}

.hexagon:before {
    bottom: 100%;
    border-bottom: 43px solid var(--accent-color);
}

.hexagon:after {
    top: 100%;
    border-top: 43px solid var(--accent-color);
}

.hexagon:nth-child(1) {
    left: 0;
    top: 0;
    animation-delay: 0s;
}

.hexagon:nth-child(2) {
    left: 75px;
    top: 130px;
    animation-delay: 1s;
    background: var(--accent-color-secondary);
}

.hexagon:nth-child(2):before {
    border-bottom-color: var(--accent-color-secondary);
}

.hexagon:nth-child(2):after {
    border-top-color: var(--accent-color-secondary);
}

.hexagon:nth-child(3) {
    left: 150px;
    top: 0;
    animation-delay: 2s;
}

@keyframes hexagonFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.tech-demo {
    position: relative;
    width: 300px;
    height: 200px;
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    opacity: 0.5;
}

.circuit-lines:before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    top: 10%;
    left: 10%;
    opacity: 0.7;
}

.processing-node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: nodePulse 2s infinite;
}

.processing-node:nth-child(2) {
    top: 30%;
    left: 20%;
    animation-delay: 0.5s;
}

.processing-node:nth-child(3) {
    top: 70%;
    left: 60%;
    animation-delay: 1s;
}

.processing-node:nth-child(4) {
    top: 40%;
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.5); opacity: 1; }
}

.team-section {
    margin-top: 5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color-secondary));
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.member-image:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Privacy Policy */
.privacy-content {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-bottom: 4rem;
}

.privacy-section {
    margin-bottom: 3rem;
}

.privacy-section h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.privacy-section h3 {
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.3rem;
}

.privacy-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-section, .about-section.reversed {
        flex-direction: column;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--darker-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .visual-container {
        width: 300px;
        height: 300px;
    }
    
    .audio-wave {
        width: 200px;
        height: 200px;
    }
    
    .audio-wave.delayed {
        width: 150px;
        height: 150px;
    }
    
    .audio-wave.more-delayed {
        width: 100px;
        height: 100px;
    }
}