/* ==========================================================================
   Hydra Landing Page
   ========================================================================== */

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

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

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

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

.hydra-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
   ========================================================================== */

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

.hydra-nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a2a3a;
}

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

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

.hydra-landing .hydra-nav__cta:hover {
    background: #2c4a5e;
    transform: translateY(-1px);
}

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

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

.hydra-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #e8f4f8 0%, #d0eaf3 40%, #b8dcea 100%);
    z-index: 0;
}

.hydra-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;
}

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

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

.hydra-hero__text p {
    font-size: 1.15rem;
    color: #4a6a7a;
    line-height: 1.6;
    margin-bottom: 28px;
}

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

.hydra-hero__badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #6a8a9a;
    font-weight: 500;
}

.hydra-hero__separator {
    color: #b0c8d4;
}

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

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

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

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

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

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

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

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

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

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

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

.hydra-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;
}

.hydra-landing .hydra-btn--primary {
    background: #1a2a3a;
    color: #fff;
}

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

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

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

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

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

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

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

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

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

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

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

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

.hydra-feature__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #d0eaf3, #a8d4e6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #3a7a94;
}

.hydra-feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a2a3a;
}

.hydra-feature p {
    font-size: 0.95rem;
    color: #5a7a8a;
    line-height: 1.5;
}

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

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

.hydra-showcase__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a2a3a 0%, #2c4a5e 50%, #3a6a80 100%);
}

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

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

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

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

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

.hydra-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
   ========================================================================== */

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

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

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

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

.hydra-widget-section__text p {
    font-size: 1.1rem;
    color: #5a7a8a;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

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

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

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

/* ==========================================================================
   Streak
   ========================================================================== */

.hydra-streak {
    padding: 80px 0;
    background: #f4f9fb;
}

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

.hydra-streak__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ffb800);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.3);
}

.hydra-streak h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1a2a3a;
}

.hydra-streak p {
    font-size: 1.1rem;
    color: #5a7a8a;
    line-height: 1.6;
}

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

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

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

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

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

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

.hydra-dual__icon--health {
    background: linear-gradient(135deg, #ffcccc, #ff9999);
    color: #cc3333;
}

.hydra-dual__icon--privacy {
    background: linear-gradient(135deg, #cce5ff, #99ccff);
    color: #336699;
}

.hydra-dual__card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a2a3a;
}

.hydra-dual__card p {
    font-size: 1rem;
    color: #5a7a8a;
    line-height: 1.6;
}

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

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

.hydra-cta__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #d0eaf3 0%, #b8dcea 50%, #a0cede 100%);
}

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

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

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

.hydra-cta p {
    font-size: 1.15rem;
    color: #4a6a7a;
    margin-bottom: 32px;
}

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

.hydra-footer {
    padding: 32px 0;
    background: #f4f9fb;
    border-top: 1px solid #e0eef4;
}

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

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

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

.hydra-footer__copy {
    font-size: 0.85rem;
    color: #7a9aaa;
}

.hydra-landing .hydra-footer__copy a {
    color: #3a7a94;
    font-weight: 600;
    transition: color 0.2s;
}

.hydra-landing .hydra-footer__copy a:hover {
    color: #1a5a70;
}

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

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

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

    .hydra-showcase__gallery {
        gap: 16px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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