/* ==========================================================================
   ONLY GIRLS — Features Page
   ========================================================================== */

/* Active nav link */
.nav-link--active {
    color: var(--accent-primary) !important;
}
.nav-link--active::after {
    width: 100% !important;
}

/* -----------------------------------------
   FEATURES HERO
----------------------------------------- */
.feat-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 8rem;
    padding-bottom: 0;
}

.feat-grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.feat-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.feat-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201, 42, 93, 0.08) 0%, transparent 70%);
    top: -200px; right: -150px;
    filter: blur(60px);
    animation: orbFloat 12s ease-in-out infinite;
}

.feat-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(232, 180, 184, 0.1) 0%, transparent 70%);
    bottom: 0; left: -100px;
    filter: blur(50px);
    animation: orbFloat 9s ease-in-out infinite reverse;
}

.feat-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(240, 98, 146, 0.06) 0%, transparent 70%);
    top: 40%; left: 35%;
    filter: blur(40px);
    animation: orbFloat 15s ease-in-out infinite;
}

.feat-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.feat-hero-content { max-width: 780px; }

.feat-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--text-main);
    margin: 1.5rem 0;
}

.feat-hero-title em {
    font-style: italic;
    color: var(--accent-primary);
}

.feat-hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* Pill nav */
.feat-pill-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding-bottom: 4rem;
}

.feat-pill {
    padding: 0.65rem 1.4rem;
    border-radius: 100px;
    border: 1px solid rgba(201, 42, 93, 0.18);
    background: rgba(201, 42, 93, 0.04);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-expo);
    letter-spacing: 0.3px;
}

.feat-pill:hover,
.feat-pill.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(201, 42, 93, 0.28);
    transform: translateY(-2px);
}

/* -----------------------------------------
   FEATURE SECTIONS
----------------------------------------- */
.feat-section {
    padding: var(--section-pad) 0;
    position: relative;
}

.feat-section--dark {
    background-color: var(--text-main);
    color: white;
}

.feat-section-dark-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 10% 50%, rgba(201, 42, 93, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 30%, rgba(232, 180, 184, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.feat-section--subtle {
    background: rgba(252, 245, 248, 0.6);
}

.feat-section-header {
    max-width: 760px;
    margin: 0 auto 5rem;
}

/* Split layout */
.feat-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feat-split--rtl .feat-split-visual { order: -1; }

.feat-split-text { max-width: 540px; }

.feat-split-text--light .section-desc { color: rgba(255,255,255,0.6); }

/* Checklist */
.feat-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2.5rem;
}

.feat-checklist li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feat-check-icon {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 12px rgba(201, 42, 93, 0.25);
}

.feat-check-icon--light {
    background: rgba(255,255,255,0.15);
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.2);
}

.feat-checklist li div strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.feat-checklist--light li div strong { color: white; }
.feat-checklist--light li div p { color: rgba(255,255,255,0.55); }

.feat-checklist li div p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* -----------------------------------------
   CYCLE INTELLIGENCE VISUAL
----------------------------------------- */
.feat-mockup-card {
    padding: 2.5rem !important;
    border-radius: 36px !important;
    max-width: 440px;
    margin: 0 auto;
}

.feat-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.feat-mock-badge {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-primary);
    background: rgba(201, 42, 93, 0.07);
    border: 1px solid rgba(201, 42, 93, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
}

.cycle-ring-display {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cycle-ring-svg { width: 200px; height: 200px; }

.feat-ring-progress {
    transition: stroke-dashoffset 2.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.feat-phase-strips {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feat-phase-strip {
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(201, 42, 93, 0.04);
    border: 1px solid rgba(201, 42, 93, 0.08);
}

.feat-phase-strip.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    color: white;
    font-weight: 700;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(201, 42, 93, 0.3);
}

.feat-insight-box {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.2rem;
    background: rgba(201, 42, 93, 0.05);
    border: 1px solid rgba(201, 42, 93, 0.12);
    border-radius: 16px;
}

.feat-insight-icon {
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feat-insight-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.feat-insight-box strong { color: var(--accent-primary); }

/* -----------------------------------------
   AI CHAT VISUAL
----------------------------------------- */
.feat-chat-mockup {
    background: rgba(25, 12, 20, 0.7);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 32px;
    overflow: hidden;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

.feat-chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.feat-chat-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.feat-chat-header strong {
    display: block;
    font-size: 0.95rem;
    color: white;
    font-weight: 700;
}

.feat-chat-header span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.feat-chat-online {
    margin-left: auto;
    font-size: 0.72rem;
    color: #4ADE80;
    font-weight: 700;
}

.feat-chat-messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 240px;
}

.feat-chat-msg { max-width: 85%; }

.feat-msg-ai {
    align-self: flex-start;
}

.feat-msg-ai p {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px 18px 18px 18px;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.55;
}

.feat-msg-user {
    align-self: flex-end;
}

.feat-msg-user p {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-deep));
    border-radius: 18px 4px 18px 18px;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    color: white;
    line-height: 1.55;
}

.feat-chat-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.07);
    border-radius: 4px 18px 18px 18px;
    width: fit-content;
}

