/* =========================================================
   CYBERSHIELD
   PROFESSIONAL WHITE + PURPLE + GRAY DESIGN
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --purple: #6d3bd1;
    --purple-dark: #4f249f;
    --purple-light: #f2edff;
    --purple-soft: #faf8ff;

    --white: #ffffff;

    --gray-50: #fafafa;
    --gray-100: #f3f3f5;
    --gray-200: #e5e5e9;
    --gray-300: #d1d1d8;
    --gray-500: #777782;
    --gray-700: #45454f;
    --gray-900: #202026;

    --shadow-small: 0 8px 25px rgba(50, 35, 80, 0.07);
    --shadow-medium: 0 18px 45px rgba(50, 35, 80, 0.11);
    --shadow-large: 0 25px 70px rgba(50, 35, 80, 0.15);

    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 30px;

    --container: 1180px;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--white);
    color: var(--gray-900);

    line-height: 1.6;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   3. CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;
}


/* =========================================================
   4. HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid var(--gray-200);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 21px;
    font-weight: 800;

    color: var(--gray-900);

    white-space: nowrap;
}

.logo-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--purple-light);

    border: 1px solid #e3d8ff;

    border-radius: 12px;

    font-size: 20px;
}


/* NAVIGATION */

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    position: relative;

    color: var(--gray-500);

    font-size: 14px;
    font-weight: 600;

    padding: 8px 0;

    transition:
        color 0.25s ease;
}

.navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--purple);

    border-radius: 10px;

    transition: width 0.25s ease;
}

.navigation a:hover,
.navigation a.active {
    color: var(--purple);
}

.navigation a:hover::after,
.navigation a.active::after {
    width: 100%;
}


