/* --- Modern & Innovative Premium CSS --- */
:root {
    --pup-maroon: #800000;
    --pup-maroon-dark: #4d0000;
    --pup-gold: #FFD700;
    --ink: #0f172a;
    --muted: #4b5563;
    --white: #ffffff;
    --transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    --text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
    font-family: 'Inter', 'Montserrat', sans-serif;
    color: var(--ink);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Header & Nav */
.header {
    position: sticky; top: 0; z-index: 1000;
    background: linear-gradient(135deg, var(--pup-maroon) 0%, #6a0000 100%);
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 6vw; border-bottom: 2px solid var(--pup-gold);
    box-shadow: 0 12px 48px rgba(128, 0, 0, 0.35);
    backdrop-filter: blur(10px);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; color: white; transition: var(--transition); letter-spacing: 0.2px; }
.brand:hover { transform: scale(1.02); }
.brand-logo { width: 48px; transition: var(--transition); filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2)); }
.brand-logo:hover { filter: drop-shadow(0 4px 14px rgba(255,215,0,0.4)); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 700; font-size: 14px; color: white; text-decoration: none; transition: var(--transition); position: relative; letter-spacing: 0.2px; }
.nav a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2.5px; background: linear-gradient(90deg, var(--pup-gold), #ffed4e); transition: width var(--transition); border-radius: 2px; }
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--pup-gold); }

.cta {
    background: linear-gradient(135deg, white 0%, #f5f5f5 100%);
    color: var(--pup-maroon) !important; padding: 13px 28px; border-radius: 12px;
    font-weight: 800; font-size: 14px; letter-spacing: 0.3px;
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition); text-decoration: none;
    position: relative; overflow: hidden; border: 1.5px solid rgba(255,255,255,0.5);
}
.cta::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(128, 0, 0, 0.1), transparent); transition: left 0.7s; }
.cta:hover::before { left: 100%; }
.cta:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 18px 48px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8); 
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-color: rgba(128, 0, 0, 0.2);
    color: #5a0000 !important;
}

/* Hero */
.hero {
    padding: 120px 6vw; background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('../images/PUP_bg.jpg') center/cover;
    color: white; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center;
}
.hero h1 { font-size: 56px; font-weight: 800; text-shadow: var(--text-shadow); line-height: 1.08; margin: 24px 0; letter-spacing: -1px; }
.hero p { font-size: 18px; opacity: 0.92; margin-bottom: 36px; line-height: 1.7; font-weight: 400; }

.hero-actions { display: flex; gap: 16px; align-items: center; }
.hero-copy { animation: slideInLeft 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both; }
.hero-panel { animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both; }

@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

.chip-row { display: flex; gap: 10px; }
.chip-row-centered { margin-top: 20px; justify-content: center; }
.chip { background: linear-gradient(135deg, var(--pup-gold), #ffed4e); color: var(--pup-maroon); font-weight: 800; font-size: 11px; padding: 8px 14px; border-radius: 50px; text-transform: uppercase; box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3); transition: var(--transition); letter-spacing: 0.3px; }
.chip:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4); }

.ghost { border: 2.5px solid white; color: white; padding: 13px 26px; border-radius: 12px; font-weight: 800; transition: var(--transition); position: relative; overflow: hidden; letter-spacing: 0.3px; text-decoration: none; }
.ghost::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.15); transition: left 0.6s; }
.ghost:hover::before { left: 100%; }
.ghost:hover { background: white; color: var(--pup-maroon); box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3); }