.feat-chat-typing span {
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    animation: typingDot 1.2s ease-in-out infinite;
}

.feat-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.feat-chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.feat-chat-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.feat-chat-input {
    flex: 1;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.25);
    font-family: var(--font-body);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 0.65rem 1rem;
}

.feat-chat-send {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.feat-chat-send svg { width: 15px; height: 15px; color: white; }

/* -----------------------------------------
   COMMUNITY GRID
----------------------------------------- */
.feat-community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feat-community-card {
    padding: 2.5rem 2rem !important;
    border-radius: 28px !important;
    transition: transform 0.4s var(--ease-expo), box-shadow 0.4s !important;
}

.feat-community-card:hover {
    transform: translateY(-6px) !important;
}

.feat-comm-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feat-community-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feat-community-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feat-comm-stat {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(201, 42, 93, 0.08);
}

.feat-comm-stat strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-primary);
    font-weight: 700;
}

.feat-comm-stat span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Community preview */
.feat-community-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feat-preview-post {
    padding: 2rem !important;
    border-radius: 28px !important;
}

.feat-preview-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.feat-preview-author img {
    width: 42px; height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 42, 93, 0.15);
    flex-shrink: 0;
}

.feat-preview-author strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-main);
    font-weight: 700;
}

.feat-preview-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feat-preview-phase-tag {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    background: rgba(201, 42, 93, 0.07);
    border: 1px solid rgba(201, 42, 93, 0.12);
    border-radius: 100px;
    color: var(--accent-primary);
    white-space: nowrap;
}

.feat-preview-text {
    font-size: 0.92rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feat-preview-reactions {
    display: flex;
    gap: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* -----------------------------------------
   PRIVACY GRID
----------------------------------------- */
.feat-privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feat-privacy-item {
    padding: 2.5rem;
    border-radius: 28px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.4s var(--ease-expo), background 0.3s;
}

.feat-privacy-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.feat-privacy-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feat-privacy-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feat-privacy-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
}

/* -----------------------------------------
   HABITS VISUAL
----------------------------------------- */
.feat-habits-card {
    padding: 2.5rem !important;
    border-radius: 36px !important;
    max-width: 440px;
    margin: 0 auto;
}

.feat-habits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feat-habits-header h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 600;
}

.feat-phase-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    background: rgba(201, 42, 93, 0.07);
    border: 1px solid rgba(201, 42, 93, 0.12);
    border-radius: 100px;
    color: var(--accent-primary);
}

.feat-habits-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.feat-habit-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feat-habit-row.done {
    color: var(--text-main);
    background: rgba(201, 42, 93, 0.04);
    border-color: rgba(201, 42, 93, 0.12);
}

.feat-habit-row span:nth-child(2) { flex: 1; }

.feat-streak {
    font-size: 0.78rem;
    margin-left: auto;
}



.feat-prog-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.feat-prog-label strong { color: var(--accent-primary); }

.feat-prog-track {
    height: 6px;
    background: rgba(201, 42, 93, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.feat-prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-glow));
    border-radius: 100px;
    transition: width 1.5s var(--ease-expo);
}

/* -----------------------------------------
   GROWTH SHOWCASE
----------------------------------------- */
.feat-growth-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feat-growth-card {
    padding: 2.5rem 2rem !important;
    border-radius: 28px !important;
    transition: transform 0.4s var(--ease-expo) !important;
}

.feat-growth-card:hover {
    transform: translateY(-6px) !important;
}

.feat-growth-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    padding: 0.3rem 0.8rem;
    background: rgba(201, 42, 93, 0.07);
    border: 1px solid rgba(201, 42, 93, 0.12);
    border-radius: 100px;
    display: inline-block;
}

.feat-growth-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    font-weight: 600;
}

.feat-growth-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feat-growth-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(201, 42, 93, 0.08);
}

.feat-growth-cta {
    text-align: center;
}

/* -----------------------------------------
   DIVIDER
----------------------------------------- */
.feat-divider {
    display: flex;
    justify-content: center;
    padding: 0;
}

.feat-divider-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 42, 93, 0.1), transparent);
}

/* -----------------------------------------
   RESPONSIVE
----------------------------------------- */
@media (max-width: 1100px) {
    .feat-community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feat-privacy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .feat-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feat-split--rtl .feat-split-visual {
        order: unset;
    }

    .feat-split-text { max-width: 100%; }

    .feat-growth-showcase {
        grid-template-columns: 1fr;
    }

    .feat-community-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feat-hero-title {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .feat-community-grid {
        grid-template-columns: 1fr;
    }

    .feat-privacy-grid {
        grid-template-columns: 1fr;
    }

    .feat-pill-nav {
        gap: 0.5rem;
    }

    .feat-pill {
        font-size: 0.75rem;
        padding: 0.55rem 1rem;
    }
}
