/* ============================================================
   SolarNarzędzia.pl — Web Design 2027
   Dark premium theme with luminescent accents
   ============================================================ */

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

/* ===== VARIABLES ===== */
:root {
  /* Legacy variables preserved for inline styles in EJS */
  --green: #00e676;
  --green-dark: #00c853;
  --green-light: rgba(0, 230, 118, 0.08);
  --orange: #ff9100;
  --orange-dark: #ff6d00;
  --orange-light: rgba(255, 145, 0, 0.08);
  --white: #e8e6e3;
  --gray-50: #0e0e14;
  --gray-100: #121218;
  --gray-200: rgba(255, 255, 255, 0.08);
  --gray-300: rgba(255, 255, 255, 0.12);
  --gray-500: #8a8a9a;
  --gray-700: #b0b0c0;
  --gray-900: #e8e6e3;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;

  /* New 2027 variables */
  --bg-deep: #050505;
  --bg-surface: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.06);
  --text-primary: #e8e6e3;
  --text-secondary: #8a8a9a;
  --text-muted: #5a5a6a;
  --glow-green: 0 0 30px rgba(0, 230, 118, 0.3);
  --glow-orange: 0 0 30px rgba(255, 145, 0, 0.3);
  --glow-green-sm: 0 0 15px rgba(0, 230, 118, 0.2);
  --gradient-accent: linear-gradient(135deg, #00e676, #ffab00, #ff6d00);
  --gradient-green: linear-gradient(135deg, #00e676, #00c853);
  --gradient-hero: linear-gradient(135deg, #00e676 0%, #00c853 40%, #ffab00 100%);
  --glass-blur: blur(20px);
  --glass-blur-sm: blur(12px);
  --noise-opacity: 0.03;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Spotlight gradient background */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 20%, rgba(0, 230, 118, 0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255, 145, 0, 0.03) 0%, transparent 50%);
}

a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* ===== CONTAINER ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

/* ===== HEADER ===== */
.site-header {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  transition: var(--transition);
}
.logo:hover {
  color: var(--green);
  text-shadow: var(--glow-green-sm);
}
.logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px rgba(255, 180, 0, 0.5));
}
.logo-text strong {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav */
.main-nav > ul { display: flex; gap: 0.25rem; align-items: center; }
.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  background: rgba(0, 230, 118, 0.06);
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 15, 22, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 0.5rem 0;
  z-index: 100;
  list-style: none;
  flex-direction: column;
}
.has-dropdown.open > .dropdown { display: flex; flex-direction: column; }
.dropdown li { width: 100%; }
.dropdown a {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  display: block;
  color: var(--text-secondary);
}
.dropdown a:hover {
  color: var(--green);
  background: rgba(0, 230, 118, 0.06);
}

/* Nav CTA */
.btn-nav-cta {
  background: var(--gradient-accent);
  color: var(--bg-deep);
  border-radius: 24px;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 0 20px rgba(255, 145, 0, 0.25);
  transition: var(--transition);
}
.btn-nav-cta:hover {
  box-shadow: var(--glow-orange);
  transform: translateY(-1px);
  color: var(--bg-deep);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gradient-green);
  color: var(--bg-deep);
  box-shadow: var(--glow-green-sm);
}
.btn-primary:hover {
  box-shadow: var(--glow-green);
  transform: translateY(-2px);
  color: var(--bg-deep);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  background: transparent;
  backdrop-filter: var(--glass-blur-sm);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; border-radius: 14px; }
.btn-block { display: block; width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ===== HERO ===== */
.hero {
  background: var(--bg-deep);
  color: var(--text-primary);
  padding: 0;
  text-align: center;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* Mesh gradient animated background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 230, 118, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 171, 0, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 200, 83, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 30%, rgba(255, 109, 0, 0.05) 0%, transparent 40%);
  animation: meshMove 15s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes meshMove {
  0% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(-2%, 3%); }
  66% { transform: scale(0.97) translate(3%, -2%); }
  100% { transform: scale(1.03) translate(-1%, 1%); }
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.03em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Scroll indicator */
.hero::after {
  content: '';
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  z-index: 1;
}
/* Scroll dot inside the indicator — separate element via .hero .container::after */
.hero .container::after {
  content: '';
  position: fixed;
  bottom: calc(2.5rem + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--green);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(14px); }
}

