/* T Glass — Premium Shared Styles (Unified Assistant Typeface - Premium Sapphire Blue Theme) */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
  background-color: #ffffff;
}

body {
  background: #ffffff;
  color: #2B3340;
  -webkit-font-smoothing: antialiased;
  font-family: 'Assistant', sans-serif;
  overflow-x: hidden;
  letter-spacing: 0.01em;
}

/* Unified bold headers using Heebo */
h1, h2, h3, .font-serif {
  font-family: 'Heebo', sans-serif;
  font-weight: 800; /* Bold Heebo titles */
  letter-spacing: -0.01em;
  color: #2B3340;
}

::selection {
  background: #3560B0;
  color: #fff;
}

.ease-lux {
  transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Elegant sleek scrollbars */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #ffffff;
}
::-webkit-scrollbar-thumb {
  background: #e2dfda;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3560B0;
}

/* Smooth entry animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(2px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), filter 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Very faint grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.01;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Floating Glass Cards */
.glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 24, 21, 0.04);
  box-shadow: 0 10px 40px -10px rgba(30, 41, 59, 0.03);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.glass-card:hover {
  border-color: rgba(30, 41, 59, 0.15);
  box-shadow: 0 25px 60px -15px rgba(30, 41, 59, 0.06);
  transform: translateY(-4px);
}

.hairline {
  box-shadow: inset 0 0 0 1px rgba(26, 24, 21, 0.04);
}
.innerglow {
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Faint background glows */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.2;
  animation: breathe 15s infinite alternate ease-in-out;
}
@keyframes breathe {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(15px, -15px);
  }
}

/* Ensure opaque backgrounds completely hide blueprint lines behind cards */
.glass-card.bg-white {
  background-color: #ffffff !important;
}

/* Elegant CTA buttons */
.cta-premium {
  background: linear-gradient(135deg, #3A63C0 0%, #27457F 100%) !important;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(44, 93, 179, 0.25);
  box-shadow: 0 10px 30px -10px rgba(44, 93, 179, 0.35);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.cta-premium:hover {
  background: linear-gradient(135deg, #3257A8 0%, #1E3A66 100%) !important;
  border-color: #27457F;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px rgba(30, 63, 122, 0.45);
}
.cta-premium:active {
  transform: translateY(0) scale(0.98);
}

.cta-secondary {
  border: 1px solid rgba(26, 24, 21, 0.08);
  background: rgba(255, 255, 255, 0.6);
  color: #2B3340;
  font-weight: 600;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.cta-secondary:hover {
  border-color: rgba(44, 93, 179, 0.35);
  background: #ffffff;
  color: #3560B0;
}

/* Glass Types for Visualizer */
.glass-type-preview {
  position: relative;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.glass-clear {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px 0 rgba(30, 41, 59, 0.01);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-extraclear {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 30px 0 rgba(30, 41, 59, 0.02);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.glass-frosted {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px 0 rgba(30, 41, 59, 0.01);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.glass-smoked {
  background: rgba(26, 24, 21, 0.55);
  box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Metallic Hardware Finishes */
.hw-finish {
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.hw-finish-chrome {
  background: linear-gradient(135deg, #e2e8f0 0%, #ffffff 40%, #cbd5e1 60%, #94a3b8 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1), inset 0 0.5px 0 rgba(255,255,255,0.8);
}
.hw-finish-matteblack {
  background: linear-gradient(135deg, #475569 0%, #27457F 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hw-finish-gold {
  background: linear-gradient(135deg, #dfba73 0%, #fefcf6 40%, #e2c07d 60%, #b58d3d 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.15), inset 0 0.5px 0 rgba(255,255,255,0.4);
}

/* Active Nav Links styling */
.nav-link-active {
  color: #3560B0 !important;
  font-weight: 700;
  position: relative;
}
.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 1.5px;
  background-color: #3560B0;
  border-radius: 1px;
}

/* Float Label fields */
.form-group-premium {
  position: relative;
}
.form-input-premium {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(26, 24, 21, 0.08);
  background: transparent;
  border-radius: 0;
  padding: 0.85rem 0.5rem;
  transition: all 0.5s ease;
  font-family: inherit;
}
.form-input-premium:focus {
  outline: none;
  border-color: #3560B0;
  box-shadow: none;
  background: transparent;
}

/* Branded placeholder for missing images */
.ph {
  background: #FAF9F6;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,24,21,0.02);
}
.ph::after {
  content: "T·GLASS";
  font-family: 'Assistant', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(30, 41, 59, 0.25);
  letter-spacing: 0.15em;
}

/* Fine blueprint lines styling */
.grid-line-v {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(30, 41, 59, 0.05);
  pointer-events: none;
  z-index: 1;
}
.grid-line-h {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-color: rgba(30, 41, 59, 0.05);
  pointer-events: none;
  z-index: 1;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}
.scroll-indicator-dot {
  animation: scroll-dot 2.5s infinite ease-in-out;
}

/* ===== IMAGE PLACEHOLDERS (for client image selection) ===== */
.ph-img{
  width:100%;height:100%;min-height:100%;
  background:repeating-linear-gradient(45deg,#eef2f8,#eef2f8 14px,#e6ecf6 14px,#e6ecf6 28px);
  border:1px dashed rgba(44,93,179,.30);
  display:flex;align-items:center;justify-content:center;text-align:center;color:#3560B0;
}
.ph-img .ph-label{font-weight:700;font-size:.8rem;line-height:1.35;opacity:.78;padding:.5rem .9rem;}
.ph-img .ph-label::before{content:"\1F5BC";display:block;font-size:1.4rem;margin-bottom:.3rem;opacity:.7;}

/* Fix: serif text / headings on dark backgrounds must be light
   (overrides the global ".font-serif{color:#2B3340}" so they aren't black-on-black) */
.bg-ink .font-serif,
.bg-ink h1, .bg-ink h2, .bg-ink h3,
.bg-slate-900 .font-serif, .bg-slate-800 .font-serif,
.text-cream .font-serif {
  color: #ffffff;
}