/* NAV BUTTON */

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 19px;

    background: var(--purple);
    color: var(--white);

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(109, 59, 209, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.nav-button:hover {
    background: var(--purple-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(109, 59, 209, 0.24);
}


/* =========================================================
   5. HOMEPAGE HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: calc(100vh - 78px);

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(109, 59, 209, 0.08),
            transparent 32%
        ),
        var(--white);

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -170px;
    top: 40px;

    border-radius: 50%;

    border: 1px solid rgba(109, 59, 209, 0.07);

    pointer-events: none;
}

.hero-container {
    min-height: calc(100vh - 78px);

    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(430px, 0.98fr);

    align-items: center;

    gap: 70px;

    padding-top: 55px;
    padding-bottom: 55px;
}


/* =========================================================
   6. HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--purple);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 20px;
}

.label-line {
    width: 34px;
    height: 2px;

    background: var(--purple);

    border-radius: 20px;
}

.hero h1 {
    max-width: 680px;

    font-size: clamp(
        48px,
        6vw,
        76px
    );

    line-height: 1.03;

    letter-spacing: -3px;

    font-weight: 850;

    color: var(--gray-900);

    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--purple);
}

.hero-description {
    max-width: 570px;

    color: var(--gray-500);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 34px;
}


/* =========================================================
   7. BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 42px;
}

.primary-button,
.secondary-button,
.challenge-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 11px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.primary-button {
    background: var(--purple);
    color: var(--white);

    border: 1px solid var(--purple);

    box-shadow:
        0 12px 28px rgba(109, 59, 209, 0.20);
}

.primary-button:hover {
    background: var(--purple-dark);

    transform: translateY(-3px);

    box-shadow:
        0 17px 35px rgba(109, 59, 209, 0.25);
}

.primary-button span {
    font-size: 19px;
}

.secondary-button {
    background: var(--white);

    color: var(--gray-700);

    border: 1px solid var(--gray-200);
}

.secondary-button:hover {
    border-color: #cfc0f3;

    color: var(--purple);

    transform: translateY(-2px);

    box-shadow: var(--shadow-small);
}


/* =========================================================
   8. HERO TRUST STATS
   ========================================================= */

.hero-trust {
    display: flex;
    align-items: center;

    gap: 22px;
}

.trust-item {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.trust-item strong {
    color: var(--gray-900);

    font-size: 15px;
}

.trust-item span {
    color: var(--gray-500);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.trust-divider {
    width: 1px;
    height: 34px;

    background: var(--gray-200);
}


/* =========================================================
   9. HOMEPAGE SECURITY CENTER
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 580px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.security-card {
    position: relative;
    z-index: 3;

    width: min(100%, 470px);

    padding: 27px;

    background:
        linear-gradient(
            145deg,
            var(--white),
            #faf9fd
        );

    border: 1px solid #e5def2;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);

    overflow: hidden;
}

.security-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: var(--purple);
}

.security-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;
}

.small-heading {
    color: var(--purple);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 3px;
}

.security-card-header h2 {
    color: var(--gray-900);

    font-size: 21px;

    line-height: 1.2;
}

.online-status {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    background: var(--gray-100);

    border: 1px solid var(--gray-200);

    border-radius: 20px;

    color: var(--gray-700);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.online-status span {
    width: 7px;
    height: 7px;

    background: var(--purple);

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(109, 59, 209, 0.10);

    animation: pulse 2s infinite;
}


/* =========================================================
   10. SECURITY SHIELD
   ========================================================= */

.shield-area {
    position: relative;

    min-height: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
}

.shield-glow {
    position: absolute;

    width: 155px;
    height: 155px;

    background:
        radial-gradient(
            circle,
            rgba(109, 59, 209, 0.15),
            transparent 68%
        );

    filter: blur(5px);
}

.shield-circle {
    position: relative;
    z-index: 2;

    width: 112px;
    height: 112px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #f6f1ff,
            #ffffff
        );

    border: 1px solid #ded2f3;

    border-radius: 50%;

    box-shadow:
        0 15px 35px rgba(109, 59, 209, 0.12),
        inset 0 0 0 8px rgba(109, 59, 209, 0.025);

    animation: shieldFloat 4s ease-in-out infinite;
}

.shield-icon {
    font-size: 51px;

    filter:
        drop-shadow(
            0 7px 10px rgba(109, 59, 209, 0.18)
        );
}

.protection-text {
    position: relative;
    z-index: 3;

    display: flex;
    flex-direction: column;

    align-items: center;

    margin-top: 13px;
}

.protection-text span {
    color: var(--gray-500);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.protection-text strong {
    color: var(--purple);

    font-size: 17px;

    letter-spacing: 1px;
}


/* =========================================================
   11. SECURITY CHECKS
   ========================================================= */

.security-checks {
    display: flex;
    flex-direction: column;

    gap: 9px;

    margin-bottom: 17px;
}

.security-check {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px 13px;

    background: var(--gray-50);

    border: 1px solid var(--gray-200);

    border-radius: 13px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.security-check:hover {
    transform: translateX(4px);

    border-color: #d7c8f1;

    background: var(--purple-soft);
}

.check-icon {
    width: 37px;
    height: 37px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 10px;

    font-size: 17px;
}

.check-information {
    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;
}

.check-information strong {
    color: var(--gray-900);

    font-size: 12px;
}

.check-information span {
    color: var(--gray-500);

    font-size: 10px;
}

.check-status {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--purple-light);

    color: var(--purple);

    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.security-check.checked .check-status {
    transform: scale(1.12);

    background: var(--purple);

    color: var(--white);
}


/* =========================================================
   12. SECURITY BUTTON
   ========================================================= */

.security-button {
    width: 100%;

    min-height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: none;

    border-radius: 11px;

    background: var(--purple);

    color: var(--white);

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(109, 59, 209, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.security-button:hover {
    background: var(--purple-dark);

    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(109, 59, 209, 0.25);
}

.security-button:active {
    transform: translateY(0);
}

.security-button:disabled {
    cursor: wait;
    opacity: 0.85;
}

.button-shield {
    font-size: 16px;
}

.button-arrow {
    margin-left: auto;
    margin-right: 15px;

    font-size: 17px;
}


/* =========================================================
   13. SECURITY MESSAGE
   ========================================================= */

.security-message {
    max-height: 0;

    opacity: 0;

    overflow: hidden;

    margin-top: 0;

    padding: 0 14px;

    background: var(--purple-soft);

    border: 1px solid transparent;

    border-radius: 11px;

    display: flex;
    flex-direction: column;

    transition:
        max-height 0.4s ease,
        opacity 0.4s ease,
        margin 0.4s ease,
        padding 0.4s ease;
}

.security-message.show {
    max-height: 100px;

    opacity: 1;

    margin-top: 12px;

    padding: 11px 14px;

    border-color: #dfd3f5;
}

.security-message strong {
    color: var(--purple);

    font-size: 12px;
}

.security-message span {
    color: var(--gray-500);

    font-size: 10px;
}


/* =========================================================
   14. FLOATING CARDS
   ========================================================= */

.floating-card {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 10px 13px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 12px;

    box-shadow: var(--shadow-medium);

    animation: floatingCard 4s ease-in-out infinite;
}

.floating-card-one {
    left: 0;
    top: 105px;
}

.floating-card-two {
    right: 0;
    bottom: 105px;

    animation-delay: 1.2s;
}

.floating-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--purple-light);

    border-radius: 9px;

    font-size: 13px;
}

.floating-card div {
    display: flex;
    flex-direction: column;
}

.floating-card strong {
    color: var(--gray-900);

    font-size: 10px;
}

.floating-card small {
    color: var(--gray-500);

    font-size: 9px;
}
/* =========================================================
   15. COMMON SECTIONS
   ========================================================= */

section {
    position: relative;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-label {
    display: inline-block;

    color: var(--purple);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.section-heading h2 {
    color: var(--gray-900);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.12;

    letter-spacing: -1.5px;

    margin-bottom: 15px;
}

.section-heading h2 span {
    color: var(--purple);
}

.section-heading p {
    color: var(--gray-500);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   16. ABOUT SECTION
   ========================================================= */

.about-section {
    padding: 110px 0;

    background: var(--gray-50);

    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.benefits-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.benefit-card {
    padding: 30px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);

    border-color: #d9cdf0;

    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: var(--purple-light);

    border: 1px solid #e2d7f6;

    border-radius: 14px;

    font-size: 24px;
}

.benefit-card h3 {
    color: var(--gray-900);

    font-size: 18px;

    margin-bottom: 9px;
}

.benefit-card p {
    color: var(--gray-500);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   17. TOPICS SECTION
   ========================================================= */

.topics-section {
    padding: 110px 0;

    background: var(--white);
}

.topics-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.topic-card {
    position: relative;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.topic-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--purple);

    transform: scaleY(0);

    transform-origin: bottom;

    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-6px);

    border-color: #d9cdf0;

    box-shadow: var(--shadow-medium);
}

.topic-card:hover::before {
    transform: scaleY(1);
}

.topic-number {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--purple);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.topic-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    background: var(--purple-light);

    border-radius: 15px;

    font-size: 25px;
}

.topic-card h3 {
    color: var(--gray-900);

    font-size: 20px;

    margin-bottom: 9px;
}

.topic-card p {
    color: var(--gray-500);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}

.topic-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--purple);

    font-size: 13px;
    font-weight: 800;

    transition:
        gap 0.25s ease;
}

.topic-link:hover {
    gap: 11px;
}


/* =========================================================
   18. QUIZ PREVIEW
   ========================================================= */

.quiz-preview {
    padding: 110px 0;

    background: var(--gray-50);

    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
}

.quiz-preview-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(330px, 0.75fr);

    align-items: center;

    gap: 70px;
}

.quiz-preview-content h2 {
    color: var(--gray-900);

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.12;

    letter-spacing: -1.5px;

    margin-bottom: 18px;
}

.quiz-preview-content h2 span {
    color: var(--purple);
}

.quiz-preview-content p {
    max-width: 570px;

    color: var(--gray-500);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 28px;
}

.quiz-mini-card {
    padding: 26px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-medium);
}

.quiz-mini-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;
}

.quiz-mini-top strong {
    color: var(--gray-900);

    font-size: 14px;
}

.quiz-mini-progress {
    color: var(--purple);

    font-size: 11px;
    font-weight: 800;
}

.quiz-mini-question {
    color: var(--gray-900);

    font-size: 17px;
    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 17px;
}

.quiz-mini-option {
    padding: 13px 15px;

    margin-bottom: 9px;

    background: var(--gray-50);

    border: 1px solid var(--gray-200);

    border-radius: 10px;

    color: var(--gray-700);

    font-size: 12px;
}


/* =========================================================
   19. FINAL CHALLENGE
   ========================================================= */

.challenge-section {
    padding: 110px 0;

    background: var(--white);
}

.challenge-card {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        280px;

    align-items: center;

    gap: 50px;

    padding: 55px;

    background:
        linear-gradient(
            135deg,
            var(--purple-soft),
            var(--white)
        );

    border: 1px solid #e2d8f1;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-medium);

    overflow: hidden;
}

.challenge-content {
    position: relative;
    z-index: 2;
}

.challenge-content h2 {
    color: var(--gray-900);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;

    letter-spacing: -1.2px;

    margin-bottom: 15px;
}

.challenge-content h2 span {
    color: var(--purple);
}

.challenge-content p {
    max-width: 600px;

    color: var(--gray-500);

    font-size: 15px;

    line-height: 1.75;

    margin-bottom: 25px;
}

.challenge-button {
    border: 1px solid var(--purple);

    background: var(--purple);

    color: var(--white);

    box-shadow:
        0 12px 28px rgba(109, 59, 209, 0.18);
}

.challenge-button:hover {
    background: var(--purple-dark);

    transform: translateY(-3px);
}

.challenge-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.challenge-circle {
    width: 190px;
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    border: 1px solid #ddd1f0;

    border-radius: 50%;

    box-shadow: var(--shadow-medium);
}

.challenge-shield {
    font-size: 75px;

    filter:
        drop-shadow(
            0 10px 15px rgba(109, 59, 209, 0.15)
        );
}


/* =========================================================
   20. FOOTER
   ========================================================= */

.footer {
    padding: 35px 0;

    background: var(--gray-900);

    color: var(--white);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 17px;
    font-weight: 800;
}

.footer-logo-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 9px;
}

