/*
Theme Name: Tasittir
Theme URI: https://tasittir.com
Author: Tasittir
Description: Nakliyat platformu - OTP dogrulama, musteri ve tasiyici panelleri
Version: 6.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: tasittir
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #F59E0B;
  --primary-lt: #FCD34D;
  --primary-dk: #D97706;
  --primary-bg: #FFFBEB;
  --dark: #0A0A0A;
  --dark2: #141414;
  --dark3: #1C1C1C;
  --white: #ffffff;
  --off: #FAFAFA;
  --g50: #F5F5F5;
  --g100: #E5E5E5;
  --g200: #D4D4D4;
  --g300: #A3A3A3;
  --g400: #737373;
  --g500: #525252;
  --g700: #404040;
  --g900: #171717;
  --success: #16A34A;
  --success-bg: #F0FDF4;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --info: #2563EB;
  --info-bg: #EFF6FF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-h: 64px;
  --sidebar-w: 240px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 22px;
  --r-full: 9999px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 48px rgba(0,0,0,.15);
  --t: 200ms cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--g900); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dk); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }
p { margin-bottom: .8rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.15; color: var(--g900); letter-spacing: -.025em; }
h1 { font-size: clamp(26px, 5vw, 50px); }
h2 { font-size: clamp(20px, 3.5vw, 36px); }
h3 { font-size: clamp(17px, 2.5vw, 24px); }
h4 { font-size: 18px; }

/* Layout */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.container--sm { max-width: 800px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--white { background: var(--white); }
.section--off { background: var(--off); }
.section--gray { background: var(--g50); }
.section--dark { background: var(--dark); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.text-center { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary-dk); margin-bottom: 10px; }
.eyebrow::before { content: ''; display: block; width: 16px; height: 2px; background: var(--primary); border-radius: 2px; }
.section-title em { color: var(--primary-dk); font-style: normal; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 20px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; transition: all var(--t); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--dark); border-color: var(--primary); font-weight: 700; }
.btn-primary:hover { background: var(--primary-lt); color: var(--dark); box-shadow: 0 4px 16px rgba(245,158,11,.3); }
.btn-dark { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--dark3); color: var(--white); }
.btn-outline { background: transparent; color: var(--g700); border-color: var(--g200); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dk); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn-ghost { background: transparent; color: var(--primary-dk); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { background: var(--primary-bg); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { padding: 12px 26px; font-size: 15px; border-radius: var(--r-lg); }
.btn-xl { padding: 14px 32px; font-size: 15px; font-weight: 700; border-radius: var(--r-lg); }
.btn-block { width: 100%; justify-content: center; }
.btn.loading::before { content: ''; display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(0,0,0,.15); border-top-color: currentColor; border-radius: 50%; animation: spin .65s linear infinite; margin-right: 6px; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: var(--g400); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--g200); border-radius: var(--r-md); background: var(--white); color: var(--g900); font-size: 14px; transition: border-color var(--t), box-shadow var(--t); outline: none; line-height: 1.5; }
.form-control:hover { border-color: var(--g300); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.form-control.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(220,38,38,.08); }
.form-control::placeholder { color: var(--g300); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A3A3A3' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 12px; color: var(--g400); margin-top: 4px; line-height: 1.5; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; font-weight: 500; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin-bottom: 12px; }
.form-checkbox input { width: 15px; height: 15px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.form-checkbox-label { font-size: 13px; color: var(--g400); line-height: 1.6; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--g300); pointer-events: none; font-size: 14px; }
.input-icon-wrap .form-control { padding-left: 38px; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow var(--t), border-color var(--t); }
.card:hover { box-shadow: var(--shadow-md); }
.card-hover:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(245,158,11,.12); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--g100); }
.card-title { font-weight: 700; font-size: 14px; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; line-height: 1.5; }
.badge-primary { background: var(--primary-bg); color: var(--primary-dk); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-gray { background: var(--g100); color: var(--g700); }
.badge-dark { background: var(--g900); color: var(--white); }

/* Alerts */
.alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; line-height: 1.6; margin-bottom: 14px; border: 1px solid transparent; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(22,163,74,.15); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(217,119,6,.15); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border-color: rgba(220,38,38,.15); }
.alert-info { background: var(--info-bg); color: var(--info); border-color: rgba(37,99,235,.15); }
.alert-primary { background: var(--primary-bg); color: var(--primary-dk); border-color: rgba(245,158,11,.2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 17px; color: var(--dark); }
.nav-logo-text { font-weight: 800; font-size: 20px; color: var(--white); letter-spacing: -.03em; }
.nav-logo-text span { color: var(--primary); }
.nav-logo-sub { font-size: 9px; font-weight: 500; color: rgba(255,255,255,.3); letter-spacing: .8px; text-transform: uppercase; margin-top: 1px; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link { display: flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: var(--r-sm); color: rgba(255,255,255,.6); font-size: 13px; font-weight: 500; transition: all var(--t); text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-menu-item { position: relative; }
.nav-dropdown { position: absolute; top: calc(100% + 10px); left: 0; background: var(--dark3); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); padding: 6px; min-width: 220px; box-shadow: 0 16px 48px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--t); z-index: 100; }
.nav-menu-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); transition: all var(--t); text-decoration: none; }
.nav-dropdown a:hover { background: rgba(245,158,11,.12); color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-user { display: flex; align-items: center; gap: 8px; padding: 5px 13px 5px 7px; border-radius: var(--r-full); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500; text-decoration: none; transition: all var(--t); }
.nav-user:hover { border-color: var(--primary); color: var(--primary); }
.nav-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--dark); flex-shrink: 0; }
.nav-badge-wrap { position: relative; display: inline-flex; }
.nav-badge-count { position: absolute; top: -4px; right: -4px; width: 15px; height: 15px; background: var(--primary); border-radius: 50%; font-size: 9px; font-weight: 700; color: var(--dark); display: flex; align-items: center; justify-content: center; border: 2px solid var(--dark); }
.nav-hamburger { display: none; flex-direction: column; gap: 4px; padding: 8px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.12); cursor: pointer; }
.nav-hamburger span { display: block; width: 18px; height: 2px; background: rgba(255,255,255,.7); border-radius: 2px; transition: all var(--t); }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* Mobile menu */
#mobile-menu { display: none; position: fixed; inset: 0; z-index: 999; background: var(--dark); overflow-y: auto; padding: 72px 20px 36px; flex-direction: column; gap: 3px; }
#mobile-menu.open { display: flex; }
#mobile-menu a { padding: 12px 14px; border-radius: var(--r-md); color: rgba(255,255,255,.6); font-size: 14px; font-weight: 500; transition: all var(--t); text-decoration: none; display: block; border-left: 2px solid transparent; }
#mobile-menu a:hover { background: rgba(245,158,11,.1); color: var(--primary); border-left-color: var(--primary); }
.mobile-divider { height: 1px; background: rgba(255,255,255,.06); margin: 10px 0; }

