/* =============================================
   TSEDAR — GLOBAL STYLES (v2 — design-matched)
   ============================================= */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root {
  /* Brand Palette */
  --teal-900: #0d3b3b;
  --teal-800: #1a4f4f;
  --teal-700: #1e6060;
  --teal-600: #2a7a7a;
  --teal-500: #3a9494;
  --teal-400: #5aafaf;
  --teal-300: #80c7c7;
  --teal-200: #b3dede;
  --teal-100: #d9f0f0;
  --teal-50: #eef8f8;

  --cream: #f5f0ea;
  --off-white: #f8fafa;
  --white: #ffffff;
  --dark: #111111;
  --gray-900: #1a1a1a;
  --gray-700: #3a3a3a;
  --gray-500: #6b6b6b;
  --gray-400: #9a9a9a;
  --gray-300: #c0c0c0;
  --gray-100: #f0f0f0;

  /* Gradients */
  --grad-teal: linear-gradient(135deg, #0d3b3b 0%, #2a7a7a 50%, #5aafaf 100%);
  --grad-light: linear-gradient(180deg, #eef8f8 0%, #d9f0f0 100%);

  /* Typography
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif; */

/* Typography */
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 12px rgba(13, 59, 59, 0.07);
  --sh-md: 0 8px 32px rgba(13, 59, 59, 0.13);
  --sh-lg: 0 20px 60px rgba(13, 59, 59, 0.19);

  /* Transitions */
  --t: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* =============================================
   NAVBAR
   ============================================= */
   .logo{
    height: 60px;
    background: #0d2a2a;
    backdrop-filter: blur(15px);
    border-radius: 0px 10px 10px 10px;
   }
.tsedar-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(13, 59, 59, 0.08);
  transition: var(--t);
}

.tsedar-navbar.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 16px 0;
}

.tsedar-navbar.menu-open {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--sh-md) !important;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.navbar-logo {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 700;
  color: #112a2e;
  letter-spacing: -0.02em;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #cbe6e9;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-top-right-radius: 0px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 10px 20px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3e5a5e;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  transition: var(--t);
}

.nav-link:hover {
  color: #112a2e;
}

.nav-link.active {
  color: #112a2e;
  font-weight: 600;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white) !important;
  background: #8b9fa1 !important;
  /* Exact design slate grey button */
  padding: 9px 20px !important;
  border-top-right-radius: 0px;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--t);
  border: none;
}

.nav-cta:hover {
  background: #546e7a !important;
  transform: scale(1.02);
}

