@charset "UTF-8";

/* =============================================
   Apple Style System
   ============================================= */

/* Global Anti-aliasing & Base */
*, *::before, *::after {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    letter-spacing: -0.018em;
}

/* Apple Typography Headings */
h1, h2, h3 {
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Word Break */
.break-keep {
    word-break: keep-all;
}

/* =============================================
   Book Image — Apple Floating Effect
   ============================================= */
.book-image {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
}

/* =============================================
   Custom Checkbox — Apple iOS Style
   ============================================= */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    background-color: #f5f5f7;
    margin: 0;
    font: inherit;
    color: currentColor;
    border: 1.5px solid #d2d2d7;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-checkbox:hover {
    border-color: #114580;
    background-color: #fff;
}

.custom-checkbox:checked {
    background-color: #114580;
    border-color: #114580;
}

.custom-checkbox::before {
    content: "";
    width: 0.7em;
    height: 0.7em;
    transform: scale(0);
    transition: 120ms transform cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 1em 1em white;
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked::before {
    transform: scale(1);
}

.custom-checkbox:focus-visible {
    outline: 3px solid rgba(17, 69, 128, 0.35);
    outline-offset: 2px;
}

/* =============================================
   Form Container — Subtle Reveal Animation
   ============================================= */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(24px); }
    100% { opacity: 1; transform: translateY(0); }
}

.form-container-reveal {
    animation: slideUpFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =============================================
   Details / Accordion  — Apple Frosted Glass
   ============================================= */
.glass-details {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* =============================================
   List Item Styles — Static
   ============================================= */
.list-item-hover {
    transition: none;
}

.icon-box {
    transition: none;
}

/* =============================================
   Badge — Minimal Tag
   ============================================= */
.apple-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 6px 16px;
}

.apple-badge.urgent {
    background: #114580;
    color: #fff;
    border-color: rgba(0,0,0,0.1);
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.animate-text-pulse {
    animation: textPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* =============================================
   CTA Button — Apple Pill Style
   ============================================= */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 17px 32px;
    background: #1d1d1f;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #114580;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(17, 69, 128, 0.28);
}

.cta-button:active {
    transform: scale(0.98) translateY(0);
}

/* =============================================
   Input — Apple Clean Style
   ============================================= */
.apple-input {
    display: block;
    width: 100%;
    padding: 15px 18px;
    background: #f5f5f7;
    border: 1.5px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    color: #1d1d1f;
    outline: none;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: -0.01em;
}

.apple-input::placeholder {
    color: #86868b;
    font-weight: 400;
}

.apple-input:hover {
    background: #ebebed;
}

.apple-input:focus {
    background: #fff;
    border-color: #114580;
    box-shadow: 0 0 0 4px rgba(17, 69, 128, 0.15);
}

/* =============================================
   Free Badge (inside form)
   ============================================= */
.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.free-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34c759;
    flex-shrink: 0;
}
