/* Base Styles */
body {
    background-color: #fcfbf9;
    color: #111111;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 2;
}

html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fcfbf9; }
::-webkit-scrollbar-thumb { background: #d4d4d4; }

/* Observer Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.0s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax Image Wrapper */
.parallax-wrapper { overflow: hidden; }
.parallax-img { transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.parallax-wrapper:hover .parallax-img { transform: scale(1.03); }

/* Button Hover Effect */
.btn-luxury {
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
}
.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #111111;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}
.btn-luxury:hover::before { transform: translateX(100%); }
.btn-luxury:hover { color: #fff; }

/* Layout Grid Lines */
.layout-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5vw;
}
.layout-line {
    width: 1px;
    height: 100%;
    background: rgba(0,0,0,0.03);
}

/* Modal Styles */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.is-open .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Form Interaction */
input:focus ~ label,
input:not(:placeholder-shown) ~ label,
textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
    top: -4px;
    font-size: 0.75rem;
    color: #b5a382;
}

/* FAQ Details Animation */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}
@keyframes sweep {
    0%    {opacity: 0; transform: translateY(-10px)}
    100%  {opacity: 1; transform: translateY(0)}
}

/* Custom Radio Button for Plans */
.plan-radio:checked + div {
    border-color: #b5a382;
    background-color: #fcfbf9;
}
.plan-radio:checked + div .check-icon {
    opacity: 1;
}

/* Disabled Button Style */
button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #666 !important;
    color: #ccc !important;
    border-color: transparent !important;
}
button:disabled:hover {
    background-color: #666 !important;
    color: #ccc !important;
}