/*/css/ghost.css*/

:root {
    --bg-void: #020408;
    --bg-deep: #060c12;
    --bg-panel: #0a1520;
    --bg-card: #0d1b28;
    --bg-card-hover: #112233;

    --cyan: #00ffe7;
    --cyan-dim: #00c4b4;
    --cyan-glow: rgba(0, 255, 231, 0.18);
    --cyan-faint: rgba(0, 255, 231, 0.06);

    --magenta: #ff00a8;
    --magenta-dim: #cc0085;
    --magenta-glow: rgba(255, 0, 168, 0.18);

    --gold: #ffd700;
    --gold-dim: #cc9900;

    --text-primary: #e0f4ff;
    --text-secondary: #7ab8d4;
    --text-muted: #3d6880;
    --text-ghost: #1e3d52;

    --border: rgba(0, 255, 231, 0.15);
    --border-bright: rgba(0, 255, 231, 0.5);
    --border-card: rgba(0, 255, 231, 0.1);

    --font-display: 'Orbitron', monospace;
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Exo 2', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: crosshair;
    background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,255,231,0.07) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 100%);
}

/* ── Scanline overlay ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 255, 231, 0.015) 2px,
    rgba(0, 255, 231, 0.015) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* ── Grid matrix background ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
    linear-gradient(rgba(0,255,231,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,231,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

main, nav, footer {
    position: relative;
    z-index: 1;
}

/* ============================================================
           TYPOGRAPHY
           ============================================================ */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
}
h2 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 700;
}
h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 600;
    color: var(--cyan);
}
h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--text-primary);
}

/* ============================================================
           NAVIGATION
           ============================================================ */

nav[name="navbar"] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1rem, 4vw, 3rem);
    height: 64px;
    background: rgba(2, 4, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav[name="navbar"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.6;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px dotted #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader_box {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}

main {
    padding-top: 64px;
}

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

.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

/* Radial glow behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    height: 60vh;
    background: radial-gradient(ellipse, rgba(0,255,231,0.09) 0%, transparent 70%);
    pointer-events: none;
}

/* Corner brackets */
.hero::after {
    content: '';
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    border-top: 2px solid var(--cyan);
    border-left: 2px solid var(--cyan);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    max-width: 860px;
    animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trial-badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    border: 1px solid var(--border-bright);
    border-radius: 100px;
    background: var(--cyan-faint);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: var(--cyan);
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    animation: fadeUp 0.9s 0.1s ease both;
}

.trial-badge-hero:hover {
    background: rgba(0,255,231,0.12);
    box-shadow: 0 0 20px var(--cyan-glow);
}

.trial-icon {
    font-size: 1rem;
}

h1 {
    animation: fadeUp 0.9s 0.2s ease both;
    text-shadow: 0 0 40px rgba(0,255,231,0.2);
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0,255,231,0.4));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
    animation: fadeUp 0.9s 0.3s ease both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    animation: fadeUp 0.9s 0.4s ease both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeUp 0.9s 0.5s ease both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.check-icon {
    color: var(--cyan);
    font-size: 1rem;
}

/* ============================================================
           BUTTONS
           ============================================================ */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.primary-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 0;
}

.primary-btn:hover::before {
    transform: translateX(0);
}
.primary-btn:hover {
    color: var(--bg-void);
    box-shadow: 0 0 30px var(--cyan-glow);
}
.primary-btn span, .primary-btn {
    z-index: 1;
    position: relative;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.secondary-btn:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    box-shadow: 0 0 20px var(--magenta-glow);
}

/* ============================================================
           SECTION BASE
           ============================================================ */

.section {
    padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 5rem);
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 1rem auto 3rem;
}

/* Section separator line */
.section + .section,
.section + section,
section + .section {
    border-top: 1px solid rgba(0,255,231,0.05);
}

/* ============================================================
           FEATURED PLATFORMS SECTION
           ============================================================ */

.featured-items {
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 3rem);
    text-align: center;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.featured-items::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,255,231,0.02), transparent);
}

.featured-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 1.5rem;
}

.featured-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    transition: all var(--transition);
    min-width: 90px;
}

.featured-item:hover {
    border-color: var(--border-bright);
    box-shadow: 0 0 16px var(--cyan-glow);
    transform: translateY(-2px);
}

.featured-item img {
    max-height: 28px;
    max-width: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7);
    transition: filter var(--transition);
}

