/* 
   Typo Edit - Kinetic Typography Landing Page
   Dark Mode / Creator Aesthetic
*/

:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --surface-light: #1a1a1a;
    --text-main: #f5f5f5;
    --text-muted: #888888;
    --accent: #ccff00; /* Acid Lime */
    --accent-glow: rgba(204, 255, 0, 0.3);
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 800;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 24px;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

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

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.kinetic-text {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.kinetic-text .line {
    display: block;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: translateY(20px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

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

/* Marquee Background */
.marquee-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    font-family: var(--font-heading);
    font-size: 15rem;
    font-weight: 800;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    padding: 0 2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--surface-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -1px;
}

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

.feature-card {
    background: var(--surface-light);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s var(--ease-out), background 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.02);
    border-color: rgba(204, 255, 0, 0.2);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 24px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Showcase Placeholder */
.showcase {
    padding: 100px 0;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
}

.mockup-container {
    width: 100%;
    max-width: 400px;
    perspective: 1000px;
}

.mockup {
    width: 100%;
    aspect-ratio: 9/19;
    background: var(--surface-light);
    border-radius: 40px;
    border: 8px solid #222;
    padding: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px var(--accent-glow);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.6s var(--ease-out);
}

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

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

.placeholder-content {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-content h3 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--surface-color);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

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

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.2s;
}

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

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

/* Floating Install */
.floating-install {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 9999;
    background: var(--accent);
    color: #000;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px var(--accent-glow);
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.floating-install.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-install:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(204, 255, 0, 0.5);
}

/* Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .floating-install {
        left: 50%;
        bottom: 1.5rem;
        right: auto;
        transform: translateX(-50%) translateY(30px);
        width: 90%;
        max-width: 400px;
    }
    
    .floating-install.visible {
        transform: translateX(-50%) translateY(0);
    }
    
    .floating-install:hover {
        transform: translateX(-50%) translateY(-5px);
    }
}
