:root {
    --bg-base: #0a0510; /* Deeper purple-black base */
    --bg-surface: rgba(20, 10, 30, 0.6);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --neon-primary: #b53cff; /* More vibrant neon purple */
    --neon-secondary: #00e5ff; /* Cyan */
    --neon-accent: #ff007f; /* Pink/Red accent */
    
    --text-primary: #ffffff;
    --text-secondary: #a8a8b8;
    --text-muted: #6e6e80;
    
    --border-glass: rgba(181, 60, 255, 0.15); /* Purple tinted borders */
    --border-glow: rgba(181, 60, 255, 0.5);
    
    --shadow-neon: 0 0 50px rgba(181, 60, 255, 0.3);
    --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.6);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .brand-text {
    font-family: var(--font-heading);
}

.fw-900 { font-weight: 900; }
.fw-black { font-weight: 900; letter-spacing: -2px; }
.fs-7 { font-size: 0.875rem; }

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--neon-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Dynamic Backgrounds */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(138, 43, 226, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.05), transparent 25%);
    z-index: -2;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}
.orb-primary {
    width: 500px;
    height: 500px;
    background: var(--neon-primary);
    top: -100px;
    right: -100px;
}
.orb-secondary {
    width: 600px;
    height: 600px;
    background: var(--neon-secondary);
    bottom: -200px;
    left: -200px;
    opacity: 0.3;
}
.orb-tertiary {
    width: 400px;
    height: 400px;
    background: var(--neon-accent);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

/* Glass Navbar */
.glass-nav {
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.brand-logo { height: 32px; }
.brand-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px; }
.badge-pro {
    font-size: 0.6rem;
    background: linear-gradient(90deg, var(--neon-primary), var(--neon-accent));
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: super;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-link:hover { color: #fff; }

/* Buttons */
.btn-glow-primary {
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-primary), #6010b5);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    position: relative;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-glow-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.5);
    color: #fff;
}

.btn-outline-glass {
    display: inline-block;
    background: var(--bg-glass);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.btn-outline-glass:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.badge-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    letter-spacing: -1.5px;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 3rem;
}
.stat-value {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    perspective: 1000px;
}
.hero-mockup-wrapper.enlarged {
    transform: scale(1.15) translateX(5%);
    transform-origin: right center;
}
.hero-mockup-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass), 0 0 80px rgba(138, 43, 226, 0.15);
    transform: rotateY(-10deg) rotateX(5deg) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-visual:hover .hero-mockup-wrapper {
    transform: rotateY(0) rotateX(0) scale(1);
}
.hero-mockup-img {
    width: 100%;
    display: block;
}
.mockup-glare {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: glare 6s infinite;
}
@keyframes glare {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.floating-card {
    position: absolute;
    top: -30px;
    right: -20px;
    z-index: 10;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(20, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Editor Showcase */
.showcase-section { padding: 120px 0; }
.bg-glass-panel {
    background: linear-gradient(145deg, rgba(30, 30, 40, 0.4), rgba(15, 15, 20, 0.6));
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-glass);
}
.showcase-bg-glow {
    position: absolute;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.1), transparent 70%);
    top: 0; left: 0;
    pointer-events: none;
}

.feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}
.feature-row { display: flex; align-items: flex-start; }
.bg-gradient-purple { background: linear-gradient(135deg, var(--neon-primary), #4a00e0); }
.bg-gradient-cyan { background: linear-gradient(135deg, #00c6ff, var(--neon-secondary)); }

.editor-mockup-wrapper {
    position: relative;
    border-radius: 1rem;
    padding: 0.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
    box-shadow: var(--shadow-glass), 0 0 80px rgba(181, 60, 255, 0.15);
    transform: scale(1.1) translateX(5%);
}
.editor-mockup-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.editor-mockup-img { width: 100%; display: block; }
.floating-ui-element {
    position: absolute;
    background: rgba(138, 43, 226, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    pointer-events: none;
}
.ui-top-right { top: 20%; right: -10px; animation: float 4s ease-in-out infinite alternate; }

/* Bento Grid */
.bento-section { padding: 80px 0 60px; }
.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.15);
}
.bento-hero {
    background: linear-gradient(45deg, rgba(15,15,20,0.9), rgba(138, 43, 226, 0.2));
}
.icon-wrap {
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}
.icon-cyan { color: var(--neon-secondary); }
.bento-title { font-size: 2rem; color: #fff; margin-bottom: 1rem; }
.bento-desc { color: var(--text-secondary); line-height: 1.6; }

.bento-glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bento-dark { background: #0a0a0f; }
.bg-dark-accent { background: #12121a; position: relative; }
.abstract-waves {
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
}

/* CTA Section */
.cta-section { padding: 100px 0; position: relative; }
.cta-glow {
    position: absolute;
    width: 100%; height: 50%;
    bottom: 0; left: 0;
    background: linear-gradient(to top, rgba(138, 43, 226, 0.1), transparent);
    z-index: -1;
}
.cta-card {
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(20,20,30,0.6), rgba(10,10,15,0.8));
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
}

/* Footer */
.modern-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
    background: #020203;
}
.glass-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}
.glass-pill:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section { padding: 140px 0 60px; text-align: center; }
    .hero-title { font-size: 3rem; }
    .stats-row { justify-content: center; }
    .floating-card { display: none; }
    .hero-visual { margin-top: 60px; }
}
/* Added at the end of landing.css for responsive mobile menu background */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-radius: 16px;
        border: 1px solid var(--border-glass);
        margin-top: 1rem;
        box-shadow: var(--shadow-glass);
    }
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.contact-glass-card {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.7), rgba(10, 10, 15, 0.9));
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(30px);
    border-radius: 28px;
    padding: 50px;
}