.footer p {
    color: #aaaab3;

    font-size: 12px;
}

.footer-links {
    display: flex;
    align-items: center;

    gap: 20px;
}

.footer-links a {
    color: #bdbdc5;

    font-size: 12px;

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
}


/* =========================================================
   21. TOPIC PAGE HERO
   ========================================================= */

.topic-hero {
    position: relative;

    padding: 85px 0 75px;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(109, 59, 209, 0.08),
            transparent 32%
        ),
        var(--white);

    border-bottom: 1px solid var(--gray-200);

    overflow: hidden;
}

.topic-hero-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.75fr);

    align-items: center;

    gap: 65px;
}

.topic-hero-content {
    position: relative;
    z-index: 2;
}

.topic-hero .hero-label {
    margin-bottom: 18px;
}

.topic-hero h1 {
    color: var(--gray-900);

    font-size: clamp(42px, 5vw, 64px);

    line-height: 1.05;

    letter-spacing: -2.5px;

    margin-bottom: 20px;
}

.topic-hero h1 span {
    color: var(--purple);
}

.topic-hero-content > p {
    max-width: 650px;

    color: var(--gray-500);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 28px;
}

.topic-hero .primary-button {
    min-width: 155px;
}


/* =========================================================
   22. TOPIC HERO VISUAL
   ========================================================= */

