* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* FULL WIDTH BACKGROUND - GREEN DOTTED GRID */
body {
    background: #030a03;
    font-family: system-ui, 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Dotted grid overlay with soft green dots */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(70, 210, 70, 0.2) 1.2px, transparent 1.2px);
    background-size: 36px 36px;
    background-repeat: repeat;
    pointer-events: none;
    z-index: 0;
}

/* ===== LIGHTWEIGHT PARTICLE CANVAS (behind content, no interaction) ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.65;
}

/* CONTAINER - full width, sits above particles */
.container {
    max-width: 1400px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 1.5rem 1.8rem 3rem;
}

@media (min-width: 1600px) {
    .container {
        width: 90%;
        max-width: 1600px;
    }
}

/* ========== HEADER ========== */
.logo-section {
    text-align: center;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.logo-img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0,200,0,0.3));
}
.resolve-text {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #b0ffb0, #2e8b57);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
@supports not (background-clip: text) {
    .resolve-text { color: #2ecc71; }
}
.discipline-tag {
    text-align: center;
    margin-bottom: 1.2rem;
}
.discipline-tag span {
    color: #a3e4a3;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(30, 60, 30, 0.5);
    padding: 0.2rem 1.2rem;
    border-radius: 30px;
    backdrop-filter: blur(2px);
}

/* ========== INTRO SECTION ========== */
.intro-hero {
    margin: 1.5rem 0 2rem;
    background: rgba(10, 20, 8, 0.7);
    backdrop-filter: blur(2px);
    border-radius: 48px;
    padding: 2rem 2rem;
    border: 1px solid rgba(70, 180, 70, 0.4);
}
.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(145deg, #c0ffb0, #6fda6f);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
}
.hero-sub {
    font-size: 1.1rem;
    color: #c0f0c0;
    border-left: 4px solid #28b828;
    padding-left: 1.2rem;
    margin: 1rem 0 1.5rem;
}
.purpose-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
    margin: 1.8rem 0 1rem;
}
.purpose-block {
    flex: 1;
    min-width: 200px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 28px;
    padding: 1.2rem 1.4rem;
    border: 1px solid #2b5e2b;
}
.purpose-block h3 {
    color: #8eff8e;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}
.purpose-block p {
    color: #d0f0d0;
    font-size: 0.95rem;
}
.challenge-callout {
    background: #0e2a0e;
    border-radius: 2rem;
    padding: 1rem 1.6rem;
    margin: 1rem 0;
    border-left: 8px solid #6fe46f;
}
.challenge-callout strong {
    color: #b5ffb5;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.4rem;
}
.challenge-callout p {
    color: #e2ffe2;
    font-weight: 500;
}

/* COMMITMENT LEVELS */
.commitment-section {
    margin: 2rem 0 2rem;
    background: rgba(8, 18, 6, 0.7);
    border-radius: 40px;
    padding: 1.6rem 1.8rem;
    border: 1px solid #2f7a2f;
}
.commit-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #b3f0b3;
    text-align: center;
    margin-bottom: 1.2rem;
}
.commit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
}
.commit-card {
    flex: 1;
    min-width: 220px;
    background: #0f1a0f;
    border-radius: 28px;
    padding: 1.2rem 1rem;
    text-align: center;
    border: 1px solid #3d8b3d;
    transition: 0.1s linear;
}
.commit-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #c6ffb0;
    margin-bottom: 0.5rem;
}
.commit-hours {
    font-size: 2rem;
    font-weight: 800;
    color: #6fe06f;
    margin: 0.5rem 0;
}
.commit-desc {
    color: #c0e0c0;
    font-size: 0.9rem;
    line-height: 1.4;
}
.commit-note {
    color: #9bcb9b;
    font-size: 0.8rem;
    margin-top: 0.8rem;
    border-top: 1px dashed #2d732d;
    padding-top: 0.6rem;
}

