:root {
    --hn-green: #D1FF03;
    --hn-yellow: #FECF38;
    --hn-bg: #18191a;
    --hn-black: #101010;
    --hn-blue: #00F0FF;
    --hn-grey: #161616;
    --hn-white: #fff;
    --hn-light-grey: #4b4b4b;
    --card-shadow: 0 2px 14px 0 rgba(209, 255, 3, 0.06);
    --card-shadow-hover: 0 6px 24px 0 rgba(209, 255, 3, 0.13);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--hn-grey);
    margin: 0;
    padding: 0;
    color: var(--hn-white);
    font-family: 'Montserrat', 'Inter', sans-serif;
    min-height: 100vh;
}

/* Header */

.auth-logged-in,
.auth-logged-out {
    display: none;
}

.hide-header {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.hn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--hn-black);
    border-bottom: 1px solid var(--hn-green);
    padding: 0.5rem 1rem;
    height: 96px;
    z-index: 1000;
    position: sticky;
    top: 0;
}

.hn-header-left {
    display: flex;
    align-items: center;
}

.hn-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 18px;
    transition: all 0.3s ease;
}

.hn-logo-link:hover {
    transform: translateX(5px);
}

.hn-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.hn-header-link {
    color: var(--hn-black);
    font-family: 'Fira Mono', monospace;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 7px;
    background: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(90deg, var(--hn-green), var(--hn-yellow));
    font-weight: 700;
    transition: all 0.3s ease;
}

.hn-header-link:hover,
.hn-header-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 12px 0 var(--hn-green);
    background: linear-gradient(90deg, var(--hn-green), var(--hn-yellow));
    color: var(--hn-black);
}

.hn-header-hamburger {
    width: 38px;
    height: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 12px;
    z-index: 1002;
}

.hn-header-hamburger span {
    display: block;
    height: 4px;
    border-radius: 3px;
    background: var(--hn-green);
    width: 100%;
    transition: all 0.18s;
}

.hn-header-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 52px;
    min-width: 180px;
    background: var(--hn-black);
    border: 1.5px solid var(--hn-grey);
    box-shadow: 0 2px 10px 0 rgba(209, 255, 3, 0.10);
    border-radius: 10px;
    padding: 11px 0;
    z-index: 1001;
    flex-direction: column;
}

.hn-header-menu a {
    color: var(--hn-green);
    text-decoration: none;
    font-family: 'Fira Mono', monospace;
    padding: 10px 22px;
    font-size: 1.02rem;
    transition: all 0.3s ease;
    display: block;
}

.hn-header-menu a:hover {
    background: var(--hn-grey);
    color: var(--hn-yellow);
    transition: all 0.3s ease;
}

/* Hamburger active style */
.hn-header-hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hn-header-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hn-header-hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.hn-header-menu.active {
    display: flex;
}

@media (max-width: 650px) {
    .hn-header-link:not(.hn-login-btn) {
        display: none;
    }

    .hn-header-menu {
        min-width: 135px;
        top: 46px;
    }
}



.hero {
    background: var(--hn-black);
    padding: 64px 64px;
    text-align: center;
    border-bottom: 1px solid var(--hn-grey);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-family: 'Montserrat';
    color: var(--hn-yellow);
    font-size: 2.6rem;
    margin-bottom: 0.2em;
    font-weight: 700;
    text-shadow: 0 0 8px var(--hn-yellow);
}

.terminal-bar {
    display: inline-block;
    font-family: 'Fira Mono', monospace;
    font-size: 1.4rem;
    background: var(--hn-grey);
    color: var(--hn-green);
    padding: 14px 32px 14px 28px;
    border-radius: 10px;
    margin-bottom: 42px;
    margin-top: 42px;
    box-shadow: 0 0 10px 1px rgba(0, 255, 0, 0.1);
    position: relative;
}

.blinking-cursor {
    display: inline-block;
    width: 10px;
    height: 1.3em;
    background: var(--hn-green);
    margin-left: 4px;
    animation: blink 1s steps(1) infinite;
    vertical-align: bottom;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.hero p {
    color: var(--hn-white);
    font-size: 1.3rem;
    margin-top: 0.6em;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hn-green);
    display: block;
}

