/* Global Styles and Variables */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006e;
    --accent-color: #8b00ff;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #151515;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a2a;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #8b00ff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff006e 0%, #8b00ff 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
    background: radial-gradient(ellipse at top, #1a1a2e 0%, var(--bg-dark) 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
}

/* Particles Animation */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    animation: float 15s infinite;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 22s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Productivity Section */
.productivity {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
}

/* Dashboard Animation */
.animation-container {
    position: relative;
}

.dashboard-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dashboard-header {
    background: #1e1e1e;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.dashboard-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #444;
}

.control-dot:first-child {
    background: #ff5555;
}

.control-dot:nth-child(2) {
    background: #ffbb33;
}

.control-dot:last-child {
    background: #33dd33;
}

.dashboard-content {
    display: flex;
    height: 400px;
}

.dashboard-sidebar {
    width: 200px;
    background: #181818;
    border-right: 1px solid var(--border-color);
    padding: 1rem;
}

.menu-item {
    padding: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: var(--bg-card);
}

.dashboard-main {
    flex: 1;
    position: relative;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AiOne Widget */
.aione-widget {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 400px;
    background: rgba(20, 20, 20, 0.98);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease-out 1s forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-header {
    background: var(--gradient-primary);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-logo {
    font-weight: 800;
    font-size: 1.2rem;
}

.widget-status {
    font-size: 0.8rem;
    opacity: 0.9;
}

.widget-chat {
    padding: 1.5rem;
    min-height: 150px;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.user-message {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
}

.typing-text {
    display: inline;
}

.cursor {
    display: inline-block;
    width: 2px;
    animation: blink 1s infinite;
    color: var(--primary-color);
}

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

.ai-response {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    opacity: 0;
    transform: translateY(10px);
}

.ai-response.show {
    animation: fadeInResponse 0.5s ease-out forwards;
}

@keyframes fadeInResponse {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a2e 100%);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .productivity-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .animation-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-headline {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .productivity {
        padding: 50px 0;
    }
    
    /* Mobile Dashboard Mockup */
    .animation-container {
        margin: 0 -20px;
        padding: 0 10px;
    }
    
    .dashboard-mockup {
        transform: none;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    
    .dashboard-header {
        padding: 0.75rem;
    }
    
    .dashboard-title {
        font-size: 0.9rem;
    }
    
    .control-dot {
        width: 8px;
        height: 8px;
    }
    
    .dashboard-content {
        height: 300px;
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        display: none;
    }
    
    .dashboard-main {
        padding: 1rem;
    }
    
    /* Mobile Widget */
    .aione-widget {
        position: static;
        width: 100%;
        margin-top: 1rem;
        transform: none;
        opacity: 1;
        animation: none;
        box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    }
    
    .widget-header {
        padding: 0.75rem;
    }
    
    .widget-logo {
        font-size: 1rem;
    }
    
    .widget-status {
        font-size: 0.7rem;
    }
    
    .widget-chat {
        padding: 1rem;
        min-height: 120px;
    }
    
    .chat-message {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    /* Feature items on mobile */
    .feature-item {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-item span:not(.feature-icon) {
        font-size: 0.9rem;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
    
    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-headline {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .section-headline {
        font-size: 1.5rem;
    }
    
    .productivity-text p {
        font-size: 1rem;
    }
    
    /* Extra small mobile adjustments */
    .dashboard-mockup {
        font-size: 0.85rem;
    }
    
    .widget-chat {
        padding: 0.75rem;
    }
    
    .chat-message {
        font-size: 0.8rem;
    }
}