.topic-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-icon-card {
    position: relative;

    width: min(100%, 360px);

    padding: 45px 30px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            var(--white),
            var(--purple-soft)
        );

    border: 1px solid #e3d9f1;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-large);

    overflow: hidden;
}

.topic-icon-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 4px;

    background: var(--purple);
}

.topic-big-icon {
    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 22px;

    background: var(--purple-light);

    border: 1px solid #dfd2f2;

    border-radius: 28px;

    font-size: 54px;

    box-shadow:
        0 18px 40px rgba(109, 59, 209, 0.10);

    animation: shieldFloat 4s ease-in-out infinite;
}

.topic-icon-card h3 {
    color: var(--gray-900);

    font-size: 21px;

    margin-bottom: 8px;
}

.topic-icon-card p {
    color: var(--gray-500);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   23. TOPIC CONTENT
   ========================================================= */

.topic-content {
    padding: 90px 0 110px;

    background: var(--white);
}

.topic-content > .container {
    max-width: 1000px;
}

.topic-content .section-heading {
    margin-bottom: 45px;

    text-align: left;
}

.topic-content .section-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.topic-content .small-heading {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 10px;
}

.topic-content .small-heading::before {
    content: "";

    width: 25px;
    height: 2px;

    background: var(--purple);

    border-radius: 20px;
}


/* =========================================================
   24. LEARNING CARDS
   ========================================================= */

.learning-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 55px;
}

