* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #9D4EDD;
    --pink: #F72585;
    --magenta: #C77DFF;
    --dark: #10002B;
    --darker: #0A0015;
    --light: #F8F9FA;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(157, 78, 221, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse at bottom right, rgba(247, 37, 133, 0.2) 0%, transparent 60%);
    z-index: 0;
    animation: auroraPulse 8s ease-in-out infinite;
}

@keyframes auroraPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Navbar */
.navbar {
    background: rgba(16, 0, 43, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
}

.marusya-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(157, 78, 221, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(247, 37, 133, 0.8)); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--pink);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.voice-animation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
}

.voice-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    animation: voiceWave 1.5s ease-in-out infinite;
}

.voice-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.voice-circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes voiceWave {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.command-examples {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.command {
    background: rgba(157, 78, 221, 0.1);
    border: 1px solid var(--purple);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-style: italic;
    color: var(--magenta);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(247, 37, 133, 0.6);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(16, 0, 43, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.about-card:hover {
    border-color: var(--pink);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--magenta);
}

.about-card p {
    color: #aaa;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: rgba(16, 0, 43, 0.3);
}

.features-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(157, 78, 221, 0.1);
    border: 2px solid rgba(157, 78, 221, 0.3);
    color: var(--light);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--purple);
    background: rgba(157, 78, 221, 0.2);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    border-color: transparent;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-showcase h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--magenta);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #ccc;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.showcase-visual {
    display: flex;
    justify-content: center;
}

.smart-home-demo, .music-demo, .info-demo, .fun-demo {
    text-align: center;
}

.room-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.devices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.device {
    font-size: 3rem;
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid var(--purple);
    border-radius: 15px;
    padding: 1.5rem;
    animation: devicePulse 2s ease-in-out infinite;
}

.device:nth-child(2) { animation-delay: 0.2s; }
.device:nth-child(3) { animation-delay: 0.4s; }
.device:nth-child(4) { animation-delay: 0.6s; }

@keyframes devicePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.music-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.music-icon {
    font-size: 5rem;
}

.music-wave {
    display: flex;
    gap: 10px;
    height: 100px;
    align-items: flex-end;
}

.bar {
    width: 15px;
    background: linear-gradient(180deg, var(--pink), var(--purple));
    border-radius: 10px;
    animation: barWave 1s ease-in-out infinite;
}

.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes barWave {
    0%, 100% { height: 20px; }
    50% { height: 80px; }
}

.info-demo {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.info-card {
    font-size: 4rem;
    background: rgba(157, 78, 221, 0.2);
    border: 2px solid var(--purple);
    border-radius: 15px;
    padding: 2rem;
}

.fun-demo {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.emoji-float {
    font-size: 5rem;
    animation: emojiFloat 2s ease-in-out infinite;
}

.emoji-float:nth-child(2) { animation-delay: 0.3s; }
.emoji-float:nth-child(3) { animation-delay: 0.6s; }

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Download Section */
.download-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.download-card {
    background: rgba(16, 0, 43, 0.6);
    border: 2px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.download-card:hover {
    border-color: var(--pink);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(157, 78, 221, 0.3);
}

.download-card.featured {
    border-color: var(--purple);
    border-width: 3px;
}

.badge-top {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.download-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.version-info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #888;
}

.download-btn {
    display: block;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(157, 78, 221, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
}

.download-btn.secondary {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--purple);
}

.download-btn.secondary:hover {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    color: white;
    border-color: transparent;
}

.store-link {
    display: inline-block;
    color: var(--magenta);
    text-decoration: none;
    font-size: 0.9rem;
}

.store-link:hover {
    text-decoration: underline;
}

/* Devices Section */
.devices-section {
    padding: 80px 0;
    background: rgba(16, 0, 43, 0.3);
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.device-card {
    background: rgba(16, 0, 43, 0.6);
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.device-card:hover {
    border-color: var(--pink);
    transform: translateY(-5px);
}

.device-img {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.device-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--magenta);
}

.device-card p {
    color: #aaa;
}

/* Footer */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(157, 78, 221, 0.3);
    padding: 2rem;
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .command-examples {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .about-grid,
    .download-grid,
    .devices-grid {
        grid-template-columns: 1fr;
    }
}

