:root {
    --clr-bg-dark: #09090b;
    --clr-bg-surface: #18181b;
    --clr-bg-surface-light: #27272a;

    --clr-primary: #7c3bed;
    --clr-primary-light: #8b5cf6;
    --clr-primary-glow: rgba(124, 59, 237, 0.4);

    --clr-text-white: #fafafa;
    --clr-silver: #a1a1aa;
    --clr-silver-light: #d4d4d8;

    --clr-cyber-blue: #2bd4bd;
    /* Updated to Replit's exact cyan gradient color */

    --font-primary: 'Inter', system-ui, sans-serif;
    --font-heading: 'Space Grotesk', system-ui, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 40px;
    width: 40px;
    object-fit: cover;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-silver-light);
    padding-bottom: 0.3rem;
    position: relative;
}

.nav-link:hover {
    color: var(--clr-text-white);
}

.nav-item.active .nav-link {
    color: var(--clr-primary);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--clr-primary);
}

/* Buttons */
.btn-primary {
    background-color: var(--clr-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--clr-primary-glow);
}

.btn-primary:hover {
    background-color: var(--clr-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text-white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--clr-text-white);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 1rem 4rem;
    position: relative;
    overflow: hidden;
}

/* Glowing background behind hero */
.hero::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 59, 237, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-bull-container {
    margin-bottom: 2rem;
    position: relative;
}

.hero-bull-img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 40px rgba(124, 59, 237, 0.2);
    /* Replit logo has a specific inner glow/border look */
    padding: 4px;
    background: radial-gradient(circle, rgba(124, 59, 237, 0.1) 0%, transparent 70%);
}

.agency-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(124, 59, 237, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--clr-primary-light);
    margin-bottom: 2rem;
    background: rgba(124, 59, 237, 0.05);
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 72px;
    margin-bottom: 1.5rem;
    letter-spacing: -1.8px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #7c3bed, #2bd4bd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background-image: linear-gradient(135deg, rgb(124, 59, 237), rgb(43, 212, 189));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.text-gradient-warm {
    background-image: linear-gradient(135deg, rgb(124, 59, 237), rgb(226, 54, 112));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(124, 59, 237, 0.2);
}

.about-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-silver);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Marquee */
.marquee-container {
    width: 100%;
    background-color: var(--clr-bg-surface);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    margin: 0 2rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--clr-silver-light);
}

.marquee-item span {
    color: var(--clr-primary);
    margin-right: 10px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Common Section */
.section-padding {
    padding: 6rem 0;
}

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

.section-title-wrap h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title-wrap p {
    font-size: 1.1rem;
    color: var(--clr-silver);
    max-width: 600px;
    margin: 0 auto;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--clr-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--clr-primary-light);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--clr-text-white);
}

/* Pricing Section */
.pricing-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.pricing-title-wrap {
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-title-wrap h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-title-wrap p {
    color: var(--clr-silver);
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--clr-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: rgba(124, 59, 237, 0.5);
    background: rgba(124, 59, 237, 0.05);
    transform: translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-primary);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-badge.cyan {
    background: var(--clr-cyber-blue);
    color: var(--clr-bg-dark);
}

.pricing-card h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-desc {
    text-align: center;
    color: var(--clr-silver);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.pricing-price {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--clr-silver);
    font-weight: 400;
    margin-left: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.8rem;
    color: var(--clr-silver-light);
    font-size: 0.85rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-cyber-blue);
    font-weight: bold;
}

.pricing-card.popular .pricing-features li::before {
    color: var(--clr-primary-light);
}

.btn-pricing {
    width: 100%;
    padding: 0.75rem;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text-white);
    background: transparent;
}

.btn-pricing:hover {
    background: rgba(255, 255, 255, 0.05);
}

.pricing-card.popular .btn-pricing {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
}

.pricing-card.popular .btn-pricing:hover {
    background: var(--clr-primary-light);
}

/* Add-ons Section */
.addons-section {
    max-width: 900px;
    margin: 4rem auto 6rem;
}

.addons-title {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.addon-card {
    background: var(--clr-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.addon-card span.name {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.addon-card span.name::before {
    content: '⚡';
    font-size: 0.8rem;
    color: var(--clr-primary-light);
}

.addon-card span.price {
    color: var(--clr-primary-light);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: rgba(124, 59, 237, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto 0;
}

.process-card {
    background: var(--clr-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.process-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: var(--font-heading);
}

.process-icon {
    width: 40px;
    height: 40px;
    background: rgba(124, 59, 237, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary-light);
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.85rem;
    color: var(--clr-silver);
    line-height: 1.6;
}

/* Custom CTA */
.custom-cta-section {
    padding: 6rem 0;
    text-align: center;
}

.custom-cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.custom-cta-section p {
    color: var(--clr-silver);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Home Page Specific Sections */
.bg-grid-pattern {
    background-image:
        linear-gradient(to right, rgba(124, 59, 237, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(124, 59, 237, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.home-split-section {
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-text-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.split-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(124, 59, 237, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary-light);
    flex-shrink: 0;
}

/* Dashboard UI */
.dashboard-card {
    background: var(--clr-bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 59, 237, 0.1) inset;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--clr-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 59, 237, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(124, 59, 237, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(124, 59, 237, 0);
    }
}

.progress-item {
    margin-bottom: 1.5rem;
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.progress-label-row .percent {
    font-weight: 700;
    font-family: var(--font-heading);
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

/* Home Services Grid Override */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {

    .pricing-grid,
    .home-split-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {

    .pricing-grid,
    .addons-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background-color: var(--clr-bg-surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--clr-silver);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--clr-text-white);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: var(--clr-silver);
}

.footer ul li a:hover {
    color: var(--clr-primary-light);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--clr-silver);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--clr-bg-surface);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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