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

:root {
    --tech-blue: #00f2fe;
    --tech-cyan: #4facfe;
    --dark-bg: #0a0e27;
    --darker-bg: #050814;
    --grid-color: rgba(79, 172, 254, 0.1);
    --glow: rgba(0, 242, 254, 0.5);
}

body {
    font-family: 'Courier New', monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--darker-bg);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circuit board canvas background */
#circuit-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Electron particles */
.electrons-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.electron {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--tech-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tech-blue), 0 0 20px var(--tech-blue);
    animation: travel linear infinite;
}

@keyframes travel {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Main container */
.main-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

.content-wrapper {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(0, 242, 254, 0.1);
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* CPU/GPU Visualization */
.compute-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 200px;
    margin: 0 auto 2rem;
}

.cpu-core {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    border: 2px solid var(--tech-cyan);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: corePulse 2s ease-in-out infinite;
}

.cpu-core::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    height: 40%;
    background: var(--tech-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--tech-blue);
    animation: coreGlow 1.5s ease-in-out infinite;
}

.cpu-core:nth-child(1) { animation-delay: 0s; }
.cpu-core:nth-child(2) { animation-delay: 0.2s; }
.cpu-core:nth-child(3) { animation-delay: 0.4s; }
.cpu-core:nth-child(4) { animation-delay: 0.6s; }

.cpu-core:nth-child(1)::before { animation-delay: 0s; }
.cpu-core:nth-child(2)::before { animation-delay: 0.2s; }
.cpu-core:nth-child(3)::before { animation-delay: 0.4s; }
.cpu-core:nth-child(4)::before { animation-delay: 0.6s; }

@keyframes corePulse {
    0%, 100% {
        border-color: var(--tech-cyan);
        box-shadow: 0 0 10px rgba(79, 172, 254, 0.3);
    }
    50% {
        border-color: var(--tech-blue);
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
    }
}

@keyframes coreGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Logo section */
.logo-section {
    margin-bottom: 2rem;
}

.logo-icon {
    margin-bottom: 1rem;
    animation: rotate 20s linear infinite;
}

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

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1rem;
    color: var(--tech-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
}

/* Status container */
.status-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: 10px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.status-item:not(:last-child) {
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

.status-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.status-value {
    font-size: 0.9rem;
    color: var(--tech-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-value::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--tech-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--tech-blue);
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Main button */
.main-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--tech-blue), var(--tech-cyan));
    color: var(--darker-bg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
    position: relative;
    overflow: hidden;
}

.main-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.main-button:hover::before {
    left: 100%;
}

.main-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 5px 40px rgba(0, 242, 254, 0.6);
}

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

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .status-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .main-button {
        width: 100%;
        justify-content: center;
    }
    
    .compute-visual {
        max-width: 150px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
    background: var(--light);
}

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

/* Background Animation */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 10%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 17s;
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 19s;
}

.particle:nth-child(7) {
    width: 110px;
    height: 110px;
    top: 30%;
    right: 40%;
    animation-delay: 2.5s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    width: 75px;
    height: 75px;
    bottom: 10%;
    right: 30%;
    animation-delay: 4.5s;
    animation-duration: 18s;
}

.particle:nth-child(9) {
    width: 95px;
    height: 95px;
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
    animation-duration: 20s;
}

.particle:nth-child(10) {
    width: 85px;
    height: 85px;
    bottom: 40%;
    left: 25%;
    animation-delay: 3.5s;
    animation-duration: 22s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, 40px) scale(1.1);
        opacity: 0.6;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.5s ease-out;
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    margin: auto;
    gap: 0.75rem;
    font-size: 1.5rem;
    height: 100px;
    width: auto;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.nav-links a:hover {
    color: var(--primary);
}

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

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

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* DNA Helix Animation */
.dna-container {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 400px;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.dna-helix {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotate3d 10s linear infinite;
}

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

.strand {
    position: absolute;
    width: 100%;
    height: 100%;
}

.strand::before,
.strand::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.strand-1::before { top: 0; left: 0; animation: move1 3s ease-in-out infinite; }
.strand-1::after { top: 25%; right: 0; animation: move2 3s ease-in-out infinite; }
.strand-2::before { top: 50%; left: 0; animation: move1 3s ease-in-out infinite 1.5s; }
.strand-2::after { top: 75%; right: 0; animation: move2 3s ease-in-out infinite 1.5s; }

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

@keyframes move2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-280px); }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

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

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

.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; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    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: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    animation: fadeInLeft 0.8s ease-out;
}

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

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    animation: fadeInRight 0.8s ease-out;
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2.5rem 3rem;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

.contact-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin: 0;
}

.contact-card p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.footer p {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dna-container {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.25rem;
        height: 80px;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        height: 60px;
        gap: 0.4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .nav-links {
        display: none;
    }
}