/* Verify banner */
.verify-banner { background: var(--warning-bg); border-bottom: 1px solid rgba(217,119,6,.2); padding: 9px 0; }
.verify-banner-inner { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--warning); flex-wrap: wrap; }
.verify-banner-text a { color: var(--warning); font-weight: 700; text-decoration: underline; }

/* Hero */
.hero { background: var(--dark); padding: clamp(52px,9vw,100px) 0 clamp(44px,7vw,80px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 70%); top: -200px; right: -100px; pointer-events: none; }
.hero::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.04) 0%, transparent 70%); bottom: -150px; left: -80px; pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: 1fr 420px; gap: 52px; align-items: center; position: relative; z-index: 1; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.25); border-radius: var(--r-full); padding: 5px 14px 5px 8px; margin-bottom: 18px; }
.hero__badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.4); } 50% { box-shadow: 0 0 0 6px rgba(245,158,11,0); } }
.hero__badge span { font-size: 11px; font-weight: 600; color: var(--primary); letter-spacing: .3px; }
.hero__title { color: var(--white); margin-bottom: 16px; line-height: 1.08; }
.hero__title em { color: var(--primary); font-style: normal; }
.hero__subtitle { color: rgba(255,255,255,.55); font-size: 15px; line-height: 1.75; max-width: 480px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__stats { display: flex; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.hero__stat-num { font-weight: 800; font-size: 22px; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.hero__stat-lbl { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 3px; }

/* Search card */
.search-card { background: var(--white); border-radius: var(--r-2xl); padding: 24px; box-shadow: 0 24px 64px rgba(0,0,0,.35); }
.search-card__title { font-weight: 800; font-size: 17px; margin-bottom: 3px; letter-spacing: -.02em; }
.search-card__sub { font-size: 12px; color: var(--g400); margin-bottom: 16px; }

/* Page hero */
.page-hero { background: var(--dark); padding: clamp(44px,7vw,72px) 0; border-bottom: 1px solid rgba(255,255,255,.05); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.07) 0%, transparent 70%); top: -100px; right: -80px; pointer-events: none; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.5); font-size: 15px; max-width: 560px; line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.35); font-size: 13px; text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: rgba(255,255,255,.2); font-size: 11px; }
.breadcrumb span { color: rgba(255,255,255,.6); font-size: 13px; }

