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

:root {
    --primary-dark: #0a1628;
    --secondary-dark: #1e3a5f;
    --accent-cyan: #00d4ff;
    --accent-teal: #00a8cc;
    --text-light: #ffffff;
    --text-gray: #94a3b8;
    --grid-color: rgba(0, 212, 255, 0.08);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #0a1628 0%, #1a2942 100%);
    color: var(--text-light);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 5%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

nav.scrolled {
    padding: 15px 5%;
    background: rgba(10, 22, 40, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo::before {
    content: '💧';
    margin-right: 10px;
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 180px 5% 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Advanced Wave Grid Animation */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    overflow: hidden;
    opacity: 0.4;
}

.wave-grid {
    position: absolute;
    bottom: -50px;
    left: -50%;
    right: -50%;
    height: 500px;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) scale(1.5);
    animation: wave-flow 20s linear infinite;
}

@keyframes wave-flow {
    0% { 
        background-position: 0 0, 0 0;
        transform: perspective(500px) rotateX(60deg) scale(1.5) translateY(0);
    }
    50% {
        transform: perspective(500px) rotateX(60deg) scale(1.5) translateY(-20px);
    }
    100% { 
        background-position: 40px 40px, 40px 40px;
        transform: perspective(500px) rotateX(60deg) scale(1.5) translateY(0);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 45px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.2s forwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 0.4s forwards;
    position: relative;
    overflow: hidden;
    font-size: 16px;
    letter-spacing: 0.5px;
}

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

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

/* Features Section */
.features {
    padding: 120px 5%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, rgba(30, 58, 95, 0.3) 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 70px;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-card {
    background: rgba(30, 58, 95, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    padding: 45px 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

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

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 212, 255, 0.15);
    background: rgba(30, 58, 95, 0.3);
    border-color: rgba(0, 212, 255, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 25px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 25px;
}

.learn-more {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 15px;
}

.learn-more:hover {
    transform: translateX(5px);
    color: var(--accent-teal);
}

.learn-more::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
    font-size: 18px;
}

.learn-more:hover::after {
    margin-left: 12px;
}

/* Technology Visualization Section */
.technology {
    padding: 120px 5%;
    position: relative;
    background: rgba(10, 22, 40, 0.6);
}

.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    font-weight: 700;
}

.tech-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.tech-features {
    display: grid;
    gap: 20px;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 58, 95, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-feature:hover {
    background: rgba(30, 58, 95, 0.3);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(5px);
}

.tech-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* AI System Visualization */
.ai-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-core {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    position: relative;
  /*animation: rotate 20s linear infinite;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-core::before {
    content: 'AI';
    font-size: 32px;
    font-weight: bold;
    color: var(--accent-cyan);
   /*animation: counter-rotate 20s linear infinite;*/
}

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.ai-orbit {
    position: absolute;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

.ai-orbit:nth-child(1) {
    width: 280px;
    height: 280px;
}

.ai-orbit:nth-child(2) {
    width: 350px;
    height: 350px;
    animation-delay: 0.5s;
}

.ai-orbit:nth-child(3) {
    width: 420px;
    height: 420px;
    animation-delay: 1s;
}

@keyframes pulse-ring {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

.ai-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

/* Stats Section */
.stats {
    padding: 100px 5%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.7), rgba(30, 58, 95, 0.5));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 35px;
    background: rgba(30, 58, 95, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-teal));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::after {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    background: rgba(30, 58, 95, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Contact Form */
.contact-section {
    padding: 120px 5%;
    background: rgba(10, 22, 40, 0.4);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(30, 58, 95, 0.2);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    background: rgba(10, 22, 40, 0.8);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.submit-btn:hover::before {
    width: 600px;
    height: 600px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

/* Footer */
footer {
    padding: 60px 5% 40px;
    background: rgba(10, 22, 40, 0.9);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-brand h3::before {
    content: '💧';
    margin-right: 10px;
}

.footer-brand p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    color: var(--text-gray);
    font-size: 14px;
}
.footer-bottom a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
}


/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .tech-container {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
		width: 100%;
        padding: 35px 25px;
    }
}