:root {
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-border: #1a1a1a;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-accent: #ffffff;
    --color-accent-hover: #e0e0e0;
    
    --font-display: 'Libre Baskerville', serif;
    --font-body: 'Work Sans', sans-serif;
    
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 100;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    animation: slideDown 0.8s var(--transition-smooth);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 45px;
    height: 45px;
    opacity: 0;
    animation: fadeIn 0.6s var(--transition-smooth) 0.3s forwards;
    filter: brightness(1.2) contrast(1.1);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeIn 0.6s var(--transition-smooth) 0.4s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.nav-cta {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
    opacity: 0;
    animation: fadeIn 0.6s var(--transition-smooth) 0.5s forwards;
}

.nav-cta:hover {
    background: var(--color-surface);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation: float 20s infinite ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation: float 25s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-logo {
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.1s forwards, floatSlow 6s infinite ease-in-out;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.1));
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(50px);
}

.line-1 {
    animation: slideUp 0.8s var(--transition-smooth) 0.2s forwards;
}

.line-2 {
    animation: slideUp 0.8s var(--transition-smooth) 0.4s forwards;
}

.line-3 {
    animation: slideUp 0.8s var(--transition-smooth) 0.6s forwards;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 1s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s var(--transition-smooth);
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 1.2s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* Section Styling */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.feature-card {
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-bg);
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card[data-index="0"] {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
}

.feature-card[data-index="1"] {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
}

.feature-card[data-index="2"] {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.3s forwards;
}

.feature-card[data-index="3"] {
    animation: fadeInUp 0.6s var(--transition-smooth) 0.4s forwards;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: var(--color-surface);
    transition: all 0.3s var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--color-bg);
    border-color: var(--color-accent);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.feature-description {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Screenshots Section */
.screenshots {
    padding: 8rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.screenshots .section-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 0 2rem;
}

.screenshots-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem 3rem;
    padding: 0 3rem;
    align-items: start;
}

.screenshot-item {
    position: relative;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.screenshot-item[data-index="0"] {
    animation: scaleIn 0.6s var(--transition-smooth) 0.1s forwards;
}

.screenshot-item[data-index="1"] {
    animation: scaleIn 0.6s var(--transition-smooth) 0.2s forwards;
}

.screenshot-item[data-index="2"] {
    animation: scaleIn 0.6s var(--transition-smooth) 0.3s forwards;
}

.screenshot-item[data-index="3"] {
    animation: scaleIn 0.6s var(--transition-smooth) 0.4s forwards;
}

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

.screenshot-item:hover {
    transform: translateY(-10px);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1.5rem;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-item:hover img {
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.screenshot-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text);
}

/* Privacy Section */
.privacy {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.privacy-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.privacy-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    border: 2px solid var(--color-border);
    border-radius: 50%;
    background: var(--color-bg);
}

.privacy-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.privacy-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s var(--transition-smooth);
}

.privacy-link:hover {
    opacity: 0.7;
}

/* Download Section */
.download {
    text-align: center;
}

.download-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.2s forwards, floatSlow 8s infinite ease-in-out;
    filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.15));
}

.download-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.3s forwards;
}

.download-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.4s forwards;
}

.download-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.5s forwards;
}

.btn-download {
    background: var(--color-bg);
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-download:hover {
    transform: translateY(-5px);
    background: #0a0a0a;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.download-note {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    opacity: 0;
    animation: fadeIn 0.8s var(--transition-smooth) 0.6s forwards;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

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

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

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

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    
    .logo {
        width: 12px;
        height: 12px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .nav-cta {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }

    .hero-logo {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .screenshots-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .download-logo {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 20px;
        height: 20px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 761px) {
    .logo {
        width: 20px;
        height: 20px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
}
