/* imlore Website - Disney Fairytale + Apple Liquid Glass Theme */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* imlore warm color palette */
    --warm-brown-dark: #4d4033;      /* Color(red: 0.3, green: 0.25, blue: 0.2) */
    --warm-brown: #665950;           /* Color(red: 0.4, green: 0.35, blue: 0.3) */
    --warm-brown-light: #7a6b60;     /* Color(red: 0.5, green: 0.45, blue: 0.4) */
    --warm-orange: #d9994d;          /* Color(red: 0.85, green: 0.6, blue: 0.3) */
    --warm-gold: #bf9973;            /* Color(red: 0.75, green: 0.6, blue: 0.45) */
    --warm-beige: #f5ebe0;           /* Warm beige background */
    --warm-cream: #faf6f1;           /* Light cream */

    /* Text colors */
    --text-primary: var(--warm-brown-dark);
    --text-secondary: var(--warm-brown);
    --text-muted: var(--warm-brown-light);

    /* Backgrounds */
    --bg-cream: #fdfbf8;
    --bg-warm: linear-gradient(180deg, #fdfbf8 0%, #f5ebe0 100%);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-strong: rgba(255, 255, 255, 0.85);

    /* Borders and shadows */
    --border-subtle: rgba(102, 89, 80, 0.1);
    --shadow-soft: 0 4px 24px rgba(77, 64, 51, 0.08);
    --shadow-glass: 0 8px 32px rgba(77, 64, 51, 0.12);
    --shadow-glow: 0 0 40px rgba(217, 153, 77, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-warm);
    min-height: 100vh;
}

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

/* Header - Frosted Glass */
.header {
    position: sticky;
    top: 0;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: var(--warm-brown-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--warm-orange);
}

/* Buttons - Warm Glass Style */
.btn-primary, .btn-secondary {
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--warm-orange);
    color: white;
    box-shadow: 0 4px 16px rgba(217, 153, 77, 0.3);
}

.btn-primary:hover {
    background: #c8883d;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(217, 153, 77, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--warm-brown);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-glass-strong);
    color: var(--warm-orange);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: var(--bg-warm);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--warm-brown-dark);
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--warm-orange) 0%, var(--warm-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    color: var(--warm-orange);
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

/* Demo Video - Glass Container */
.demo-video-container {
    width: 100%;
    max-width: 500px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px;
    box-shadow: var(--shadow-glass), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

/* Phone Mockup (fallback) */
.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--warm-beige);
    border-radius: 32px;
    overflow: hidden;
}

.app-preview {
    text-align: center;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--warm-brown-dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-cream);
}

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

/* Feature Card - Glass Style */
.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glass);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--warm-orange) 0%, var(--warm-gold) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--warm-brown-dark);
    margin-bottom: 12px;
}

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

/* App Showcase Section */
.app-showcase {
    padding: 100px 0;
    background: var(--bg-warm);
}

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

.showcase-item {
    text-align: center;
}

.showcase-item img {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.showcase-item:hover img {
    transform: scale(1.02);
}

.showcase-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--warm-brown-dark);
    margin-bottom: 6px;
}

.showcase-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-cream);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--warm-orange) 0%, var(--warm-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--warm-brown-dark);
    margin-bottom: 12px;
}

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

.step-arrow {
    font-size: 28px;
    color: var(--warm-gold);
    font-weight: 300;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--warm-cream) 100%);
    text-align: center;
}

.download-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--warm-brown-dark);
    margin-bottom: 12px;
}

.download-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 54px;
}

.download-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 24px !important;
}

/* Footer */
.footer {
    background: var(--warm-brown-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-section .logo-icon {
    filter: brightness(1.2);
}

.footer-tagline {
    color: var(--warm-gold);
    font-size: 15px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--warm-gold);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--warm-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .demo-video-container {
        max-width: 400px;
        border-radius: 24px;
        padding: 8px;
    }

    .demo-video {
        border-radius: 20px;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .steps {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
}
