@charset "UTF-8";

/* ============================================
   StoryGhost — Modern Premium Dark Theme
   ============================================ */

/* DESIGN TOKENS */
:root {
    --primary: #a855f7;
    --primary-light: #c084fc;
    --primary-dark: #9333ea;
    --accent: #f472b6;
    --accent-dark: #ec4899;
    --neon-glow: rgba(168, 85, 247, 0.4);

    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-section-alt: #0e0e16;

    --text-primary: #f1f1f4;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(168, 85, 247, 0.25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.15);
    --shadow-hover: 0 8px 40px rgba(168, 85, 247, 0.25);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* RESET & GLOBAL */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

p.lead {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== ANIMATED BACKGROUND ========== */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-animation .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 12s ease-in-out infinite;
}

.hero-bg-animation .orb:nth-child(1) {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
}

.hero-bg-animation .orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--accent);
    top: 20%;
    right: -10%;
    animation-delay: -4s;
    animation-duration: 15s;
}

.hero-bg-animation .orb:nth-child(3) {
    width: 300px;
    height: 300px;
    background: #6366f1;
    bottom: -5%;
    left: 30%;
    animation-delay: -8s;
    animation-duration: 18s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 30px) scale(1.02);
    }
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========== NAVBAR ========== */
.nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.nav-menu.is-scrolling,
.nav-menu.menu-is-open {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-subtle);
    padding: 0.6rem 0;
}

