/*
Theme Name: SteadyCourse
Theme URI: https://chorata.net
Author: Chorata / SteadyCourse
Description: Elementor-powered Bilingual (BG/EN) Website in the exact theme of https://myfin.chorata.net
Version: 2.0.0
Text Domain: steadycourse
*/

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

:root,
[data-theme="light"] {
  color-scheme: light;
  --background: #f9f6f1;
  --foreground: #1c1714;
  --card: #fefdfb;
  --card-foreground: #1c1714;
  --primary: #26201c;
  --primary-foreground: #fbfaf7;
  --secondary: #ece9e4;
  --secondary-foreground: #1c1714;
  --muted: #ece9e4;
  --muted-foreground: #5d5751;
  --border: rgba(28, 23, 20, 0.12);
  --input: rgba(28, 23, 20, 0.20);
  --ring: #69625d;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(28, 23, 20, 0.10);
  --glass-shadow: 0 24px 48px -12px rgba(54, 44, 36, 0.14);
  --accent-link: #4338ca;
  --success: #007956;
  --success-line: #00bb7f;
  --warning: #b75000;
  --border-beam-from: #c2410c;
  --border-beam-to: #7c3aed;
  --radius-card: 1.25rem;
  --radius-field: 0.625rem;
}

[data-theme="dark"] {
  color-scheme: dark;
  --background: #0a0a0a;
  --foreground: #fafafa;
  --card: #171717;
  --card-foreground: #fafafa;
  --primary: #e5e5e5;
  --primary-foreground: #171717;
  --secondary: #262626;
  --secondary-foreground: #fafafa;
  --muted: #262626;
  --muted-foreground: #a1a1a1;
  --border: rgba(255, 255, 255, 0.10);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #737373;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
  --accent-link: #a5b4fc;
  --success: #00d294;
  --success-line: #00bb7f;
  --warning: #fcbb00;
  --border-beam-from: #ffaa40;
  --border-beam-to: #9c40ff;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Bilingual Toggle Visibility */
body[data-lang="bg"] [lang="en"]:not(.sc-pill-btn) { display: none !important; }
body[data-lang="en"] [lang="bg"]:not(.sc-pill-btn) { display: none !important; }

/* Signature myfin.chorata.net Radial Ambient Glow */
.myfin-ambient-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at top, color-mix(in oklch, var(--primary) 14%, transparent), transparent 60%);
}

/* Signature myfin.chorata.net Glass Surfaces */
.glass {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  backdrop-filter: blur(40px) saturate(150%);
  border-radius: var(--radius-card);
}

.glass-strong {
  background-color: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  backdrop-filter: blur(40px) saturate(150%);
  border-radius: var(--radius-card);
}

.sc-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Top Bar with Floating Glass Pills (exact myfin.chorata.net style) */
.sc-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  border-bottom: 1px solid var(--glass-border);
}

.sc-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.sc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.sc-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.sc-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.sc-nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sc-nav a:hover {
  color: var(--foreground);
}

.sc-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sc-pill-group {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 9999px;
  gap: 0.15rem;
}

.sc-pill-btn {
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  height: 2.1rem;
  min-width: 2.75rem;
  padding: 0 0.65rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.32, 1.25, 0.6, 1);
}

.sc-pill-btn.active {
  background-color: var(--glass-bg-strong);
  color: var(--foreground);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Primary & Secondary Buttons matching myfin.chorata.net data-slot="button" */
.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-field);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.sc-btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.sc-btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.sc-btn-glass {
  background-color: var(--glass-bg);
  color: var(--foreground);
  border: 1px solid var(--glass-border);
}

.sc-btn-glass:hover {
  background-color: var(--glass-bg-strong);
}

.sc-btn-pill {
  border-radius: 9999px;
  color: var(--accent-link);
  font-size: 0.85rem;
  height: 2.25rem;
  padding: 0 0.95rem;
}

/* Hero Triptych Section (Exact Login Page Layout of myfin.chorata.net) */
.sc-hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.sc-hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.sc-hero-sub {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 2.5rem;
}

.sc-triptych {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
  text-align: left;
}

.sc-panel {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sc-panel h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sc-panel-lead {
  color: var(--muted-foreground);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1.15rem;
}

.sc-tile-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sc-tile-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.sc-tile-icon {
  width: 18px;
  height: 18px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  margin-top: 2px;
}

.sc-tile-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--foreground);
}

.sc-tile-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Center Login-Style Interactive Gateway Card */
.sc-center-card {
  padding: 2.15rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-top: 2px solid var(--border-beam-from);
}

.sc-center-header {
  text-align: center;
  margin-bottom: 1.4rem;
}

.sc-center-logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  margin: 0 auto 0.9rem;
  display: block;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.sc-center-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sc-center-header p {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.sc-mock-field {
  margin-bottom: 1rem;
}

.sc-mock-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.sc-mock-input {
  width: 100%;
  height: 2.65rem;
  border-radius: var(--radius-field);
  border: 1px solid var(--input);
  background: transparent;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--foreground);
}

.sc-currency-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.76rem;
  color: var(--success);
  background: color-mix(in oklab, var(--success) 12%, transparent);
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

/* Elementor Sections Below the Fold */
.sc-section {
  padding: 4rem 0;
}

.sc-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.sc-section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
}

.sc-section-head p {
  color: var(--muted-foreground);
  font-size: 0.98rem;
  line-height: 1.6;
}

.sc-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.35rem;
}

.sc-feature-card {
  padding: 1.65rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sc-feature-card:hover {
  transform: translateY(-3px);
}

.sc-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--secondary);
  border: 1px solid var(--glass-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.sc-feature-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.sc-feature-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

.sc-link {
  color: var(--accent-link);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sc-link:hover {
  text-decoration: underline;
}

.sc-banner {
  padding: 2.75rem 2rem;
  text-align: center;
  margin: 2rem 0 3.5rem;
}

.sc-footer {
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.sc-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.sc-footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.sc-footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.sc-footer-links a:hover {
  color: var(--foreground);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .sc-triptych {
    grid-template-columns: 1fr;
  }
  .sc-nav {
    display: none;
  }
}
