:root {
    --bg-color: #0d0f1a;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --primary-color: #9d4edd;
    --primary-gradient: linear-gradient(135deg, #7b2cbf 0%, #c77dff 100%);
    --secondary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs */
.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, #7b2cbf 0%, transparent 70%);
}

.blob-2 {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, #FF6B6B 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #c77dff 0%, transparent 70%);
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Utils */
h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(123, 44, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(123, 44, 191, 0.4);
}

.btn-secondary {
    background: var(--surface-color);
    color: white;
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--surface-border);
    padding: 10px 20px;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(13, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--surface-border);
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.logo i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a:not(.btn-outline) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

nav a:not(.btn-outline):hover {
    color: var(--text-primary);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge span {
    background: var(--primary-gradient);
    padding: 2px 8px;
    border-radius: 100px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-group {
    display: flex;
    gap: 16px;
}

/* App Mockup Animation */
.hero-image {
    perspective: 1000px;
}

.mockup-frame {
    width: 320px;
    height: 650px;
    margin: 0 auto;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(255, 255, 255, 0.1),
                inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.mockup-frame:hover {
    transform: rotateY(0) rotateX(0);
}

.mockup-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1625 0%, #0d0f1a 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding: 20px;
}

.app-header {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.app-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.6s forwards;
}

.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.4s; }
.app-card:nth-child(4) { animation-delay: 0.6s; }

.app-card.active {
    background: rgba(157, 78, 221, 0.1);
    border-color: rgba(157, 78, 221, 0.3);
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.app-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.app-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.badge-tag {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--primary-gradient);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(123, 44, 191, 0.4);
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(157, 78, 221, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(157, 78, 221, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Banner CTA */
.banner {
    padding: 60px 0 100px;
}

.banner-inner {
    background: var(--primary-gradient);
    border-radius: 32px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(123, 44, 191, 0.2);
}

.banner-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') no-repeat center center;
    background-size: 150%;
    opacity: 0.5;
}

.banner-inner h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.banner-inner .btn-primary {
    background: white;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.banner-inner .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 60px 0 30px;
    background: rgba(0,0,0,0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
    justify-content: flex-end;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animations */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.float-anim {
    animation: float-y 6s ease-in-out infinite;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text p {
        margin: 0 auto 40px;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    nav {
        display: none;
    }
}
