/* ===== Vidnomic Landing Page — Premium Dark Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-card: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-purple: #8b5cf6;
    --accent-pink: #d946ef;
    --accent-blue: #3b82f6;
    --gradient-main: linear-gradient(135deg, #8b5cf6, #d946ef);
    --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #3b82f6 100%);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .2s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-card);
    transition: background .3s, box-shadow .3s;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar .logo img {
    height: 36px;
    width: auto;
}

.navbar .logo span {
    font-size: 1.35rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .3s;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-card);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all .3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .3;
    animation: floatOrb 10s ease-in-out infinite;
}

.hero-bg .orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-purple);
    top: -15%;
    left: -10%;
}

.hero-bg .orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-pink);
    bottom: -15%;
    right: -8%;
    animation-delay: 3s;
}

.hero-bg .orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-blue);
    top: 25%;
    right: 15%;
    animation-delay: 6s;
}

.hero-bg .orb-4 {
    width: 250px;
    height: 250px;
    background: #06b6d4;
    bottom: 20%;
    left: 10%;
    animation-delay: 4s;
    opacity: .2;
}

.hero-bg .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

#heroParticles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    margin-bottom: 28px;
    animation: fadeInUp .6s ease both;
    backdrop-filter: blur(10px);
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px #22c55e;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    animation: fadeInUp .6s ease .1s both;
}

.hero h1 .gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.75;
    animation: fadeInUp .6s ease .2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp .6s ease .3s both;
}

/* Hero floating tool badges */
.hero-floating-badges {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: floatBadge 7s ease-in-out infinite;
}

.float-badge .badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.float-badge .badge-icon.purple {
    background: rgba(139, 92, 246, 0.2);
}

.float-badge .badge-icon.pink {
    background: rgba(217, 70, 239, 0.2);
}

.float-badge .badge-icon.blue {
    background: rgba(59, 130, 246, 0.2);
}

.float-badge .badge-icon.cyan {
    background: rgba(6, 182, 212, 0.2);
}

.fb-1 {
    top: 18%;
    left: 5%;
    animation-delay: 0s;
}

.fb-2 {
    top: 25%;
    right: 4%;
    animation-delay: 1.5s;
}

.fb-3 {
    bottom: 28%;
    left: 3%;
    animation-delay: 3s;
}

.fb-4 {
    bottom: 22%;
    right: 6%;
    animation-delay: 4.5s;
}

.fb-5 {
    top: 40%;
    left: 8%;
    animation-delay: 2s;
}

.fb-6 {
    top: 50%;
    right: 3%;
    animation-delay: 5s;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: .7;
    }

    50% {
        transform: translateY(-18px) rotate(2deg);
        opacity: 1;
    }
}

/* Hero showcase preview */
.hero-showcase {
    margin-top: 56px;
    position: relative;
    animation: fadeInUp .8s ease .5s both;
}

.showcase-window {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 80px rgba(139, 92, 246, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.showcase-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.showcase-dot.red {
    background: #ff5f57;
}

.showcase-dot.yellow {
    background: #febc2e;
}

.showcase-dot.green {
    background: #28c840;
}

.showcase-url {
    flex: 1;
    margin-left: 12px;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-size: .75rem;
    color: var(--text-muted);
}

.showcase-body {
    padding: 32px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 180px;
    align-items: center;
}

.showcase-item {
    width: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.2);
}

.showcase-item-visual {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.showcase-item-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(217, 70, 239, 0.15));
}

.showcase-item-label {
    padding: 8px 4px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Showcase glow */
.showcase-window::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--gradient-main);
    filter: blur(1px);
}

.showcase-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 120px;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15), transparent 70%);
    pointer-events: none;
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    margin-top: 48px;
    animation: fadeInUp .6s ease .7s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 24px;
    position: relative;
}

.section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}

.features-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 32px;
    transition: all .4s cubic-bezier(.25, .8, .25, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 255, 255, 0.05);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(217, 70, 239, 0.15));
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== WHY VIDNOMIC ===== */
.diff-card {
    text-align: center;
    padding: 40px 24px;
}

.diff-card .diff-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

