/* Base Styles & CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Variables - Teal/Purple theme (different from previous sites) */
    --primary: #03DAC6;
    --primary-dark: #018786;
    --secondary: #6200EE;
    --secondary-dark: #3700B3;
    --dark: #121212;
    --dark-2: #292929;
    --light: #F5F5F5;
    --text: #E1E1E1;
    --text-dark: #333333;
    
    /* Spacing Variables */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 30px;
}

/* Typography */
body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* Header & Navigation */
header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

nav a {
    color: var(--text);
    position: relative;
    padding: var(--spacing-xs) 0;
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 30px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 5px auto;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 30% 30%, rgba(3, 218, 198, 0.05), transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(98, 0, 238, 0.05), transparent 60%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-content {
    padding: var(--spacing-lg) 0;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text);
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-animation {
    width: 100%;
    max-width: 400px;
}

.highlight {
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    height: 10px;
    background: var(--primary);
    opacity: 0.3;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(3, 218, 198, 0.3);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(3, 218, 198, 0.4);
}

/* Features Section */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-2);
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-card {
    background: var(--dark);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(3, 218, 198, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(3, 218, 198, 0.3);
}

.feature-icon {
    margin-bottom: var(--spacing-sm);
}

.cta-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* How It Works Section */
.how-it-works {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark);
    text-align: center;
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.step {
    flex: 1;
    position: relative;
    padding: var(--spacing-md);
}

.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(98, 0, 238, 0.3));
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 auto var(--spacing-sm);
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
    background-color: var(--dark-2);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: var(--dark);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(3, 218, 198, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-md);
}

.footer-logo span {
    font-weight: 600;
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

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

.copyright {
    color: rgba(225, 225, 225, 0.6);
    font-size: 0.9rem;
}

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

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

.eye {
    animation: pulse 3s infinite alternate;
}

.mouth {
    animation: pulse 2s infinite alternate 0.5s;
}

.circuit {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 3s infinite alternate;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        padding: var(--spacing-md) 0;
    }
    
    .hero-content p {
        margin: 0 auto var(--spacing-lg);
    }
    
    .steps {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .step:not(:last-child)::after {
        top: auto;
        bottom: -30px;
        right: 50%;
        width: 2px;
        height: 60px;
        transform: translateX(50%);
        background: linear-gradient(180deg, var(--primary), rgba(98, 0, 238, 0.3));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg) var(--spacing-md);
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}
