/* TutoraCloud — landing page stylesheet (standalone) */

:root {
  --bg: #fcfcfd;
  --card: #ffffff;
  --title: #111827;
  --text: #6b7280;
  --border: #ecedf1;
  --primary: #2563eb;
  --secondary: #7c3aed;
  --accent-bg: #eef2ff;
  --accent-fg: #3730a3;
  --gradient: linear-gradient(135deg, #2563eb, #7c3aed);
  --radius: 22px;
  --radius-sm: 12px;
  --page: 1240px;
  --section: 120px;
  --shadow-subtle: 0 1px 2px rgba(17, 24, 39, .04), 0 1px 3px rgba(17, 24, 39, .04);
  --shadow-card: 0 10px 35px -12px rgba(17, 24, 39, .14);
  --shadow-panel: 0 24px 70px -24px rgba(17, 24, 39, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }

.header { position: sticky; top: 0; backdrop-filter: blur(10px); background: rgba(248, 250, 252, 0.85); border-bottom: 1px solid var(--border); z-index: 50; }
.header-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--title); font-weight: 800; font-size: 18px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name span { color: var(--primary); }

.container { max-width: var(--page); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section) 0; }
.title { color: var(--title); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.muted { color: var(--text); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity .2s, background-color .2s, transform .2s;
}
.btn-dark { background: var(--title); color: #fff; padding: 9px 16px; }
.btn-dark:hover { opacity: .9; }
.btn-grad { background: var(--gradient); color: #fff; box-shadow: var(--shadow-card); }
.btn-grad:hover { opacity: .9; }
.btn-ghost { background: var(--card); color: var(--title); border: 1px solid var(--border); box-shadow: var(--shadow-subtle); }
.btn-ghost:hover { background: #f6f7f9; }
.btn-block { display: block; text-align: center; padding: 10px 16px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 253, .8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--title); font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand-mark { width: 24px; height: 24px; border-radius: 8px; background: var(--gradient); }
.nav { display: flex; gap: 32px; font-size: 14px; }
.nav a:hover { color: var(--title); }

.hero { padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.title { font-size: 38px; color: var(--title); font-weight: 800; line-height: 1.15; margin-top: 8px; }
.hero-sub { margin-top: 14px; font-size: 15px; color: var(--text); }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; }
.hero-checks { display: flex; gap: 20px; list-style: none; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--title); }
.check-icon { color: var(--primary); font-weight: 800; }

/* Dashboard UI Mockup */
.mockup-container { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08); }
.mockup-card { background: #f8fafc; border-radius: 12px; padding: 14px; }
.dashboard-grid { display: grid; grid-template-columns: 190px 1fr; gap: 14px; }

/* ---------- dashboard mockup ---------- */
.mockup { margin-top: 25px ;background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; box-shadow: var(--shadow-panel); }
.mockup-inner { background: var(--bg); border-radius: 18px; padding: 24px; }
.mockup-head { display: flex; align-items: center; justify-content: space-between; }
.mockup-head h3 { color: var(--title); font-size: 14px; font-weight: 600; }
.mockup-head p { font-size: 12px; }
.live { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 10px; font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); animation: soft-pulse 2.4s ease-in-out infinite; }

@media (max-width: 768px) {

    .mockup {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .mockup-inner {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .dashboard-grid {
        display: flex !important;
        flex-direction: column !important;

        width: 100%;
        max-width: 100%;

        gap: 12px !important;
    }

    .kpi-column {
        display: grid !important;
        grid-template-columns: 1fr 1fr;

        width: 100%;

        gap: 8px !important;
    }

    .kpi-card {
        min-width: 0;
        padding: 10px !important;
    }

    .kpi-card .label {
        font-size: 10px !important;
    }

    .kpi-card .kpi-value {
        font-size: 17px !important;
    }

    .kpi-card small {
        display: block;

        font-size: 9px !important;
        line-height: 1.3;
    }

    .table-card {
        width: 100%;
        min-width: 0;

        overflow: hidden;

        padding: 12px !important;
    }

    .table-card table {
        width: 100% !important;

        table-layout: fixed;

        font-size: 9px !important;
    }

    .table-card th,
    .table-card td {
        padding: 7px 3px !important;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .table-card th:nth-child(1),
    .table-card td:nth-child(1) {
        width: 28%;
    }

    .table-card th:nth-child(2),
    .table-card td:nth-child(2) {
        width: 28%;
    }

    .table-card th:nth-child(3),
    .table-card td:nth-child(3) {
        width: 25%;
    }

    .table-card th:nth-child(4),
    .table-card td:nth-child(4) {
        width: 19%;
    }
}

.panel { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.revenue { margin-top: 20px; padding: 20px; box-shadow: var(--shadow-subtle); }
.revenue-top { display: flex; align-items: flex-start; justify-content: space-between; }
.label { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.revenue-value { color: var(--title); font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.revenue-value span { font-size: 18px; font-weight: 500; color: var(--text); }
.badge { background: var(--accent-bg); color: var(--accent-fg); border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 20px; }
.chart-col { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; }
.bar { width: 100%; border-radius: 4px 4px 0 0; background: var(--gradient); opacity: .9; transform-origin: bottom; animation: bar-grow .7s cubic-bezier(.2,.7,.3,1) backwards; }
.chart-col span { font-size: 10px; }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.kpi { transition: transform .2s, border-color .2s, box-shadow .2s; }
.kpi:hover { transform: translateY(-2px); border-color: rgba(37, 99, 235, .25); box-shadow: var(--shadow-subtle); }
.kpi-value { color: var(--title); font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.kpi small { font-size: 11px; }

.lists { display: grid; gap: 12px; margin-top: 16px; }
.session { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.session .time { width: 40px; font-size: 11px; font-weight: 500; }
.rule { width: 2px; height: 28px; border-radius: 999px; background: var(--gradient); }
.session strong { display: block; color: var(--title); font-size: 12px; font-weight: 500; }
.session em { font-style: normal; font-size: 10px; }
.activity { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12px; color: var(--title); animation: rise .6s ease-out backwards; }
.tick { width: 20px; height: 20px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-fg); font-size: 10px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* ---------- features ---------- */
.section-head { max-width: 36rem; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); }
.section-head p { margin-top: 16px; }
.cards { display: grid; gap: 16px; margin-top: 64px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-subtle); transition: transform .2s, border-color .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); border-color: rgba(37, 99, 235, .25); box-shadow: var(--shadow-card); }
.card h3 { color: var(--title); font-size: 15px; font-weight: 600; margin-top: 16px; }
.card p { font-size: 14px; margin-top: 8px; }
.card-icon { width: 20px; height: 20px; stroke: var(--text); fill: none; stroke-width: 1.75; }

/* ---------- screenshot ---------- */
.shot-wrap { position: relative; margin-top: 64px; }
.glow {
  position: absolute; inset: -64px -64px 0; pointer-events: none; filter: blur(64px);
  background: radial-gradient(55% 55% at 50% 40%, rgba(37, 99, 235, .18), transparent 70%),
              radial-gradient(45% 45% at 70% 60%, rgba(124, 58, 237, .16), transparent 70%);
}
.window { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-panel); overflow: hidden; }
.window-bar { display: flex; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.window-bar i { width: 10px; height: 10px; border-radius: 999px; background: #e5e7eb; }
.window-body { padding: 28px; }
.window-body h3 { color: var(--title); font-size: 18px; font-weight: 600; }
.window-body .sub { font-size: 13px; margin-top: 4px; }
.pill { display: inline-block; margin-top: 16px; background: var(--gradient); color: #fff; font-size: 12px; font-weight: 500; border-radius: 999px; padding: 8px 14px; }
.rows { margin-top: 20px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.row:last-child { border-bottom: 0; }
.row .time { font-size: 12px; width: 44px; }
.row .who { flex: 1; min-width: 0; }
.row .who strong { display: block; color: var(--title); font-size: 14px; font-weight: 500; }
.row .who span { font-size: 12px; }
.tag { font-size: 11px; border-radius: 999px; padding: 4px 10px; background: #f3f4f6; }
.tag.ok { background: var(--accent-bg); color: var(--accent-fg); }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 20px; margin-top: 64px; align-items: center; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-subtle); }
.plan .name { font-size: 14px; font-weight: 500; }
.plan .price { color: var(--title); font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-top: 12px; }
.plan .price span { font-size: 16px; font-weight: 500; color: var(--text); }
.plan ul { margin-top: 28px; display: grid; gap: 12px; font-size: 14px; }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan .btn { margin-top: 32px; }
.plan-featured { position: relative; border-color: rgba(37, 99, 235, .25); padding: 44px 32px; box-shadow: var(--shadow-panel); }
.plan-featured .name { color: var(--primary); }
.plan-featured .price { font-size: 38px; }
.ribbon { position: absolute; top: -12px; left: 32px; background: var(--gradient); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.note { margin-top: 48px; text-align: center; }
.note strong { color: var(--title); font-size: 14px; font-weight: 500; }
.note p { font-size: 14px; margin-top: 6px; }

/* ---------- faq ---------- */
.faq { max-width: 42rem; margin: 0 auto; }
.faq h2 { font-size: clamp(28px, 3.4vw, 38px); text-align: center; }
.faq-list { margin-top: 48px; }
details { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--title); font-size: 15px; font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "›"; transform: rotate(90deg); transition: transform .2s; color: var(--text); }
details[open] summary::after { transform: rotate(-90deg); }
details p { font-size: 14px; padding-bottom: 18px; }

/* ---------- cta + footer ---------- */
.cta { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 80px 32px; text-align: center; }
.cta h2 { font-size: clamp(28px, 3.4vw, 38px); max-width: 32rem; margin: 0 auto; }
.cta .btn { margin-top: 32px; }
.footer { border-top: 1px solid var(--border); }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand-mark { width: 20px; height: 20px; border-radius: 6px; }
.footer p { font-size: 12px; }

/* ---------- animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes soft-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.animate-rise { animation: rise .7s cubic-bezier(.2,.7,.3,1) backwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 768px) {

    .hero-grid {
        display: flex;
        flex-direction: column;

        width: 100%;
        max-width: 100%;

        gap: 40px;
    }

    .hero-grid > * {
        min-width: 0;
        width: 100%;
    }

    .hero-grid .title {
        font-size: 38px;
        line-height: 1.08;
    }

    .hero-sub {
        max-width: 100%;
    }
}


:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --title: #0f172a;
  --text: #64748b;
  --border: #e2e8f0;
  --primary: #4f46e5;
  --secondary: #7c3aed;
  --gradient: linear-gradient(135deg, #667eea, #764ba2);
  --font: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.5; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 40px 0; }
.bg-white { background: #ffffff; }
.text-center { text-align: center; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    background: rgba(252, 252, 253, 0.90);
    border-bottom: 1px solid var(--border);
}
.header-container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--title); font-weight: 800; font-size: 18px; }
.brand-logo { width: 34px; height: 34px; }
.brand-name span { color: var(--primary); }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-dark { background: var(--title); color: #fff; }
.btn-grad { background: var(--gradient); color: #fff; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25); }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--title); }
.btn-full { width: 100%; }

/* Hero Section */
.hero { padding: 60px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; grid-template-columns: 0.8fr 1.2fr; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.title { font-size: 38px; color: var(--title); font-weight: 800; line-height: 1.15; margin-top: 8px; }
.hero-sub { margin-top: 14px; font-size: 15px; color: var(--text); }
.hero-actions { display: flex; gap: 12px; margin-top: 24px; }
.hero-checks { display: flex; gap: 20px; list-style: none; margin-top: 24px; font-size: 13px; font-weight: 600; color: var(--title); }
.check-icon { color: var(--primary); font-weight: 800; }

/* Dashboard UI Mockup */
.mockup-container { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 12px; box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08); }
.mockup-card { background: #f8fafc; border-radius: 12px; padding: 14px; }
.dashboard-grid { display: grid; grid-template-columns: 190px 1fr; gap: 14px; }

/* KPI Cards */
.kpi-column { display: flex; flex-direction: column; gap: 10px; }
.kpi-card { background: #ffffff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.kpi-head { display: flex; justify-content: space-between; align-items: center; }
.kpi-label { font-size: 10px; color: var(--text); font-weight: 600; }
.icon-warning { background: #fef3c7; color: #d97706; padding: 4px; border-radius: 6px; display: flex; }
.kpi-val { font-size: 18px; font-weight: 800; margin-top: 2px; }
.warning-val { color: #d97706; }
.green-val { color: #16a34a; }
.kpi-sub { font-size: 9px; color: #94a3b8; }
.kpi-trend { font-size: 9px; color: #16a34a; font-weight: 700; display: flex; align-items: center; gap: 2px; }

/* Table UI (Curat & Fara Paginator) */
.table-card { background: #ffffff; border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; }
.table-title { font-size: 14px; color: var(--title); font-weight: 700; margin-bottom: 12px; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.ui-table th { color: #94a3b8; font-size: 10px; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.ui-table td { padding: 10px 0; border-bottom: 1px solid #f1f5f9; color: var(--title); font-weight: 500; }
.prof-name { color: #4f46e5 !important; font-weight: 600 !important; }
.text-right { text-align: right; }
.action-btn { background: #eff6ff; border: none; padding: 5px; border-radius: 6px; transition: background 0.2s; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.feature-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h3 { color: var(--title); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; }

/* Calendar Wrapper & Fixed Sizing (No Stretching) */
.calendar-wrapper { max-width: 980px; margin: 32px auto 0 auto; }
.calendar-window { background: #ffffff; border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.calendar-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.calendar-title-wrap { display: flex; align-items: center; gap: 8px; color: var(--title); }
.calendar-nav { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.btn-today { border: 1px solid var(--border); background: #f8fafc; padding: 4px 10px; border-radius: 6px; font-weight: 600; cursor: pointer; }
.arrow-group { display: flex; gap: 4px; }
.nav-arrow { border: 1px solid var(--border); background: #fff; width: 26px; height: 26px; border-radius: 4px; cursor: pointer; font-weight: bold; }
.cal-month { font-weight: 700; color: var(--title); }

.calendar-grid { display: grid; grid-template-columns: 55px repeat(7, 1fr); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.time-col-head { background: #f8fafc; border-bottom: 1px solid var(--border); }
.day-head { text-align: center; padding: 8px 4px; background: #f8fafc; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); color: var(--text); font-size: 10px; }
.day-head strong { font-size: 12px; color: var(--title); }
.active-day { background: #f0fdf4; }
.today-pill { background: #4f46e5; color: #fff; font-size: 8px; padding: 1px 5px; border-radius: 8px; font-weight: bold; display: inline-block; margin-bottom: 2px; }

.time-slot { padding: 14px 4px; color: #94a3b8; font-size: 10px; text-align: center; border-bottom: 1px solid #f1f5f9; background: #fafafa; }
.grid-cell { border-left: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; padding: 4px; min-height: 58px; position: relative; }
.active-bg { background: #fbfcfe; }

/* Interactive Event Cards */
.event-card { padding: 6px 8px; border-radius: 8px; color: #fff; cursor: pointer; transition: all 0.2s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.event-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.12); filter: brightness(1.05); }
.event-card.teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.event-card.orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.event-card.indigo { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.event-title { font-size: 11px; font-weight: 700; line-height: 1.2; }
.event-prof { font-size: 9px; opacity: 0.9; margin-top: 1px; }
.event-badge { font-size: 8px; background: rgba(255,255,255,0.2); padding: 1px 4px; border-radius: 4px; display: inline-block; margin-top: 4px; }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.price-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 16px; padding: 32px 24px; position: relative; display: flex; flex-direction: column; }
.price-card.popular { background: #fff; border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(79, 70, 229, 0.12); }
.pop-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 12px; }
.price { font-size: 36px; font-weight: 800; color: var(--title); margin: 12px 0 4px; }
.price span { font-size: 14px; font-weight: 500; color: var(--text); }
.price-sub { font-size: 13px; margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 24px; font-size: 14px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.price-features li::before { content: "✓ "; color: var(--primary); font-weight: bold; }

/* FAQ Grid */
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.faq-item h4 { font-size: 16px; color: var(--title); font-weight: 700; margin-bottom: 8px; }
.faq-item p { font-size: 14px; }

/* Contact Form */
.contact-container { max-width: 520px; }
.contact-form { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }

/* Modal Dynamic Details */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; z-index: 100; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-card { background: #ffffff; border-radius: 16px; width: 100%; max-width: 420px; padding: 20px; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); transform: scale(0.95); transition: transform 0.2s ease; }
.modal-overlay.active .modal-card { transform: scale(1); }

.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.status-tag { font-size: 10px; font-weight: 700; background: #e0e7ff; color: #4338ca; padding: 2px 8px; border-radius: 12px; text-transform: uppercase; }
.modal-title { font-size: 20px; color: var(--title); margin-top: 4px; }
.modal-close { background: none; border: none; font-size: 22px; color: #94a3b8; cursor: pointer; line-height: 1; }

.modal-body { font-size: 13px; display: flex; flex-direction: column; gap: 10px; }
.modal-row { display: flex; justify-content: space-between; border-bottom: 1px stroke #f1f5f9; padding-bottom: 6px; }
.modal-label { color: var(--text); }
.modal-val { font-weight: 600; color: var(--title); }
.modal-divider { height: 1px; background: var(--border); margin: 4px 0; }
.modal-row-vertical { display: flex; flex-direction: column; gap: 6px; }
.students-list { list-style: none; padding-left: 0; }
.students-list li { background: #f8fafc; padding: 6px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--title); margin-bottom: 4px; border: 1px solid var(--border); }

.modal-footer { margin-top: 20px; text-align: right; }

.mobile-menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    padding: 8px;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    color: inherit;
}

.mobile-nav-contact {
    display: none;
}


@media (max-width: 768px) {

    .header-container {
        position: relative;
        width: 100%;
        box-sizing: border-box;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding-left: 20px;
        padding-right: 20px;
    }

    .brand {
        flex: 1;
        min-width: 0;
    }

    .desktop-contact {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;

        flex: 0 0 auto;

        width: 42px;
        height: 42px;

        margin-left: auto;

        padding: 0;

        border: 0;
        border-radius: 10px;

        background: transparent;

        font-size: 25px;
        line-height: 1;

        cursor: pointer;
    }

    .mobile-menu-toggle:hover {
        background: rgba(15, 23, 42, 0.05);
    }

    .nav {
        display: none;
    }

    .header.menu-open .nav {
        display: flex;

        position: absolute;

        top: calc(100% + 10px);
        left: 16px;
        right: 16px;

        flex-direction: column;
        gap: 3px;

        padding: 10px;

        background: rgba(255, 255, 255, 0.98);

        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 16px;

        box-shadow:
            0 16px 40px rgba(15, 23, 42, 0.12);

        z-index: 1000;
    }

    .header.menu-open .nav a {
        width: 100%;
        box-sizing: border-box;

        padding: 13px 14px;

        border-radius: 10px;

        text-decoration: none;
    }

    .header.menu-open .nav a:hover {
        background: #f5f5f7;
    }

    .header.menu-open .mobile-nav-contact {
        display: block;

        margin-top: 6px;

        text-align: center;

        background: #111827;
        color: white !important;

        font-weight: 600;
    }
}

.footer {
    padding: 42px 0 18px;

    background: #0f172a;
    color: #cbd5e1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    text-align: center;
}


/* BRAND */

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    color: #ffffff;
    text-decoration: none;
}

.footer-brand .brand-logo {
    width: 36px;
    height: 36px;
}

.footer-brand-name {
    color: #ffffff;

    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-brand-name span {
    background: linear-gradient(
        135deg,
        #8b9cf7,
        #b184db
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* LINKS */

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px 24px;

    width: 100%;

    margin-top: 22px;
}

.footer-links a {
    color: #94a3b8;

    font-size: 11px;
    font-weight: 500;

    text-decoration: none;

    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}


/* COMPANY */

.footer-company {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    width: 100%;

    margin-top: 16px;

    color: #64748b;

    font-size: 9px;

    text-align: center;
}

.footer-company strong {
    color: #94a3b8;

    font-weight: 700;
}

.footer-company span {
    color: #475569;
}


/* COPYRIGHT - ULTIMUL ELEMENT */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;

    margin-top: 24px;
    padding-top: 16px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #475569;

    font-size: 9px;

    line-height: 1.5;

    text-align: center;
}


/* MOBILE */

@media (max-width: 600px) {

    .footer {
        margin-top: 55px;
        padding: 35px 0 18px;
    }

    .footer-links {
        flex-direction: column;

        gap: 11px;

        margin-top: 20px;
    }

    .footer-company {
        max-width: 340px;

        line-height: 1.7;
    }

}

/* ==========================================================
   FEATURES
========================================================== */

#features {
    background: #f8fafc;
}

.section-label {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .45rem 1rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, .08);
    color: var(--primary);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cards {
    margin-top: 4rem;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    position: relative;

    display: flex;
    flex-direction: column;

    padding: 2rem;

    border-radius: 24px;

    background: #fff;

    border: 1px solid rgba(15, 23, 42, .06);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

    overflow: hidden;
}

.card::before {

    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 0;

    height: 4px;

    background: linear-gradient(
            90deg,
            var(--primary),
            #4f46e5
    );

    transform: scaleX(0);

    transform-origin: left;

    transition: .3s;
}

.card:hover {

    transform: translateY(-8px);

    border-color: rgba(37,99,235,.18);

    box-shadow:
            0 20px 45px rgba(15,23,42,.08);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {

    width: 58px;
    height: 58px;

    padding: 14px;

    border-radius: 16px;

    background: rgba(37,99,235,.08);

    color: var(--primary);

    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;

    margin-bottom: 1.5rem;

    transition: .25s;
}

.card:hover .card-icon{

    background: var(--primary);

    color: white;

    transform: rotate(-4deg) scale(1.05);
}

.card h3{

    font-size:1.35rem;

    margin-bottom:.85rem;

    color:#0f172a;
}

.card p{

    color:#64748b;

    line-height:1.75;

    margin-bottom:1.4rem;

    flex:1;
}

.card ul{

    list-style:none;

    padding:0;

    margin:0;
}

.card li{

    display:flex;

    align-items:center;

    gap:.7rem;

    color:#334155;

    font-size:.95rem;

    padding:.45rem 0;
}

.card li::before{

    content:"✓";

    width:22px;
    height:22px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(37,99,235,.10);

    color:var(--primary);

    font-size:.75rem;

    font-weight:bold;

    flex-shrink:0;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

    .cards{
        gap:1.5rem;
    }

    .card{
        padding:1.75rem;
    }

}

@media (max-width:768px){

    .cards{
        grid-template-columns:1fr;
    }

    .card{
        border-radius:20px;
    }

    .card h3{
        font-size:1.2rem;
    }

}

/* ==========================================================
   FAQ
========================================================== */

.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq .section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-list details {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    overflow: hidden;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.faq-list details:hover {
    border-color: rgba(37, 99, 235, .20);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.faq-list details[open] {
    border-color: rgba(37, 99, 235, .30);
    box-shadow: 0 15px 35px rgba(37, 99, 235, .08);
}

.faq-list summary {
    list-style: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 1.4rem 1.6rem;

    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;

    user-select: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";

    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--primary);

    font-size: 1.35rem;
    font-weight: 400;

    transition: all .25s ease;
}

.faq-list details[open] summary::after {
    content: "–";
    color: var(--primary);
}

.faq-list p {
    margin: 0;
    padding: 0 1.6rem 1.6rem;

    color: #64748b;
    line-height: 1.75;
    font-size: .97rem;
}

/* ==========================
        PRICING
========================== */

#pricing{
    background:#f8fafc;
}

.plans{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:2rem;

    margin-top:4rem;
}

.plan{

    position:relative;

    display:flex;

    flex-direction:column;

    padding:2.2rem;

    border-radius:24px;

    background:white;

    border:1px solid rgba(15,23,42,.08);

    transition:.3s;

    overflow:hidden;
}

.plan:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 50px rgba(15,23,42,.08);

    border-color:rgba(37,99,235,.2);
}

.featured{

    border:2px solid var(--primary);

    transform:scale(1.04);
}

.featured:hover{

    transform:scale(1.04) translateY(-10px);
}

.popular{

    position:absolute;

    top:18px;

    right:12px;

    background:linear-gradient(135deg,#2563eb,#4f46e5);

    color:white;

    padding:.45rem .9rem;

    border-radius:999px;

    font-size:.8rem;

    font-weight:600;
}

.plan-header{

    margin-bottom:2rem;
}

.plan-badge{

    display:inline-block;

    padding:.45rem .85rem;

    border-radius:999px;

    background:rgba(37,99,235,.08);

    color:var(--primary);

    font-size:.82rem;

    font-weight:600;

    margin-bottom:1rem;
}

.plan h3{

    font-size:2rem;

    margin-bottom:1rem;
}

.price{

    font-size:3.3rem;

    font-weight:800;

    color:#0f172a;

    line-height:1;
}

.price span{

    display:block;

    margin-top:.6rem;

    font-size:1rem;

    font-weight:500;

    color:#64748b;
}

.custom-price{

    font-size:2.2rem;
}

.plan-description{

    margin-top:1.3rem;

    color:#64748b;

    line-height:1.7;
}

.plan ul{

    margin:2rem 0;

    padding:0;

    list-style:none;

    display:flex;

    flex-direction:column;

    gap:1rem;

    flex:1;
}

.plan li{

    display:flex;

    align-items:center;

    gap:.8rem;

    color:#334155;
}

.plan li::before{

    content:"✓";

    width:24px;

    height:24px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(37,99,235,.08);

    color:var(--primary);

    font-weight:bold;

    flex-shrink:0;
}

.btn-block{

    width:100%;

    margin-top:auto;
}

.pricing-footer{

    margin-top:4rem;

    padding:2rem;

    border-radius:24px;

    background:white;

    border:1px solid rgba(15,23,42,.08);

    text-align:center;
}

.pricing-footer h3{

    margin-bottom:1.5rem;
}

.included{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:1rem 2rem;

    color:#475569;

    font-weight:500;
}

@media(max-width:1000px){

    .plans{

        grid-template-columns:1fr;
    }

    .featured{

        transform:none;
    }

    .featured:hover{

        transform:translateY(-10px);
    }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

    .faq-list summary {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-list p {
        padding: 0 1.2rem 1.2rem;
    }

}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .features-grid, .pricing-grid, .faq-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .calendar-grid { overflow-x: auto; }
}


/* =========================================
   TUTORABOT
   ========================================= */

.tutorabot-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(118, 75, 162, 0.08),
            transparent 35%
        ),
        #f8fafc;
}

.tutorabot-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: center;
}

.tutorabot-content {
    position: relative;
    z-index: 2;
}

.tutorabot-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    margin-bottom: 18px;

    border: 1px solid rgba(118, 75, 162, 0.15);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.8);

    color: #6d4bb1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.tutorabot-badge-icon {
    font-size: 14px;
}

.tutorabot-gradient {
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tutorabot-lead {
    max-width: 600px;
    margin: 18px 0 12px;

    color: #334155;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.tutorabot-description {
    max-width: 600px;
    margin: 0 0 30px;

    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.tutorabot-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tutorabot-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tutorabot-feature-icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.12),
        rgba(118, 75, 162, 0.12)
    );

    color: #7050b5;
    font-size: 16px;
}

.tutorabot-feature strong {
    display: block;
    margin-bottom: 4px;

    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
}

.tutorabot-feature p {
    margin: 0;

    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.tutorabot-security {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 30px;
    padding: 10px 14px;

    border-radius: 9px;
    background: rgba(22, 163, 74, 0.07);

    color: #166534;
    font-size: 12px;
    font-weight: 600;
}

.security-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 19px;
    height: 19px;

    border-radius: 50%;
    background: #dcfce7;

    color: #16a34a;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================
   SCREENSHOT WINDOW
   ========================================= */

.tutorabot-visual {
    position: relative;
    min-width: 0;
}

.tutorabot-window {
    position: relative;
    z-index: 2;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 30px 70px rgba(15, 23, 42, 0.14),
        0 10px 25px rgba(15, 23, 42, 0.07);
}

.tutorabot-window-header {
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 16px;

    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;

    width: 70px;
}

.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: #cbd5e1;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.window-ai-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    border-radius: 7px;

    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );

    color: #fff;
    font-size: 11px;
}

.window-status {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;

    width: 70px;

    color: #64748b;
    font-size: 10px;
}

.window-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #22c55e;
}


/* =========================================
   SCREENSHOT PLACEHOLDER
   ========================================= */

.tutorabot-screenshot-placeholder {
    min-height: 430px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    background:
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #f1f5f9 100%
        );

    color: #64748b;
}

.placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    margin-bottom: 6px;

    border-radius: 16px;

    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );

    color: #fff;
    font-size: 22px;

    box-shadow:
        0 10px 25px rgba(102, 126, 234, 0.25);
}

.tutorabot-screenshot-placeholder strong {
    color: #334155;
    font-size: 14px;
}

.tutorabot-screenshot-placeholder span {
    color: #94a3b8;
    font-size: 12px;
}


/* Când pui screenshot-ul real */

.tutorabot-window > img,
.tutorabot-window .tutorabot-real-screenshot {
    display: block;

    width: 100%;
    height: auto;

    object-fit: cover;
}


/* =========================================
   DECORATIVE GLOW
   ========================================= */

.tutorabot-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    right: -80px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(118, 75, 162, 0.14);

    filter: blur(70px);
    pointer-events: none;
}


@media (max-width: 768px) {

    /* =========================
       TUTORABOT MOBILE
       ========================= */

    .tutorabot-section {
        width: 100%;
        padding: 70px 0;
        overflow: hidden;
    }

    .tutorabot-section > .container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 20px;
    }

    .tutorabot-grid {
        display: flex !important;
        flex-direction: column !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 !important;

        gap: 42px !important;
    }

    .tutorabot-addon {
      width: 90% !important;
    }

    /* TEXT */

    .tutorabot-content {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .tutorabot-badge {
        display: inline-flex;
        width: fit-content;

        margin-bottom: 18px;
    }

    .tutorabot-content .eyebrow {
        margin-bottom: 10px;
    }

    .tutorabot-content .title {
        width: 100%;

        margin: 0 0 18px;

        font-size: 36px;
        line-height: 1.08;
        text-align: left;
    }

    .tutorabot-lead {
        width: 100%;
        max-width: none;

        margin: 0 0 16px;

        font-size: 17px;
        line-height: 1.55;

        text-align: left;
    }

    .tutorabot-description {
        width: 100%;
        max-width: none;

        margin: 0;

        font-size: 15px;
        line-height: 1.6;

        text-align: left;
    }

    /* FEATURES */

    .tutorabot-features {
        display: flex;
        flex-direction: column;

        width: 100%;

        margin-top: 28px;

        gap: 20px;
    }

    .tutorabot-feature {
        display: flex;
        align-items: flex-start;

        width: 100%;
        min-width: 0;

        gap: 13px;
    }

    .tutorabot-feature-icon {
        flex: 0 0 34px;

        width: 34px;
        height: 34px;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tutorabot-feature > div:last-child {
        flex: 1;
        min-width: 0;
    }

    .tutorabot-feature strong {
        display: block;

        font-size: 15px;
        line-height: 1.35;
    }

    .tutorabot-feature p {
        margin: 5px 0 0;

        font-size: 14px;
        line-height: 1.5;
    }

    /* SECURITY */

    .tutorabot-security {
        width: 100%;

        margin-top: 24px;
    }

    /* SCREENSHOT */

    .tutorabot-visual {
        display: block !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .tutorabot-window {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;

        overflow: hidden;

        border-radius: 14px;
    }

    .tutorabot-window img {
        display: block;

        width: 100% !important;
        max-width: 100% !important;

        height: auto !important;

        margin: 0;
    }

    .tutorabot-glow {
        display: none;
    }
}

/* =========================================
   TUTORABOT ADD-ON
   ========================================= */

/* =========================================
   TUTORABOT ADD-ON
   Uses the same font as the rest of the page
   ========================================= */

.tutorabot-addon,
.tutorabot-addon * {
    font-family: inherit;
}

.tutorabot-addon {
    position: relative;

    width: 50%;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    margin: 30px auto 0;
    padding: 28px 32px;

    border: 1px solid rgba(118, 75, 162, 0.18);
    border-radius: 14px;

    background:
        radial-gradient(
            circle at 0% 50%,
            rgba(102, 126, 234, 0.07),
            transparent 32%
        ),
        linear-gradient(
            110deg,
            #ffffff,
            #fbfaff
        );

    box-shadow:
        0 8px 30px rgba(15, 23, 42, 0.045);

    overflow: hidden;
}


/* Decorative glow */

.tutorabot-addon::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -100px;
    top: -150px;

    border-radius: 50%;

    background: rgba(118, 75, 162, 0.08);

    filter: blur(45px);

    pointer-events: none;
}


/* =========================================
   CONTENT
   ========================================= */

.tutorabot-addon-content {
    position: relative;
    z-index: 1;

    flex: 1;
    min-width: 0;
}


/* Heading */

.tutorabot-addon-heading {
    display: flex;
    align-items: center;

    gap: 14px;
}

.tutorabot-addon-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;

    box-shadow:
        0 7px 18px rgba(102, 126, 234, 0.2);
}

.tutorabot-addon-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

.tutorabot-addon-title-row h3 {
    margin: 0;

    color: #1e293b;

    font-size: 19px;
    font-weight: 800;
}

.tutorabot-addon-label {
    padding: 3px 7px;

    border-radius: 5px;

    background: #f1edfa;

    color: #7650b3;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.tutorabot-addon-trial-badge {
    padding: 4px 8px;

    border-radius: 5px;

    background: #dcfce7;

    color: #15803d;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.tutorabot-addon-subtitle {
    margin: 2px 0 0;

    color: #64748b;

    font-size: 12px;
}


/* Description */

.tutorabot-addon-description {
    max-width: 850px;

    margin: 18px 0 18px;

    color: #475569;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================
   FEATURES
   ========================================= */

.tutorabot-addon-features {
    display: flex;
    align-items: stretch;

    gap: 10px;
}

.tutorabot-addon-feature {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    min-width: 0;

    padding: 10px 13px;

    border-radius: 9px;

    background: rgba(248, 250, 252, 0.8);
    border: 1px solid #eef2f7;
}

.tutorabot-addon-feature > span {
    flex: 0 0 18px;

    width: 18px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f0eafa;

    color: #7650b3;

    font-size: 9px;
    font-weight: 800;
}

.tutorabot-addon-feature strong {
    display: block;

    color: #334155;

    font-size: 11px;
    font-weight: 700;
}

.tutorabot-addon-feature small {
    display: block;

    margin-top: 2px;

    color: #94a3b8;

    font-size: 9px;
    line-height: 1.35;
}


/* =========================================
   SECURITY
   ========================================= */

.tutorabot-addon-security {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 16px;
}

.security-icon {
    font-size: 13px;
}

.tutorabot-addon-security div {
    display: flex;
    align-items: baseline;

    gap: 7px;
}

.tutorabot-addon-security strong {
    color: #166534;

    font-size: 10px;
    font-weight: 800;
}

.tutorabot-addon-security span:not(.security-icon) {
    color: #64748b;

    font-size: 10px;
}


/* =========================================
   ACTION
   ========================================= */

.tutorabot-addon-action {
    position: relative;
    z-index: 2;

    flex: 0 0 205px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    padding-left: 35px;

    border-left: 1px solid #e2e8f0;
}

.tutorabot-addon-price {
    display: flex;
    align-items: baseline;

    gap: 5px;
}

.tutorabot-addon-price strong {
    color: #1e293b;

    font-size: 25px;
    font-weight: 800;
}

.tutorabot-addon-price span {
    color: #64748b;

    font-size: 10px;
}

.tutorabot-addon-action > p {
    margin: 3px 0 13px;

    color: #15803d;

    font-size: 10px;
    font-weight: 700;
}

.tutorabot-addon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 10px 16px;

    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #667eea,
        #764ba2
    );

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;

    box-shadow:
        0 5px 15px rgba(102, 126, 234, 0.18);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.tutorabot-addon-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(102, 126, 234, 0.25);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1000px) {

    .tutorabot-addon {
        gap: 30px;
    }

    .tutorabot-addon-features {
        flex-direction: column;
    }

    .tutorabot-addon-feature {
        max-width: 500px;
    }

}

@media (max-width: 750px) {

    .tutorabot-addon {
        align-items: stretch;
        flex-direction: column;

        padding: 24px;
    }

    .tutorabot-addon-action {
        align-items: flex-start;

        width: 100%;
        padding: 18px 0 0;

        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    .tutorabot-addon-button {
        width: auto;
        min-width: 160px;
    }

}

@media (max-width: 500px) {

    .tutorabot-addon {
        padding: 20px;
    }

    .tutorabot-addon-title-row {
        gap: 6px;
    }

    .tutorabot-addon-description {
        font-size: 12px;
    }

    .tutorabot-addon-security div {
        align-items: flex-start;
        flex-direction: column;

        gap: 2px;
    }

}

.plan-inherited {
    color: var(--text);
    font-weight: 500;
}

.plan-divider {
    margin: 14px 0 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);

    color: var(--title);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.plan-new {
    position: relative;
    margin-left: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--accent-bg);
    color: var(--accent-fg);
    font-weight: 600;
}


@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;

        background: rgba(252, 252, 253, 0.94);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    body {
        padding-top: 60px;
    }

    .header-container {
        height: 60px;
    }
}