/* Service cards */
.service-card { background: var(--white); border: 1.5px solid var(--g100); border-radius: var(--r-xl); padding: 24px 22px; transition: all var(--t); display: block; color: inherit; text-decoration: none; position: relative; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform var(--t); transform-origin: left; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--primary); color: inherit; }
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.service-card__title { font-weight: 700; font-size: 15px; margin-bottom: 7px; color: var(--g900); }
.service-card__desc { font-size: 13px; color: var(--g400); margin: 0; line-height: 1.6; }

/* Listing cards */
.listing-card { background: var(--white); border: 1.5px solid var(--g100); border-radius: var(--r-lg); overflow: hidden; transition: all var(--t); display: block; color: inherit; text-decoration: none; }
.listing-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); transform: translateY(-2px); color: inherit; }
.listing-card__head { padding: 14px 16px 12px; border-bottom: 1px solid var(--g100); }
.listing-card__route { font-weight: 700; font-size: 17px; color: var(--g900); letter-spacing: -.02em; }
.listing-card__type { font-size: 12px; color: var(--g400); margin-top: 2px; }
.listing-card__body { padding: 10px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.listing-card__meta { background: var(--g50); border-radius: var(--r-sm); padding: 7px 9px; }
.listing-card__meta-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--g300); margin-bottom: 2px; }
.listing-card__meta-val { font-size: 13px; font-weight: 600; color: var(--g900); }
.listing-card__foot { padding: 11px 16px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--g100); }
.listing-card__price { font-weight: 800; font-size: 18px; color: var(--primary-dk); letter-spacing: -.02em; }

