/*-----------------------------------------------------------------------------------
    BOTSAMPLES
    Shared CSS for demo.shtml and pricing.shtml
    Author: ChatGPT
    Version: 3.0
-----------------------------------------------------------------------------------*/

/* =========================
   GOOGLE TRANSLATE CLEANUP
========================= */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* =========================
   ROOT VARIABLES
========================= */
:root {
    --primary: #001437;
    --accent: #7AD2ED;
    --accent-dark: #57c3e6;
    --black: #000000;
    --white: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --light: #f8fafc;
    --light-blue: #eef8fc;
    --border: rgba(0, 20, 55, 0.08);
    --shadow: 0 12px 32px rgba(0, 20, 55, 0.10);
    --radius: 18px;
    --radius-lg: 24px;
    --max-width: 1140px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================
   GLOBAL LAYOUT
========================= */
.container {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

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

.hidden {
    display: none !important;
}

/* =========================
   TYPOGRAPHY
========================= */
h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.15;
    font-weight: 800;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
}

h4 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 18px;
    color: var(--text);
}

.lead {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 760px;
    margin: 0 auto 24px auto;
}

.small-text {
    font-size: 0.95rem;
    color: var(--muted);
}

/* =========================
   BUTTONS
========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 10px 24px rgba(122, 210, 237, 0.28);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* =========================
   HEADER
========================= */
.site-header {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    position: relative;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.header-inner {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo {
    max-height: 58px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.main-nav a:hover {
    opacity: 0.78;
}

.nav-cta {
    background: var(--accent);
    color: var(--primary) !important;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(122, 210, 237, 0.25);
}

.nav-cta:hover {
    background: var(--accent-dark);
    opacity: 1 !important;
}

/* =========================
   HERO
========================= */
.hero-section {
    padding: 88px 0 70px;
    background: linear-gradient(180deg, rgba(122, 210, 237, 0.10) 0%, rgba(255,255,255,1) 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.hero-copy p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* =========================
   BADGES / LABELS
========================= */
.kicker {
    display: inline-block;
    background: rgba(122, 210, 237, 0.18);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.88rem;
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

/* =========================
   GENERIC CARDS
========================= */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-soft {
    background: var(--light);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(0, 20, 55, 0.05);
}

/* =========================
   GRIDS
========================= */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

/* =========================
   DEMO PAGE
========================= */
.demo-section {
    padding: 90px 0;
}

.demo-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
    align-items: start;
}

.demo-copy {
    padding-right: 10px;
}

.demo-box {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.demo-box-header {
    background: var(--primary);
    color: var(--white);
    padding: 18px 22px;
    font-weight: 700;
    font-size: 1.05rem;
}

.demo-box-body {
    padding: 24px;
    background: #f9fbfc;
    min-height: 560px;
}

.chat-placeholder {
    background: var(--white);
    border-radius: 18px;
    border: 1px dashed rgba(0, 20, 55, 0.15);
    padding: 26px;
    text-align: center;
    color: var(--muted);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   PRICING PAGE
========================= */
.pricing-section {
    padding: 90px 0;
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
}

.pricing-card {
    background: var(--white);
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: translateY(-6px);
}

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 999px;
}

.plan-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.plan-price {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
}

.plan-desc {
    color: var(--muted);
    margin-bottom: 24px;
}

.plan-features {
    margin: 20px 0 30px;
    display: grid;
    gap: 12px;
}

.plan-features li {
    position: relative;
    padding-left: 24px;
    color: var(--text);
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-dark);
    font-weight: 800;
}

.pricing-card .btn {
    margin-top: auto;
}

/* =========================
   TABLES
========================= */
.table-wrap {
    overflow-x: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

th,
td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 20, 55, 0.08);
}

th {
    background: var(--light-blue);
    color: var(--primary);
    font-weight: 800;
}

tr:last-child td {
    border-bottom: none;
}

/* =========================
   CTA BAND
========================= */
.cta-band {
    background: linear-gradient(135deg, var(--primary), #00215c);
    color: var(--white);
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p {
    color: var(--white);
}

.cta-band p {
    opacity: 0.9;
    max-width: 720px;
    margin: 0 auto 24px auto;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 42px 0 34px;
    margin-top: 90px;
}

.footer-inner {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copy {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--white);
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.75;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .hero-grid,
    .demo-layout,
    .pricing-grid,
    .grid-3,
    .grid-4,
    .grid-2 {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .header-inner,
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 0;
    }

    .main-nav,
    .footer-nav,
    .hero-actions {
        justify-content: center;
    }

    .main-nav {
        gap: 14px;
    }

    .hero-section,
    .section,
    .pricing-section,
    .demo-section {
        padding: 64px 0;
    }

    .hero-card,
    .card,
    .feature-card,
    .pricing-card {
        padding: 22px;
    }

    .plan-price {
        font-size: 2.2rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .site-logo {
        max-height: 48px;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .plan-price {
        font-size: 2rem;
    }
}