/* SCROLL HINT (levitating, no changes) */
.scroll-hint {
    text-align: center;
    margin: 1.8rem 0 0.2rem;
}
.scroll-arrow {
    display: inline-block;
    color: #8be08b;
    font-size: 1.9rem;
    font-weight: 400;
    animation: subtleBounce 1.8s infinite ease;
    background: rgba(0,0,0,0.2);
    padding: 0.2rem 1rem;
    border-radius: 60px;
    backdrop-filter: blur(2px);
}
@keyframes subtleBounce {
    0%, 100% { transform: translateY(0px); opacity: 0.7;}
    50% { transform: translateY(8px); opacity: 1;}
}

/* ========== MODE SELECTION — GLOWING BORDERS ========== */
.mode-divider {
    margin: 2.5rem 0 1rem;
    text-align: center;
}
.choose-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #d0ffd0;
    display: inline-block;
    padding-bottom: 6px;
    border-bottom: 3px solid #5fdf5f;
    text-shadow: 0 0 4px rgba(100,255,100,0.3);
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 1.8rem 0 1rem;
}
/* CARDS — deeper green background, not too light */
.card {
    flex: 1 1 300px;
    min-width: 280px;
    background: #071007;
    padding: 2rem 1.6rem;
    text-align: center;
    border-radius: 42px;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 10px 25px -8px rgba(60,210,60,0.2), inset 0 1px 0 rgba(200,255,200,0.1);
}
.lite {
    border: 5px solid #a3e9b1;
    background: #09200b;
    animation: borderGlowLite 0.5s infinite alternate ease-in-out;
}
.normal {
    border: 5px solid #ffffff;
    background: #003b00;
    animation: borderGlowImmerse 0.5s infinite alternate ease-in-out;
}

/* GLOW KEYFRAMES — slow pulsing */
@keyframes borderGlowLite {
    0% {
        border-color: #a3e9b1;
        box-shadow: 0 0 0 0 rgba(163, 233, 177, 0.3), 0 10px 25px -8px rgba(60,210,60,0.2);
    }
    100% {
        border-color: #6fef8f;
        box-shadow: 0 0 14px 5px rgba(111, 239, 143, 0.6), 0 10px 25px -8px rgba(60,210,60,0.4);
    }
}
@keyframes borderGlowImmerse {
    0% {
        border-color: #ffffff;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3), 0 10px 25px -8px rgba(60,210,60,0.2);
    }
    100% {
        border-color: #80ffaa;
        box-shadow: 0 0 16px 6px rgba(128, 255, 170, 0.6), 0 10px 25px -8px rgba(60,210,60,0.4);
    }
}

/* free stamp adjustment */
.free-stamp {
    position: absolute;
    top: -18px;
    left: 24px;
    background: #2c8c2c;
    color: #f4fff0;
    font-weight: 900;
    font-size: 1rem;
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid #aaf0aa;
    box-shadow: 0 0 8px rgba(100,255,100,0.5);
    z-index: 12;
}
.custom-stamp {
    position: absolute;
    top: -18px;
    left: 24px;
    background: #1f4a1f;
    padding: 6px 20px;
    border-radius: 60px;
    border: 2px solid #6aef6a;
    z-index: 12;
    box-shadow: 0 0 6px #5fdf5f;
}
.stamp-text {
    color: #e0ffe0;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 1px;
}
.card h2 {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin: 12px 0 6px;
    text-shadow: 0 0 4px rgba(0,200,0,0.3);
}
.badge {
    font-size: 0.75rem;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 40px;
    margin-bottom: 18px;
    font-weight: 700;
    background: #265a26;
    color: #e2ffe2;
    border: 1px solid #66bb66;
}
.features {
    list-style: none;
    margin: 18px 0 22px;
    text-align: left;
}
.features li {
    color: #e2ffe2;
    font-size: 0.95rem;
    padding: 8px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}
