:root {
    --bg-body: #f5f7fb;
    --bg-alt: #ffffff;
    --primary: #6758ff;
    --primary-soft: #eef0ff;
    --accent: #00c6b7;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-soft: #e5e7eb;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --transition: all 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at top, #f0f4ff 0, #f5f7fb 40%, #edf3ff 100%);
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
}

/* Layout helpers */

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fbff 0%, #ffffff 100%);
}

/* Cards */

.card {
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
}

/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

/* Shrink on scroll */
.site-header.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom-color: #d1d5db;
}

/* Logo */

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-full {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Main nav */

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Header button */

.btn-header {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #8f7bff);
    color: #ffffff !important;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 14px 35px rgba(103, 88, 255, 0.4);
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile nav menu */

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(226,232,240,0.95);
    background: #ffffff;
}

.mobile-nav a {
    padding: 0.5rem 0;
    font-size: 0.96rem;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav a:last-child {
    border-bottom: none;
    margin-top: 0.4rem;
}

/* ================= HERO ================= */

.hero {
    padding: 4.5rem 0 4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.8);
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 3.1vw, 2.9rem);
    line-height: 1.08;
}

.hero-subtitle {
    margin: 0 0 1.7rem;
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 33rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.9rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.meta-value {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero visual */

.hero-visual {
    padding: 1rem;
    background: radial-gradient(circle at top left, #f0f4ff 0, #ffffff 60%);
}

.hero-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
    border-radius: 14px;
    background: #020617;
    color: #e5e7eb;
}

.hero-chat-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.avatar-circle.small {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
}

.chat-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.chat-status {
    font-size: 0.75rem;
    color: #9ca3af;
}

.hero-chat-actions .dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #9ca3af;
    display: inline-block;
    margin-left: 3px;
}

.hero-chat-body {
    background: #020617;
    border-radius: 16px;
    padding: 0.9rem;
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.chat-bubble {
    max-width: 85%;
    padding: 0.55rem 0.85rem;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.4;
    position: relative;
}

.chat-bubble.incoming {
    background: #111827;
    color: #e5e7eb;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-bubble.outgoing {
    background: linear-gradient(135deg, var(--primary), #8f7bff);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.time {
    display: inline-flex;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8f7bff);
    color: #ffffff;
    box-shadow: 0 14px 35px rgba(103, 88, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(103, 88, 255, 0.6);
}

.btn-ghost {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text-main);
}

.btn-ghost:hover {
    background: #ffffff;
}

.w-100 {
    width: 100%;
}

/* ================= SECTION HEADING ================= */

.section-heading {
    max-width: 640px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 0.7rem;
    font-size: 1.7rem;
}

.section-heading p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.96rem;
}

/* ================= GRIDS ================= */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.8rem;
}

.info-card {
    padding: 1.6rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15,23,42,0.04);
}

.info-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.info-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Two-column */

.two-column {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
    gap: 3rem;
    align-items: center;
}

/* Steps list */

.steps-list {
    margin: 1.4rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.94rem;
}

/* Screen mockup */

.screen-card {
    display: grid;
    grid-template-columns: 240px minmax(0,1fr);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #ffffff;
}

.screen-sidebar {
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
}

.sidebar-header {
    padding: 0.9rem 0.9rem 0.6rem;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.sidebar-status {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.sidebar-search {
    padding: 0 0.9rem 0.7rem;
}

.sidebar-search input {
    width: 100%;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

.sidebar-list {
    border-top: 1px dashed #e5e7eb;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
}

.sidebar-item.active {
    background: #eef2ff;
}

.sidebar-text {
    flex: 1;
}

.sidebar-text .name {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.sidebar-text .preview {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.badge-pill {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    background: var(--primary);
    color: #ffffff;
}

.screen-chat-header {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.screen-chat-body {
    padding: 0.9rem 1rem;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.screen-chat-footer {
    padding: 0.7rem 1rem;
    border-top: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 0.5rem;
    background: #ffffff;
}

.screen-chat-footer input {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
}

.screen-chat-footer button {
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
}

/* Features grid */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem 1.4rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: #ffffff;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Pricing / use cases */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1.6rem;
    margin-bottom: 2.5rem;
}

.pricing-card {
    padding: 1.6rem 1.4rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: #ffffff;
    position: relative;
}

.pricing-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.pricing-card p {
    margin: 0 0 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-card .list-check {
    margin-top: 0.7rem;
}

.pricing-featured {
    border-color: rgba(103,88,255,0.7);
    box-shadow: var(--shadow-soft);
}

.pricing-featured .tag {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: var(--primary-soft);
    color: var(--primary);
}

/* Check list */

.list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-check li {
    padding-left: 1.3rem;
    position: relative;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
}

/* CTA */

.cta-box {
    padding: 1.6rem 1.6rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-soft);
    background: linear-gradient(135deg, #f8f4ff 0%, #e9fbff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Contact */

.contact-grid {
    align-items: flex-start;
}

.contact-meta {
    margin-top: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-card {
    padding: 1.5rem 1.4rem;
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(103,88,255,0.2);
}

.form-note {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Alerts */

.alert {
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    font-size: 0.82rem;
}

.alert-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ================= FOOTER ================= */

.site-footer {
    padding: 1.6rem 0 1.9rem;
    background: #020617;
    color: #9ca3af;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-brand-text {
    font-size: 0.96rem;
    font-weight: 600;
    color: #e5e7eb;
}

.footer-links {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copy {
    margin: 0;
    font-size: 0.8rem;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {

    .hero-inner,
    .two-column,
    .screen-card {
        grid-template-columns: minmax(0,1fr);
    }

    .hero-inner {
        gap: 2.2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .screen-sidebar {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 850px) {

    .header-inner {
        height: 68px;
    }

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-nav.open {
        display: flex;
        animation: fadeIn 0.25s ease-out forwards;
    }

    .hero {
        padding-top: 3.4rem;
    }

    .grid-3,
    .features-grid,
    .pricing-grid {
        grid-template-columns: minmax(0,1fr);
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === ABSOLUTE LOGO FIX — FULL IMAGE, NO LIMITS === */

#mainLogo {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    background: none !important;
    object-fit: unset !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.site-header .logo {
    background: none !important;
    background-image: none !important;
}

.site-header img {
    background: none !important;
}

/* FINAL PROFESSIONAL LOGO SIZING */
#mainLogo {
    height: 134px !important;   /* Desktop size */
    width: auto !important;
    display: block;
}

@media (max-width: 900px) {
    #mainLogo {
        height: 118px !important;   /* Tablet size */
    }
}

@media (max-width: 600px) {
    #mainLogo {
        height: 118px !important;   /* Mobile size */
    }
}

.footer-logo {
    height: 134px;       /* Adjust the size here */
    width: auto;
    display: inline-block;
    object-fit: contain;
}


.logo,
.site-header .logo,
.site-header img {
    background: none !important;
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 15px;
}

.alert-success {
    background: #e6f7e6;
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-error {
    background: #fdecea;
    border-left: 4px solid #dc3545;
    color: #721c24;
}