.navbar-toggler {
  display: none;
  background: rgba(206, 226, 230, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
  color: #3e5a5e;
  font-size: 1.1rem;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-tsedar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: var(--t);
}

.btn-primary {
  background: #4d6c6d !important;
  /* Exact design slate grey button */
  color: var(--white) !important;
  border-radius: 10px;
}

.btn-primary:hover {
  background: #546e7a !important;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #3e5a5e;
  border: 1.5px solid rgba(120, 144, 156, 0.4);
}

.btn-outline:hover {
  background: rgba(120, 144, 156, 0.1);
}

.btn-white {
  background: var(--white);
  color: #3e5a5e;
}

.btn-white:hover {
  background: var(--teal-50);
  transform: translateY(-2px);
}

.btn-dark-teal {
  background: #78909c !important;
  color: var(--white) !important;
}

.btn-dark-teal:hover {
  background: #546e7a !important;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}



/* Hero card */
.hero-card {
  background: rgba(210, 230, 235, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 10px !important;
  box-shadow: 0 16px 48px rgba(112, 144, 150, 0.12) !important;
  padding: 36px 32px 28px;
  background-color: #6c9092 !important;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  background: #6c9092 !important;
  /* Exact design slate grey button style */
  color: #c6dedb !important;
  margin-bottom: 18px;
  border: 1px solid #c6dedb;
}

.hero-card-body {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #c6dedb;
  margin-bottom: 18px;
}

.hero-card-heading {
  
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-cta {
  font-size: 0.8rem;
  padding: 8px 24px;
}

/* =============================================
   GLASS CARD
   ============================================= */
   .roadmap-heading{
  color: #000;
}
.phase-item.phase-active .phase-badge {background:#0d2a2a; color:#fff;border-radius:10px;padding:10px}
.phase-item.phase-active .phase-row{background:#0d2a2a; color:#fff;border-radius:15px;padding:10px;margin-left:-20px}
.phase-item.phase-active .phase-now,.phase-item.phase-active .phase-desc{color:#fff}
.phase-item {    justify-content: center;padding:5px}
.phase-item .phase-badge {background:#a4b5bb; color:#fff;border-radius:10px;padding:10px}
.phase-item .phase-row{background:#a4b5bb; color:#fff;border-radius:15px;padding:10px;margin-left:-20px}
.phase-item .phase-now,.phase-item .phase-desc,.phase-coming{color:#fff}
.roadmap-footnote.revealed{color:#000}
.glass-card {
  background: linear-gradient(135deg, #f5f5f5 0%, #eaeaea 50%, #f2efe9 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(112, 144, 150, 0.12) !important;
}

.footer-bottom-bar.copyright {
    display: flex;
    justify-content: space-between;
}

/* =============================================
   CONTAINER
   ============================================= */
.container-tsedar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* =============================================
   BADGE / PILL
   ============================================= */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: rgba(42, 122, 122, 0.12);
  color: var(--teal-700);
  border: 1px solid rgba(42, 122, 122, 0.2);
}

/* =============================================
   SECTION LABEL
   ============================================= */
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   FLOAT ANIMATION
   ============================================= */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =============================================
   FORM INPUTS
   ============================================= */
.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(42, 122, 122, 0.2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--gray-900);
  transition: var(--t);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42, 122, 122, 0.09);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid rgba(42, 122, 122, 0.08);
  padding: 56px 0 0;
  background: url(../img/home-bg-6.png);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 20px;
  padding-bottom: 40px;
  background: #fff;
    padding: 40px;
    border-radius: 12px;

}
.footer-links{padding: 0;

}

.footer-logo {
  
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--teal-900);
}

.footer-col-heading {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--gray-700);
  transition: var(--t);
}

.footer-links a:hover {
  color: var(--teal-700);
}

.footer-col--contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-scroll-top {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(42, 122, 122, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--teal-700);
  font-size: 0.9rem;
  transition: var(--t);
}

.footer-scroll-top:hover {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

.footer-contact-info,
.footer-address {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: right;
  line-height: 1.7;
}

.footer-bottom-bar {
  
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-row {
  display: flex;
  gap: 10px;margin-right: auto;
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(42, 122, 122, 0.18);
  background: none;
  cursor: pointer;
  color: var(--gray-600, #555);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}

.footer-social-btn:hover {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

.footer-copyright {
  font-size: 0.72rem;
  color: var(--gray-400);
  
}

.footer-privacy-link {
  font-size: 0.72rem;
  color: var(--gray-500);
  transition: var(--t);
}

.footer-privacy-link:hover {
  color: var(--teal-700);
}

/* =============================================
   RESPONSIVE NAVBAR
   ============================================= */
@media (max-width: 991px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid rgba(42, 122, 122, 0.1);
    box-shadow: var(--sh-md);
    gap: 4px;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-toggler {
    display: block;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .tsedar-navbar {
    background: rgba(255, 255, 255, 0.95);
  }
}

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;

  }

  .footer-col--contact {
    align-items: flex-start;
  }

  .footer-contact-info,
  .footer-address {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   NEWSLETTER (global — used on all pages)
   ============================================= */
.newsletter-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #a1aaaa;
  border-radius: var(--r-sm);
  background: #f3f2f0;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--gray-900);
  outline: none;
  transition: var(--t);
  margin-bottom: 12px;
  border-radius: 12px;
}

button.btn-tsedar.btn-dark-teal {
    background: #9aa3a3 !important;
    width: auto;
    max-width: 180px;
    border-radius: 12px;
    padding: 8px 20px;
}

.newsletter-input:focus {
  border-color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42, 122, 122, 0.09);
}

.newsletter-input::placeholder {
  color: var(--gray-400);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-400);
  border-radius: 3px;
}

.testimonials-section {
  background: var(--white);
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.testimonials-heading {
  
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--teal-900);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.testimonials-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.testimonials-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.t-card {
  background: rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 20px !important;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(112, 144, 150, 0.08) !important;
  transition: var(--t);
}

.t-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--teal-300);
}

.t-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--teal-200);
  flex-shrink: 0;
}

.t-meta {
  flex: 1;
  overflow: hidden;
}

.t-meta strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-meta span {
  font-size: 0.7rem;
  color: var(--gray-400);
}

.t-stars {
  color: #f5a623;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

.t-text {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--gray-500);
}


/* ===================================================
   SECTION 8: NEWSLETTER
   - Misty/foggy sky background, very light
   - Centered card (not full-width)
   =================================================== */
.newsletter-section {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.newsletter-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.newsletter-overlay {
  position: absolute;
  inset: 0;
  
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.newsletter-card {
  max-width: 480px;
  padding: 44px 40px;
  background: rgba(255, 255, 255, 0.82);
  margin: auto;
  border-radius: 24px;
}

.newsletter-heading {
  
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin-bottom: 10px;
}

.newsletter-sub {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 24px;
}

.newsletter-form-el {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===================================================
   SECTION 7: ROADMAP
   - Dark image background, strong teal-black overlay
   - Centered heading
   - Vertical list of phases (not horizontal — matches design)
   =================================================== */
.roadmap-section {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.roadmap-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.roadmap-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roadmap-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(8, 40, 40, 0.91) 0%,
      rgba(13, 59, 59, 0.88) 100%);
}

.roadmap-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
.testimonials-cards.revealed{
max-width: 550px;
    margin-left: auto;
}
.testimonials-cards .t-meta strong{
color: #000;margin-top: 10px;font-size: 18px;
}

.testimonials-cards .t-meta span{
  color: #748385;font-size: 0.78rem;
    line-height: 1.65;
}

.testimonials-cards .t-card{
    background: #edf3f8 !important;
    border-radius: 10px !important;
}

.testimonials-cards .t-avatar{
border-radius: 5px;
}
.testimonials-cards .t-card-header{
display: block;    margin-bottom: 5px;
}


.roadmap-heading {
  
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #0d2a2a;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
}

/* Phase list — vertical centered column */
.roadmap-phases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 100%;
  margin: 0 auto 40px;
}

.phase-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 5px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phase-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.phase-badge {
  flex-shrink: 0;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--white);
  color: var(--teal-900);
  letter-spacing: 0.04em;
  min-width: 78px;
  text-align: center;
}

.phase-badge--dim {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.phase-row {
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.phase-now {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-300);
}

.phase-coming {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.phase-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.roadmap-footnote {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.nav-item.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: #cbe6e9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 8px 0;
  z-index: 1000;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}


.dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #333;
  background-color: #cbe6e9;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-item:hover {
  color: #112a2e;
}


/* Cookie Consent Banner Styles */
/* Hand On Web — handonweb.com */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Demo page styles */
.demo-page { max-width: 720px; margin: 0 auto; padding: 40px 20px 120px; }

.demo-header {
  text-align: center;
  margin-bottom: 32px;
}

.demo-header h1 { font-size: 2rem; color: #1a1a2e; margin-bottom: 8px; }
.demo-header p { color: #666; }

.demo-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.demo-card h2 { font-size: 1.3rem; margin-bottom: 12px; color: #1a1a2e; }
.demo-card p { margin-bottom: 12px; color: #555; }

.reset-btn {
  margin-top: 16px;
  padding: 10px 20px;
  background: #e5e7eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: background 0.2s;
}

.reset-btn:hover { background: #d1d5db; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  border-top: 3px solid #2563eb;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.cookie-icon { font-size: 32px; flex-shrink: 0; }

.cookie-text h3 { font-size: 16px; color: #1a1a2e; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: #666; line-height: 1.5; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-accept {
  background: #2563eb;
  color: white;
}
.btn-accept:hover { background: #1d4ed8; }

.btn-reject {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}
.btn-reject:hover { background: #e5e7eb; }

.btn-prefs {
  background: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}
.btn-prefs:hover { background: #eff6ff; }

/* Preferences Modal */
.prefs-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.prefs-modal {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.prefs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.prefs-header h3 { font-size: 18px; color: #1a1a2e; }

.prefs-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  line-height: 1;
}
.prefs-close:hover { color: #333; }

.prefs-body { padding: 16px 24px; }

.pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.pref-item:last-child { border-bottom: none; }

.pref-info { flex: 1; margin-right: 16px; }
.pref-info strong { display: block; font-size: 14px; color: #1a1a2e; margin-bottom: 2px; }
.pref-info p { font-size: 13px; color: #888; margin: 0; }

/* Toggle switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 26px;
  cursor: pointer;
  transition: background 0.3s;
}
.slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle input:checked + .slider { background: #2563eb; }
.toggle input:checked + .slider::before { transform: translateX(22px); }
.toggle.disabled .slider { background: #93c5fd; cursor: not-allowed; }
.toggle.disabled .slider::before { transform: translateX(22px); }

.prefs-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  text-align: right;
}

.hidden { display: none !important; }

/* Status toast */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #059669;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
  animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.5s forwards;
  z-index: 10002;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}