.featured-item:hover img {
    filter: grayscale(0) brightness(1.1);
}

/* ============================================================
           TWO COLUMN LAYOUTS
           ============================================================ */

.two-column {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    text-align: left;
    margin-top: 3rem;
}

.column-text {
    flex: 1 1 300px;
}

.column-text h3 {
    margin-bottom: 1.2rem;
}
.column-text p {
    margin-bottom: 1rem;
}

.column-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.column-text ul li {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.column-image {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

.column-image img {
    width: 100%;
    max-width: 340px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    box-shadow: 0 0 40px rgba(0,255,231,0.08), 0 20px 60px rgba(0,0,0,0.5);
    filter: brightness(0.9) saturate(0.8);
    transition: filter var(--transition), box-shadow var(--transition);
}

.column-image img:hover {
    filter: brightness(1) saturate(1);
    box-shadow: 0 0 60px rgba(0,255,231,0.15), 0 20px 60px rgba(0,0,0,0.5);
}

/* ============================================================
           STATS
           ============================================================ */

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.stats-container.centered {
    justify-content: center;
}

.stat-card {
    flex: 1 1 180px;
    max-width: 220px;
    padding: 1.8rem 1.5rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

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

.stat-card:hover {
    border-color: var(--border-bright);
    background: var(--bg-card-hover);
}
.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
    letter-spacing: 0.05em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    line-height: 1.5;
}

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

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
}

.feature-card {
    flex: 1 1 260px;
    max-width: 340px;
    padding: 2rem 1.8rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: all var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card::after {
    content: attr(data-index);
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-ghost);
    letter-spacing: 0.1em;
}

.feature-card:hover {
    border-color: rgba(0,255,231,0.3);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 0 20px var(--cyan-faint);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h4 {
    margin-bottom: 0.8rem;
    color: var(--cyan);
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
           PRICING SECTION
           ============================================================ */

.pricing-section {
    background: var(--bg-deep);
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
}

.pricing-card {
    flex: 1 1 240px;
    max-width: 320px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
}

.pricing-card:hover {
    border-color: rgba(0,255,231,0.25);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--cyan-faint);
}

.pricing-card.featured {
    border-color: var(--cyan);
    background: var(--bg-card-hover);
    box-shadow: 0 0 40px var(--cyan-glow);
}

.pricing-card.featured::before {
    background: var(--cyan);
    height: 2px;
}

.pricing-card.featured::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--cyan);
    color: var(--bg-void);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.25rem 3rem;
    transform: rotate(45deg);
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.pricing-card.featured .pricing-price {
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.pricing-features li {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-features li::before {
    content: '▸';
    color: var(--cyan);
    font-size: 0.7rem;
}

/* ============================================================
           TESTIMONIALS
           ============================================================ */

.testimonial-section {
    background: var(--bg-void);
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.testimonial-card {
    flex: 1 1 280px;
    max-width: 380px;
    padding: 2.2rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    text-align: left;
    position: relative;
    transition: all var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--cyan);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    border-color: rgba(0,255,231,0.2);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
}

/* ============================================================
           CTA BANNER
           ============================================================ */

.cta-banner {
    padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
    background: var(--bg-deep);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse, rgba(0,255,231,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Decorative corner brackets on CTA */
.cta-banner::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-bottom: 2px solid var(--cyan);
    border-right: 2px solid var(--cyan);
    opacity: 0.3;
}

.cta-banner h2 {
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(0,255,231,0.2);
}

.cta-banner p {
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
           FOOTER
           ============================================================ */

footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1 1 140px;
}

.footer-column h4 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-card);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-card);
}

.copyright_text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-ghost);
    letter-spacing: 0.08em;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ============================================================
           UTILITY CLASSES
           ============================================================ */

.glitch-text {
    position: relative;
}

/* ── Pulse animation for badge ── */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0,255,231,0.3);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0,255,231,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,255,231,0);
    }
}

.trial-badge-hero {
    animation: fadeUp 0.9s 0.1s ease both, pulse-ring 3s 1.5s ease infinite;
}

/* ── Floating animation for stat cards ── */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.stat-card:nth-child(1) {
    animation: float 5s 0s ease-in-out infinite;
}
.stat-card:nth-child(2) {
    animation: float 5s 0.8s ease-in-out infinite;
}
.stat-card:nth-child(3) {
    animation: float 5s 1.6s ease-in-out infinite;
}
.stat-card:nth-child(4) {
    animation: float 5s 2.4s ease-in-out infinite;
}

