/* ===================================
   RESET E VARIÁVEIS GLOBAIS
   =================================== */

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

:root {
    --primary-pink: #ff1493;
    --light-pink: #ffb6d9;
    --dark-pink: #ff69b4;
    --light-bg: #f5e6f5;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Fredoka', sans-serif;
    background: linear-gradient(180deg, #f5e6f5 0%, #f0e6f8 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   CONTAINER PRINCIPAL
   =================================== */

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===================================
   SEÇÃO HERO
   =================================== */

.hero-section {
    flex: 0 0 auto;
    background: linear-gradient(180deg, #f5e6f5 0%, #ffe6f5 100%);
    padding: 20px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 50%;
    border-bottom: 2px solid var(--light-pink);
}

.star-icon {
    font-size: 28px;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 4px;
}

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

.hero-title {
    font-family: 'Caveat', cursive;
    font-size: 44px;
    font-weight: 700;
    color: var(--primary-pink);
    line-height: 1.1;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    margin: 4px 0;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 2px 0;
}

.hero-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    margin: 6px 0;
    max-width: 280px;
}

.highlight {
    color: var(--primary-pink);
    font-weight: 700;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 8px 0;
    white-space: nowrap;
}

.cta-button:active {
    transform: scale(0.95);
}

.button-icon {
    font-size: 16px;
}

.button-text {
    display: inline-block;
}

.hero-footer {
    font-size: 20px;
    color: var(--text-light);
    margin-top: 6px;
}

/* ===================================
   SEÇÃO BENEFÍCIOS
   =================================== */

.benefits-section {
    flex: 1;
    padding: 14px 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefits-title {
    font-family: 'Caveat', cursive;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    text-transform: lowercase;
    margin: 0;
    line-height: 1.2;
}

.benefits-subtitle {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    flex: 1;
    align-content: center;
}

.benefit-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 20, 147, 0.08);
    border: 1px solid rgba(255, 20, 147, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.benefit-card:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 20, 147, 0.12);
}

.benefit-icon {
    font-size: 26px;
    display: block;
}

.benefit-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
}

.benefit-description {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.3;
    margin: 0;
}

/* ===================================
   RESPONSIVIDADE PARA DIFERENTES ALTURAS
   =================================== */

/* Telas pequenas (altura < 700px) */
@media (max-height: 700px) {
    .hero-section {
        min-height: 48%;
        padding: 16px 16px;
        gap: 8px;
    }

    .star-icon {
        font-size: 24px;
        margin-bottom: 2px;
    }

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

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-description {
        font-size: 12px;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }

    .benefits-section {
        padding: 12px 14px;
        gap: 8px;
    }

    .benefits-title {
        font-size: 32px;
    }

    .benefits-subtitle {
        font-size: 15px;
    }

    .benefits-grid {
        gap: 8px;
    }

    .benefit-card {
        padding: 12px;
        gap: 4px;
    }

    .benefit-icon {
        font-size: 22px;
    }

    .benefit-name {
        font-size: 12px;
    }

    .benefit-description {
        font-size: 10px;
    }
}

/* Telas muito pequenas (altura < 600px) */
@media (max-height: 600px) {
    .hero-section {
        min-height: 46%;
        padding: 12px 14px;
        gap: 6px;
    }

    .star-icon {
        font-size: 20px;
        margin-bottom: 0;
    }

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

    .hero-subtitle {
        font-size: 13px;
    }

    .hero-description {
        font-size: 11px;
        margin: 4px 0;
    }

    .cta-button {
        padding: 9px 20px;
        font-size: 12px;
        margin: 6px 0;
    }

    .hero-footer {
        font-size: 20px;
    }

    .benefits-section {
        padding: 10px 12px;
        gap: 6px;
    }

    .benefits-title {
        font-size: 28px;
    }

    .benefits-subtitle {
        font-size: 15px;
    }

    .benefits-grid {
        gap: 6px;
    }

    .benefit-card {
        padding: 10px;
        gap: 3px;
    }

    .benefit-icon {
        font-size: 20px;
    }

    .benefit-name {
        font-size: 11px;
    }

    .benefit-description {
        font-size: 9px;
    }
}

/* ===================================
   RESPONSIVIDADE PARA DIFERENTES LARGURAS
   =================================== */

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

    .hero-description {
        max-width: 260px;
    }
}

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

    .hero-subtitle {
        font-size: 13px;
    }

    .cta-button {
        padding: 8px 18px;
        font-size: 11px;
    }

    .benefits-title {
        font-size: 26px;
    }
}

/* ===================================
   MODO PAISAGEM (LANDSCAPE)
   =================================== */

@media (orientation: landscape) {
    .hero-section {
        min-height: 55%;
        padding: 10px 16px;
        gap: 6px;
    }

    .star-icon {
        font-size: 20px;
        margin-bottom: 0;
    }

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

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-description {
        font-size: 11px;
        margin: 4px 0;
    }

    .cta-button {
        padding: 8px 20px;
        font-size: 12px;
        margin: 4px 0;
    }

    .hero-footer {
        font-size: 20px;
        margin-top: 2px;
    }

    .benefits-section {
        padding: 8px 12px;
        gap: 6px;
    }

    .benefits-title {
        font-size: 24px;
    }

    .benefits-subtitle {
        font-size: 10px;
    }

    .benefits-grid {
        gap: 6px;
    }

    .benefit-card {
        padding: 8px;
        gap: 3px;
    }

    .benefit-icon {
        font-size: 18px;
    }

    .benefit-name {
        font-size: 10px;
    }

    .benefit-description {
        font-size: 9px;
    }
}

/* ===================================
   ANIMAÇÕES
   =================================== */

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

.hero-section {
    animation: fadeIn 0.6s ease-out;
}

.benefit-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.1s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* ===================================
   ACESSIBILIDADE
   =================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .star-icon {
        animation: none;
    }
}

/* ===================================
   DARK MODE (OPCIONAL)
   =================================== */

@media (prefers-color-scheme: dark) {
    :root {
        --light-bg: #1a1a1a;
        --white: #2a2a2a;
        --text-dark: #f5f5f5;
        --text-light: #b0b0b0;
    }

    body {
        background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    }

    .hero-section {
        background: linear-gradient(180deg, #2a2a2a 0%, #3a3a3a 100%);
    }

    .benefit-card {
        background: #3a3a3a;
        border-color: rgba(255, 20, 147, 0.2);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
}