/* ===== HOW IT WORKS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-pink), transparent);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 1;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    font-size: .9rem;
    color: var(--text-secondary);
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color .3s;
}

.faq-item.active {
    border-color: rgba(139, 92, 246, 0.25);
}

.faq-q {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.faq-q .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
    font-size: 1.2rem;
    transition: transform .3s;
}

.faq-item.active .faq-q .icon {
    transform: rotate(45deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.faq-a-inner {
    padding: 0 24px 20px;
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-a {
    max-height: 300px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all .4s;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: rgba(139, 92, 246, 0.35);
    background: rgba(139, 92, 246, 0.06);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.1);
    transform: scale(1.04);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
}

.pricing-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--gradient-main);
    color: #fff;
    margin-bottom: 12px;
}

.pricing-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
}

.pricing-period {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-features {
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 6px 0;
    font-size: .9rem;
    color: var(--text-secondary);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

/* ===== LEGAL PAGES ===== */

/* -- Legal page wrapper -- */
.legal-wrap {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.legal-wrap .legal-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* -- Header block -- */
.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .35rem;
}

.legal-header .legal-meta {
    font-size: .8rem;
    color: rgba(255,255,255,.3);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.legal-header .legal-intro {
    margin-top: 1.25rem;
    font-size: .95rem;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    max-width: 620px;
}

/* -- Section blocks -- */
.legal-body {
    counter-reset: legal-section;
}

.legal-section {
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .85rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}

.legal-section h2 .sec-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.45);
}

.legal-section h3 {
    font-size: .95rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    margin-top: 1.25rem;
    margin-bottom: .5rem;
}

.legal-section p {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    line-height: 1.8;
    margin-bottom: .65rem;
}

.legal-section ul {
    margin: .5rem 0 .75rem 0;
    padding: 0;
}

.legal-section ul li {
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    padding: .25rem 0 .25rem 1.15rem;
    position: relative;
    list-style: none;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .7rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}

.legal-section a {
    color: var(--accent-purple);
    text-decoration: none;
    border-bottom: 1px solid rgba(139,92,246,.25);
    transition: color .2s, border-color .2s;
}

.legal-section a:hover {
    color: var(--accent-pink);
    border-color: rgba(217,70,239,.4);
}

/* -- Highlighted section (YouTube, Security, Refund cards) -- */
.legal-section.legal-highlight {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: .5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.legal-section.legal-highlight-yt {
    border-left: 3px solid #f00;
}

.legal-section.legal-highlight-green {
    border-left: 3px solid #22c55e;
}

.legal-section.legal-highlight-brand {
    border-left: 3px solid var(--accent-purple);
}

.legal-section.legal-highlight h2 .sec-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.legal-section.legal-highlight ul li::before {
    background: rgba(255,255,255,.3);
}

/* -- Contact card -- */
.legal-contact-card {
    display: inline-flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .75rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
}

.legal-contact-card span {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}

.legal-contact-card strong {
    color: #fff;
}

/* -- Legacy fallback (old classes still in templates) -- */
.legal-page {
    padding: 120px 24px 80px;
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page .legal-updated {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ===== CTA ===== */
.cta-section {
    text-align: center;
    padding: 100px 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

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

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-card);
    padding: 64px 24px 32px;
    background: var(--bg-secondary);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: .9rem;
    margin-top: 12px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: .9rem;
    padding: 4px 0;
    transition: color .2s;
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-card);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes floatOrb {

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

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

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

    75% {
        transform: translate(30px, 10px) scale(1.03);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s cubic-bezier(.25, .8, .25, 1);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-6px);
    }

    .hero-floating-badges {
        display: none;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-links.active,
    .nav-actions.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-floating-badges {
        display: none;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat .stat-number {
        font-size: 1.4rem;
    }

    .showcase-body {
        padding: 16px;
    }

    .showcase-item {
        width: 90px;
    }

    .showcase-item-visual {
        height: 60px;
        font-size: 1.5rem;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links.active {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }

    .nav-actions.active {
        order: 4;
        width: 100%;
        justify-content: center;
        padding-bottom: 8px;
    }

    .features-grid,
    .features-grid-2,
    .features-grid-4,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps::before {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}