/* Page hero (tool pages, etc.) */
.page-hero {
  background: var(--bg-surface);
  padding: 3.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  position: relative;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 230, 118, 0.05) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  position: relative;
}
.page-hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; position: relative; }

/* ===== SECTION ===== */
.section-title {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ===== TOOLS GRID — BENTO ===== */
.tools-section {
  padding: 5rem 0;
  background: var(--bg-deep);
  position: relative;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.25rem;
}
/* Bento sizing: first and last cards span 2 columns */
.tools-grid .tool-card:nth-child(1),
.tools-grid .tool-card:nth-child(5),
.tools-grid .tool-card:nth-child(9) {
  grid-column: span 2;
}

.tool-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
/* Animated gradient border on hover */
.tool-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.tool-card:hover::before {
  opacity: 1;
}
/* Inner glow on hover */
.tool-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 230, 118, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.tool-card:hover::after {
  opacity: 1;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  color: var(--text-primary);
}
.tool-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}
.tool-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.tool-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Scroll reveal animation */
.tool-card,
.why-card,
.faq-item {
  opacity: 0;
  transform: translateY(30px);
}
.tool-card.revealed,
.why-card.revealed,
.faq-item.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== WHY US ===== */
.why-us {
  padding: 5rem 0;
  background: var(--bg-surface);
  position: relative;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 230, 118, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.why-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  transition: var(--transition);
  position: relative;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 118, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.why-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.why-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-deep);
  color: var(--text-primary);
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Spotlight effect */
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 145, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  max-width: 550px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  position: relative;
}
.cta-section .btn-primary {
  position: relative;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ===== SEO CONTENT ===== */
.seo-content {
  padding: 4rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
}
.seo-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.seo-content p { margin-bottom: 1rem; color: var(--text-secondary); max-width: 800px; line-height: 1.8; }

/* ===== FAQ ===== */
.faq-section { padding: 4rem 0; background: var(--bg-deep); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-glass);
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-primary);
  background: transparent;
  transition: var(--transition);
  font-size: 0.95rem;
}
.faq-item summary:hover { background: rgba(0, 230, 118, 0.04); }
.faq-item summary::marker { color: var(--green); }
.faq-item[open] summary { color: var(--green); }
.faq-item p { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item a { color: var(--green); }

/* ===== LAYOUT: content + sidebar ===== */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; padding: 2rem 0; }
.content-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}
.sidebar-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--green);
}
.sidebar-box li { padding: 0.35rem 0; font-size: 0.9rem; color: var(--text-secondary); padding-left: 1.2rem; position: relative; }
.sidebar-box li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: bold; }
.sidebar-box a { color: var(--text-secondary); }
.sidebar-box a:hover { color: var(--green); }
.tool-section { padding: 1rem 0; }

/* ===== CALCULATOR FORMS ===== */
.calculator-form {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}
.calculator-form h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1), var(--glow-green-sm);
}
/* Range input styling */
.form-group input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--border-glass);
  border-radius: 3px;
  border: none;
  padding: 0;
  margin-top: 0.5rem;
}
.form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  box-shadow: var(--glow-green-sm);
}
.form-group input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  cursor: pointer;
  border: none;
  box-shadow: var(--glow-green-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 400;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-secondary);
}
.checkbox-label input { width: auto; margin-top: 0.2rem; accent-color: var(--green); }

.placeholder-info {
  background: rgba(255, 145, 0, 0.06);
  border-left: 3px solid var(--orange);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ===== RESULT BOX ===== */
.result-box {
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1.5rem;
  position: relative;
}
.result-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.3), rgba(255, 171, 0, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.result-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--green);
  margin-bottom: 1rem;
}
.result-box .result-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: var(--glow-green-sm);
}
.result-box .result-label { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CHART CONTAINER ===== */
.chart-container {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  min-height: 300px;
}

/* ===== TABLES ===== */
.data-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.data-table th,
.data-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.9rem;
}
.data-table th {
  background: rgba(0, 230, 118, 0.06);
  color: var(--green);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.data-table tr:hover td { background: rgba(255, 255, 255, 0.02); }
.data-table td { color: var(--text-secondary); }

/* ===== FORM RESULT ===== */
.form-result { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: var(--radius); font-size: 0.9rem; display: none; }
.form-result.success {
  display: block;
  background: rgba(0, 230, 118, 0.08);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.2);
}
.form-result.error {
  display: block;
  background: rgba(255, 82, 82, 0.08);
  color: #ff5252;
  border: 1px solid rgba(255, 82, 82, 0.2);
}

