:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

#galaxy-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

.github-link {
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--text-primary);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--card-hover);
}

/* Hero Visual (Mock App) */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.app-window {
    width: 400px;
    height: 300px;
    background: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s;
    animation: float 6s ease-in-out infinite;
}

.app-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #22c55e; }

.title {
    margin-left: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.window-content {
    padding: 20px;
}

.mock-ui {
    display: flex;
    gap: 20px;
    height: 100%;
}

.sidebar {
    width: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    border-right: 1px solid var(--glass-border);
    padding-right: 10px;
}

.sidebar .item {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.sidebar .item.active {
    background: var(--accent-color);
    color: white;
}

.main-view {
    flex: 1;
}

.time-display {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.date-display {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.control-bar {
    height: 8px;
    background: var(--glass-bg);
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

.control-bar.short {
    width: 60%;
}

/* Features Section */
.features {
    padding: 5rem 10%;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.gradient-1 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.gradient-2 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.gradient-3 { background: linear-gradient(135deg, #ec4899, #db2777); }
.gradient-4 { background: linear-gradient(135deg, #10b981, #059669); }

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

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

/* Download Section */
.download-section {
    margin: 5rem 10%;
    padding: 4rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.code-block {
    background: #000;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 2rem 0;
    border: 1px solid var(--glass-border);
}

.code-block code {
    font-family: monospace;
    color: var(--accent-color);
    margin-right: 1rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--text-primary);
}

.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    padding: 2rem 10%;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.socials a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--text-primary);
}

/* Animations */
@keyframes float {
    0% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
    100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        margin-bottom: 4rem;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .app-window {
        width: 100%;
        max-width: 350px;
    }
}
