/* Base styles inheriting Skylark Studio premium aesthetics */
:root {
    --bg: #090d16;
    --card-bg: rgba(17, 25, 40, 0.65);
    --primary: #ef4444; /* Red accent for PDF */
    --secondary: #fb923c;
    --accent: #f43f5e;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-shadow: 0 0 25px rgba(239, 68, 68, 0.15);
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6, .logo span {
    font-family: 'Outfit', sans-serif;
}

/* Background Orbs */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(9, 13, 22, 1) 0%, rgba(15, 23, 42, 1) 100%);
}

.background-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: 10%; }
.orb-2 { width: 500px; height: 500px; background: var(--accent); bottom: -150px; right: 15%; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: var(--secondary); top: 40%; left: -100px; animation-delay: -6s; opacity: 0.1; }

@keyframes floatOrb {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.05); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9, 13, 22, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.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;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Play Button */
.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.play-icon {
    width: 32px;
    height: 32px;
}

.play-text {
    display: flex;
    flex-direction: column;
}

.get-it-on {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ccc;
    line-height: 1;
}

.google-play {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
}

/* Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 2px #333,
                0 0 0 4px #111,
                var(--glow-shadow);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.phone-camera {
    position: absolute;
    top: 18px; /* adjusted slightly for standard phone padding */
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #000000;
    border-radius: 50%;
    z-index: 10;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* Features */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(239, 68, 68, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(239, 68, 68, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

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

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

/* Screenshots Carousel */
.screenshots {
    padding: 4rem 0;
    overflow: hidden;
}

.carousel-container {
    padding: 2rem;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding-bottom: 4rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    padding: 0 10vw;
}

.carousel-track .carousel-mockup {
    width: 260px;
    height: 520px;
    scroll-snap-align: center;
    transform: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 2px #333, 0 0 0 4px #111;
}

.carousel-track .carousel-mockup:hover {
    transform: translateY(-10px);
}

.carousel-track .carousel-mockup .screen-img {
    border-radius: 0;
    border: none;
    box-shadow: none;
    height: 100%;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    background: rgba(9, 13, 22, 0.8);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

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

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

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

.copyright {
    color: #475569;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
    }
}