@media (max-width: 991px) {
    .nav-menu {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.navbar-brand .ti-eye {
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
    border: none;
    background: none;
}

.navbar-nav .nav-link:hover {
    color: var(--text-primary) !important;
    background: var(--bg-glass);
}

.navbar-nav .nav-link.active {
    color: var(--primary-light) !important;
}

.navbar-nav .nav-link.active::after {
    display: none;
}

.btn-outline-light {
    border: 1.5px solid var(--primary);
    color: var(--primary-light) !important;
    background: transparent;
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    margin: 0 !important;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-light:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.navbar-toggler {
    background: none;
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

/* ========== HERO SECTION ========== */
header {
    position: relative;
    padding: 10rem 0 0;
    text-align: center;
    color: var(--text-primary);
    overflow: hidden;
    background: var(--bg-dark);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

header .container {
    position: relative;
    z-index: 1;
}

.bg-gradient {
    background: var(--bg-dark) !important;
    color: var(--text-primary) !important;
}

.bg-gradient h1 {
    color: var(--text-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-cta {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.download-btn {
    display: inline-block;
    transition: transform var(--transition-spring), filter var(--transition-fast);
    margin: 1rem 0;
}

.download-btn:hover {
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.15);
}

.download-btn img {
    height: 3.5rem;
    width: auto;
}

.img-holder {
    height: 0;
    padding-bottom: 33%;
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.img-holder img {
    filter: drop-shadow(0 20px 60px rgba(168, 85, 247, 0.3));
}

@media (max-width: 768px) {
    header {
        padding: 8rem 0 0;
        min-height: auto;
    }

    .img-holder {
        padding-bottom: 80%;
    }
}

@media (max-width: 1200px) {
    .img-holder {
        padding-bottom: 50%;
    }
}

/* ========== SECTIONS ========== */
.section {
    padding: 6rem 0;
    position: relative;
}

.light-bg {
    background: var(--bg-section-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title small {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.3rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
}

.section-title h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.25;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

/* ========== FEATURE CARDS ========== */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -0.75rem;
}

.col-12 {
    width: 100%;
    padding: 0.75rem;
}

.col-md-4 {
    padding: 0.75rem;
}

.col-md-6 {
    padding: 0.75rem;
}

.col-md-8 {
    padding: 0.75rem;
}

.col-lg-4 {
    width: 33.333%;
    padding: 0.75rem;
}

@media (max-width: 992px) {
    .col-lg-4 {
        width: 100%;
    }
}

.card.features {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.card.features:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card.features:hover::before {
    opacity: 1;
}

.card.features .card-body {
    padding: 0;
}

.card.features .media {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.card.features .ti-3x,
.gradient-fill {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.gradient-fill:before {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== TABS ========== */
.nav-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-subtle);
    gap: 0;
    flex-wrap: wrap;
    background: transparent;
}

.nav-tabs .nav-item {
    flex: 1;
    min-width: 140px;
}

.nav-tabs .nav-link {
    padding: 1rem 1.5rem !important;
    border: none !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent !important;
    transition: all var(--transition-fast);
    cursor: pointer;
    text-align: center;
}

.nav-tabs .nav-link:hover {
    color: var(--text-secondary) !important;
    border-bottom-color: var(--border-glow) !important;
    background: rgba(168, 85, 247, 0.05) !important;
}

.nav-tabs .nav-link.active {
    color: var(--primary-light) !important;
    border-bottom-color: var(--primary) !important;
    background: transparent !important;
}

/* TAB CONTENT */
.tab-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

.tab-pane {
    animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tab-content p {
    line-height: 1.8;
    color: var(--text-secondary);
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-lg-row {
    flex-direction: row;
}

@media (max-width: 992px) {
    .flex-lg-row {
        flex-direction: column;
    }

    .tab-content {
        padding: 1.5rem;
    }
}

.align-items-center {
    align-items: center;
}

.mr-lg-5 {
    margin-right: 2.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .mr-lg-5 {
        margin-right: 0;
    }

    .mb-lg-0 {
        margin-bottom: 1.5rem;
    }
}

/* FEATURE LIST */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* SUPPORT BOX */
.support-box {
    background: rgba(168, 85, 247, 0.06);
    padding: 1.5rem;
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--primary);
}

.support-box p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.support-box a {
    font-weight: 600;
    color: var(--primary-light);
}

.support-box a:hover {
    color: var(--accent);
}

/* ========== HOW IT WORKS ========== */
.ui-steps {
    list-style: none;
    padding: 0;
    width: 100%;
}

.ui-steps li {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    transition: all var(--transition-fast);
}

.ui-steps li:last-child {
    border-bottom: none;
}

.ui-steps li:hover .circle-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.circle-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
    transition: all var(--transition-spring);
}

.media {
    display: flex;
    gap: 1.5rem;
}

.media-body {
    flex: 1;
}

.media-body h5 {
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}

.media-body p {
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .ui-steps li {
        flex-direction: column;
        gap: 1rem;
    }

    .circle-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.1rem;
    }
}

/* ========== FAQ ========== */
.faq-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    transition: color var(--transition-fast);
}

.faq-item:hover h4 {
    color: var(--primary-light);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========== BUTTONS ========== */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-light {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    background: #fff;
    color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.25);
    text-decoration: none;
}

.btn-light img {
    margin-right: 0.4rem;
    vertical-align: middle;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
}

/* ========== CTA SECTION ========== */
.section.bg-gradient {
    background: var(--bg-section-alt) !important;
    position: relative;
    overflow: hidden;
}

.section.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(244, 114, 182, 0.08) 100%);
    z-index: 0;
}

.section.bg-gradient .container {
    position: relative;
    z-index: 1;
}

.call-to-action {
    text-align: center;
    padding: 2rem 0;
}

.call-to-action h2 {
    color: var(--text-primary);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.call-to-action .tagline {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.call-to-action .box-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all var(--transition-smooth);
}

.call-to-action .box-icon:hover {
    transform: scale(1.08);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.call-to-action .box-icon span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.call-to-action .text-light small {
    color: var(--text-muted);
}

/* ========== FOOTER ========== */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 2.5rem 0;
    text-align: center;
    margin-top: 0;
}

footer p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.85rem;
}

footer a {
    color: var(--primary-light);
}

footer a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 1.5rem 0;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* stagger child delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ========== UTILITY ========== */
.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-muted) !important;
}

.text-primary {
    color: var(--primary-light) !important;
}

.text-decoration-none {
    text-decoration: none;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mr-3 {
    margin-right: 1rem;
}

.mr-4 {
    margin-right: 1.5rem;
}

.pt-0 {
    padding-top: 0;
}

.pt-4 {
    padding-top: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.light-font {
    font-weight: 400;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: var(--radius-md);
}

.align-self-start {
    align-self: flex-start;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.list-unstyled {
    list-style: none;
    padding: 0;
}

.col-md-4 {
    width: 33.333%;
}

.col-md-6 {
    width: 50%;
}

.col-md-8 {
    width: 66.666%;
}

@media (max-width: 768px) {

    .col-md-4,
    .col-md-6,
    .col-md-8 {
        width: 100%;
    }

    .row {
        margin: 0;
    }

    .row>[class^="col-"] {
        padding: 0.5rem 0;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .navbar-nav {
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem 0;
    }

    .navbar-nav .nav-item {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .section-title h3 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .nav-tabs .nav-item {
        min-width: 100px;
    }

    .nav-tabs .nav-link {
        padding: 0.75rem 0.75rem !important;
        font-size: 0.85rem;
    }

    .hero-cta {
        font-size: 0.8rem;
    }
}

/* ========== GHOST MASCOT GLOW ========== */
.ghost-mascot {
    display: inline-block;
    animation: ghostFloat 4s ease-in-out infinite;
}

@keyframes ghostFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Subtle grid background */
.grid-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}