/* ============================================================
   Hostira — Dark Orange Premium Theme
   Primary: #ff6a00  |  Accent: #ff8c3a → #ff4d00
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-body:         #0b0b0d;
    --bg-card:         rgba(18, 14, 10, 0.85);
    --bg-card-solid:   #12100a;
    --bg-nav:          rgba(11, 11, 13, 0.75);
    --text-main:       #f0ede8;
    --text-muted:      #9a9080;
    --text-subtle:     #5e5548;

    /* Orange accent system */
    --primary:         #ff6a00;
    --primary-hover:   #ff8c3a;
    --primary-dim:     rgba(255, 106, 0, 0.15);
    --primary-glow:    rgba(255, 106, 0, 0.35);
    --amber:           #ff8c3a;
    --amber-deep:      #ff4d00;

    --accent-gradient: linear-gradient(135deg, #ff8c3a 0%, #ff4d00 100%);
    --accent-glow-gradient: linear-gradient(135deg, #ff6a00 0%, #ff8c3a 50%, #ff4d00 100%);

    --border-color:    rgba(255, 106, 0, 0.12);
    --border-hover:    rgba(255, 106, 0, 0.4);

    --font-body:       'Inter', system-ui, -apple-system, sans-serif;

    /* Glow shadows */
    --shadow-glow:     0 0 30px rgba(255, 106, 0, 0.25), 0 0 60px rgba(255, 106, 0, 0.1);
    --shadow-card:     0 4px 24px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.4);
    --shadow-nav:      0 1px 0 rgba(255, 106, 0, 0.08);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;

    /* Radial ambient glow spots */
    background-image:
        radial-gradient(ellipse 700px 400px at 15% 10%,  rgba(255, 106, 0, 0.07)  0%, transparent 70%),
        radial-gradient(ellipse 500px 300px at 85% 80%,  rgba(255, 77, 0,  0.06)  0%, transparent 70%),
        radial-gradient(ellipse 300px 200px at 60% 40%,  rgba(255, 140, 58, 0.04) 0%, transparent 60%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.25s ease;
}

ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #fff;
}

h1 { font-size: 2.5rem; letter-spacing: -0.03em; }

h2 {
    font-size: 1.35rem;
    margin-top: 2.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.1rem;
    margin-top: 1.8rem;
    color: var(--amber);
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 0.97rem;
}

li {
    margin-bottom: 0.55rem;
    color: var(--text-muted);
    font-size: 0.97rem;
}

strong { color: var(--text-main); font-weight: 600; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Header / Nav ───────────────────────────────────────── */
header {
    background: var(--bg-nav);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-nav);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.85rem 0;
    transition: background 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--accent-glow-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 12px rgba(255, 106, 0, 0.5));
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 20px rgba(255, 140, 58, 0.7));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 6px rgba(255, 106, 0, 0.6);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-hover);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ── Main / Page Layout ─────────────────────────────────── */
main {
    padding: 5rem 0 7rem;
    animation: pageIn 0.55s ease-out both;
}

@keyframes pageIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Page Header ────────────────────────────────────────── */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

/* Glow halo behind the heading */
.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

.page-header h1 {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    letter-spacing: -0.04em;
    font-weight: 900;
    background: linear-gradient(160deg, #ffffff 30%, #ff8c3a 70%, #ff4d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-header p {
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
}

/* ── Content Card ───────────────────────────────────────── */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3.5rem 3.5rem 3rem;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Subtle top edge glow */
.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.5), transparent);
    border-radius: 50%;
}

.content-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), 0 0 40px rgba(255, 106, 0, 0.08);
}

/* List styling inside card */
.content-card ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.6rem;
}

.content-card li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
}

.content-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.8rem;
    top: 0.42rem;
    filter: drop-shadow(0 0 4px rgba(255, 106, 0, 0.6));
}

/* Nested lists */
.content-card ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
}

.content-card ul ul li::before {
    content: '◦';
    color: var(--amber);
    font-size: 1rem;
    top: 0.3rem;
    filter: none;
}

