/* ============================
   E&E Logistics – Public Landing
   Night Truck + US Flag (Full-page BG)
   ============================ */

/* Renk paleti */
:root {
  --american-red: #bf0a30;
  --american-dark-red: #a30829;
  --american-blue: #002868;
  --american-blue-soft: #0b2d6b;
  --american-white: #ffffff;

  --text-main: #212529;
  --text-soft: #495057;
  --card-border-soft: rgba(0, 0, 0, 0.15);
  --card-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.25);
  --american-dark-text: #0b1120;

  /* Light theme card background */
  --card-bg-light: var(--card-bg-light);
}

/* ========== BODY + TAM SAYFA ARKA PLAN ========== */

body {
  position: relative;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: transparent;
  overflow-x: hidden;
}

/* Arkadaki sabit görsel – DEFAULT: Light theme background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/images/public/background_light.jpeg") center / cover no-repeat;
  pointer-events: none;
  filter: brightness(1.05) saturate(0.95);
}

/* DARK THEME: Dark background */
html.public-theme-dark body::before {
  background: url("/images/public/background.jpeg") center / cover no-repeat;
  filter: none;
}

/* Bootstrap .bg-light vs. bizim tam ekran BG çakışmasın */
.bg-light {
  background-color: transparent !important;
}

/* =========================================
   NAVBAR – Bootstrap & Public Navbar
   ========================================= */

/* Bootstrap navbar temel hali (genel) - DEFAULT: Light theme */
.navbar {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(191, 10, 48, 0.15);
}

/* Genel navbar linkleri - DEFAULT: Light theme */
.navbar .nav-link {
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--american-red);
}

/* DARK THEME: Navbar overrides */
html.public-theme-dark .navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

html.public-theme-dark .navbar .nav-link {
  color: var(--american-white);
}

html.public-theme-dark .navbar .nav-link:hover,
html.public-theme-dark .navbar .nav-link:focus {
  color: var(--american-red);
}

/* Theme toggle button */
[data-public-theme-toggle] {
  transition: all 0.2s ease;
}

[data-public-theme-toggle]:hover {
  background: rgba(255,255,255,0.25) !important;
  border-color: rgba(255,255,255,0.5) !important;
  transform: scale(1.05);
}