.stat-label {
    color: var(--hn-green);
    font-size: 0.9rem;
}

.cta-primary {
    display: inline-block;
    margin-top: 28px;
    background: linear-gradient(90deg, var(--hn-green), var(--hn-yellow));
    color: var(--hn-black);
    font-weight: 700;
    padding: 16px 48px;
    font-size: 1.15rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Fira Mono', monospace;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px 0 var(--hn-green);
}

.cta-secondary {
    background: transparent;
    color: var(--hn-white);
    padding: 1rem 2rem;
    border: 1px solid #333;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    margin: 1rem 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Fira Mono', monospace;
}

.cta-secondary:hover {
    border-color: var(--hn-yellow);
    color: var(--hn-yellow);
}



/* Progress section */
.progress-container {
    margin: 64px 64px;
    max-width: 100%;
    background: var(--hn-grey);
    border-radius: 12px;
    padding: 26px 36px;
    /* box-shadow: 0 0 8px 0 var(--hn-green); */
    display: flex;
    align-items: center;
    gap: 42px;
    flex-wrap: wrap;
    justify-content: center;
    border: 1px solid var(--hn-green);
}

.progress-left {
    flex: 2;
    min-width: 230px;
}

.progress-title {
    font-family: 'Fira Mono', monospace;
    font-size: 1.15rem;
    color: var(--hn-green);
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 15px;
    background: var(--hn-black);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 3px 1px var(--hn-green);
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--hn-green) 0%, var(--hn-yellow) 90%);
    border-radius: 6px 0 0 6px;
    transition: width 0.5s;
}

.progress-metrics {
    font-size: 1.01rem;
    color: var(--hn-yellow);
    font-family: 'Fira Mono', monospace;
    margin-top: 3px;
    opacity: 0.85;
}

.progress-right {
    flex: 1;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* NEW: simple participant circle */
.pie-title {
    color: var(--hn-yellow);
    font-family: 'Fira Mono', monospace;
    font-size: 1.06rem;
    margin-bottom: 7px;
    text-align: center;
}

.participant-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    /* background: var(--hn-green); */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    /* box-shadow: 0 2px 10px 0 rgba(209,255,3,0.16); */
}

.participant-circle span {
    color: var(--hn-yellow);
    font-size: 2.7rem;
    font-family: 'Montserrat', 'Fira Mono', monospace;
    font-weight: 900;
    letter-spacing: 1px;
}

/* Course Features */
.section-title {
    color: var(--hn-yellow, #FECF38);
    font-size: 2.1rem;
    font-family: 'Fira Mono', monospace;
    margin-bottom: 64px;
    text-align: center;
    font-weight: 700;
}

.course-features {
    padding: 64px 64px;
    background: var(--hn-grey);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /* Default: 1 column on small screens */
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 700px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on medium screens */
    }
}

@media (min-width: 1000px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on large screens */
    }
}

.feature-card {
    background: var(--hn-grey);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--hn-light-grey);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--hn-green);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--hn-green);
    font-family: 'Montserrat';
}

.feature-card p {
    color: var(--hn-white);
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1.1rem;
}

/* Certificate */

.certificate-card {
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--hn-grey) 0%, rgba(0, 255, 0, 0.05) 100%);
    border: 1px solid var(--hn-green);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    /* smooth expand */
}

.certificate-card:hover {
    border-color: var(--hn-yellow);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.certificate-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.certificate-icon {
    font-size: 3rem;
    min-width: 60px;
}

.certificate-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.certificate-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hn-green);
    margin-bottom: 1rem;
    font-family: 'Montserrat';
}

.certificate-text p {
    color: var(--hn-white);
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 🔽 New image reveal effect */
.certificate-image-wrapper {
    max-height: 0;
    /* hidden by default */
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    margin-top: 0;
    /* no space when collapsed */
}

.certificate-card:hover .certificate-image-wrapper {
    max-height: 800px;
    /* large enough to fit image */
    opacity: 1;
    margin-top: 1.5rem;
    /* space appears when expanded */
}

.certificate-image-wrapper img {
    width: 100%;
    /* responsive inside the wrapper */
    max-width: 500px;
    /* cap the image size on big screens */
    height: auto;
    /* keep aspect ratio */
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    /* center it */
}


@media (max-width: 768px) {
    .certificate-content {
        flex-direction: column;
        text-align: center;
    }

    .certificate-text {
        text-align: center;
        min-width: auto;
    }
}


/* All Modules Card */

.all-modules-card {
    margin-top: 3rem;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--hn-grey) 0%, rgba(255, 213, 0, 0.068) 100%);
    border: 1px solid var(--hn-green);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.all-modules-card:hover {
    border-color: var(--hn-yellow);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.all-modules-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}