.learning-card {
    padding: 27px;

    background: var(--gray-50);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-medium);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-5px);

    background: var(--white);

    border-color: #d8caef;

    box-shadow: var(--shadow-small);
}

.learning-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    background: var(--purple-light);

    border-radius: 13px;

    font-size: 22px;
}

.learning-card h3 {
    color: var(--gray-900);

    font-size: 18px;

    margin-bottom: 8px;
}

.learning-card p {
    color: var(--gray-500);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   25. SECURITY LIST
   ========================================================= */

.security-list {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin: 20px 0 55px;

    padding: 0;

    list-style: none;
}

.security-list li {
    position: relative;

    padding: 14px 16px 14px 42px;

    background: var(--gray-50);

    border: 1px solid var(--gray-200);

    border-radius: 11px;

    color: var(--gray-700);

    font-size: 13px;
}

.security-list li::before {
    content: "✓";

    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--purple-light);

    color: var(--purple);

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   26. EXAMPLE CARD
   ========================================================= */

.example-card {
    position: relative;

    padding: 30px;

    margin: 35px 0 55px;

    background:
        linear-gradient(
            135deg,
            var(--purple-soft),
            var(--white)
        );

    border: 1px solid #e1d7f0;

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-small);
}

.example-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    margin-bottom: 14px;

    background: var(--purple-light);

    color: var(--purple);

    border-radius: 20px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.example-card h3 {
    color: var(--gray-900);

    font-size: 20px;

    margin-bottom: 10px;
}

.example-card p {
    color: var(--gray-500);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   27. QUICK CHECK
   ========================================================= */

.phishing-check {
    margin: 45px 0 65px;

    padding: 30px;

    background: var(--gray-50);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-medium);
}

.phishing-check h3 {
    color: var(--gray-900);

    font-size: 20px;

    margin-bottom: 8px;
}

.phishing-check > p {
    color: var(--gray-500);

    font-size: 13px;

    margin-bottom: 20px;
}

.message-card {
    margin-bottom: 18px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 13px;

    overflow: hidden;
}

.message-header {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 15px;

    background: var(--gray-100);

    border-bottom: 1px solid var(--gray-200);

    color: var(--gray-700);

    font-size: 11px;
    font-weight: 700;
}

.message-body {
    padding: 18px;

    color: var(--gray-700);

    font-size: 13px;

    line-height: 1.7;
}

