/*
 * Venus AI Landing Page — Premium SaaS (Stripe / Vercel style)
 * Dark gradient theme, violet/indigo accent. Bootstrap 5 only, no inline styles.
 * Sections: Navbar (logo left, links center, CTA right), Hero (text left, illustration right), Services.
 * Reusable classes, responsive, commented for maintainability.
 */

/* ============================================
   Design tokens (violet/indigo accent, dark theme)
   ============================================ */
:root {
    /* Accent: violet / indigo */
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-muted: rgba(99, 102, 241, 0.15);
    --accent-border: rgba(99, 102, 241, 0.4);
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #7c3aed 100%);
    /* Dark background */
    --dark-bg: #0f0f23;
    --dark-bg-elevated: #18182f;
    --dark-bg-card: #1a1a2e;
    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.65);
    /* Spacing & layout */
    --navbar-height: 72px;
    --section-padding-y: 5rem;
    --container-max: 1140px;
    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.25s var(--ease-out);
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
}

/* ============================================
   Base — landing page only
   ============================================ */
body.landing-page {
    padding-top: var(--navbar-height) !important;
    background: var(--dark-bg);
    color: var(--text-primary);
}

/* ============================================
   Navbar — logo left, links center, CTA right
   ============================================ */
.venus-navbar.navbar,
.landing-page .navbar {
    padding: 0.875rem 0;
    min-height: var(--navbar-height);
    background: rgba(15, 15, 35, 0.9) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
    z-index: 1030;
    transition: var(--transition);
}

.navbar-collapse-landing {
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
}

.navbar-nav-center {
    gap: 0.25rem;
}

.venus-brand .brand-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem !important;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-primary) !important;
    background: var(--accent-muted);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    /* optional spacing */
}


/* Mobile: stack nav */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 64px;
    }

    .navbar-collapse-landing {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .navbar-nav-center {
        margin-bottom: 0;
    }
}

/* ============================================
   Hero — text left, illustration right; typography hierarchy
   ============================================ */
.hero-section {
    min-height: calc(100vh - var(--navbar-height));
    padding: 3rem 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    background: var(--dark-bg);
    background-image: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0f0f23 0%, #18182f 100%);
    background-size: cover;
    background-position: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 0.5rem 0;
}

/* Typography hierarchy: H1 → subheading → body */
.hero-headline {
    color: var(--text-primary);
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-subheading {
    color: var(--accent);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.hero-body {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    margin: 0 0 1.75rem 0;
    max-width: 480px;
}

/* Hero CTAs — primary solid, ghost outline */
.hero-cta {
    gap: 0.75rem;
}

.btn-primary-venus {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: var(--transition);
}

.btn-primary-venus:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
}

.btn-ghost-venus {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    background: transparent;
    border: 1px solid var(--accent-border);
    border-radius: 8px;
    transition: var(--transition);
}

.btn-ghost-venus:hover {
    color: var(--text-primary) !important;
    background: var(--accent-muted);
    border-color: var(--accent);
    transform: translateY(-1px);
}

/* Reusable: any .btn-primary on landing gets premium Venus style */
.landing-page .btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    transition: var(--transition);
}

.landing-page .btn-primary:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
}

/* Hero image column */
.hero-col-img {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    max-width: 100%;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(99, 102, 241, 0.2));
}

