/* =============================================
   Emotly Landing Page — Static CSS
   Matches the WordPress/Elementor design
   ============================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    color: #333;
    background: linear-gradient(180deg, #dce8f5 0%, #c5d5ef 100%);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* ---------- Header ---------- */
#site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(220, 232, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

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

.nav-links a {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    transition: color 0.2s;
    letter-spacing: -0.01em;
}

.nav-links a:hover {
    color: #3a8494;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 110;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero Section ---------- */
.hero-section {
    padding: 60px 0 40px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.25;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-buttons.center {
    justify-content: center;
}

.store-btn {
    display: inline-flex;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    overflow: hidden;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.store-btn img {
    height: 52px;
    width: auto;
    border-radius: 10px;
}

.hero-image {
    flex: 1;
    max-width: 540px;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
}

/* ---------- Description Section ---------- */
.description-section {
    padding: 30px 0 50px;
}

.description-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- Features Grid ---------- */
.features-section {
    padding: 20px 0;
}

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

.feature-card {
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card-image {
    width: 100%;
}

.feature-card-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: top;
}

.feature-card-text {
    padding: 12px 4px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* ---------- Privacy Section ---------- */
.privacy-section {
    padding: 60px 0 40px;
}

.privacy-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    justify-content: center;
}

.privacy-icon img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
}

.privacy-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.privacy-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ---------- Download CTA Section ---------- */
.download-section {
    padding: 40px 0 60px;
    text-align: center;
}

.download-section h3 {
    font-size: 30px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 24px;
    line-height: 1.3;
}

.download-logo {
    margin: 0 auto 16px;
}

.download-logo img {
    width: 180px;
    height: 180px;
    border-radius: 28px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.download-subtitle {
    font-size: 17px;
    color: #555;
    margin-bottom: 28px;
}

.contact-text {
    margin-top: 32px;
    font-size: 15px;
    color: #555;
}

.contact-text a {
    font-weight: 700;
    color: #333;
    transition: color 0.2s;
}

.contact-text a:hover {
    color: #3a8494;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 20px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.social-icon.instagram {
    background: #444;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.reddit {
    background: #ff4500;
}

/* ---------- Footer ---------- */
#site-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 28px 0;
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-container a {
    font-size: 14px;
    color: #3a8494;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-container a:hover {
    color: #2c6b78;
}

.footer-copy {
    font-size: 14px;
    color: #777;
}

/* =============================================
   Responsive
   ============================================= */

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

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-container {
        gap: 30px;
    }
}

/* Tablets portrait */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .hero-text h1 {
        font-size: 28px;
    }

    .store-buttons {
        justify-content: center;
    }

    .hero-image {
        max-width: 400px;
    }

    .privacy-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .download-section h3 {
        font-size: 24px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    /* Show inline links on mobile instead of hamburger */
    .mobile-menu-toggle {
        display: none;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .store-btn img {
        height: 44px;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .description-text {
        font-size: 14px;
    }

    .download-logo img {
        width: 140px;
        height: 140px;
    }

    .privacy-text h3 {
        font-size: 22px;
    }

    .download-section h3 {
        font-size: 20px;
    }
}