/* Steps */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.steps-row::before { content: ''; position: absolute; top: 24px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, var(--primary), rgba(245,158,11,.1)); z-index: 0; }
.step-item { text-align: center; padding: 0 12px; position: relative; z-index: 1; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-weight: 800; font-size: 16px; color: var(--primary-dk); box-shadow: 0 0 0 7px var(--white); }
.step-title { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.step-desc { font-size: 12px; color: var(--g400); line-height: 1.6; }

/* Trust bar */
.trust-bar { display: flex; align-items: center; justify-content: center; gap: clamp(14px,4vw,44px); padding: 24px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 9px; }
.trust-icon { width: 34px; height: 34px; border-radius: var(--r-sm); background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.trust-num { font-weight: 800; font-size: 16px; color: var(--g900); line-height: 1; }
.trust-lbl { font-size: 12px; color: var(--g400); }

/* Panel */
.panel-layout { display: flex; min-height: calc(100vh - var(--nav-h)); background: var(--g50); }
.panel-sidebar { width: var(--sidebar-w); min-width: var(--sidebar-w); background: var(--dark); border-right: 1px solid rgba(255,255,255,.05); display: flex; flex-direction: column; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.sidebar-header { padding: 16px 18px 13px; border-bottom: 1px solid rgba(255,255,255,.06); }
.sidebar-section-label { padding: 14px 18px 5px; font-size: 10px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.2); }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 9px 18px; color: rgba(255,255,255,.45); font-size: 13px; font-weight: 500; cursor: pointer; transition: all var(--t); text-decoration: none; border-left: 2px solid transparent; }
.sidebar-link:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.04); }
.sidebar-link.active { color: var(--primary); background: rgba(245,158,11,.1); border-left-color: var(--primary); }
.sidebar-badge { margin-left: auto; background: var(--primary); color: var(--dark); font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: var(--r-full); min-width: 16px; text-align: center; }
.sidebar-footer { margin-top: auto; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.05); }
.sidebar-user { display: flex; align-items: center; gap: 10px; }
.sidebar-avatar { width: 32px; height: 32px; border-radius: 50%; background: rgba(245,158,11,.15); border: 1.5px solid rgba(245,158,11,.25); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.sidebar-user-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); line-height: 1.3; }
.sidebar-user-role { font-size: 11px; color: rgba(255,255,255,.3); }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-topbar { background: var(--white); border-bottom: 1px solid var(--g100); padding: 0 22px; height: 52px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; position: sticky; top: var(--nav-h); z-index: 10; }
.panel-title { font-weight: 700; font-size: 17px; color: var(--g900); letter-spacing: -.02em; }
.panel-content { padding: clamp(14px,3vw,24px); flex: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); padding: 16px 18px; }
.stat-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--g300); margin-bottom: 7px; }
.stat-value { font-weight: 800; font-size: 26px; color: var(--g900); line-height: 1; letter-spacing: -.03em; }
.stat-sub { font-size: 12px; color: var(--g400); margin-top: 5px; }
.table-card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; }
.table-card-head { padding: 13px 16px; border-bottom: 1px solid var(--g100); display: flex; align-items: center; justify-content: space-between; }
.table-card-title { font-weight: 700; font-size: 13px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th { padding: 9px 16px; text-align: left; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--g400); background: var(--g50); border-bottom: 1px solid var(--g100); white-space: nowrap; }
.data-table tbody tr { border-bottom: 1px solid var(--g100); transition: background var(--t); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table tbody tr:hover { background: var(--g50); }
.data-table td { padding: 11px 16px; font-size: 13px; color: var(--g700); vertical-align: middle; }

/* Auth */
.auth-layout { min-height: calc(100vh - var(--nav-h)); display: grid; grid-template-columns: 1fr 440px; }
.auth-visual { background: var(--dark3); padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; border-right: 1px solid rgba(255,255,255,.05); }
.auth-visual::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.12) 0%, transparent 70%); top: -100px; right: -100px; }
.auth-visual-title { font-weight: 800; font-size: clamp(26px,3.5vw,40px); color: var(--white); margin-bottom: 12px; line-height: 1.12; letter-spacing: -.03em; }
.auth-visual-sub { color: rgba(255,255,255,.5); font-size: 14px; line-height: 1.75; margin-bottom: 32px; }
.auth-features { display: flex; flex-direction: column; gap: 13px; }
.auth-feature { display: flex; align-items: center; gap: 11px; }
.auth-feature-icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.2); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.auth-feature-text { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 500; }
.auth-side { background: var(--g50); display: flex; align-items: center; justify-content: center; padding: clamp(24px,4vw,48px) clamp(16px,4vw,36px); }
.auth-card { background: var(--white); border-radius: var(--r-2xl); padding: clamp(26px,4vw,38px); width: 100%; max-width: 400px; box-shadow: var(--shadow-xl); border: 1px solid var(--g100); }
.auth-logo { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 22px; text-decoration: none; }
.auth-title { font-weight: 800; font-size: 24px; text-align: center; margin-bottom: 4px; color: var(--g900); letter-spacing: -.03em; }
.auth-sub { font-size: 13px; color: var(--g400); text-align: center; margin-bottom: 22px; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--g300); font-size: 12px; margin: 16px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--g100); }
.auth-footer { text-align: center; font-size: 13px; color: var(--g400); margin-top: 16px; }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.role-option { padding: 14px; border: 1.5px solid var(--g100); border-radius: var(--r-lg); cursor: pointer; transition: all var(--t); text-align: center; }
.role-option:hover, .role-option.selected { border-color: var(--primary); background: var(--primary-bg); }
.role-option__icon { font-size: 24px; margin-bottom: 7px; }
.role-option__title { font-weight: 700; font-size: 13px; color: var(--g900); margin-bottom: 2px; }
.role-option__desc { font-size: 11px; color: var(--g400); line-height: 1.4; }

