/* Milton Academy Landing Design System */

body {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f6f8;
}

/* Header & Navigation */
.glass-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

/* Circular Menu (Desktop) */
.circular-menu {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    box-shadow: 0 0 0 20px white, 0 40px 80px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 10px;
}

.slice {
    position: absolute;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.slice:hover {
    transform: scale(1.05);
    z-index: 10;
}

.slice.active {
    transform: scale(1.08);
    z-index: 20;
    box-shadow: 0 20px 40px rgba(19, 91, 236, 0.4);
    background-color: #135bec !important;
}

.slice-top-left {
    top: 0;
    left: 0;
    background-color: #475569;
    border-top-left-radius: 200px;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 40px;
}

.slice-top-right {
    top: 0;
    right: 0;
    background-color: #64748b;
    border-top-right-radius: 200px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 40px;
}

.slice-bottom-left {
    bottom: 0;
    left: 0;
    background-color: #64748b;
    border-bottom-left-radius: 200px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 40px;
}

.slice-bottom-right {
    bottom: 0;
    right: 0;
    background-color: #475569;
    border-bottom-right-radius: 200px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px;
}

.center-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #135bec;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.center-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(19, 91, 236, 0.2);
}

.center-circle.active {
    background-color: #135bec;
    color: white;
    box-shadow: 0 20px 40px rgba(19, 91, 236, 0.5);
    transform: scale(1.12);
}

/* Mobile Tabs */
.mobile-slice-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.mobile-slice-tab:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.mobile-slice-tab.active {
    background-color: #135bec;
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(19, 91, 236, 0.35);
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

@keyframes pulse-subtle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
}

.animate-pulse-subtle {
    animation: pulse-subtle 3s infinite ease-in-out;
}

/* Gift Section Standalone */
.gift-card-standalone {
    position: relative;
    width: 280px;
    margin: 40px auto;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px auto 0;
    max-width: 550px;
}

.gift-card-standalone img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.gift-card-standalone:hover {
    transform: translateY(-4px);
}

.gift-card-standalone:hover img {
    transform: scale(1.03) rotate(1deg);
}

.calendar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.calendar-date {
    width: 60px;
    height: 60px;
    background: #135bec;
    color: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.calendar-date span {
    font-size: 0.75rem;
    text-transform: uppercase;
}

.calendar-date .day {
    font-size: 1.2rem;
}

/* Scroll Animations */
.animate-in {
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

/* Card hover effects */
.phase-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.phase-card:hover {
    background-color: white;
    border-color: #e2e8f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.calendar-item-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.calendar-item-v2:hover {
    background: #f8fafc;
}

.date-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 12px;
    min-width: 65px;
    text-align: center;
    letter-spacing: 0.05em;
}

/* Mobile Overlay Menu */
#mobile-menu-overlay {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    background: rgba(2, 6, 23, 0.98); /* Slate-950 for deep contrast */
}

#mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    display: flex !important;
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #135bec;
}