/* ── Typing cursor on h2 headings ── */
.section > h2::after {
    content: '_';
    color: var(--cyan);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* ── Number counter animation ── */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.6s ease both;
}

/* ============================================================
           SCROLLBAR
           ============================================================ */

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-dim);
}

/* ============================================================
           SELECTION
           ============================================================ */

::selection {
    background: var(--cyan);
    color: var(--bg-void);
}

/* ============================================================
           ANALYTICS SECTION BG OVERRIDE
           ============================================================ */

section[style*="background"] {
    background: linear-gradient(135deg,
    rgba(0,255,231,0.04) 0%,
    rgba(255,0,168,0.04) 100%) !important;
}
/* ============================================================
   NAVBAR — DYNAMIC ELEMENTS
   Generated by main.js → init()
   Structure: nav[name="navbar"] > section.nav-container.nav_menu > a.logo + ul > li > a.menu-link
   ============================================================ */

/* The inner container that holds logo + menu links */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

/* Logo wordmark */
a.logo {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color var(--transition);
    /* Subtle cyan glow on the wordmark */
    text-shadow: 0 0 20px rgba(0, 255, 231, 0.25);
}

a.logo::before {
    /* Ghost "ghost bracket" prefix */
    content: '// ';
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.85em;
    opacity: 0.7;
}

a.logo:hover {
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-glow);
}

/* The UL that holds nav page links — sits to the right of logo */
.nav-container > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each nav LI */
.nav-container > ul > li {
    display: flex;
    align-items: center;
}

/* Nav page links */
a.menu-link {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

/* Underline slide-in on hover */
a.menu-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.85rem;
    right: 0.85rem;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

a.menu-link:hover {
    color: var(--cyan);
    background: var(--cyan-faint);
}

a.menu-link:hover::after {
    transform: scaleX(1);
}

/* Active/current page state — can be toggled by JS with class "active" */
a.menu-link.active {
    color: var(--cyan);
    background: var(--cyan-faint);
    border: 1px solid var(--border-card);
}

a.menu-link.active::after {
    transform: scaleX(1);
}

/* ============================================================
   FOOTER MENU LISTS
   Generated by main.js → initMenus()
   Each .footer-column gets a ul > li > a.menu-link
   ============================================================ */

/* The UL inside each footer column */
.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    display: flex;
    align-items: center;
}

/* Footer menu links — override the global a.menu-link for footer context */
.footer-column a.menu-link {
    padding: 0.2rem 0;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    background: transparent;
    border-radius: 0;
    text-transform: capitalize;
}

/* Subtle left border reveal on hover */
.footer-column a.menu-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--cyan);
    vertical-align: middle;
    margin-right: 0;
    transition: width var(--transition), margin-right var(--transition);
}

.footer-column a.menu-link::after {
    display: none; /* hide the underline from the nav version */
}

.footer-column a.menu-link:hover {
    color: var(--cyan);
    background: transparent;
}

.footer-column a.menu-link:hover::before {
    width: 10px;
    margin-right: 6px;
}

/* ============================================================
   SOCIAL LINKS
   Generated by main.js → initSocials()
   Each social becomes: a.social-link[title][href][innerHTML=<svg>]
   ============================================================ */

.footer-socials,
.social_media {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

a.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Sweep fill on hover */
a.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan-faint);
    transform: translateY(101%);
    transition: transform 0.25s ease;
}

a.social-link:hover {
    border-color: var(--border-bright);
    color: var(--cyan);
    box-shadow: 0 0 16px var(--cyan-glow);
}

a.social-link:hover::before {
    transform: translateY(0);
}

/* SVG icon sizing inside social links */
a.social-link svg {
    width: 14px;
    height: 14px;
    position: relative; /* above the ::before sweep */
    z-index: 1;
    fill: currentColor;
    transition: filter var(--transition);
}

/* Override the white fill baked into X/Instagram SVGs with currentColor on hover */
a.social-link:hover svg path {
    fill: var(--cyan);
}

/* Facebook icon keeps its brand blue — only dim it at rest */
a.social-link svg g path:first-child {
    /* background circle stays brand-colored */
    opacity: 0.85;
    transition: opacity var(--transition);
}

a.social-link:hover svg g path:first-child {
    opacity: 1;
}

