/* Munchkin Coming Soon - Apple Style */

:root {
    --deep-teal: #0a1929;
    --teal: #1a3a4a;
    --mint: #4FD1C5;
    --soft-mint: #A7F3E0;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --accent-gradient: linear-gradient(135deg, #4FD1C5 0%, #A7F3E0 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--deep-teal);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* Gradient orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--mint);
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #2F8F9D;
    bottom: 20%;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--soft-mint);
    bottom: -100px;
    right: 20%;
    animation: float 18s ease-in-out infinite;
}

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

/* Main container */
.main {
    position: relative;
    z-index: 1;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.logo-mark {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.logo-icon {
    font-size: 64px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line-1 { animation-delay: 0.2s; }
.title-line-2 { animation-delay: 0.4s; }
.title-line-3 { animation-delay: 0.6s; }

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

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid rgba(79, 209, 197, 0.3);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    color: var(--mint);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Phone preview */
.phone-preview {
    position: relative;
    width: 300px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards, floatPhone 6s ease-in-out infinite 2s;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(2deg); }
}

.phone-frame {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 100px rgba(79, 209, 197, 0.1);
}

.phone-screen {
    border-radius: 32px;
    overflow: hidden;
    background: var(--deep-teal);
}

.phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 40px;
    pointer-events: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features Teaser */
.features-teaser {
    padding: 160px 0;
    background: linear-gradient(180deg, var(--deep-teal) 0%, rgba(26, 58, 74, 0.5) 100%);
}

.section-eyebrow {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-out;
}

.feature-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(79, 209, 197, 0.1);
    border: 1px solid rgba(79, 209, 197, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint);
    transition: all 0.3s ease;
}

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

.feature-item:hover .feature-icon {
    background: rgba(79, 209, 197, 0.2);
    transform: scale(1.05);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Visual Showcase */
.visual-showcase {
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.showcase-content {
    margin-bottom: 80px;
}

.showcase-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mint);
    margin-bottom: 20px;
}

.showcase-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Screenshot scroll */
.screenshots-scroll {
    overflow: hidden;
    padding: 40px 0;
}

.screenshots-track {
    display: flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.screenshots-track:hover {
    animation-play-state: paused;
}

.screenshots-track img {
    width: 280px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.screenshots-track img:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

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

/* Pro Teaser */
.pro-teaser {
    padding: 160px 0;
    background: linear-gradient(180deg, rgba(26, 58, 74, 0.5) 0%, var(--deep-teal) 100%);
}

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

.pro-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--deep-teal);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

.pro-content h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.pro-content > p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.price-hint {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Notify Section */
.notify-section {
    padding: 160px 0;
    text-align: center;
    background: var(--deep-teal);
}

.notify-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
}

.notify-section > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.notify-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 280px;
    padding: 16px 24px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: var(--text-tertiary);
}

.email-input:focus {
    border-color: var(--mint);
    background: rgba(79, 209, 197, 0.05);
}

.notify-btn {
    padding: 16px 32px;
    border-radius: 100px;
    border: none;
    background: var(--accent-gradient);
    color: var(--deep-teal);
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notify-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(79, 209, 197, 0.3);
}

.form-note {
    font-size: 13px;
    color: var(--text-tertiary);
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px;
    animation: fadeInUp 0.5s ease-out;
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--mint);
}

.form-success p {
    font-size: 18px;
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.footer-brand .logo-icon {
    font-size: 32px;
    animation: none;
}

.footer-text {
    font-size: 16px;
    color: var(--text-secondary);
}

.footer-links {
    text-align: center;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--mint);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .phone-preview {
        width: 260px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .feature-item {
        text-align: left;
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }
    
    .feature-icon {
        margin: 0;
        flex-shrink: 0;
    }
    
    .screenshots-track img {
        width: 240px;
    }
    
    .notify-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .email-input {
        min-width: auto;
    }
    
    .notify-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 42px;
    }
    
    .phone-preview {
        width: 220px;
    }
}