/* Hero entrance animations (CSS-only) */
@keyframes heroImageFade {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-hero-img {
    opacity: 0;
    animation: heroImageFade 0.7s var(--ease-out) 0.1s forwards;
}

@keyframes heroFadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-hero {
    opacity: 0;
    animation: heroFadeSlide 0.6s var(--ease-out) forwards;
}

.hero-headline.animate-hero {
    animation-delay: 0.1s;
}

.hero-subheading.animate-hero {
    animation-delay: 0.2s;
}

.hero-body.animate-hero {
    animation-delay: 0.3s;
}

.hero-cta.animate-hero {
    animation-delay: 0.45s;
}

/* Decorative animated pill at bottom center of hero */
.hero-pill-decoration {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 8px;
    background: var(--primary-gradient);
    border-radius: 999px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    animation: heroPillFloat 3s ease-in-out infinite;
}

@keyframes heroPillFloat {

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

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

/* Hero responsive: mobile text first, then image */
@media (max-width: 991.98px) {
    .hero-content-wrapper {
        text-align: center;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    .hero-body {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        width: 100%;
    }

    .hero-col-img {
        margin-top: 1rem;
    }

    .hero-pill-decoration {
        bottom: 1rem;
        width: 100px;
        height: 6px;
    }
}

@media (max-width: 575.98px) {
    .hero-headline {
        font-size: clamp(1.875rem, 8vw, 2.5rem);
    }

    .hero-col-img {
        display: none;
        /* Hide illustration on very small screens to save space */
    }

    .hero-content-wrapper {
        padding-bottom: 2rem;
    }
}


/* ============================================
   Services — 3 cards, premium spacing and hover
   ============================================ */
.services-section {
    background: #fff;
    padding: var(--section-padding-y) 0;
    scroll-margin-top: calc(var(--navbar-height) + 1rem);
}

.section-title {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0f0f23;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-description {
    font-size: 1.0625rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover,
.service-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.15);
}

.service-card:hover::before,
.service-card:focus::before {
    transform: scaleX(1);
}

.service-card:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.service-icon-wrapper {
    margin-bottom: 1.25rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon-ai {
    background: var(--accent-muted);
    color: var(--accent);
}

.service-icon-web {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.service-icon-backend {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f0f23;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.service-description {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.35rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.875rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ============================================
   About section
   ============================================ */
.about-section {
    background: #f8fafc;
    scroll-margin-top: calc(var(--navbar-height) + 1rem);
}

.about-section p {
    color: #0f0f23;
}

.stat-card {
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm) !important;
}

.stat-number {
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

/* ============================================
   Enquire section
   ============================================ */
.enquire-section {
    background: var(--dark-bg);
    background-image: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #18182f 0%, #0f0f23 100%);
    padding: var(--section-padding-y) 0;
    scroll-margin-top: calc(var(--navbar-height) + 1rem);
}

.enquire-section .section-title {
    color: var(--text-primary);
}

.enquire-section .section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.enquire-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.enquire-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    opacity: 0.9;
}

.enquire-form-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--accent-border);
    border-radius: 12px;
    padding: 2rem;
}

.enquire-form-card .form-label {
    color: var(--text-secondary);
}

.enquire-form-card .form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    border-radius: 8px;
}

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

.enquire-form-card .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent);
    color: var(--text-primary);
}

.enquire-form-card .btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    font-weight: 600;
}

.enquire-form-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

@media (max-width: 991.98px) {
    .enquire-section .row.align-items-center>[class*="col-lg-3"] {
        max-width: 50%;
        flex: 0 0 50%;
    }
}

@media (max-width: 767.98px) {
    .enquire-section {
        padding: 3rem 0;
    }

    .enquire-section .row.align-items-center>[class*="col-lg-3"] {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer-section {
    background: var(--dark-bg) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.footer-section h5,
.footer-section h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section .text-muted,
.footer-section small {
    color: var(--text-secondary) !important;
}

.footer-section a {
    color: var(--text-secondary) !important;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--text-primary) !important;
}

/* ============================================
   Responsive — section padding and typography
   ============================================ */
@media (max-width: 767.98px) {
    :root {
        --section-padding-y: 3.5rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-primary-venus,
    .hero-cta .btn-ghost-venus {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .service-card {
        padding: 1.25rem;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

a:focus-visible,
button:focus-visible,
.service-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-contrast: high) {
    .service-card {
        border-width: 2px;
        border-color: #0f0f23;
    }

    .hero-headline,
    .section-title {
        color: #0f0f23;
    }
}