/* Base Styles */
:root {
    --primary: #8A2BE2;      /* Vibrant Purple */
    --secondary: #FF69B4;    /* Bright Pink */
    --accent: #9370DB;       /* Light Purple */
    --dark: #1a1a2e;         /* Dark Blue-Purple */
    --darker: #16213E;       /* Slightly darker shade */
    --light: #ffffff;        /* Pure White */
    --glow: 0 0 15px rgba(123, 44, 191, 0.4), 0 0 30px rgba(255, 77, 109, 0.3);
    --card-glow: 0 4px 20px rgba(123, 44, 191, 0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    color: var(--light);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Cursor */
.cursor {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: normal;
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border 0.2s ease;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 15px var(--accent);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    background: transparent;
    color: var(--light);
}

/* Header */
header {
    text-align: center;
    padding: 2rem 0;
    background: transparent;
    color: var(--light);
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light);
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: transparent;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 50%;
    opacity: 0.5;
}

.tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
    background: transparent;
    color: var(--light);
}

.welcome-text {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    color: var(--light);
    font-weight: 700;
    line-height: 1.2;
}

.welcome-text .highlight {
    color: var(--primary);
    position: relative;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.subtext {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin: 0.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

/* Remove gradient overlay from buttons */
.btn::before {
    display: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

/* Section Styles */
section {
    padding: 4rem 0;
    background: transparent;
    color: var(--light);
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--light);
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Card Styles */
.card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
    border-color: var(--primary);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.card h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

/* Grid Layout for Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* DNA Animation */
.dna-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    filter: blur(1px);
}

.dna-helix {
    position: relative;
    width: 100px;
    height: 100%;
    animation: spin 15s linear infinite;
}

.nucleotide {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
}

.nucleotide:nth-child(1) { top: 10%; left: 50%; transform: translateX(-50%); }
.nucleotide:nth-child(2) { top: 30%; right: 20%; }
.nucleotide:nth-child(3) { top: 50%; left: 20%; }
.nucleotide:nth-child(4) { top: 70%; right: 30%; }

/* Animations */
@keyframes glow {
    from { text-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary); }
    to { text-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary), 0 0 30px var(--secondary); }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    .welcome-text {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(123, 44, 191, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 77, 109, 0.08) 0%, transparent 40%),
        linear-gradient(to bottom, var(--darker), var(--dark));
    z-index: -2;
    pointer-events: none;
}

/* Subtle Grid Background */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(144, 224, 239, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(144, 224, 239, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}