/* ===== AD PLACEHOLDERS ===== */
.ad-placeholder {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-radius: var(--radius);
}
.ad-728x90 { height: 90px; max-width: 728px; margin: 0.5rem auto; }
.ad-300x250 { height: 250px; width: 100%; max-width: 300px; }
.ad-in-content { height: 100px; margin: 2rem 0; }
.ad-banner-top { margin-bottom: 0; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding: 4rem 0 0;
  margin-top: 0;
  border-top: 1px solid transparent;
  background-image: linear-gradient(var(--bg-surface), var(--bg-surface)),
                    var(--gradient-accent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-top: 1px solid transparent;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; }
.footer-col h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-col p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }
.footer-col a { color: var(--text-secondary); font-size: 0.85rem; transition: var(--transition); }
.footer-col a:hover { color: var(--green); }
.footer-col li { padding: 0.25rem 0; }
.footer-bottom {
  border-top: 1px solid var(--border-glass);
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== INTERSTITIAL ===== */
.interstitial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: var(--glass-blur);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.interstitial-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 400px;
  width: 90%;
}
.interstitial-timer { font-size: 1.1rem; margin-bottom: 1rem; color: var(--text-secondary); }
.interstitial-skip {
  margin-top: 1rem;
  background: var(--gradient-green);
  color: var(--bg-deep);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: var(--glass-blur-sm);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  position: relative;
  text-align: center;
}
.popup-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}
.popup-close:hover { color: var(--text-primary); }
.popup-content h3 { font-family: 'Space Grotesk', sans-serif; color: var(--green); margin-bottom: 0.75rem; }
.popup-content p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.popup-content .ad-placeholder { margin: 1rem auto; }

/* ===== FORM SECTION (formularz-wyceny) ===== */
.form-section { background: var(--bg-deep); }

