/* ============================================================
   OPTIRAFFINÉ — LUXURY TERMS OF SERVICE STYLING
   Minimal. Elegant. Premium.
   ============================================================ */

.conditions-section {
    padding: 60px 20px;
    max-width: 1050px;
    margin: 0 auto;
}

.conditions-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 45px;
    color: var(--text-color);
    letter-spacing: 1px;
}

/* ============================================================
   CARD DESIGN — Luxury Matte Panels (No Neon)
   ============================================================ */
.tos-card {
    background: var(--secondary-bg);
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 32px 35px;
    margin-bottom: 30px;

    /* Premium soft shadow */
    box-shadow:
        0 4px 14px var(--shadow-color),
        0 2px 4px rgba(0,0,0,0.03);

    transition: 0.25s ease;
}

/* Lift on hover (subtle, elegant) */
.tos-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px var(--shadow-color),
        0 3px 8px rgba(0,0,0,0.05);
}

/* ============================================================
   HEADINGS
   ============================================================ */
.tos-card h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 6px;
}

/* Underline bar — Optiraffiné gold / accent color */
.tos-card h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 3px;
}

/* ============================================================
   TEXT
   ============================================================ */
.tos-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    text-transform: none;
    color: var(--text-color);
    opacity: 0.95;
}

.tos-card strong {
    color: var(--text-color);
    font-weight: 600;
}

/* ============================================================
   LINKS
   ============================================================ */
.tos-card a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.25s ease;
}

.tos-card a:hover {
    border-bottom: 1px solid var(--accent-color);
}

/* ============================================================
   ENTRY ANIMATION
   ============================================================ */
@keyframes fadeInSmooth {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.tos-card {
    animation: fadeInSmooth 0.45s ease both;
}

.tos-card:nth-child(1) { animation-delay: 0.05s; }
.tos-card:nth-child(2) { animation-delay: 0.10s; }
.tos-card:nth-child(3) { animation-delay: 0.15s; }

/* ============================================================
   RESPONSIVE — Mobile-friendly
   ============================================================ */
@media (max-width: 768px) {
    .conditions-title {
        font-size: 2rem;
    }

    .tos-card {
        padding: 24px;
    }

    .tos-card h2 {
        font-size: 1.25rem;
    }

    .tos-card p {
        font-size: 1rem;
    }
}