.features li .bullet {
    color: #a5f0a5;
    font-size: 1.2rem;
    min-width: 20px;
}
/* buttons get brighter green */
.btn-link {
    width: 100%;
    background: #1f4a1f;
    border: 2px solid #6ad46a;
    color: #f0fff0;
    font-weight: 800;
    padding: 12px 0;
    border-radius: 60px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: 0.15s linear;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.lite .btn-link {
    background: #196319;
    border-color: #169e16;
}
.normal .btn-link {
    background: #013101;
    border-color: #14b527;
}
.btn-link:hover {
    background: #3ea03e;
    transform: scale(1.02);
    border-color: #c0ffc0;
    box-shadow: 0 0 12px rgba(100,255,100,0.5);
}
.note {
    font-size: 0.7rem;
    color: #c0f0c0;
    margin-top: 12px;
    font-weight: 500;
}
footer {
    text-align: center;
    font-size: 0.7rem;
    color: #8bbf8b;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #2f6a2f;
}
footer span {
    color: #9eff9e;
}

@media (max-width: 750px) {
    .container { width: 98%; padding: 1rem 1rem 2rem; }
    .hero-title { font-size: 1.8rem; }
    .resolve-text { font-size: 2rem; }
    .logo-img { width: 50px; height: 50px; }
    .intro-hero { padding: 1.2rem; }
    .commit-title { font-size: 1.4rem; }
    .choose-heading { font-size: 1.5rem; }
    .free-stamp, .custom-stamp { font-size: 0.75rem; padding: 4px 14px; top: -14px; left: 16px; }
}

/* ============================================ */
/* FOLDED‑CORNER BOOKMARK + ARROW (FINAL)        */
/* ============================================ */

/* ----- Bookmark container (top‑right corner) ----- */
.important-bookmark {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    z-index: 10;
    cursor: pointer;
    transition: width 0.4s ease, height 0.4s ease;
}

/* Small triangular flap (collapsed state) */
.bookmark-flap {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 60px 60px 0;
    border-color: transparent #9cb89c transparent transparent;
    transition: border-color 0.3s;
    filter: drop-shadow(0 0 6px rgba(140, 255, 160, 0.5));
}

.important-bookmark:hover .bookmark-flap {
    border-color: transparent #c0e0c0 transparent transparent;
}

/* Expanded state – becomes a vertical card */
.important-bookmark.expanded {
    width: 500px;
    height: auto;
}

.important-bookmark.expanded .bookmark-flap {
    border-width: 0;
    display: none;
}

/* Content card that appears when expanded */
.bookmark-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(10, 30, 10, 0.92);
    backdrop-filter: blur(14px);
    border-left: 1px solid rgba(190, 255, 190, 0.5);
    border-bottom: 1px solid rgba(190, 255, 190, 0.5);
    border-right: 1px solid rgba(190, 255, 190, 0.5);
    border-radius: 0 0 0 24px;
    transition: max-height 0.5s cubic-bezier(0.25,0.8,0.25,1.2),
                padding 0.4s ease;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5),
                0 0 18px rgba(120, 255, 150, 0.3);
}

.important-bookmark.expanded .bookmark-content {
    max-height: 200px;
    padding: 22px 18px;
}

/* Text inside the expanded bookmark */
.bookmark-text {
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #e0ffe0;
    font-weight: 500;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.6;
    text-shadow: 0 0 8px rgba(130, 255, 140, 0.6);
}

.important-bookmark.expanded .bookmark-text {
    opacity: 1;
}

.bookmark-text em {
    font-style: italic;
    font-size: 0.75rem;
    color: #c0f0d0;
    font-variant: normal;
}

/* ----- Arrow group (pointing to the bookmark) ----- */
.bookmark-arrow-group {
    position: absolute;
    scale: 1.2;
    top: 22px;               /* keep your current position */
    right: 56px;             /* keep your current position */
    z-index: 6;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    animation: arrowBreathe 1.8s ease-in-out infinite;   /* faster breathing */
}