.all-modules-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.all-modules-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hn-green);
    margin-bottom: 1rem;
    font-family: 'Montserrat';
}

.all-modules-text p {
    color: var(--hn-white);
    line-height: 1.6;
    font-size: 1.1rem;
    font-weight: 500;
}

.all-modules-text strong {
    color: var(--hn-yellow);
}

@media (max-width: 768px) {
    .all-modules-content {
        flex-direction: column;
        text-align: center;
    }

    .all-modules-text {
        text-align: center;
        min-width: auto;
    }
}

/* Modules section */
.modules-section {
    max-width: 100%;
    padding: 64px 64px;
}

.modules-title {
    color: var(--hn-yellow, #FECF38);
    font-size: 2.1rem;
    font-family: 'Fira Mono', monospace;
    margin-bottom: 64px;
    margin-top: 32px;
    text-align: center;
    font-weight: 700;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    /* important */
}

@media (max-width: 1100px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 16px;
    }
}

@media (max-width: 700px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .module-card {
        margin-bottom: 16px;
    }
}

.module-card {
    background: var(--hn-grey);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--hn-light-grey);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    z-index: 1;
}

.module-card:hover {
    border-color: var(--hn-green);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    z-index: 10;
}

.module-card-soon {
    background: var(--hn-grey);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--hn-light-grey);
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    z-index: 1;
    filter: grayscale(0.8);
}

.module-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-bottom: 0;
    gap: 8px;
}

.module-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--hn-green);
    font-family: 'Montserrat';
}

.module-desc {
    color: var(--hn-yellow);
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1.1rem;
}

.module-desc strong {
    color: var(--hn-green);
    font-size: 1rem;
}

.module-body {
    max-height: 0;
    overflow: hidden;
    /* background: #222318; */
    transition: max-height 0.36s cubic-bezier(.29, 1.39, .48, .91), padding 0.26s;
    font-size: 1rem;
    color: #eee;
    padding: 0;
    width: 100%;
    margin: 0 auto;
    cursor: default;
}

.module-card:hover .module-body {
    max-height: 500px;   /* enough space to show full content */
    padding: 8px 0;      /* restore vertical padding */
    cursor: default;

}


.module-card.expanded .module-body {
    max-height: 500px;
    padding: 8px 0;
}

.module-btn,
.module-body a {
    cursor: pointer !important;
    display: block;
    width: 100%;
    margin-top: 32px;
    background: linear-gradient(90deg, var(--hn-green), var(--hn-yellow));
    color: var(--hn-black);
    font-weight: 800;
    padding: 14px 0;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 7px 0 var(--hn-green);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: 'Fira Mono', monospace;
}

.module-btn:hover {
    transform: translateY(-5px);
}

@media (max-width: 600px) {
    .modules-section {
        padding: 14px 32px;
    }

    .modules-title {
        font-size: 2rem;
    }
}



/* Faculty Section */



.faculty-section {
    background: var(--hn-black);
    padding: 64px 32px;
}

.faculty-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 32px;
    padding: 32px 64px;
    scrollbar-width: none;
    /* Firefox */
    display: flex;
    overflow-x: auto; /* allows manual scroll */
    scroll-snap-type: x mandatory; /* snap to cards */
    scroll-behavior: smooth;
}

.faculty-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.faculty-card {
    background: var(--hn-grey);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--hn-light-grey);
    text-align: left;
    /* left-align card content */
    transition: all 0.3s ease;
    flex: 0 0 300px;
    /* fixed width for carousel */
    scroll-snap-align: start;
}