/* Step indicator dark theme */
.step-indicator { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--border-glass);
  color: var(--text-muted);
  background: var(--bg-glass);
  transition: var(--transition);
}
.step-dot.active {
  border-color: var(--green);
  color: var(--bg-deep);
  background: var(--green);
  box-shadow: var(--glow-green-sm);
}
.step-dot.done {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 230, 118, 0.1);
}
.step-line { width: 40px; height: 2px; background: var(--border-glass); align-self: center; }
.step-line.done { background: var(--green); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3 {
  margin-bottom: 1.25rem;
  color: var(--green);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
}
.step-nav { display: flex; justify-content: space-between; margin-top: 1.5rem; gap: 1rem; }
.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-primary); }
.summary-table { width: 100%; border-collapse: collapse; }
.summary-table td { padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border-glass); font-size: 0.9rem; color: var(--text-secondary); }
.summary-table td:first-child { font-weight: 600; color: var(--text-primary); width: 40%; }
.thank-you { text-align: center; padding: 2rem 0; }
.thank-you h2 { font-family: 'Space Grotesk', sans-serif; color: var(--green); margin-bottom: 1rem; }
.thank-you p { color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.thank-you-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ===== ARTICLE CONTENT (poradniki) ===== */
.article-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}
.article-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-primary);
}
.article-content p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.8; }
.article-content ul, .article-content ol { margin: 0.75rem 0 1rem 1.5rem; color: var(--text-secondary); }
.article-content li { margin-bottom: 0.4rem; line-height: 1.7; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content strong { color: var(--text-primary); }
.article-content blockquote {
  border-left: 3px solid var(--green);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  background: rgba(0, 230, 118, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-content blockquote p { margin-bottom: 0; color: var(--green); }
.article-cta {
  background: rgba(255, 145, 0, 0.04);
  border: 1px solid rgba(255, 145, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.article-cta h3 { font-family: 'Space Grotesk', sans-serif; color: var(--orange); margin-bottom: 0.5rem; }
.article-cta p { margin-bottom: 1rem; color: var(--text-secondary); }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--green); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .content-sidebar { flex-direction: row; flex-wrap: wrap; }
  .ad-300x250 { margin: 0 auto; }
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .tools-grid .tool-card:nth-child(1),
  .tools-grid .tool-card:nth-child(5),
  .tools-grid .tool-card:nth-child(9) {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 0.85rem 1rem; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    backdrop-filter: none;
    background: transparent;
    min-width: auto;
  }
  .has-dropdown.open > .dropdown { display: block; }

  .hero { min-height: 90dvh; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero::after { bottom: 1.5rem; }
  .hero .container::after { bottom: calc(1.5rem + 8px); }
  .section-title { font-size: 1.4rem; }
  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tools-grid .tool-card:nth-child(1),
  .tools-grid .tool-card:nth-child(5),
  .tools-grid .tool-card:nth-child(9) {
    grid-column: span 2;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ad-728x90 { height: 60px; }
  .calculator-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .tools-grid .tool-card:nth-child(1),
  .tools-grid .tool-card:nth-child(5),
  .tools-grid .tool-card:nth-child(9) {
    grid-column: span 1;
  }
  .hero h1 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .hero::after { display: none; }
  .hero .container::after { display: none; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
  html { scroll-behavior: auto; }
  .tool-card,
  .why-card,
  .faq-item {
    opacity: 1;
    transform: none;
  }
  .hero::before {
    animation: none;
  }
  .hero .container::after {
    animation: none;
  }
  .tool-card:hover,
  .why-card:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-nav-cta:hover {
    transform: none;
  }
}

/* ============================================================
   PREMIUM / FREEMIUM SYSTEM STYLES
   ============================================================ */

/* ===== PREMIUM BADGE ===== */
.premium-badge {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--bg-deep);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  box-shadow: 0 0 15px rgba(255, 145, 0, 0.3);
}
.premium-badge-sm {
  display: inline-block;
  background: var(--gradient-accent);
  color: var(--bg-deep);
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* ===== PREMIUM CARD STYLE ===== */
.premium-card {
  border-color: rgba(255, 145, 0, 0.15);
  position: relative;
}
.premium-card::before {
  background: linear-gradient(135deg, #ff9100, #ffab00, #00e676) !important;
}

/* ===== PREMIUM SHOWCASE ===== */
.premium-showcase {
  padding: 5rem 0;
  background: var(--bg-surface);
  position: relative;
}
.premium-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 145, 0, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.premium-showcase-sub {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: -1.5rem auto 2.5rem;
  line-height: 1.7;
}
.premium-showcase-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ===== NAV PREMIUM STYLES ===== */
.nav-premium-link {
  background: linear-gradient(135deg, rgba(255,145,0,0.1), rgba(255,145,0,0.05));
  border: 1px solid rgba(255,145,0,0.2) !important;
}
.nav-auth-link {
  color: var(--text-secondary) !important;
}
.nav-user-btn {
  display: flex !important;
  align-items: center;
  gap: 0.3rem;
}
.nav-user-icon {
  color: var(--green);
  font-size: 0.6rem;
}
.dropdown-header {
  padding: 0.4rem 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dropdown-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 0.3rem 0;
}
.dropdown-cta {
  color: var(--orange) !important;
  font-weight: 600 !important;
}
.dropdown-right {
  left: auto;
  right: 0;
}

/* ===== AUTH FORMS ===== */
.auth-form-wrapper {
  max-width: 440px;
  margin: 2rem auto;
}
.auth-form h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}
.auth-error {
  background: rgba(255, 50, 50, 0.08);
  border: 1px solid rgba(255, 50, 50, 0.3);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.auth-alt {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.auth-alt a {
  color: var(--green);
  font-weight: 600;
}

/* ===== ACCOUNT PAGE ===== */
.account-wrapper {
  max-width: 600px;
  margin: 2rem auto;
}
.account-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
}
.account-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1rem;
}
.account-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-glass);
}
.account-row:last-child { border-bottom: none; }
.account-label { color: var(--text-muted); font-size: 0.9rem; }
.account-value { color: var(--text-primary); font-weight: 500; }
.account-premium-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.account-premium-status.active {
  padding: 1rem;
  background: rgba(0, 230, 118, 0.04);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: var(--radius);
}
.account-premium-status.active .premium-badge {
  position: static;
}
.account-premium-status.active p { color: var(--text-secondary); font-size: 0.85rem; margin-top: 0.25rem; }
.account-premium-status.inactive p { color: var(--text-secondary); }
.account-tools-list {
  list-style: none;
  padding: 0;
}
.account-tools-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-glass);
}
.account-tools-list li:last-child { border-bottom: none; }
.account-tools-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.account-tools-list a:hover { color: var(--green); }

/* ===== PRICING ===== */
.pricing-section {
  padding: 4rem 0;
  background: var(--bg-deep);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}
.pricing-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  transition: var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
}
.pricing-popular {
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.08);
}
.pricing-popular::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: var(--gradient-green);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-green);
  color: var(--bg-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-header h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.25rem;
}
.pricing-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.pricing-savings {
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 1rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}
.pricing-features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}
.pricing-btn {
  margin-top: auto;
}
.pricing-faq {
  margin-top: 3rem;
}