.copyright_text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-ghost);
    letter-spacing: 0.08em;
    /* Subtle blinking cursor at end — terminal feel */
    position: relative;
}

.copyright_text::after {
    content: ' _';
    color: var(--cyan);
    opacity: 0.4;
    animation: blink 1.5s step-end infinite;
}

/* When links wrap, give logo a bottom separator */
.nav-container {
    flex-wrap: wrap;
    row-gap: 0;
}

/* Ensure the UL never overflows the nav height on small screens */
.nav-container > ul {
    flex: 1 1 auto;
    justify-content: flex-end;
}

/* On very small screens the logo takes full width and links wrap below */
a.logo {
    flex-shrink: 0;
}


/* --- */
/* ============================================================
   DMCA / FORM PAGES — div.div-container, div.div-box
   ============================================================ */

.div-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
}

.div-box {
    width: 100%;
    max-width: 860px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    overflow: hidden;
}

/* Top cyan line on box */
.div-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.div-box h2 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

/* .subtitle — used in DMCA as descriptive paragraphs */
.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.subtitle.small { font-size: 0.82rem; color: var(--text-muted); }


/* ============================================================
   FORMS — .form, .auth-form
   (dmca.html, register.html, login.html)
   ============================================================ */

.form,
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 1.5rem;
}

/* Section headings inside form (DMCA) */
.form .section-title,
h3.section-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 1.5rem 0 0.75rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid var(--border-card);
}

/* form-group wraps rows/groups */
.form-group {
    margin-bottom: 0;
    padding: 0.75rem 0;
}

/* form-row = horizontal layout within a group */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Individual input wrapper */
span.input {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 200px;
    position: relative;
}

span.input.centered { align-items: stretch; }

/* Labels */
label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.15rem;
}

/* Text / email / url / password inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder {
    color: var(--text-ghost);
    font-style: italic;
    font-size: 0.85rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: var(--cyan-dim);
    box-shadow: 0 0 0 3px rgba(0, 255, 231, 0.08), 0 0 16px rgba(0, 255, 231, 0.06);
    background: var(--bg-card);
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
    border-color: rgba(0, 255, 231, 0.2);
}

/* Invalid / error state */
input:invalid:not(:placeholder-shown),
select:invalid:not([value=""]) {
    border-color: rgba(255, 0, 168, 0.4);
}

/* Full-width modifier */
.full-width { width: 100%; }

/* Select dropdown */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300ffe7' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background: var(--bg-panel);
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Password field — relative container for toggle button */
span.input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    bottom: 0.6rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-muted);
    padding: 0.2rem;
    line-height: 1;
    transition: color var(--transition);
    z-index: 2;
}

.password-toggle:hover { color: var(--cyan); }

/* Input that has a password toggle — add right padding */
input[type="password"],
input[name="password"] {
    padding-right: 2.8rem;
}


/* ============================================================
   CHECKBOX GROUP — DMCA legal certifications
   ============================================================ */

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.5rem 0 1.5rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    background: var(--bg-panel);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.checkbox-container:hover {
    border-color: rgba(0, 255, 231, 0.2);
    background: rgba(0, 255, 231, 0.02);
}

.checkbox-container:has(input:checked) {
    border-color: rgba(0, 255, 231, 0.35);
    background: rgba(0, 255, 231, 0.04);
}

/* Custom checkbox */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--bg-panel);
    cursor: pointer;
    position: relative;
    transition: all var(--transition);
}

input[type="checkbox"]:checked {
    background: var(--cyan);
    border-color: var(--cyan);
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px; left: 5px;
    width: 5px; height: 9px;
    border: 2px solid var(--bg-void);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 231, 0.15);
}

.checkbox-container label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
}


/* ============================================================
   FORM SUBMIT BUTTON — .form-submit
   ============================================================ */

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem 2rem;
    background: transparent;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.form-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--cyan);
    transform: translateX(-101%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.form-submit:hover::before { transform: translateX(0); }
.form-submit:hover { color: var(--bg-void); box-shadow: 0 0 30px var(--cyan-glow); }

.form-submit span,
.form-submit { position: relative; z-index: 1; }

.form-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}


/* ============================================================
   RESPONSE MESSAGE & NOTIFICATIONS
   Used by auth.js and dmca.js
   .response-message > span.notification.error / .success
   ============================================================ */

.response-message {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    min-height: 0;
}

span.notification {
    display: block;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    line-height: 1.5;
    animation: fadeUp 0.3s ease both;
    border-left: 3px solid;
}