/* Curved SVG arrow */
.arrow-svg {
    transform: rotate(5deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
    margin-bottom: 6px;
    animation: arrowGlowPulse 1.5s ease-in-out infinite alternate;
}

/* Enhanced glow pulse for the arrow itself */
@keyframes arrowGlowPulse {
    from {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    }
    to {
        filter: drop-shadow(0 0 18px rgba(180, 255, 180, 0.9));
    }
}

/* Dashed line animation (kept) */
.arrow-path {
    stroke-dasharray: 6, 3;
    animation: dashMove 1.5s ease-in-out infinite alternate;   /* faster dash */
}

@keyframes dashMove {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: 9; }
}

@keyframes arrowBreathe {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%      { opacity: 1;     transform: scale(1.05); }   /* more pronounced */
}

/* Label now straight, elegant, and strongly glowing */
.arrow-label {
    font-family: 'Georgia', 'Times New Roman', cursive, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 0.85rem;
    color: white;
    text-align: right;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.9),
                 0 0 30px rgba(140, 255, 180, 0.7);
    background: rgba(0, 0, 0, 0.45);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    white-space: nowrap;
    letter-spacing: 0.4px;
    line-height: 1.4;
    margin-bottom: 6px;   /* space from arrow */
    /* removed transform: rotate(-4deg); – now perfectly straight */
    animation: labelGlowPulse 1.8s ease-in-out infinite alternate;
}

@keyframes labelGlowPulse {
    from {
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.8),
                     0 0 22px rgba(140, 255, 180, 0.5);
        border-color: rgba(255, 255, 255, 0.3);
    }
    to {
        text-shadow: 0 0 24px rgba(255, 255, 255, 1),
                     0 0 40px rgba(180, 255, 200, 0.8);
        border-color: rgba(255, 255, 255, 0.6);
    }
}

.arrow-label small {
    font-size: 0.6rem;
    font-weight: normal;
    font-style: italic;
    opacity: 0.9;
}

/* ============================================ */
/* MOBILE RESPONSIVE – bookmark + arrow + label   */
/* ============================================ */
@media (max-width: 750px) {

    /* Create breathing room at the top */
    .intro-hero {
        padding-top: 120px;              /* enough space for expanded bookmark */
        position: relative;
        overflow: visible;
    }

    /* Scale down the arrow group and place it higher, out of the way */
    .bookmark-arrow-group {
        top: 5px;
        right: 5px;
        transform: scale(0.6);
        transform-origin: top right;
        z-index: 12;
    }

    /* Fine‑tune the arrow SVG if needed */
    .arrow-svg {
        transform: rotate(5deg) scale(0.9);
    }

    /* Smaller label */
    .arrow-label {
        font-size: 0.65rem;
        padding: 2px 8px;
        margin-bottom: 2px;
    }

    /* Bookmark flap kept visible and reasonably sized */
    .bookmark-flap {
        border-width: 0 44px 44px 0;
    }

    /* Expanded bookmark now uses absolute positioning,
       placed inside the top padding area */
    .important-bookmark.expanded {
        position: absolute;
        top: 1px;                     /* sits in the padding */
        right: 10px;
        width: auto;                   /* still narrow */
        left: auto;
        margin-bottom: 0;
        z-index: 5;
    }

    /* The content card inside the expanded bookmark */
    .important-bookmark.expanded .bookmark-content {
        max-height: 180px;             /* limit height to avoid overflow */
        width: 240px;                  /* fixed width on mobile */
        border-radius: 0 0 16px 16px;
        padding: 16px 14px;
        left: -280px;
    }

    /* Push down the purpose grid slightly so it doesn’t get hidden */
    .purpose-grid {
        margin-top: 20px;              /* ensure it stays below the expanded bookmark */
    }

        /* ===== Hide arrow group when bookmark is expanded (mobile only) ===== */
    .important-bookmark.expanded ~ .bookmark-arrow-group {
        opacity: 0;
        pointer-events: none;
        animation: none;                 /* stop breathing animation while hidden */
        transition: opacity 0.3s ease;
    }

    /* Ensure a smooth fade when appearing again */
    .bookmark-arrow-group {
        transition: opacity 0.3s ease;
    }
}