/* ==========================================================================
   EisenPlan Landing Page
   ========================================================================== */

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

.ep-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #3a2a1a;
    background: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

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

.ep-landing a {
    text-decoration: none;
    color: inherit;
}

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

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.ep-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1120px;
    margin: 0 auto;
    padding: 20px 24px;
    position: relative;
    z-index: 10;
}

.ep-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #3a2a1a;
}

.ep-nav__logo img {
    border-radius: 10px;
}

.ep-landing .ep-nav__cta {
    background: #3a2a1a;
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
}

.ep-landing .ep-nav__cta:hover {
    background: #5e4a2c;
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.ep-hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.ep-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #faf6f0 0%, #f0e6d4 40%, #e6d8c0 100%);
    z-index: 0;
}

.ep-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.ep-hero__text {
    flex: 1;
    max-width: 480px;
    animation: fadeInUp 0.8s ease forwards;
}

.ep-hero__text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #3a2a1a;
    margin-bottom: 16px;
}

.ep-hero__text p {
    font-size: 1.15rem;
    color: #7a6a4a;
    line-height: 1.6;
    margin-bottom: 28px;
}

.ep-hero__actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.ep-hero__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #9a8a6a;
    font-weight: 500;
}

.ep-hero__separator {
    color: #c8b898;
}

