/*
 * Supl.Biz UAE - Ultra Premium Style Sheet
 * Author: Antigravity
 * Design System: Slate Dark with Vibrant Gold & Pure Amber Accent
 */

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

/* --- Design Tokens --- */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --bg-primary: #080b0e;
  --bg-secondary: #0f1319;
  --bg-tertiary: #141b22;
  
  --accent-gold: #ffb300;
  --accent-gold-hover: #ff9100;
  --accent-gold-glow: rgba(255, 179, 0, 0.25);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 179, 0, 0.4);
  
  --glass-bg: rgba(15, 19, 25, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(255, 179, 0, 0.15);

  /* Spacing Scale */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2.5rem;   /* 40px */
  --space-xl: 4rem;     /* 64px */
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  /* Max width */
  --max-width: 1200px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-gold-hover);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg) auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* --- Typography Utilities --- */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.font-semibold { font-weight: 600; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

/* --- Header & Navigation --- */
.header {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
  background-color: rgba(8, 11, 14, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-contacts {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-contacts a {
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}

.nav-contacts a:hover {
  color: var(--text-primary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #000000;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent-gold-hover);
  color: #000000;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  color: #ffffff;
}

/* --- Glass Cards --- */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-glass:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

/* --- Hero Section --- */
.hero-section {
  padding: var(--space-xl) 0 var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 30%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.07) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-content p.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.trust-badges {
  display: flex;
  gap: var(--space-md);
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-sm);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.trust-badge-item i {
  color: var(--accent-gold);
}

/* --- Form --- */
.lead-form-container {
  padding: var(--space-lg);
}

.lead-form-container h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  text-align: center;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

.form-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
}

.form-group.has-error .form-error {
  display: block;
}

/* --- Value Proposition Grid --- */
.val-card {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background-color: var(--bg-tertiary);
  transition: transform 0.2s ease;
}

.val-card:hover {
  transform: scale(1.02);
}

.val-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 179, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-sm);
}

.val-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* --- Details Banner --- */
.details-banner {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.detail-item .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.detail-item .label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Accordion FAQ --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-sm) 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-question h4 {
  font-size: 1.1rem;
  margin-bottom: 0;
  transition: color 0.2s ease;
}

.faq-question:hover h4 {
  color: var(--accent-gold);
}

.faq-question i {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
  padding-top: var(--space-xs);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

/* --- Office Info Block --- */
.office-info {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.office-info-body {
  padding: var(--space-lg);
}

.office-info-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
}

.meta-item {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.meta-item strong {
  color: var(--text-primary);
  display: block;
}

/* --- Blog Directory & Grid --- */
.blog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  gap: var(--space-sm);
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
  max-width: 400px;
}

.search-input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-wrapper input {
  padding-left: 2.75rem;
}

.blog-categories {
  display: flex;
  gap: 0.5rem;
}

.cat-badge {
  padding: 0.35rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
}

.cat-badge.active, .cat-badge:hover {
  background-color: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.blog-card-link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- Contact Details Page --- */
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info-item {
  display: flex;
  gap: var(--space-sm);
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 179, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.map-placeholder {
  height: 350px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}

.map-placeholder::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255, 255, 255, 0.01) 40px, rgba(255, 255, 255, 0.01) 41px),
              repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.01) 40px, rgba(255, 255, 255, 0.01) 41px);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-light);
  padding: var(--space-lg) 0;
  background-color: #06080a;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  align-items: center;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

.footer-brand p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-brand .license-info {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Sticky Bottom CTA (Mobile-First Meta Page MUST) --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 19, 25, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  padding: 0.75rem var(--space-md);
  display: none; /* Block on mobile viewport */
  justify-content: space-between;
  align-items: center;
  z-index: 99;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.sticky-text h5 {
  font-size: 0.9rem;
  margin-bottom: 0;
  font-weight: 600;
}

.sticky-text p {
  font-size: 0.75rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* --- Responsive Adaptations --- */

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

@media (max-width: 768px) {
  :root {
    --space-xl: 2.5rem;
    --space-lg: 1.5rem;
  }
  
  html {
    font-size: 15px;
  }
  
  .grid-2, .grid-3, .blog-grid, .details-grid, .contact-details-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .trust-badges {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .footer-legal-links {
    justify-content: center;
  }
  
  .nav-contacts {
    display: none; /* Hide top details to avoid clutter on mobile */
  }
  
  .sticky-cta-bar {
    display: flex;
  }
  
  body {
    padding-bottom: 70px; /* Offset for sticky bar */
  }
  
  .blog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .blog-categories {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .cat-badge {
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* --- Premium Animations & Interactive States --- */

/* Scroll Reveal States - Default to visible for accessibility and local file fallback */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
}

body.js-enabled .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for sequential entry */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Micro-animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(255, 179, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 179, 0, 0); }
}

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

.pulse-animation {
  animation: pulse-glow 2s infinite;
}

/* Interactive Card hover accent line */
.card-glass {
  position: relative;
  overflow: hidden;
}

.card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-glass:hover::before {
  transform: scaleX(1);
}

/* Glass panel glow backing */
.glow-backing {
  position: relative;
}

.glow-backing::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 179, 0, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

/* Typewriter animation helper */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  background-color: var(--accent-gold);
  margin-left: 3px;
  animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