/* CTA */
.cta-section { background: var(--dark); padding: clamp(52px,8vw,80px) 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 70%); bottom: -200px; right: -100px; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-inner h2 { color: var(--white); margin-bottom: 9px; }
.cta-inner p { color: rgba(255,255,255,.5); font-size: 15px; max-width: 480px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; flex-shrink: 0; }

/* Footer */
.site-footer { background: var(--dark); }
.footer-main { padding: 52px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand-desc { color: rgba(255,255,255,.3); font-size: 13px; line-height: 1.7; margin-top: 13px; max-width: 250px; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.2); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.4); font-size: 13px; transition: color var(--t); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 7px; margin-top: 16px; }
.footer-social a { width: 32px; height: 32px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 13px; transition: all var(--t); text-decoration: none; }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 18px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: rgba(255,255,255,.2); font-size: 12px; }
.footer-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.footer-badge { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-sm); padding: 3px 9px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.2); }

/* Blog cards */
.blog-card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); overflow: hidden; transition: all var(--t); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card__thumb { aspect-ratio: 16/9; background: var(--g50); overflow: hidden; position: relative; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); }
.blog-card:hover .blog-card__thumb img { transform: scale(1.03); }
.blog-card__cat { position: absolute; bottom: 8px; left: 8px; background: var(--dark); color: var(--primary); font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: var(--r-full); letter-spacing: .5px; text-transform: uppercase; }
.blog-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { display: flex; gap: 10px; font-size: 12px; color: var(--g400); margin-bottom: 7px; }
.blog-card__title { font-weight: 700; font-size: 15px; color: var(--g900); margin-bottom: 7px; line-height: 1.3; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--primary-dk); }
.blog-card__excerpt { font-size: 13px; color: var(--g400); line-height: 1.65; flex: 1; }
.blog-card__foot { padding: 11px 16px; border-top: 1px solid var(--g100); display: flex; align-items: center; justify-content: space-between; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-md); overflow: hidden; }
.faq-q { padding: 14px 18px; font-weight: 600; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--g900); gap: 12px; transition: background var(--t); user-select: none; }
.faq-q:hover { background: var(--g50); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--primary-bg); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--primary-dk); transition: transform var(--t), background var(--t); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: var(--dark); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 0 18px 14px; font-size: 13px; color: var(--g400); line-height: 1.75; }

/* Entry content */
.entry-content { font-size: 15px; line-height: 1.85; color: var(--g500); }
.entry-content h2 { font-size: 24px; color: var(--g900); margin: 32px 0 12px; }
.entry-content h3 { font-size: 19px; color: var(--g900); margin: 26px 0 10px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul, .entry-content ol { padding-left: 20px; margin-bottom: 16px; }
.entry-content ul li { list-style: disc; margin-bottom: 6px; }
.entry-content ol li { list-style: decimal; margin-bottom: 6px; }
.entry-content blockquote { border-left: 3px solid var(--primary); padding: 13px 16px; margin: 24px 0; background: var(--primary-bg); border-radius: 0 var(--r-md) var(--r-md) 0; font-style: italic; }
.entry-content img { border-radius: var(--r-lg); margin: 22px 0; box-shadow: var(--shadow-md); }

/* Pricing */
.pricing-card { background: var(--white); border: 1.5px solid var(--g100); border-radius: var(--r-xl); padding: 28px; position: relative; transition: all var(--t); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 8px 32px rgba(245,158,11,.15); }
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pricing-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--dark); font-size: 11px; font-weight: 700; padding: 3px 14px; border-radius: var(--r-full); white-space: nowrap; }
.pricing-name { font-size: 13px; font-weight: 600; color: var(--g400); margin-bottom: 9px; }
.pricing-price { font-weight: 800; font-size: 44px; color: var(--g900); line-height: 1; letter-spacing: -.04em; }
.pricing-features { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 8px; }
.pricing-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g700); }
.check { color: var(--success); font-size: 14px; flex-shrink: 0; }
.cross { color: var(--g300); font-size: 14px; flex-shrink: 0; }