.faculty-card:hover {
    border-color: var(--hn-green);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.faculty-header {
    display: flex;
    align-items: left;
    gap: 16px;
    margin-bottom: 16px;
}

/* Faculty content */

.faculty-image {
    width: 100px !important;
    height: 100px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--hn-yellow);
    display: block;
    margin-bottom: 24px;
}

.faculty-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--hn-green);
    font-family: 'Montserrat';
}

.faculty-role {
    color: var(--hn-yellow);
    font-weight: 600;
    font-size: 1rem;
}

.faculty-bio {
    color: var(--hn-white);
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1rem;
}

.faculty-btn {
    display: none;            /* take up full line */
    width: 100%;               /* fill the parent container */
    margin-top: 16px;
    margin-right: 0;           /* reset side margin */
    padding: 12px 0;           /* vertical padding only */
    background: linear-gradient(90deg, var(--hn-green), var(--hn-yellow));
    color: var(--hn-black);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Fira Mono', monospace;
    box-sizing: border-box;    /* keep padding inside width */
}

.faculty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px var(--hn-green);
}

/* show button only on hover */
.faculty-card:hover .faculty-btn {
    display: inline-block;
}

/* Carousel dots */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  
  .carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hn-light-grey);
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
  }
  
  .carousel-dots .dot:hover {
    transform: scale(1.5);
    background: var(--hn-green);
  }
  
  .carousel-dots .dot.active {
    background: var(--hn-green);
  }
  


/* Value Proposition */
.section-title {
    color: var(--hn-yellow, #FECF38);
    font-size: 2.1rem;
    font-family: 'Fira Mono', monospace;
    margin-bottom: 64px;
    text-align: center;
    font-weight: 700;
}

.value-container {
    padding: 32px 64px 64px 64px;
    background: var(--hn-black);
    border-radius: 16px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default: 2 columns */
    gap: 32px;
}

@media (max-width: 900px) {
    .value-grid {
        grid-template-columns: 1fr;
        /* 1 column on small screens */
    }
}

.value-card {
    background: var(--hn-grey);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--hn-light-grey);
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: var(--hn-green);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--hn-green);
    font-family: 'Montserrat';
}

.value-card p {
    color: var(--hn-white);
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1.1rem;
}



/* Testimonials */

.testimonial-section {
    background: var(--hn-grey);
    padding: 64px 0 64px 0;
    text-align: center;
}

.testimonial-title {
    color: var(--hn-yellow, #FECF38);
    font-size: 2.1rem;
    font-family: 'Fira Mono', monospace;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 700;
}

.testimonial-grid {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 32px;
    padding: 32px 64px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-card {
    background: var(--hn-grey);
    border: 1px solid var(--hn-green, #D1FF03);
    border-radius: 18px;
    box-shadow: 0 5px 30px 0 rgba(0, 255, 0, 0.08);
    padding: 32px 28px 24px 28px;
    max-width: 350px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.18s, border 0.18s, transform 0.16s;
    justify-content: space-between;
    max-width: 600px;
    min-width: 380px;

    /* ensures spacing between quote and person */
}

.testimonial-card:hover {
    box-shadow: 0 8px 32px 0 rgba(254, 207, 56, 0.17);
    border-color: var(--hn-yellow, #FECF38);
    transform: translateY(-5px);
}

.testimonial-quote {
    color: var(--hn-white);
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1rem;
    margin-bottom: 32px;
}

.testimonial-person {
    display: flex;
    align-items: top;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--hn-yellow, #FECF38);
    background: #fff;
    object-fit: cover;
}

.testimonial-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--hn-green);
    font-family: 'Montserrat';
}

.testimonial-role {
    color: var(--hn-white);
    line-height: 1.6;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 1rem;
}

/* Content Ownership */
.content-ownership {
    padding: 64px 64px;
    background: var(--hn-black);
}

.ownership-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .ownership-content {
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}

.ownership-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--hn-white);
    line-height: 1.7;
    font-weight: 500;
}

.ownership-text strong {
    color: var(--hn-green);
}

.ownership-image {
    display: flex;
    justify-content: center;
}

.ownership-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.document-stack {
    position: relative;
    width: 240px;
    height: 300px;
}

.document {
    position: absolute;
    width: 160px;
    height: 200px;
    background: var(--hn-green);
    border-radius: 8px;
    border: 4px solid var(--hn-black);
}

