/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --ease-in-out: cubic-bezier(.4, 0, .2, 1);
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .collapse {
    visibility: collapse;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .sticky {
    position: sticky;
  }

  .top-3 {
    top: calc(var(--spacing) * 3);
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .flex-shrink {
    flex-shrink: 1;
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .resize {
    resize: both;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .break-all {
    word-break: break-all;
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .underline {
    text-decoration-line: underline;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-in-out {
    --tw-ease: var(--ease-in-out);
    transition-timing-function: var(--ease-in-out);
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
}

:root {
  --color-electric: #f59e0b;
  --color-electric-50: #fffbeb;
  --color-electric-100: #fef3c7;
  --color-electric-400: #fbbf24;
  --color-electric-500: #f59e0b;
  --color-electric-600: #d97706;
  --color-gas: #3b82f6;
  --color-gas-50: #eff6ff;
  --color-gas-100: #dbeafe;
  --color-gas-400: #60a5fa;
  --color-gas-500: #3b82f6;
  --color-gas-600: #2563eb;
  --color-save: #10b981;
  --color-save-50: #ecfdf5;
  --color-save-400: #34d399;
  --color-save-500: #10b981;
  --color-save-600: #059669;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  --bg-base: #0a0d14;
  --bg-surface: #111620;
  --bg-card: #161b26;
  --bg-card-hover: #1c2332;
  --bg-input: #0f131c;
  --border: #ffffff0f;
  --border-light: #ffffff1a;
  --border-focus: #f59e0b66;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px #0000004d;
  --shadow-md: 0 4px 16px #0006;
  --shadow-lg: 0 8px 32px #00000080;
  --shadow-glow-electric: 0 0 40px #f59e0b1f;
  --shadow-glow-gas: 0 0 40px #3b82f61f;
  --shadow-glow-save: 0 0 40px #10b9811f;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --duration-fast: .15s;
  --duration-normal: .25s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body:before {
  content: "";
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(80% 60% at 50% -20%, #f59e0b0a, #0000), radial-gradient(60% 50% at 80% 80%, #3b82f608, #0000), radial-gradient(50% 40% at 20%, #10b98105, #0000);
  position: fixed;
  inset: 0;
}

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

button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
  font-family: inherit;
}

input {
  color: inherit;
  font-family: inherit;
}

::selection {
  color: #fff;
  background: #f59e0b4d;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-700);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-600);
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #f0f4ff 30%, #93c5fd 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-electric {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fef3c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.text-gradient-gas {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #dbeafe 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.glass-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
  background: linear-gradient(135deg, #161b26e6, #111620f2);
}

.glass-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.glass-card.best-offer {
  background: linear-gradient(135deg, #10b98114, #05966908);
  border-color: #10b98140;
}

.glass-card.best-offer:hover {
  box-shadow: var(--shadow-glow-save);
  border-color: #10b98166;
}

.btn {
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

.btn:after {
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, #0000 40%, #ffffff14);
  position: absolute;
  inset: 0;
}

.btn-electric {
  background: linear-gradient(135deg, var(--color-electric-500), var(--color-electric-600));
  color: #fff;
  box-shadow: 0 4px 20px #f59e0b4d;
}

.btn-electric:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px #f59e0b66;
}

.btn-gas {
  background: linear-gradient(135deg, var(--color-gas-500), var(--color-gas-600));
  color: #fff;
  box-shadow: 0 4px 20px #3b82f64d;
}

.btn-gas:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px #3b82f666;
}

.btn-success {
  background: linear-gradient(135deg, var(--color-save-500), var(--color-save-600));
  color: #fff;
  box-shadow: 0 4px 20px #10b9814d;
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px #10b98166;
}

.btn-outline {
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  background: none;
}

.btn-outline:hover {
  border-color: var(--gray-500);
  color: var(--text-primary);
  background: #ffffff08;
}

.btn-lg {
  border-radius: var(--radius-lg);
  padding: 18px 36px;
  font-size: 17px;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

.toggle-group {
  background: var(--bg-input);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  gap: 4px;
  padding: 4px;
  display: flex;
}

.toggle-btn {
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.toggle-btn:hover {
  color: var(--text-secondary);
}

.toggle-btn.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.range-value {
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 800;
}

.range-value span {
  color: var(--text-muted);
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
}

.range-slider {
  appearance: none;
  border-radius: var(--radius-full);
  background: var(--gray-800);
  cursor: pointer;
  outline: none;
  width: 100%;
  height: 6px;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  border: 3px solid var(--color-electric-500);
  cursor: pointer;
  width: 24px;
  height: 24px;
  transition: transform var(--duration-fast) var(--ease-out);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0000004d;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider.gas::-webkit-slider-thumb {
  border-color: var(--color-gas-500);
}

.input-field {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 100%;
  color: var(--text-primary);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
}

.input-field::placeholder {
  color: var(--text-muted);
}

.input-field:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px #f59e0b1a;
}

.badge {
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: var(--radius-full);
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
}

.badge-best {
  color: var(--color-save-400);
  background: linear-gradient(135deg, #10b98133, #0596691a);
  border: 1px solid #10b9814d;
}

.badge-save {
  color: var(--color-save-400);
  background: #10b98126;
  border: 1px solid #10b98140;
}

.badge-tag {
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: #94a3b81a;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.animate-fade-in-up {
  animation: fadeInUp .5s var(--ease-out) both;
}

.animate-fade-in {
  animation: fadeIn .4s var(--ease-out) both;
}

.animate-scale-in {
  animation: scaleIn .3s var(--ease-out) both;
}

.stagger > * {
  opacity: 0;
  animation: fadeInUp .4s var(--ease-out) forwards;
}

.stagger > :first-child {
  animation-delay: 50ms;
}

.stagger > :nth-child(2) {
  animation-delay: .1s;
}

.stagger > :nth-child(3) {
  animation-delay: .15s;
}

.stagger > :nth-child(4) {
  animation-delay: .2s;
}

.stagger > :nth-child(5) {
  animation-delay: .25s;
}

.stagger > :nth-child(6) {
  animation-delay: .3s;
}

.shimmer {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: 1.5s infinite shimmer;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  animation: .7s linear infinite spinner;
}

.confetti-particle {
  opacity: 0;
  animation: linear forwards confetti-fall;
}

@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(0) rotate(0);
  }

  100% {
    transform: translateY(105vh) translateX(var(--drift, 30px)) rotate(var(--rotate, 360deg));
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 16px;
  }

  .toggle-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}