[data-public-theme-toggle] .theme-toggle-icon {
  font-size: 1.1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

[data-public-theme-toggle]:hover .theme-toggle-icon {
  transform: rotate(20deg);
}

/* Login butonu - DEFAULT: Light theme */
.navbar .btn-login {
  border-radius: 999px;
  padding: 0.4rem 1.4rem;
  border: 1px solid rgba(51, 65, 85, 0.2);
  color: #334155;
  background: rgba(51, 65, 85, 0.08);
  font-weight: 500;
  font-size: 0.9rem;
}

.navbar .btn-login:hover {
  background: rgba(51, 65, 85, 0.15);
}

/* DARK THEME: Login button */
html.public-theme-dark .navbar .btn-login {
  border: 1px solid var(--american-dark-text);
  color: var(--american-dark-text);
  background: rgba(255, 255, 255, 0.4);
}

html.public-theme-dark .navbar .btn-login:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Logo */
.navbar-brand img {
  max-height: 45px;
  height: auto;
  width: auto;
  border-radius: 10px;
}

/* ============================
   PUBLIC NAVBAR SCROLL BEHAVIOUR
   ============================ */

/* DEFAULT: Light theme public navbar */
.public-navbar {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    backdrop-filter 0.25s ease,
    -webkit-backdrop-filter 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Scroll sonrası görünüm - Light theme */
.public-navbar.navbar-scrolled {
  background: var(--page-overlay);
  border-bottom-color: rgba(191, 10, 48, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Public navbar link renkleri - Light theme */
.public-navbar .nav-link {
  color: #475569;
}

.public-navbar .nav-link:hover,
.public-navbar .nav-link:focus {
  color: #334155;
}

/* DARK THEME: Public navbar overrides */
html.public-theme-dark .public-navbar.navbar-scrolled {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(15, 23, 42, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

html.public-theme-dark .public-navbar .nav-link {
  color: #f9fafb;
}

html.public-theme-dark .public-navbar .nav-link:hover,
html.public-theme-dark .public-navbar .nav-link:focus {
  color: #ffffff;
}

/* =========================================
   HERO – Landing Hero (Home)
   ========================================= */

.hero-section {
  position: relative;
  color: var(--american-blue);
  padding-top: 110px;
  padding-bottom: 110px;
}

/* HTML'deki ekstra hero-bg'yi kullanmıyoruz */
.hero-bg {
  display: none;
}

/* Base: Hero üzerinde beyaz sis katmanı (landing dışındaki sayfalar için de kullanılabilir) */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  color: var(--american-blue);
  z-index: -1;
}

/* DEFAULT: Light theme hero */
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--american-blue);
  text-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 36rem;
  color: var(--american-blue-soft);
}

.hero-trust p {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--american-blue-soft);
}

/* DARK THEME: Hero overrides */
html.public-theme-dark .hero-section {
  color: var(--american-white);
}

html.public-theme-dark .hero-title {
  color: var(--american-white);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

html.public-theme-dark .hero-subtitle {
  color: var(--american-white);
}

html.public-theme-dark .hero-trust p {
  color: rgba(249, 250, 251, 0.9);
}

/* =========================================
   BUTONLAR – Global
   ========================================= */

.btn-primary {
  background: linear-gradient(135deg, var(--american-blue-soft), var(--american-blue));
  border-color: transparent;
  color: var(--american-white);
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(191, 10, 48, 0.5);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(191, 10, 48, 0.65);
}

.btn-danger {
  background: linear-gradient(135deg, var(--american-red), var(--american-dark-red));
  border-color: transparent;
  color: var(--american-white);
  border-radius: 999px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  box-shadow: 0 15px 30px rgba(191, 10, 48, 0.5);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.btn-danger:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(191, 10, 48, 0.65);
}

.btn-outline-light {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: var(--american-dark-text);
  background: transparent;
  font-weight: 500;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.btn-outline-light:hover {
  background-color: var(--american-red);
  color: var(--american-white);
  border-color: var(--american-red);
  transform: translateY(-1px);
}

/* =========================================
   SECTION GENEL
   ========================================= */

.section-padding {
  padding: 80px 0;
}

/* DEFAULT: Light theme section headers */
.section-header h2 {
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--american-blue);
}

.section-subtitle {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.03rem;
  color: var(--american-blue-soft);
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: rgba(0, 40, 104, 0.85);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--american-blue);
}

/* DARK THEME: Section overrides */
html.public-theme-dark .section-header h2 {
  color: var(--american-white);
}

html.public-theme-dark .section-subtitle {
  color: var(--american-white);
}

html.public-theme-dark .section-kicker {
  color: rgba(99, 102, 241, 0.9);
}

html.public-theme-dark .section-title {
  color: var(--american-white);
}

/* =========================================
   HOW IT WORKS & VALUE CARDS (GLASS)
   ========================================= */

.how-it-works-section {
  position: relative;
}

/* Base kart stili – diğer sayfalar veya genel kullanım için */
.feature-card,
.value-card {
  /*backdrop-filter: blur(12px);*/
  /*-webkit-backdrop-filter: blur(12px);*/
  padding: 26px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border-soft);
  height: 100%;
  background: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.feature-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(191, 10, 48, 0.4);
  background: none;
}

/* Adım numarası rozet */
.feature-step {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, var(--american-red), var(--american-dark-red));
  color: var(--american-white);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 0 3px rgba(191, 10, 48, 0.8);
  margin-bottom: 0.75rem;
}

.feature-title,
.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text,
.value-text {
  font-size: 0.98rem;
}

/* =========================================
   HOME (public-home) – How it works özel
   ========================================= */

.public-home .how-it-works-section .section-header h2 {
  color: var(--american-blue);
}

.public-home .how-it-works-section .section-header p {
  color: var(--american-blue-soft);
}

/* DEFAULT: Light theme styles for home page cards */
.public-home .feature-card,
.public-home .value-card {
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  border-color: rgba(191, 10, 48, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--american-blue);
}

.public-home .feature-title,
.public-home .value-title {
  color: var(--american-blue);
}

.public-home .feature-text,
.public-home .value-text {
  color: var(--american-blue);
}

