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

:root {
    --bg: #0a0a0f;
    --text: #fff;
    --muted: rgba(255,255,255,0.7);
    --muted2: rgba(255,255,255,0.5);
    --primary-dark: #8b102e;
    --primary-mid: #BC244A;
    --rem-icon: #EC5B7B;
    --primary-bright: #ff4d7a;
    --radiusCard: 20px;
    --radiusBtn: 14px;
    --stroke: rgba(255,255,255,0.15);
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ========== BACKGROUND ORBS ========== */
.orb-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: #0a0a0f;
}

.orb-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.2;
    animation: float 25s ease-in-out infinite;
    z-index: 2;
}

.orb-1 { width: 800px; height: 800px; background: radial-gradient(circle, #BC244A, #7a00ff); top: -20%; right: -15%; }
.orb-2 { width: 700px; height: 700px; background: radial-gradient(circle, #00fff5, #0033ff); bottom: -15%; left: -10%; animation-delay: -7s; }
.orb-3 { width: 600px; height: 600px; background: radial-gradient(circle, #e9337e, #550033); top: 40%; left: 35%; animation-delay: -14s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -40px) scale(1.05); }
    66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ========== CONTAINER ========== */
.container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    width: 95%;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== HEADER ========== */
header {
    text-align: center;
    padding-bottom: 2rem;
    width: 100%;
}

h1 {
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
    display: inline-block;
    color: #666;
}

h1 span { color: #fff; }

.subtitle {
    font-size: 0.8rem;
    color: var(--muted2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
}

/* ========== SIMULATIONS DROPDOWN ========== */
.sims-section {
    width: 100%;
    margin-bottom: 2.5rem;
}

.sims-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--stroke);
    border-radius: var(--radiusCard);
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.sims-toggle:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.3);
}

.sims-toggle-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.sims-toggle-icon {
    width: 20px;
    height: 20px;
    color: #00fff5;
    flex-shrink: 0;
}

.sims-toggle-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #00fff5;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.sims-toggle-count {
    font-size: 0.7rem;
    color: var(--muted2);
    background: rgba(0,255,245,0.1);
    border: 1px solid rgba(0,255,245,0.2);
    border-radius: 50px;
    padding: 0.15rem 0.6rem;
    font-weight: 600;
}

.sims-chevron {
    width: 18px;
    height: 18px;
    color: var(--muted2);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.sims-section.open .sims-chevron { transform: rotate(180deg); }
.sims-section.open .sims-toggle {
    border-radius: var(--radiusCard) var(--radiusCard) 0 0;
    border-bottom-color: transparent;
}

/* ========== SIMS PANEL ========== */
.sims-panel {
    background: rgba(255,255,255,0.03);
    border: none;
    border-radius: 0 0 var(--radiusCard) var(--radiusCard);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sims-section.open .sims-panel {
    max-height: 1000px;
    border: 1px solid var(--stroke);
    border-top: none;
}

.sims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--stroke);
    border-top: 1px solid var(--stroke);
}

.sim-item {
    background: var(--bg);
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
    cursor: pointer;
}

.sim-item:hover { background: rgba(255,255,255,0.05); }
.sim-item:hover .sim-title { color: #00fff5; }

.sim-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.badge-cyber { background: rgba(255,0,110,0.15); color: #ff006e; border: 1px solid rgba(255,0,110,0.25); }
.badge-net   { background: rgba(0,255,245,0.1);  color: #00fff5; border: 1px solid rgba(0,255,245,0.2); }
.badge-enc   { background: rgba(109,0,175,0.15); color: #a855f7; border: 1px solid rgba(109,0,175,0.3); }
.badge-priv  { background: rgba(255,237,0,0.1);  color: #ffed00; border: 1px solid rgba(255,237,0,0.2); }
.badge-sim   { background: rgba(255,165,0,0.12); color: #FFA500; border: 1px solid rgba(255,165,0,0.25); }

.sim-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.sim-desc {
    font-size: 0.75rem;
    color: var(--muted2);
    line-height: 1.45;
}

/* ========== CARD GRID ========== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--stroke);
    border-radius: var(--radiusCard);
    padding: 2rem 1.2rem;
    min-height: 280px;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.card-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 100%; height: 100%; }

.card:nth-child(1) .card-icon svg { color: #ff006e; }
.card:nth-child(2) .card-icon svg { color: #00fff5; }
.card:nth-child(3) .card-icon svg { color: #A414D9; }
.card:nth-child(4) .card-icon svg { color: #f97316; }
.card:nth-child(5) .card-icon svg { color: #34d399; }

.card h2 { font-size: 1.35rem; font-weight: 600; line-height: 1.2; margin-bottom: 0.5rem; }
.card h2 .accent { display: inline; font-weight: 800; font-size: 1.65rem; }

.card:nth-child(1) h2 .accent { color: #ff006e; }
.card:nth-child(2) h2 .accent { color: #00fff5; }
.card:nth-child(3) h2 .accent { color: #A414D9; }
.card:nth-child(4) h2 .accent { color: #f97316; }
.card:nth-child(5) h2 .accent { color: #34d399; }

.card p {
    font-size: 1.05rem;
    color: var(--muted2);
    line-height: 1.3;
    margin-bottom: 1.0rem;
    max-width: 240px;
    min-height: 3em;
}

/* ========== BUTTONS ========== */
.cta-row { margin-top: auto; width: 100%; display: flex; justify-content: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.7rem 1.4rem;
    min-width: 150px;
    border-radius: var(--radiusBtn);
    font-size: 1.0rem;
    font-weight: 400;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.btn svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn:hover svg { transform: translateX(4px); }

.card:nth-child(1) .btn { background: #ff006e; }
.card:nth-child(2) .btn { background: #00fff5; color: #000; }
.card:nth-child(3) .btn { background: #A414D9; }
.card:nth-child(4) .btn { background: #f97316; color: #000; }
.card:nth-child(5) .btn { background: #34d399; color: #000; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    body { justify-content: flex-start; padding: 1.5rem 0; }
    .container { padding: 0 1rem; }
    header { padding-bottom: 1.5rem; }
    .sims-section { margin-bottom: 1.5rem; }
    .cards-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 400px; margin: 0 auto; }
    .card h2 { font-size: 1.45rem; }
    .card h2 .accent { font-size: 2.1rem; }
    .card p { font-size: 1.05rem; max-width: 100%; line-height: 1.7; }
    .sims-grid { grid-template-columns: 1fr; }
}