.fake-link {
    display: inline-block;

    color: var(--purple);

    font-weight: 700;

    text-decoration: underline;

    word-break: break-word;
}

.check-answer-box {
    margin-top: 15px;
}

.check-answer-box p {
    color: var(--gray-700);

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 12px;
}

.check-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.check-buttons button {
    min-height: 42px;

    padding: 0 17px;

    border: 1px solid var(--gray-200);

    border-radius: 10px;

    background: var(--white);

    color: var(--gray-700);

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.check-buttons button:hover {
    transform: translateY(-2px);

    border-color: #cfc0ec;

    color: var(--purple);

    background: var(--purple-soft);
}

.correct-message,
.wrong-message {
    margin-top: 13px;

    padding: 12px 14px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;
}

.correct-message {
    background: #f0faf4;

    border: 1px solid #cdebd8;

    color: #287548;
}

.wrong-message {
    background: #fff4f4;

    border: 1px solid #f0d1d1;

    color: #a53d3d;
}


/* =========================================================
   28. SAFETY TIPS
   ========================================================= */

.tips-section {
    margin-top: 55px;
}

.tips-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-top: 22px;
}

.tip-card {
    padding: 22px 18px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 14px;

    box-shadow: var(--shadow-small);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tip-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-medium);
}

.tip-card h3 {
    color: var(--gray-900);

    font-size: 15px;

    margin-bottom: 7px;
}

.tip-card p {
    color: var(--gray-500);

    font-size: 11px;

    line-height: 1.65;
}


/* =========================================================
   29. TOPIC QUIZ CTA
   ========================================================= */

.topic-quiz-cta {
    margin-top: 75px;

    padding: 35px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--purple-soft),
            var(--white)
        );

    border: 1px solid #e1d7f0;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow-small);
}

.topic-quiz-cta h2 {
    color: var(--gray-900);

    font-size: 28px;

    margin-bottom: 9px;
}

.topic-quiz-cta p {
    color: var(--gray-500);

    font-size: 13px;

    margin-bottom: 20px;
}


/* =========================================================
   30. TOPIC QUIZ BOX
   ========================================================= */

.topic-quiz-box {
    margin-top: 25px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-medium);
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 22px;

    padding-bottom: 15px;

    border-bottom: 1px solid var(--gray-200);
}

.quiz-header h3 {
    color: var(--gray-900);

    font-size: 18px;
}

.quiz-header span {
    color: var(--purple);

    font-size: 11px;
    font-weight: 800;
}

.quiz-question {
    color: var(--gray-900);

    font-size: 17px;
    font-weight: 700;

    line-height: 1.5;

    margin-bottom: 17px;
}