.ep-hero__phone {
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.ep-hero__wave {
    position: relative;
    z-index: 2;
    margin-top: -2px;
}

.ep-hero__wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ==========================================================================
   Phone Frames
   ========================================================================== */

.ep-phone-frame {
    background: #0a0a0a;
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 25px 60px rgba(60, 40, 0, 0.2),
        0 8px 20px rgba(60, 40, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 280px;
    animation: floatPhone 4s ease-in-out infinite;
}

.ep-phone-frame img {
    border-radius: 30px;
    width: 100%;
}

.ep-phone-frame--small {
    width: 220px;
    border-radius: 32px;
    padding: 10px;
    animation: floatPhone 4s ease-in-out infinite;
}

.ep-phone-frame--small img {
    border-radius: 24px;
}

.ep-phone-frame--medium {
    width: 260px;
    border-radius: 36px;
    animation: floatPhone 4s ease-in-out 0.5s infinite;
}

.ep-phone-frame--medium img {
    border-radius: 28px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.ep-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.ep-landing .ep-btn--primary {
    background: #3a2a1a;
    color: #fff;
}

.ep-landing .ep-btn--primary:hover {
    background: #5e4a2c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(58, 42, 26, 0.3);
}

.ep-btn--large {
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */

.ep-section-title {
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.ep-section-title--light {
    color: #fff;
}

.ep-section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #8a7a5a;
    max-width: 500px;
    margin: 0 auto 48px;
}

.ep-section-subtitle--light {
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */

.ep-features {
    padding: 80px 0 100px;
    background: #fff;
}

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

.ep-feature {
    background: #faf7f2;
    border-radius: 20px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ep-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(100, 60, 0, 0.08);
}

.ep-feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0e0c4, #e0cc9e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #947a3a;
}

.ep-feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #3a2a1a;
}

.ep-feature p {
    font-size: 0.95rem;
    color: #8a7a5a;
    line-height: 1.5;
}

/* ==========================================================================
   Showcase / Gallery
   ========================================================================== */

.ep-showcase {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
}

.ep-showcase__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3a2a1a 0%, #5e4a2c 50%, #806a3a 100%);
}

.ep-showcase__gallery {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.ep-showcase__item {
    text-align: center;
    transition: transform 0.3s ease;
}

.ep-showcase__item:hover {
    transform: translateY(-8px);
}

.ep-showcase__item--hero {
    transform: translateY(-20px);
}

.ep-showcase__item--hero:hover {
    transform: translateY(-28px);
}

.ep-showcase__label {
    display: block;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Widget Section
   ========================================================================== */

.ep-widget-section {
    padding: 100px 0;
    background: #fff;
}

.ep-widget-section__content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ep-widget-section__text {
    flex: 1;
}

.ep-widget-section__text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #3a2a1a;
}

.ep-widget-section__text p {
    font-size: 1.1rem;
    color: #8a7a5a;
    line-height: 1.6;
    margin-bottom: 12px;
}

.ep-widget-section__images {
    flex: 1;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.ep-widget-section__img {
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(60, 40, 0, 0.12);
}

.ep-widget-section__img--small {
    width: 240px;
}

.ep-widget-section__img--medium {
    width: 280px;
}

/* ==========================================================================
   Method (replaces Streak)
   ========================================================================== */

.ep-method {
    padding: 80px 0;
    background: #faf7f2;
}

.ep-method__content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.ep-method__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4a942, #c69b4f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(198, 155, 79, 0.3);
}

.ep-method h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #3a2a1a;
}

.ep-method p {
    font-size: 1.1rem;
    color: #8a7a5a;
    line-height: 1.6;
}

/* ==========================================================================
   Dual Cards (Sync + Privacy)
   ========================================================================== */

.ep-dual {
    padding: 80px 0 100px;
    background: #fff;
}

.ep-dual__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ep-dual__card {
    background: #faf7f2;
    border-radius: 24px;
    padding: 40px 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ep-dual__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(100, 60, 0, 0.08);
}

.ep-dual__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ep-dual__icon--sync {
    background: linear-gradient(135deg, #d4e8f0, #a8cce0);
    color: #336699;
}

.ep-dual__icon--privacy {
    background: linear-gradient(135deg, #f0e0c4, #e0cc9e);
    color: #947a3a;
}

.ep-dual__card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #3a2a1a;
}

.ep-dual__card p {
    font-size: 1rem;
    color: #8a7a5a;
    line-height: 1.6;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.ep-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.ep-cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #f0e6d4 0%, #e6d8c0 50%, #dccaaa 100%);
}

.ep-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ep-cta__icon {
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(60, 40, 0, 0.15);
    margin: 0 auto 24px;
}

.ep-cta h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #3a2a1a;
}

.ep-cta p {
    font-size: 1.15rem;
    color: #7a6a4a;
    margin-bottom: 32px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.ep-footer {
    padding: 32px 0;
    background: #faf7f2;
    border-top: 1px solid #e8dcc8;
}

.ep-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ep-footer__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1rem;
    color: #3a2a1a;
}

.ep-footer__brand img {
    border-radius: 8px;
}

.ep-footer__copy {
    font-size: 0.85rem;
    color: #9a8a7a;
}

.ep-landing .ep-footer__copy a {
    color: #947a3a;
    font-weight: 600;
    transition: color 0.2s;
}

.ep-landing .ep-footer__copy a:hover {
    color: #705a1a;
}

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

@media (max-width: 1024px) {
    .ep-hero__text h1 {
        font-size: 2.6rem;
    }

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

    .ep-showcase__gallery {
        gap: 16px;
    }

    .ep-phone-frame--small {
        width: 180px;
    }

    .ep-phone-frame--medium {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .ep-hero__content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding-top: 20px;
    }

    .ep-hero__text {
        max-width: 100%;
    }

    .ep-hero__text h1 {
        font-size: 2.2rem;
    }

    .ep-hero__actions {
        justify-content: center;
    }

    .ep-hero__badge {
        justify-content: center;
    }

    .ep-phone-frame {
        width: 240px;
    }

    .ep-section-title {
        font-size: 1.9rem;
    }

    .ep-features__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ep-showcase__gallery {
        flex-wrap: wrap;
        gap: 20px;
    }

    .ep-showcase__item--hero {
        transform: translateY(0);
        order: -1;
    }

    .ep-showcase__item--hero:hover {
        transform: translateY(-8px);
    }

    .ep-phone-frame--small {
        width: 160px;
    }

    .ep-phone-frame--medium {
        width: 220px;
    }

    .ep-widget-section__content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .ep-widget-section__text h2 {
        font-size: 1.8rem;
    }

    .ep-widget-section__img--small {
        width: 180px;
    }

    .ep-widget-section__img--medium {
        width: 220px;
    }

    .ep-dual__grid {
        grid-template-columns: 1fr;
    }

    .ep-cta h2 {
        font-size: 1.9rem;
    }

    .ep-footer__content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ep-hero__text h1 {
        font-size: 1.8rem;
    }

    .ep-phone-frame {
        width: 200px;
        border-radius: 30px;
        padding: 8px;
    }

    .ep-phone-frame img {
        border-radius: 24px;
    }

    .ep-section-title {
        font-size: 1.6rem;
    }

    .ep-btn--large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .ep-widget-section__images {
        flex-direction: column;
    }
}
