/* ================= PAGE ================= */

.page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ================= BACKGROUND ================= */

body {
    background: radial-gradient(circle at top, #0f1f3d, #050c18 70%);
    color: #e2e8f0;
}

/* ================= HERO ================= */

.hero-real {
    position: relative;
    height: 460px;
    border-radius: 18px;
    overflow: hidden;
    background: url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b") center/cover no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(5,10,25,0.95), rgba(5,10,25,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    max-width: 620px;
}

.hero-content h1 {
    font-size: 44px;
    margin-bottom: 12px;
    color: #e6edf7;
}

.hero-content p {
    color: #94a3b8;
    margin-bottom: 20px;
}

/* ================= LARGE CARD ================= */

.large-card {
    padding: 26px 28px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0f1f3d, #0a172e);
    border: 1px solid rgba(96,165,250,0.15);

    /* 🔥 FIXED (LESS GLOW FOR SCREENSHOT) */
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.large-card h2 {
    margin-bottom: 4px;
    color: #60a5fa;
}

.large-card > p {
    margin-bottom: 6px;
    color: #94a3b8;
}

/* ================= GRID ================= */

.feature-row,
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.incident-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 18px;
}

.incident-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 22px;
}

.dual-card-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* ================= CARD ================= */

.card {
    padding: 18px 20px;
    border-radius: 12px;
    background: linear-gradient(145deg, #13294b, #0c1a33);
    border: 1px solid rgba(96,165,250,0.12);

    /* 🔥 REDUCED GLOW */
    box-shadow: 0 6px 18px rgba(0,0,0,0.5);

    transition: all 0.2s ease;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #17345c, #0d1d3a);

    /* 🔥 SOFTER HOVER */
    box-shadow: 0 10px 25px rgba(0,0,0,0.6),
                0 0 8px rgba(59,130,246,0.2);
}

/* ================= TEXT ================= */

.card h3 {
    color: #60a5fa;
}

.card p {
    font-size: 13.8px;
    color: #94a3b8;
}

/* ================= LIST FIX ================= */

.card ul,
.large-card ul {
    list-style: none;
    padding-left: 0;
}

.card li,
.large-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.card li::before,
.large-card li::before {
    content: "•";
    color: #60a5fa;
    font-size: 16px;
}

/* ================= INPUT ================= */

input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(96,165,250,0.2);
    background: #0b1a33;
    color: white;
    margin-top: 10px;
}

input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 8px rgba(59,130,246,0.3);
}

/* ================= BUTTON ================= */

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37,99,235,0.4);
}

/* BIG BUTTON */

.big-btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px;
}

/* ================= DECRYPT LAB ================= */

.decrypt-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 10px;
}

.decrypt-actions .btn {
    width: 100%;
}

/* ================= RESULT BLOCKS ================= */

.result-block {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(96,165,250,0.12);
}

.result-block.highlight {
    border: 1px solid #22c55e;
    background: rgba(34,197,94,0.12);
}

.result-content {
    word-break: break-word;
    font-family: monospace;
}

/* ================= BREACH ================= */

.breach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 20px;
}

/* ================= STATUS ================= */

.success { color: #22c55e; }
.warning { color: #facc15; }
.danger  { color: #ef4444; }

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
    .feature-row,
    .card-grid,
    .incident-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .decrypt-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .dual-card-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .feature-row,
    .card-grid,
    .incident-grid,
    .incident-bottom,
    .breach-grid {
        grid-template-columns: 1fr;
    }

    .decrypt-actions {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 30px;
    }

    .hero-content h1 {
        font-size: 28px;
    }
}