.quiz-options {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.quiz-option {
    width: 100%;

    padding: 14px 16px;

    text-align: left;

    background: var(--gray-50);

    border: 1px solid var(--gray-200);

    border-radius: 11px;

    color: var(--gray-700);

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.quiz-option:hover {
    transform: translateX(4px);

    border-color: #cfc0ed;

    background: var(--purple-soft);

    color: var(--purple);
}

.quiz-option.correct {
    background: #effaf3;

    border-color: #b9dfc7;

    color: #287548;
}

.quiz-option.wrong {
    background: #fff3f3;

    border-color: #ebc7c7;

    color: #a53d3d;
}

.quiz-feedback {
    display: none;

    margin-top: 17px;

    padding: 13px 15px;

    border-radius: 10px;

    background: var(--purple-soft);

    border: 1px solid #e0d4f3;

    color: var(--gray-700);

    font-size: 12px;

    line-height: 1.6;
}

.quiz-feedback.show {
    display: block;
}

.quiz-next {
    display: none;

    margin-top: 16px;

    min-height: 43px;

    padding: 0 18px;

    border: 1px solid var(--purple);

    border-radius: 10px;

    background: var(--purple);

    color: var(--white);

    font-size: 12px;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.quiz-next.show {
    display: inline-flex;

    align-items: center;
    justify-content: center;
}

.quiz-next:hover {
    background: var(--purple-dark);

    transform: translateY(-2px);
}


/* =========================================================
   31. QUIZ RESULT
   ========================================================= */

.quiz-result {
    display: none;

    padding: 30px;

    text-align: center;

    background: var(--purple-soft);

    border: 1px solid #dfd3f1;

    border-radius: var(--radius-medium);
}

.quiz-result.show {
    display: block;
}

.result-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    background: var(--purple-light);

    border-radius: 50%;

    font-size: 28px;
}

.quiz-result h3 {
    color: var(--gray-900);

    font-size: 23px;

    margin-bottom: 7px;
}

.quiz-result p {
    color: var(--gray-500);

    font-size: 13px;

    margin-bottom: 18px;
}

.quiz-result .primary-button {
    min-height: 43px;

    font-size: 12px;
}
/* =========================================================
   32. SCROLL REVEAL
   ========================================================= */

.benefit-card,
.topic-card,
.quiz-preview-content,
.quiz-preview-visual,
.challenge-card,
.learning-card,
.example-card,
.tip-card {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.benefit-card.visible,
.topic-card.visible,
.quiz-preview-content.visible,
.quiz-preview-visual.visible,
.challenge-card.visible,
.learning-card.visible,
.example-card.visible,
.tip-card.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   33. ANIMATIONS
   ========================================================= */

@keyframes pulse {
    0%,
    100% {
        opacity: 1;

        transform: scale(1);
    }

    50% {
        opacity: 0.65;

        transform: scale(0.9);
    }
}

@keyframes shieldFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@keyframes floatingCard {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================================
   34. TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .navigation {
        gap: 20px;
    }

    .hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(350px, 0.85fr);

        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(44px, 6vw, 65px);
    }

    .hero-visual {
        min-height: 520px;
    }

    .security-card {
        width: min(100%, 430px);
    }

    .floating-card-one {
        left: -10px;
    }

    .floating-card-two {
        right: -10px;
    }

    .topic-hero-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 0.75fr);

        gap: 40px;
    }

    .topic-hero h1 {
        font-size: clamp(40px, 5vw, 56px);
    }

    .benefits-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .tips-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .challenge-card {
        padding: 45px;
    }
}