.document::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 6px;
    background: var(--hn-black);
    border-radius: 2px;
}

.document::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    right: 40px;
    height: 4px;
    background: var(--hn-black);
    border-radius: 1px;
}

.doc-1 {
    transform: rotate(-5deg);
    z-index: 1;
}

.doc-2 {
    transform: rotate(0deg);
    z-index: 2;
    left: 40px;
}

.doc-3 {
    transform: rotate(5deg);
    z-index: 3;
    left: 80px;
}

.ownership-badge {
    margin-top: 2rem;
    background: var(--hn-green);
    color: var(--hn-black);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}


/* Pricing */
.pricing {
    padding: 64px 64px 32px 64px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--hn-grey);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--hn-light-grey);
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pricing-card:hover {
    border: 1px solid var(--hn-yellow);
}

.pricing-card.featured:hover {
    border: 1px solid var(--hn-yellow);
}

.pricing-card.featured {
    border-color: var(--hn-green);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hn-green);
    color: var(--hn-black);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat';
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--hn-green);
    margin: 1rem 0;
    font-family: 'Montserrat';
}

.price-period {
    color: var(--hn-yellow);
    font-size: 1rem;
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.features li::before {
    content: '✓';
    color: var(--hn-green);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* FAQ */

.faq {
    padding: 64px 64px;
    background: var(--hn-grey);
}

.faq-item {
    background: var(--dark-bg);
    margin-bottom: 1rem;
    border-radius: 12px;
    border: 1px solid var(--hn-light-grey);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border: 1px solid var(--hn-green);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-family: 'Montserrat';
    font-weight: 700;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-family: 'Montserrat';
    font-weight: 500;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

/* Footer CTA */
.footer-cta {
    padding: 64px 64px;
    text-align: center;
    background: var(--hn-black);
    font-size: 1.2rem;
}

/* Default: 5 columns */
.footer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding: 64px 5vw;
    background: var(--hn-black);
    border-top: 1px solid var(--hn-yellow);
}

/* Footer links styling */
.footer-links-title {
    font-weight: bold;
    color: var(--hn-green);
    margin-bottom: 12px;
    font-size: 1.2rem;
    letter-spacing: 0.1px;
    font-family: 'Fira Mono', monospace;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-title::after {
    content: "+";
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer-links.open .footer-links-title::after {
    content: "−";
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.footer-link {
    color: #f8fae8;
    text-decoration: none;
    opacity: 0.88;
    font-size: 0.9rem;
    font-family: 'Montserrat';
    font-weight: 500;
    line-height: 1.6;
    transition: color 0.14s, opacity 0.14s;
}

.footer-link:hover {
    color: var(--hn-yellow);
    opacity: 1;
}

/* Social section */
.footer-social-title {
    color: var(--hn-yellow);
    font-size: 1.2rem;
    margin-bottom: 24px;
    font-weight: bold;
    font-family: 'Fira Mono', monospace;
}

.footer-social-icons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    opacity: 0.83;
    fill: var(--hn-yellow);
    cursor: pointer;
    transition: opacity 0.16s, transform 0.14s;
}

.footer-social-icon:hover {
    opacity: 1;
    transform: scale(1.12);
    fill: var(--hn-green);
}

/* Hide +/− on desktop screens */
@media (min-width: 1101px) {
    .footer-links-title::after {
        content: none;
    }
}

/* Responsive Accordion */
@media (max-width: 1100px) {
    .footer {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 5vw;
    }

    /* Hide links by default */
    .footer-links-list {
        display: none;
    }

    /* Show links when open */
    .footer-links.open .footer-links-list {
        display: flex;
    }

    /* Social always visible */
    .footer-social {
        order: 5;
    }

    .footer-copyright {
        order: 6
    }
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--hn-light-grey);
    font-size: 0.95rem;
    padding-top: 16px;
    border-top: 1px solid var(--hn-light-grey);
    margin-top: 32px;
}


/* Scroll animation */

.scroll-animate {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(.21, .97, .59, 1), transform 0.9s cubic-bezier(.21, .97, .59, 1);
    will-change: opacity, transform;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}