/* ── Highlight / Alert boxes ────────────────────────────── */
.policy-highlight {
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 77, 0, 0.06));
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin: 1.8rem 0;
    box-shadow: inset 0 0 30px rgba(255, 106, 0, 0.04),
                0 0 20px rgba(255, 106, 0, 0.06);
}

.policy-highlight p {
    margin-bottom: 0;
    color: var(--text-main);
    font-size: 0.96rem;
}

.policy-highlight strong {
    color: var(--amber);
}

/* ── Badge / tag ───────────────────────────────────────── */
.badge {
    display: inline-block;
    background: var(--primary-dim);
    border: 1px solid rgba(255, 106, 0, 0.25);
    color: var(--amber);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.15);
}

/* ── Links in content ───────────────────────────────────── */
.content-link {
    color: var(--primary);
    border-bottom: 1px dashed rgba(255, 106, 0, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

.content-link:hover {
    color: var(--amber);
    border-color: var(--amber);
}

/* ── Floating glow orbs (decorative) ───────────────────── */
.orb {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: floatOrb 8s ease-in-out infinite;
    filter: blur(60px);
}

.orb-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.08), transparent 70%);
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.06), transparent 70%);
    bottom: -80px; right: -80px;
    animation-delay: -4s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 30px) scale(0.97); }
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
    background: linear-gradient(180deg, rgba(16, 12, 8, 0.95) 0%, #090907 100%);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.4), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--primary-hover);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-subtle);
    font-size: 0.85rem;
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb {
    background: rgba(255, 106, 0, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 106, 0, 0.55);
}

/* ── Selection ──────────────────────────────────────────── */
::selection {
    background: rgba(255, 106, 0, 0.28);
    color: #fff;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-header h1 { font-size: 2.2rem; }
    .content-card   { padding: 2rem 1.5rem; }
    .nav-links      { display: none; }
}

/* ── Switching / Transition Animations ──────────────────── */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 0.35s ease-in both fadeOutScale;
}
::view-transition-new(root) {
    animation: 0.35s ease-out both fadeInScale;
}

@keyframes fadeOutScale {
    to { opacity: 0; transform: scale(0.98); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(1.02); }
}

/* Staggered load for card content */
.content-card > * {
    animation: slideUpFade 0.6s ease-out forwards;
    opacity: 0;
}
.content-card > *:nth-child(1) { animation-delay: 0.05s; }
.content-card > *:nth-child(2) { animation-delay: 0.1s; }
.content-card > *:nth-child(3) { animation-delay: 0.15s; }
.content-card > *:nth-child(4) { animation-delay: 0.2s; }
.content-card > *:nth-child(5) { animation-delay: 0.25s; }
.content-card > *:nth-child(6) { animation-delay: 0.3s; }
.content-card > *:nth-child(7) { animation-delay: 0.35s; }
.content-card > *:nth-child(8) { animation-delay: 0.4s; }
.content-card > *:nth-child(9) { animation-delay: 0.45s; }
.content-card > *:nth-child(10) { animation-delay: 0.5s; }
.content-card > *:nth-child(11) { animation-delay: 0.55s; }
.content-card > *:nth-child(12) { animation-delay: 0.6s; }
.content-card > *:nth-child(13) { animation-delay: 0.65s; }
.content-card > *:nth-child(n+14) { animation-delay: 0.7s; }

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* List Item Hover Animations */
.content-card li {
    transition: transform 0.25s ease, color 0.25s ease;
}
.content-card li:hover {
    transform: translateX(6px);
    color: #fff;
}
.content-card li::before {
    transition: filter 0.25s ease, transform 0.25s ease;
}
.content-card li:hover::before {
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px rgba(255, 106, 0, 1));
}

/* Policy Highlight Hover */
.policy-highlight {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.policy-highlight:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: inset 0 0 40px rgba(255, 106, 0, 0.08),
                0 10px 30px rgba(255, 106, 0, 0.15);
    border-color: rgba(255, 106, 0, 0.5);
}