/* =========================================================
   35. MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

    .nav-container {
        min-height: 70px;

        gap: 12px;
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }

    .navigation {
        gap: 12px;
    }

    .navigation a {
        font-size: 11px;
    }

    .navigation a::after {
        display: none;
    }

    .nav-button {
        padding: 9px 12px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       HOMEPAGE HERO
       ----------------------------------------------------- */

    .hero {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;

        grid-template-columns: 1fr;

        gap: 45px;

        padding-top: 65px;
        padding-bottom: 65px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-label {
        justify-content: center;
    }

    .hero h1 {
        max-width: 100%;

        font-size: clamp(40px, 12vw, 58px);

        letter-spacing: -2px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;

        font-size: 15px;
    }

    .hero-actions {
        justify-content: center;

        margin-bottom: 30px;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        min-height: 490px;
    }

    .security-card {
        width: 100%;
        max-width: 470px;
    }

    .floating-card-one {
        left: 0;
        top: 50px;
    }

    .floating-card-two {
        right: 0;
        bottom: 50px;
    }


    /* -----------------------------------------------------
       COMMON SECTIONS
       ----------------------------------------------------- */

    .about-section,
    .topics-section,
    .quiz-preview,
    .challenge-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .quiz-preview-content h2 {
        font-size: 34px;
    }


    /* -----------------------------------------------------
       BENEFITS
       ----------------------------------------------------- */

    .benefits-grid {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       TOPICS
       ----------------------------------------------------- */

    .topics-grid {
        grid-template-columns: 1fr;
    }


    /* -----------------------------------------------------
       QUIZ PREVIEW
       ----------------------------------------------------- */

    .quiz-preview-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .quiz-preview-content {
        text-align: center;
    }

    .quiz-preview-content p {
        margin-left: auto;
        margin-right: auto;
    }


    /* -----------------------------------------------------
       FINAL CHALLENGE
       ----------------------------------------------------- */

    .challenge-card {
        grid-template-columns: 1fr;

        text-align: center;

        padding: 40px 25px;

        gap: 30px;
    }

    .challenge-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .challenge-circle {
        width: 150px;
        height: 150px;
    }

    .challenge-shield {
        font-size: 60px;
    }


    /* -----------------------------------------------------
       TOPIC PAGE HERO
       ----------------------------------------------------- */

    .topic-hero {
        padding: 65px 0 55px;
    }

    .topic-hero-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .topic-hero-content {
        text-align: center;
    }

    .topic-hero .hero-label {
        justify-content: center;
    }

    .topic-hero h1 {
        font-size: clamp(38px, 11vw, 52px);

        letter-spacing: -1.8px;
    }

    .topic-hero-content > p {
        margin-left: auto;
        margin-right: auto;

        font-size: 14px;
    }

    .topic-visual {
        width: 100%;
    }

    .topic-icon-card {
        width: min(100%, 380px);
    }


    /* -----------------------------------------------------
       TOPIC CONTENT
       ----------------------------------------------------- */

    .topic-content {
        padding: 70px 0 80px;
    }

    .topic-content .section-heading {
        text-align: center;
    }

    .topic-content .small-heading {
        justify-content: center;
    }

    .learning-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .security-list {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .example-card {
        padding: 25px;
    }

    .phishing-check {
        padding: 25px;
    }

    .topic-quiz-cta {
        padding: 30px 20px;
    }

    .topic-quiz-box {
        padding: 22px 18px;
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .footer-container {
        flex-direction: column;

        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;

        justify-content: center;
    }
}


/* =========================================================
   36. SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .container {
        width: min(
            calc(100% - 24px),
            var(--container)
        );
    }

    .navigation {
        gap: 8px;
    }

    .navigation a {
        font-size: 10px;
    }

    .nav-button {
        display: none;
    }

    .hero-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .primary-button,
    .secondary-button,
    .challenge-button {
        width: 100%;
    }

    .hero-trust {
        gap: 12px;
    }

    .trust-item strong {
        font-size: 13px;
    }

    .trust-item span {
        font-size: 9px;
    }

    .hero-visual {
        min-height: 450px;
    }

    .security-card {
        padding: 20px;
    }

    .floating-card {
        padding: 8px 10px;
    }

    .floating-card-one {
        left: -5px;
        top: 35px;
    }

    .floating-card-two {
        right: -5px;
        bottom: 35px;
    }

    .floating-card strong {
        font-size: 9px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .about-section,
    .topics-section,
    .quiz-preview,
    .challenge-section {
        padding: 65px 0;
    }

    .section-heading h2,
    .quiz-preview-content h2 {
        font-size: 30px;
    }

    .topic-hero {
        padding: 55px 0 45px;
    }

    .topic-hero h1 {
        font-size: 36px;
    }

    .topic-icon-card {
        padding: 35px 20px;
    }

    .topic-big-icon {
        width: 85px;
        height: 85px;

        font-size: 43px;
    }

    .topic-content {
        padding: 60px 0 70px;
    }

    .topic-content .section-heading h2 {
        font-size: 29px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .check-buttons {
        flex-direction: column;
    }

    .check-buttons button {
        width: 100%;
    }

    .topic-quiz-cta h2 {
        font-size: 24px;
    }

    .quiz-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .quiz-option {
        padding: 13px;

        font-size: 12px;
    }
}


/* =========================================================
   37. ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(109, 59, 209, 0.28);

    outline-offset: 3px;
}


/* =========================================================
   38. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   END OF CYBERSHIELD STYLE
   ========================================================= */