/* ===== PAYMENT MESSAGE POPUP ===== */
.payment-message {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}
.payment-message-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 440px;
  text-align: center;
  position: relative;
}
.payment-message-content .popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.payment-message-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.payment-message-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.payment-message-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PAYWALL ===== */
.paywall-preview {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}
.paywall-overlay {
  position: relative;
  margin-top: -120px;
  padding-top: 0;
}
.paywall-blur {
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-deep) 90%);
  pointer-events: none;
}
.paywall-cta-box {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 145, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  backdrop-filter: var(--glass-blur-sm);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  box-shadow: 0 0 60px rgba(255, 145, 0, 0.05);
}
.paywall-lock-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}
.paywall-cta-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.paywall-cta-box p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.paywall-price {
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 1.25rem !important;
}
.paywall-price strong {
  font-size: 1.3rem;
  color: var(--orange);
}
.paywall-login {
  margin-top: 1rem !important;
  font-size: 0.85rem;
  color: var(--text-muted) !important;
}
.paywall-login a { color: var(--green); }

/* Premium tool paywall */
.premium-tool-paywall {
  text-align: center;
  padding: 2rem 0;
}
.premium-tool-preview {
  height: 200px;
  background: linear-gradient(135deg, rgba(255,145,0,0.03), rgba(0,230,118,0.03));
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}
.premium-tool-preview .paywall-blur {
  position: absolute;
  inset: 0;
  height: 100%;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ===== HOURLY GRID (symulator) ===== */
.hourly-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.5rem;
}
.hourly-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.hourly-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.hourly-input {
  width: 100%;
  padding: 0.3rem;
  font-size: 0.8rem;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}
.hourly-input:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 230, 118, 0.1);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comparison-table th,
.comparison-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-glass);
  text-align: left;
  color: var(--text-secondary);
}
.comparison-table thead th {
  background: rgba(0, 230, 118, 0.06);
  color: var(--green);
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}
.comparison-table tbody th {
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(255,255,255,0.02);
}

/* ===== REPORT STYLES ===== */
.report-printable {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
}
.report-table td {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.report-table td:first-child {
  color: var(--text-muted);
  width: 50%;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .hourly-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .account-row {
    flex-direction: column;
    gap: 0.25rem;
  }
  .premium-tool-preview { height: 150px; }
}

@media (max-width: 480px) {
  .hourly-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Print styles for report */
@media print {
  .site-header, .site-footer, .ad-placeholder, .content-sidebar,
  .interstitial-overlay, .popup-overlay, .ad-banner-top { display: none !important; }
  body { background: #fff; color: #111; }
  body::before, body::after { display: none; }
  .report-printable { background: #fff; border: none; padding: 0; }
  .report-table td { border-color: #ccc; color: #333; }
  .report-table td:first-child { color: #666; }
  a { color: #333; }
}