span.notification.error {
    background: rgba(255, 0, 168, 0.08);
    border-color: var(--magenta-dim);
    color: #ff6ec7;
}

span.notification.success {
    background: rgba(0, 255, 231, 0.06);
    border-color: var(--cyan-dim);
    color: var(--cyan);
}

span.notification.warning {
    background: rgba(255, 215, 0, 0.06);
    border-color: var(--gold-dim);
    color: var(--gold);
}


/* ============================================================
   AUTH PAGES — login.html & register.html
   .auth-container, .auth-box, .auth-form, .auth-link,
   .auth-subtitle, .loader_box
   ============================================================ */

.auth-container {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
    position: relative;
}

/* Background radial pulse behind auth box */
.auth-container::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 50vh;
    background: radial-gradient(ellipse, rgba(0,255,231,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.auth-box {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3rem);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.6s ease both;
}

/* Top glow line on auth box */
.auth-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

/* Corner bracket decoration on auth box */
.auth-box::after {
    content: '';
    position: absolute;
    bottom: 1.5rem; right: 1.5rem;
    width: 30px; height: 30px;
    border-bottom: 1px solid var(--border-card);
    border-right: 1px solid var(--border-card);
    opacity: 0.5;
}

.auth-box h2 {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.auth-subtitle {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ============================================================
   ABOUT PAGE — .column-image as emoji/text placeholder
   When column-image holds text/emoji instead of <img>
   ============================================================ */

.column-image:not(:has(img)) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    border: 1px dashed var(--border-card);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--text-ghost);
    letter-spacing: 0.05em;
    font-family: var(--font-display);
    flex: 1 1 280px;
}


/* ============================================================
   PRICING PAGE — feature list items with ✓ / ✗ prefixes
   (inline in pricing.html as li text content)
   ============================================================ */

/* Override the ::before bullet for pricing-features that
   already encode ✓ / ✗ as text — hide the CSS bullet */
.pricing-features li:has(✗)::before,
.pricing-features li:has(✗) {
    color: var(--text-ghost);
}

.pricing-features li:is(:has(✓)) {
    color: var(--text-secondary);
}

.pricing-features li:is(:has(✗)) {
    color: var(--text-ghost);
    text-decoration: line-through;
    text-decoration-color: var(--text-ghost);
}


/* ============================================================
   HERO PAGE-SPECIFIC TWEAKS
   (legal / about pages have a smaller hero with no buttons)
   ============================================================ */

/* Legal pages hero — strip min-height slightly for doc pages */
.hero:has(h1:only-of-type):not(:has(.hero-buttons)) {
    min-height: 40vh;
    padding-top: calc(64px + 3rem);
}

/* Effective date sub-text in legal hero */
.hero-subtitle:has(+ *:not(.hero-buttons)) {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--text-ghost);
}


/* ============================================================
   SECTION NAME ATTRIBUTE (blog page uses name="blog")
   — no visual change needed; keeping it from affecting layout
   ============================================================ */

section[name] { display: block; }


/* ============================================================
   INLINE STYLE OVERRIDES — clean up scattered inline styles
   that conflict with the theme (color: #b0b0b0, border-top, etc.)
   ============================================================ */

/* Pricing "Perfect for …" sub-text */
.pricing-card > p[style] {
    color: var(--text-muted) !important;
    font-family: var(--font-mono) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 1.2rem !important;
}

/* Pricing /month span */
.pricing-price span[style] {
    font-family: var(--font-mono) !important;
    color: var(--text-muted) !important;
}

/* Register terms border-top */
.auth-link[style*="border-top"] {
    border-top: 1px solid var(--border-card) !important;
    margin-top: 1.5rem !important;
    padding-top: 1.2rem !important;
}


/* ============================================================
   RESPONSIVE FLEX ADJUSTMENTS (no media queries)
   All use flex-wrap; these tweak min widths
   ============================================================ */

/* Auth box stays centred on wide screens */
.auth-container { flex-wrap: wrap; }

/* On narrow viewports, form-row inside auth stacks */
.auth-form .form-group { width: 100%; }

/* DMCA row inputs stack on narrow screens */
.form .form-row { flex-wrap: wrap; }
.form .form-row .input { flex: 1 1 220px; }

/* Blog rows: image becomes smaller on narrow */
.row-image { min-width: 60px; min-height: 60px; }