/* Testimonials */
.testimonial-card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-xl); padding: 22px; }
.testimonial-stars { color: var(--primary); font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial-text { font-size: 14px; color: var(--g500); line-height: 1.75; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: var(--primary); flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 13px; color: var(--g900); }
.testimonial-role { font-size: 12px; color: var(--g400); }

/* Messaging */
.msg-layout { display: grid; grid-template-columns: 270px 1fr; height: calc(100vh - 120px); background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); overflow: hidden; }
.msg-list { border-right: 1px solid var(--g100); overflow-y: auto; display: flex; flex-direction: column; }
.msg-thread { padding: 11px 14px; border-bottom: 1px solid var(--g100); cursor: pointer; transition: background var(--t); text-decoration: none; display: block; }
.msg-thread:hover, .msg-thread.active { background: var(--primary-bg); }
.msg-thread.active { border-left: 2px solid var(--primary); }
.msg-chat { display: flex; flex-direction: column; }
.msg-chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 11px; background: var(--g50); }
.msg-row { display: flex; align-items: flex-end; gap: 7px; }
.msg-row.mine { flex-direction: row-reverse; }
.msg-bubble { max-width: 65%; padding: 8px 12px; border-radius: 13px; font-size: 13px; line-height: 1.55; }
.msg-bubble.theirs { background: var(--white); color: var(--g900); border-bottom-left-radius: 3px; box-shadow: var(--shadow-sm); }
.msg-bubble.mine { background: var(--dark); color: var(--white); border-bottom-right-radius: 3px; }
.msg-input-wrap { padding: 11px 14px; border-top: 1px solid var(--g100); display: flex; gap: 9px; align-items: flex-end; background: var(--white); }
.msg-input-wrap textarea { flex: 1; padding: 8px 12px; border: 1.5px solid var(--g200); border-radius: var(--r-lg); font-size: 13px; resize: none; height: 40px; max-height: 120px; outline: none; }
.msg-input-wrap textarea:focus { border-color: var(--primary); }

/* Utilities */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.w-full { width: 100%; }
.text-primary { color: var(--primary-dk); }
.text-muted { color: var(--g400); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.divider { height: 1px; background: var(--g100); margin: 18px 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--g100); border-top-color: var(--primary); border-radius: 50%; animation: spin .65s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 900; display: none; }
.overlay.show { display: block; }
.fade-up { opacity: 1; transform: translateY(0); }
.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:14px}.mt-4{margin-top:20px}.mt-6{margin-top:32px}
.mb-2{margin-bottom:8px}.mb-3{margin-bottom:14px}.mb-4{margin-bottom:20px}

/* Elementor */
.elementor-section .elementor-container { max-width: 100%; }
.elementor-widget-container p:last-child { margin-bottom: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .search-card { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .steps-row { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .steps-row::before { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .panel-sidebar { width: 52px; min-width: 52px; }
  .panel-sidebar .sidebar-link span:not(.sidebar-badge) { display: none; }
  .panel-sidebar .sidebar-section-label, .panel-sidebar .sidebar-user-name, .panel-sidebar .sidebar-user-role { display: none; }
  .panel-sidebar .sidebar-link { justify-content: center; padding: 11px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 58px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding-block: clamp(36px,8vw,56px); }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar { gap: 14px; }
  .panel-sidebar { display: none; }
  .panel-sidebar.mobile-open { display: flex; position: fixed; z-index: 998; top: var(--nav-h); bottom: 0; left: 0; height: auto; width: var(--sidebar-w); }
  .msg-layout { grid-template-columns: 1fr; }
  .msg-list { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .data-table thead { display: none; }
  .data-table tr { display: flex; flex-wrap: wrap; padding: 9px 13px; gap: 5px; }
  .data-table td { padding: 2px 4px; border: none; font-size: 12px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .steps-row { grid-template-columns: 1fr; }
}