.public-home .feature-card:hover,
.public-home .value-card:hover {
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  border-color: rgba(191, 10, 48, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* DARK THEME: Override for home page cards */
html.public-theme-dark .public-home .how-it-works-section .section-header h2 {
  color: var(--american-white);
}

html.public-theme-dark .public-home .how-it-works-section .section-header p {
  color: rgba(249, 250, 251, 0.9);
}

html.public-theme-dark .public-home .feature-card,
html.public-theme-dark .public-home .value-card {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  color: #f9fafb;
}

html.public-theme-dark .public-home .feature-title,
html.public-theme-dark .public-home .value-title {
  color: #f9fafb;
}

html.public-theme-dark .public-home .feature-text,
html.public-theme-dark .public-home .value-text {
  color: rgba(249, 250, 251, 0.9);
}

html.public-theme-dark .public-home .feature-card:hover,
html.public-theme-dark .public-home .value-card:hover {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(191, 10, 48, 0.7);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}

/* =========================================
   PUBLIC SERVICES PAGE
   ========================================= */

/* DEFAULT: Light theme styles for services page */
.public-services .feature-card,
.public-services .value-card {
  background: var(--page-overlay);
  border-color: rgba(191, 10, 48, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--american-blue-soft);
}

.public-services .feature-title,
.public-services .value-title {
  color: var(--american-blue);
}

.public-services .feature-text,
.public-services .value-text {
  color: var(--american-blue-soft);
}

.public-services .feature-card:hover,
.public-services .value-card:hover {
  background: var(--page-overlay);
  border-color: rgba(191, 10, 48, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* DARK THEME: Override for services page */
html.public-theme-dark .public-services .feature-card,
html.public-theme-dark .public-services .value-card {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  color: #f9fafb;
}

html.public-theme-dark .public-services .feature-title,
html.public-theme-dark .public-services .value-title {
  color: #f9fafb;
}

html.public-theme-dark .public-services .feature-text,
html.public-theme-dark .public-services .value-text {
  color: rgba(236, 234, 234, 0.9);
}

html.public-theme-dark .public-services .feature-card:hover,
html.public-theme-dark .public-services .value-card:hover {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(191, 10, 48, 0.7);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
}

/* Light theme - General text colors for public pages */
html.public-theme-light .public-services .hero-title,
html.public-theme-light .public-home .hero-title {
  color: var(--american-blue);
}

html.public-theme-light .public-services .hero-subtitle,
html.public-theme-light .public-home .hero-subtitle {
  color: var(--american-blue-soft);
}

/* Hero Content Wrapper for Light Theme */
html.public-theme-light .public-services .hero-content,
html.public-theme-light .public-home .hero-content {
  background: var(--page-overlay);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 18px;
  padding: 2.5rem 2rem;
}

/* Section Headers with Background for Light Theme */
html.public-theme-light .public-services .section-header,
html.public-theme-light .public-home .section-header {
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

html.public-theme-light .public-services .section-header h2,
html.public-theme-light .public-home .section-header h2,
html.public-theme-light .public-services .h3,
html.public-theme-light .public-home .h3 {
  color: var(--american-blue-soft);
}

html.public-theme-light .public-services .section-subtitle,
html.public-theme-light .public-home .section-subtitle {
  color: var(--american-blue-soft);
}

/* =========================================
   CTA (ALT BLOK – BASE)
   ========================================= */

/* DEFAULT: Light theme CTA */
.cta-section {
  color: var(--american-blue);
  padding: 90px 0 95px;
  border-top: 1px solid rgba(191, 10, 48, 0.15);
}

.cta-section h2 {
  color: var(--american-blue);
  font-weight: 700;
  font-size: 2rem;
}

.cta-section .section-subtitle {
  color: var(--american-blue-soft);
}

.cta-section .btn-primary {
  background: var(--american-red);
  border-color: var(--american-red);
  color: var(--american-white);
  font-weight: 600;
  padding: 0.9rem 2.4rem;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(191, 10, 48, 0.3);
  text-shadow: none;
}

.cta-section .btn-primary:hover {
  background: var(--american-dark-red);
  border-color: var(--american-dark-red);
}

/* Light theme CTA card style */
.public-services .cta-section,
.public-home .cta-section {
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 18px;
  margin: 0 auto;
  max-width: 900px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-empty {
  background: var(--page-overlay);
  color: var(--american-blue-soft);
}

/* DARK THEME: CTA overrides */
html.public-theme-dark .cta-section {
  color: var(--american-white);
}

html.public-theme-dark .cta-section h2 {
  color: var(--american-white);
}

html.public-theme-dark .cta-section .section-subtitle {
  color: var(--american-white);
}

html.public-theme-dark .cta-section .btn-primary {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

html.public-theme-dark .public-services .cta-section,
html.public-theme-dark .public-home .cta-section {
  background: transparent;
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  max-width: none;
  box-shadow: none;
}

html.public-theme-dark .news-empty {
  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */

/* Contact Hero Card - DEFAULT: Light theme */
.contact-hero-card {
  max-width: 700px;
  padding: 2.5rem 2rem;
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* DARK THEME: Contact hero card */
html.public-theme-dark .contact-hero-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* DEFAULT: Light theme Contact Form Wrapper */
.public-contact .contact-form-wrapper {
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.public-contact .contact-form-wrapper h2 {
  color: #334155;
  margin-bottom: 1.5rem;
}

.public-contact .form-label {
  color: #334155;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.public-contact .form-control {
  background: rgba(248, 250, 252, 1);
  border: 1px solid rgba(203, 213, 225, 1);
  color: #475569;
  padding: 0.75rem 1rem;
}

.public-contact .form-control:focus {
  background: #ffffff;
  border-color: var(--american-red);
  color: #475569;
  box-shadow: 0 0 0 0.2rem rgba(191, 10, 48, 0.15);
}

.public-contact .form-control::placeholder {
  color: rgba(100, 116, 139, 0.6);
}

.public-contact .form-text {
  color: #64748b;
  font-size: 0.875rem;
}

.public-contact .btn-primary {
  background: var(--american-red);
  border-color: var(--american-red);
  color: var(--american-white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  box-shadow: 0 4px 12px rgba(191, 10, 48, 0.3);
}

.public-contact .btn-primary:hover {
  background: var(--american-dark-red);
  border-color: var(--american-dark-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(191, 10, 48, 0.4);
}

/* Contact Info Wrapper */
.public-contact .contact-info-wrapper {
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.public-contact .contact-info-wrapper h3 {
  color: #334155;
  margin-bottom: 1.5rem;
}

.public-contact .contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.public-contact .contact-info-item:last-child {
  margin-bottom: 0;
}

.public-contact .contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.public-contact .contact-label {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.public-contact .contact-value {
  color: #475569;
  font-weight: 500;
}

.public-contact .contact-link {
  color: var(--american-red);
  text-decoration: none;
  transition: color 0.2s;
}

.public-contact .contact-link:hover {
  color: var(--american-dark-red);
  text-decoration: underline;
}

/* Social Media Wrapper */
.public-contact .social-media-wrapper {
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.public-contact .social-media-wrapper h3 {
  color: #334155;
  margin-bottom: 1rem;
}

.public-contact .social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.public-contact .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(248, 250, 252, 1);
  border: 1px solid rgba(203, 213, 225, 1);
  border-radius: 8px;
  color: #475569;
  transition: all 0.3s;
}

.public-contact .social-link:hover {
  background: var(--american-red);
  border-color: var(--american-red);
  color: var(--american-white);
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(191, 10, 48, 0.4);
}

/* DARK THEME: Contact Page Overrides */
html.public-theme-dark .public-contact .contact-form-wrapper,
html.public-theme-dark .public-contact .contact-info-wrapper,
html.public-theme-dark .public-contact .social-media-wrapper {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

html.public-theme-dark .public-contact .contact-form-wrapper h2,
html.public-theme-dark .public-contact .contact-info-wrapper h3,
html.public-theme-dark .public-contact .social-media-wrapper h3 {
  color: #f9fafb;
}

html.public-theme-dark .public-contact .form-label {
  color: #f9fafb;
}

html.public-theme-dark .public-contact .form-control {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(191, 10, 48, 0.3);
  color: #f9fafb;
}

html.public-theme-dark .public-contact .form-control:focus {
  background: rgba(30, 41, 59, 1);
  border-color: var(--american-red);
  color: #f9fafb;
  box-shadow: 0 0 0 0.2rem rgba(191, 10, 48, 0.25);
}

html.public-theme-dark .public-contact .form-control::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

html.public-theme-dark .public-contact .form-text {
  color: rgba(148, 163, 184, 0.8);
}

html.public-theme-dark .public-contact .contact-label {
  color: rgba(148, 163, 184, 0.9);
}

html.public-theme-dark .public-contact .contact-value {
  color: #f9fafb;
}

html.public-theme-dark .public-contact .social-link {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(191, 10, 48, 0.3);
  color: #f9fafb;
}

/* =========================================
   FOOTER (BASE)
   ========================================= */

/* DEFAULT: Light theme footer */
.public-footer {
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: #475569;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(191, 10, 48, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* DARK THEME: Footer override */
html.public-theme-dark .public-footer {
  color: var(--american-white);
  background: rgba(15, 23, 42, 0.7);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

/* =========================================
   LANDING OVERRIDES – Full background view
   ========================================= */

.public-landing .hero-section::before {
  background: none !important;
}

/* DARK THEME: Landing page overrides */
html.public-theme-dark .public-landing .hero-section {
  color: #f9fafb;
}

html.public-theme-dark .public-landing .hero-title {
  color: #ffffff;
  text-shadow: 0 18px 35px rgba(0, 0, 0, 0.9);
}

html.public-theme-dark .public-landing .hero-subtitle,
html.public-theme-dark .public-landing .hero-trust p,
html.public-theme-dark .public-landing .section-subtitle {
  color: rgba(249, 250, 251, 0.9);
}

html.public-theme-dark .public-landing .cta-section {
  background: transparent;
  color: #f9fafb;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

html.public-theme-dark .public-landing .cta-section h2 {
  color: #ffffff;
}

html.public-theme-dark .public-landing .cta-section .section-subtitle {
  color: rgba(249, 250, 251, 0.88);
}

html.public-theme-dark .public-landing .cta-section .btn-primary {
  background: #bf0a30;
  border-color: #bf0a30;
  color: #ffffff;
}

html.public-theme-dark .public-landing .public-footer {
  background: rgba(15, 23, 42, 0.7) !important;
  color: rgba(226, 232, 240, 0.9);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

/* =========================================
   XL & 4K ekran iyileştirmeleri
   ========================================= */

@media (min-width: 1400px) {
  .hero-content {
    max-width: 1200px;
    margin-inline: auto;
  }

  .hero-section {
    padding-top: 130px;
    padding-bottom: 140px;
  }

  .hero-title {
    font-size: 3.3rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.5;
  }

  .feature-card,
  .value-card {
    padding: 32px 30px;
  }

  .public-footer {
    font-size: 0.9rem;
  }
}

@media (min-width: 1800px) {
  body::before {
    background-position: center top;
  }

  .hero-section {
    padding-top: 150px;
    padding-bottom: 170px;
  }
}

/* Tablet (<= 992px) */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text,
  .hero-side {
    width: 100%;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    margin-inline: auto;
    font-size: 1.02rem;
  }

  .section-padding {
    padding: 60px 0;
  }
}

/* Telefon (<= 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 70px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .btn-primary,
  .btn-danger,
  .btn-outline-light,
  .cta-section .btn-primary {
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }

  .feature-card,
  .value-card {
    padding: 20px 18px;
  }

  .section-padding {
    padding: 52px 0;
  }
}

/* =========================================
   PUBLIC NEWS PAGE
   ========================================= */

.public-news {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
}

.public-news .news-hero {
  margin-bottom: 2.5rem;
}

/* News Hero Card - DEFAULT: Light theme */
.news-hero-card {
  max-width: 700px;
  padding: 2.5rem 2rem;
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* DARK THEME: News hero card */
html.public-theme-dark .news-hero-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* DEFAULT: Light theme news header */
.news-header {
  max-width: 680px;
  margin: 0 auto;
  color: var(--american-blue);
  text-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.news-kicker {
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(0, 40, 104, 0.7);
  margin-bottom: 0.4rem;
}

.news-title {
  font-size: clamp(2.1rem, 2.6vw, 2.6rem);
  font-weight: 700;
  color: var(--american-blue);
  margin-bottom: 0.4rem;
}

.news-subtitle {
  font-size: 0.95rem;
  color: var(--american-blue-soft);
}

/* DARK THEME: News header overrides */
html.public-theme-dark .news-header {
  color: #f9fafb;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

html.public-theme-dark .news-kicker {
  color: rgba(255, 255, 255, 0.55);
}

html.public-theme-dark .news-title {
  color: #fff;
}

html.public-theme-dark .news-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Grid */

.news-grid-section {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

@media (min-width: 1200px) {
  .news-grid-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* News Empty - DEFAULT: Light theme */
.news-empty {
  padding: 2rem 1rem;
  border-radius: 1rem;
  background: var(--page-overlay);
  color: var(--american-blue-soft);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(191, 10, 48, 0.25);
}

/* DARK THEME: News empty */
html.public-theme-dark .news-empty {
  background: rgba(15, 23, 42, 0.78);
  color: #e5e7eb;
  border-color: rgba(191, 10, 48, 0.35);
}

/* News Cards - DEFAULT: Light theme */

.news-card {
  background: var(--page-overlay);
  border-radius: 18px;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(191, 10, 48, 0.25);
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.news-card-title {
  color: var(--american-blue);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(191, 10, 48, 0.5);
  background: rgba(255, 255, 255, 0.95);
}

.news-card:focus {
  outline: 2px solid rgba(191, 10, 48, 0.5);
  outline-offset: 4px;
  border-color: rgba(191, 10, 48, 0.5);
}

/* DARK THEME: News cards */
html.public-theme-dark .news-card {
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

html.public-theme-dark .news-card-title {
  color: var(--american-white);
}

html.public-theme-dark .news-card:hover {
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65);
  border-color: rgba(59, 130, 246, 1);
  background: rgba(15, 23, 42, 0.92);
}

html.public-theme-dark .news-card:focus {
  outline: 2px solid rgba(59, 130, 246, 0.8);
  border-color: rgba(59, 130, 246, 1);
}

.news-card-image-wrapper {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-body {
  padding: 1.25rem 1.35rem 1.1rem;
}

.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

/* DEFAULT: Light theme news card content */
.news-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 40, 104, 0.1);
  color: var(--american-blue);
}

.news-source {
  font-size: 0.8rem;
  color: var(--american-blue-soft);
}

.news-title-link {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  color: var(--american-blue);
  font-weight: 600;
  font-size: 1.02rem;
}

.news-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-card-text {
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--american-blue-soft);
}

.news-date-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-right: 0.35rem;
}

.news-date-value {
  font-size: 0.78rem;
  color: var(--american-blue-soft);
}

.news-link-icon {
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--american-red);
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.news-link-icon:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--american-dark-red);
}

/* DARK THEME: News card content overrides */
html.public-theme-dark .news-badge {
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
}

html.public-theme-dark .news-source {
  color: rgba(191, 219, 254, 0.9);
}

html.public-theme-dark .news-title-link {
  color: #e5edff;
}

html.public-theme-dark .news-card-text {
  color: rgba(226, 232, 240, 0.9);
}

html.public-theme-dark .news-date-label {
  color: rgba(148, 163, 184, 0.9);
}

html.public-theme-dark .news-date-value {
  color: rgba(226, 232, 240, 0.9);
}

html.public-theme-dark .news-link-icon {
  color: #93c5fd;
}

html.public-theme-dark .news-link-icon:hover {
  color: #bfdbfe;
}

@media (max-width: 576px) {
  .public-news {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .news-card {
    padding: 1.25rem 1.25rem;
    border-radius: 1rem;
  }
}

.public-news .news-pagination .page-link {
  border-radius: 999px;
  padding-inline: 0.75rem;
}

.public-news .news-pagination .page-item.active .page-link {
  font-weight: 600;
}

/* =========================================
   PUBLIC PAGE BASE
   ========================================= */

.public-page {
  padding-top: 110px;
  padding-bottom: 80px;
}

/* Tüm içerik blokları aynı genişlikte ortalansın */
.public-page section {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobilde public page padding ayarı */
@media (max-width: 768px) {
  .public-page {
    padding-top: 80px;
    padding-bottom: 60px;
  }
}

/* =========================================
   SIMPLE STATIC PAGE (DB-managed)
   /about /vision /mission (generic template)
   ========================================= */

/* DEFAULT: Light theme simple page */
.simple-page .simple-page-hero {
  max-width: 900px;
  margin-bottom: 1.75rem;
  padding: 1.75rem 1.75rem;
  border-radius: 18px;
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.simple-page .simple-page-hero .section-title {
  margin-bottom: 0;
  color: #334155;
  text-shadow: none;
}

.simple-page .simple-page-content {
  max-width: 900px;
  background: var(--page-overlay);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--american-blue);
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid rgba(191, 10, 48, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.simple-page .simple-page-content .text-muted {
  padding: 1.25rem 1.4rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(191, 10, 48, 0.15);
  color: #475569;
}

/* Markdown/HTML typography - DEFAULT: Light theme */
.page-content {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
  max-width: 70ch;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: #334155;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.page-content h2 { font-size: 1.45rem; }
.page-content h3 { font-size: 1.2rem; }
.page-content h4 { font-size: 1.05rem; }

.page-content p { margin-bottom: 0.9rem; }

.page-content ul,
.page-content ol {
  margin: 0.9rem 0 1rem 1.25rem;
  padding: 0;
}

.page-content li { margin-bottom: 0.45rem; }

.page-content a {
  color: #0b2d6b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover { color: var(--american-blue); }

.page-content blockquote {
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid rgba(191, 10, 48, 0.75);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  color: #475569;
}

.page-content code {
  padding: 0.12rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 10, 48, 0.2);
  color: #334155;
  font-size: 0.95em;
}

.page-content pre {
  padding: 1rem 1.05rem;
  border-radius: 14px;
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.2);
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.page-content pre code {
  background: transparent;
  border: none;
  padding: 0;
}

/* DARK THEME: Simple page overrides */
html.public-theme-dark .simple-page .simple-page-hero {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

html.public-theme-dark .simple-page .simple-page-hero .section-title {
  color: #f9fafb;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
}

html.public-theme-dark .simple-page .simple-page-content {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(1.3px);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

html.public-theme-dark .simple-page .simple-page-content .text-muted {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: rgba(226, 232, 240, 0.92);
}

html.public-theme-dark .page-content {
  color: rgba(226, 232, 240, 0.92);
}

html.public-theme-dark .page-content h1,
html.public-theme-dark .page-content h2,
html.public-theme-dark .page-content h3,
html.public-theme-dark .page-content h4 {
  color: #f9fafb;
}

html.public-theme-dark .page-content a {
  color: #93c5fd;
}

html.public-theme-dark .page-content a:hover {
  color: #bfdbfe;
}

html.public-theme-dark .page-content blockquote {
  background: rgba(15, 23, 42, 0.45);
  color: rgba(226, 232, 240, 0.95);
}

html.public-theme-dark .page-content code {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
}

html.public-theme-dark .page-content pre {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .simple-page .simple-page-hero,
  .simple-page .simple-page-content {
    max-width: 100%;
  }

  .page-content {
    max-width: 100%;
    font-size: 0.98rem;
  }
}

/* =========================================
   LIGHT MODE STATIC PAGE (only About for now)
   ========================================= */

/* About sayfasında arka plan görselini değiştir */
.public-light-page::before {
  background: url("/images/public/background_light.jpeg") center / cover no-repeat !important;
  filter: brightness(1.05) saturate(0.95);
}

/* Açık sayfada okunabilirlik için beyaz “soft overlay” */
/*
.public-light-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.78) 0%,
      rgba(255, 255, 255, 0.62) 35%,
      rgba(255, 255, 255, 0.50) 70%,
      rgba(255, 255, 255, 0.42) 100%
    );
}
    */

/* About sayfasında hero/content kartlarını aydınlık hale getir */
.public-light-page .simple-page-hero {
  background: var(--page-overlay);
  color: var(--american-blue);
  border: 1px solid rgba(191, 10, 48, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.public-light-page .simple-page-hero .section-kicker {
  color: rgba(0, 40, 104, 0.85); /* american blue */
}

.public-light-page .simple-page-hero .section-title {
  color: #334155;
  text-shadow: none;
}

.public-light-page .simple-page-content {
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.public-light-page .page-content {
  color: #475569;
}

.public-light-page .page-content h1,
.public-light-page .page-content h2,
.public-light-page .page-content h3,
.public-light-page .page-content h4 {
  color: #334155;
}

.public-light-page .page-content a {
  color: #0b2d6b;
}

.public-light-page .page-content blockquote {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-left-color: rgba(191, 10, 48, 0.75);
  color: #475569;
}

.public-light-page .page-content code {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-color: rgba(191, 10, 48, 0.2);
  color: #334155;
}

.public-light-page .page-content pre {
  background: var(--page-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(191, 10, 48, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.public-light-page .hero-section .pricing-features-text{
  color: var(--american-blue-soft);
}

/* =========================================
   LIGHT PAGE: Navbar readability
   ========================================= */

.public-light-page .public-navbar {
  background:transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(191, 10, 48, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Linkleri koyuya çevir */
.public-light-page .public-navbar .nav-link {
  color: #475569 !important;
  text-shadow: none;
}

.public-light-page .public-navbar .nav-link:hover,
.public-light-page .public-navbar .nav-link:focus {
  color: #334155 !important;
}

/* Active link daha net olsun */
.public-light-page .public-navbar .nav-link.active {
  color: #334155 !important;
  font-weight: 700;
}

/* Login butonu light sayfada daha uyumlu */
.public-light-page .public-navbar .btn {
  background: rgba(51, 65, 85, 0.08);
  border: 1px solid rgba(51, 65, 85, 0.2);
  color: #334155;
}

.public-light-page .public-navbar .btn:hover {
  background: rgba(51, 65, 85, 0.15);
  color: #334155;
}

/* Theme toggle button in light mode */
.public-light-page [data-public-theme-toggle] {
  background: rgba(51, 65, 85, 0.1) !important;
  border-color: rgba(51, 65, 85, 0.25) !important;
}

.public-light-page [data-public-theme-toggle]:hover {
  background: rgba(51, 65, 85, 0.18) !important;
  border-color: rgba(51, 65, 85, 0.4) !important;
}

/* Senin token setini aynen taşıyabilirsin, sadece selector değişsin */
html.public-theme-dark body.public-body {
  --page-overlay: rgba(0, 0, 0, 0.35);
  /* nav tokenlar... */
}

html.public-theme-light body.public-body {
  --page-overlay: rgba(255, 255, 255, 0.55);
  /* nav tokenlar... */
}

/* =========================================
   THEME TRANSITION ANIMATIONS
   ========================================= */

/* Smooth transitions for theme changes */
body,
.navbar,
.hero-section,
.feature-card,
.value-card,
.simple-page-hero,
.page-content {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Geçiş overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: var(--page-overlay, rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Theme değişirken kısa fade effect */
body.theme-transition::after {
  opacity: 1;
}

html.public-theme-dark body.public-body {
  --page-overlay: rgba(0, 0, 0, 0.35);
}

html.public-theme-light body.public-body {
  --page-overlay: rgba(255, 255, 255, 0.55);
}

/* =========================================
   ICON WRAPPERS & ANIMATIONS
   ========================================= */

/* Base icon wrapper styles */
.feature-icon-wrapper,
.value-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Icon styles */
.feature-icon,
.value-icon {
  font-size: 2rem;
  color: #ffffff;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Gradient backgrounds by category */
.blue-gradient {
  background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.green-gradient {
  background: linear-gradient(135deg, #10b981, #059669);
}

.orange-gradient {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.purple-gradient {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

/* Hover effects on card */
.feature-card:hover .feature-icon-wrapper,
.value-card:hover .value-icon-wrapper {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Icon pulse effect on hover */
.feature-card:hover .feature-icon,
.value-card:hover .value-icon {
  animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Light theme icon adjustments */
html.public-theme-light .feature-icon-wrapper,
html.public-theme-light .value-icon-wrapper {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

html.public-theme-light .feature-card:hover .feature-icon-wrapper,
html.public-theme-light .value-card:hover .value-icon-wrapper {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */

/* Base state - invisible */
.feature-card,
.value-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Visible state - triggered by JS or CSS */
.feature-card.visible,
.value-card.visible,
.feature-card:hover,
.value-card:hover {
  opacity: 1;
  transform: translateY(0);
}

/* Progressive delay for staggered animation */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.value-card:nth-child(1) { transition-delay: 0.1s; }
.value-card:nth-child(2) { transition-delay: 0.2s; }
.value-card:nth-child(3) { transition-delay: 0.3s; }

/* Auto-show cards after page load (fallback) */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .value-card {
    animation: fadeInUp 0.6s ease forwards;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .value-card,
  .feature-icon-wrapper,
  .value-icon-wrapper,
  .feature-icon,
  .value-icon {
    animation: none !important;
    transition: none !important;
  }

  .feature-card,
  .value-card {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   PRICING PAGE STYLES
   ========================================= */

/* Pricing Hero Card - DEFAULT: Light theme */
.pricing-hero-card {
  max-width: 700px;
  padding: 2.5rem 2rem;
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Pricing Feature Cards - DEFAULT: Light theme */
.pricing-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--card-bg-light);
  border: 1px solid rgba(191, 10, 48, 0.25);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Pricing Info Card - DEFAULT: Light theme */
.pricing-info-card {
  padding: 1.25rem 1.5rem;
  background: var(--page-overlay);
  border: 1px solid rgba(191, 10, 48, 0.2);
  border-radius: 12px;
  text-align: center;
}

/* Pricing features text - DEFAULT: Light theme */
.pricing-features-text {
  color: var(--american-blue-soft);
}

/* DARK THEME: Pricing cards overrides */
html.public-theme-dark .pricing-hero-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

html.public-theme-dark .pricing-feature-card {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(191, 10, 48, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

html.public-theme-dark .pricing-feature-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

html.public-theme-dark .pricing-info-card {
  background:   rgba(191, 10, 48, 0.15);
  border-color: rgba(191, 10, 48, 0.3);
}

html.public-theme-dark .pricing-features-text {
  color: #f9fafb;
}