.hero-panel { background: rgba(255,255,255,0.12); backdrop-filter: blur(20px); padding: 36px; border-radius: 24px; border: 1.5px solid rgba(255,255,255,0.25); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.hero-panel h3 { font-size: 16px; font-weight: 800; color: var(--pup-gold); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 24px; }
.status-grid { display: grid; gap: 16px; }
.status-card { background: linear-gradient(135deg, white 0%, #faf8f6 100%); color: var(--ink); padding: 22px; border-radius: 16px; border-left: 5px solid var(--pup-gold); box-shadow: 0 8px 24px rgba(0,0,0,0.1); transition: var(--transition); }
.status-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(128, 0, 0, 0.15); }
.status-label { font-size: 11px; text-transform: uppercase; font-weight: 800; color: var(--muted); letter-spacing: 0.4px; }
.status-value { font-size: 22px; font-weight: 800; color: var(--pup-maroon); margin-top: 8px; }

/* SECTIONS - PREMIUM VISIBILITY */
.dark-section {
    background: linear-gradient(135deg, #6a0000 0%, var(--pup-maroon) 50%, var(--pup-maroon-dark) 100%) !important;
    color: white !important; padding: 120px 6vw; text-align: center; position: relative; overflow: hidden;
}
.dark-section-contact { background: #111 !important; }
.dark-section::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%); animation: rotate 20s linear infinite; }
@keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.dark-section > * { position: relative; z-index: 1; }

.dark-section .section-title { font-size: 48px; font-weight: 800; text-transform: uppercase; text-shadow: var(--text-shadow); margin-bottom: 24px; color: white !important; letter-spacing: -0.5px; }
.dark-section .section-lead { font-size: 19px; max-width: 800px; margin: 0 auto; color: rgba(255,255,255,0.95) !important; font-weight: 500; line-height: 1.8; }

.divider { width: 100px; height: 6px; background: linear-gradient(90deg, var(--pup-gold), #ffed4e); margin: 0 auto 40px; border-radius: 10px; box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4); }

/* Overview Section with QR */
.overview-with-qr { text-align: left !important; }
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.overview-text { text-align: left; }
.overview-text .section-title,
.overview-text .section-lead { text-align: left; margin-left: 0; margin-right: 0; }
.overview-qr { display: flex; justify-content: center; align-items: center; }

.qr-wrapper {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid rgba(255,215,0,0.3);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}
.qr-image {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    background: white;
    padding: 10px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.qr-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--pup-gold);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Cards & Process Grid */
.process-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; margin-top: 60px; text-align: left; }
.step, .contact-card { 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25); 
    padding: 36px; border-radius: 24px; backdrop-filter: blur(15px); margin-bottom: 24px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.step::before, .contact-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); }
.step:hover, .contact-card:hover { border-color: rgba(255,215,0,0.4); background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.1)) !important; transform: translateY(-4px); }
.step strong, .contact-card h4 { color: var(--pup-gold) !important; font-size: 18px; display: block; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.3px; }
.step span, .contact-card p { color: rgba(255,255,255,0.9) !important; font-size: 15px; line-height: 1.6; }

.rbac-card { background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.15)); border: 2.5px solid var(--pup-gold); padding: 48px; border-radius: 28px; text-align: center; height: fit-content; position: relative; overflow: hidden; }
.rbac-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%); }
.rbac-card > * { position: relative; z-index: 1; }

/* Light Section (Modules) */
.light-section { padding: 120px 6vw; text-align: center; background: #fbfbfb; }
.light-section .section-title { color: var(--ink) !important; }
.light-section .section-lead { color: var(--muted) !important; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; margin-top: 60px; }
.card { padding: 48px 32px; background: white; border-radius: 24px; border: 1.5px solid rgba(128, 0, 0, 0.08); box-shadow: 0 12px 48px rgba(0,0,0,0.06); transition: var(--transition); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--pup-maroon), var(--pup-gold), var(--pup-maroon)); }
.card:hover { transform: translateY(-12px); border-color: var(--pup-maroon); box-shadow: 0 24px 64px rgba(128, 0, 0, 0.12); }
.card h3 { color: var(--ink); font-size: 20px; font-weight: 800; margin-top: 20px; letter-spacing: -0.3px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.7; }

.icon-circle { 
    width: 72px; height: 72px; background: linear-gradient(135deg, var(--pup-gold), #ffed4e); color: var(--pup-maroon); 
    border-radius: 18px; display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 28px; font-weight: 800; font-size: 28px; box-shadow: 0 12px 32px rgba(255, 215, 0, 0.3); transition: var(--transition);
}
.card:hover .icon-circle { transform: scale(1.12) rotate(-5deg); box-shadow: 0 16px 48px rgba(255, 215, 0, 0.4); }

.footer { background: linear-gradient(135deg, #0a0a0a, #1a1a1a); color: rgba(255,255,255,0.7); padding: 48px 6vw; text-align: center; font-size: 13px; font-weight: 600; border-top: 1px solid rgba(255,255,255,0.1); }

/* Animation Classes */
.animate { opacity: 0; transform: translateY(24px); }
.in-view { opacity: 1; transform: translateY(0); transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }

@media (max-width: 900px) {
    .hero, .process-grid, .overview-content { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
}