.contact-form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-primary) !important;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-control::placeholder {
    color: var(--text-muted);
}

.contact-form-control:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--neon-secondary) !important;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15) !important;
    outline: none;
}

.contact-form-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.btn-glow-submit {
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-secondary), var(--neon-primary));
    color: #030305;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 229, 255, 0.25);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-glow-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.45);
    color: #030305;
}

.btn-glow-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.status-alert {
    border-radius: 12px;
    font-size: 0.95rem;
    padding: 15px 20px;
    border: 1px solid transparent;
}

.status-alert.alert-success {
    background: rgba(25, 135, 84, 0.15);
    border-color: rgba(25, 135, 84, 0.3);
    color: #75b798;
}

.status-alert.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.3);
    color: #ea868f;
}

/* ── Interface Showcase Section ── */
.interface-showcase-section {
    padding: 100px 0 120px;
    position: relative;
    z-index: 2;
}

/* Badges */
.gallery-badge {
    display: inline-block;
    width: fit-content;          /* never stretch to fill parent flex column */
    background: linear-gradient(135deg, rgba(181, 60, 255, 0.25), rgba(0, 229, 255, 0.15));
    border: 1px solid rgba(181, 60, 255, 0.5);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.gallery-badge--seo {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 140, 255, 0.15));
    border-color: rgba(0, 229, 255, 0.45);
}
.gallery-badge--media {
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(181, 60, 255, 0.15));
    border-color: rgba(255, 0, 127, 0.45);
}

/* Showcase row */
.showcase-row {
    position: relative;
}

/* Image wrapper */
.showcase-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.5s ease;
}
.showcase-img-wrap:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.7);
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Coloured glow halos behind each image */
.showcase-img-glow {
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}
.showcase-img-wrap:hover .showcase-img-glow { opacity: 0.75; }

.glow-purple { background: radial-gradient(ellipse at 50% 50%, rgba(181, 60, 255, 0.6), transparent 70%); }
.glow-cyan   { background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.5),  transparent 70%); }
.glow-pink   { background: radial-gradient(ellipse at 50% 50%, rgba(255, 0, 127, 0.45), transparent 70%); }

/* Text side */
.showcase-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.showcase-heading {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #fff;
    margin: 0.5rem 0 1.25rem;
}

.showcase-desc {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
}

.showcase-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.showcase-features li i {
    font-size: 1rem;
    flex-shrink: 0;
}

/* Thin gradient divider between rows */
.showcase-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(181, 60, 255, 0.3), rgba(0, 229, 255, 0.2), transparent);
    margin: 0 auto;
    max-width: 80%;
}

/* Responsive */
@media (max-width: 991px) {
    .showcase-heading { font-size: 1.9rem; }
    .showcase-text { margin-top: 2rem; }
    .showcase-img-wrap { margin-bottom: 0; }
}

/* ── Row 1 stacked variant ── */
.showcase-stacked {
    width: 100%;
}

/* Full-width image for the stacked row */
.showcase-img-wrap--full {
    width: 100%;
    border-radius: 20px;
    /* Let the glow bleed outside the box */
    overflow: visible;
}
.showcase-img-wrap--full .showcase-img {
    border-radius: 16px;
    width: 100%;
    display: block;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.showcase-img-wrap--full .showcase-img-glow {
    inset: -60px;
    border-radius: 60px;
    filter: blur(80px);
    opacity: 0.45;
}

/* Centred pill-row for the stacked feature list */
.showcase-features--centered {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
}
.showcase-features--centered li {
    justify-content: center;
}

