/* 
 * Eliko.uz Landing Page Stylesheet
 * Adapted to Orvano Light Luxury Aesthetic (Old-Money Style)
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-primary: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Color Palette (Orvano Light Luxury Aesthetic) */
  --bg-primary: #ffffff;
  --bg-secondary: #f6f6f6;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfcfc;
  
  --accent-gold: #7a5c3b;            /* Earthy gold-brown */
  --accent-gold-glow: rgba(122, 92, 59, 0.1);
  --accent-gold-light: #967452;
  
  --text-white: #1b1b1b;              /* Dark text for white background */
  --text-light: #333333;
  --text-muted: #6b6b6b;
  --text-dark: #ffffff;               /* For light text elements on dark overlays */
  
  --border-color: #e6e6e6;
  --border-gold-fade: rgba(122, 92, 59, 0.2);
  --glass-blur: blur(12px);
  
  /* Layout constraints */
  --nav-height: 80px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Section Common */
section {
  padding: 100px 0;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}
.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  border-radius: 2px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Sticky Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}
.header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 6px;
  transition: transform 0.3s ease;
}
.logo-link:hover .logo-text {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  min-height: 44px;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 154, 55, 0.1);
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 20px var(--accent-gold-glow);
  transform: translateY(-2px);
}

/* Hamburger Menu (Mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--text-white);
  transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  }
  .nav-menu.open {
    right: 0;
  }
  
  .nav-cta-container {
    /* We don't hide the container anymore because it holds founder-popover */
  }
  .nav-cta {
    display: none;
  }
  
  /* Toggle animations */
  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 40px);
  background-color: var(--bg-primary);
  overflow: hidden;
  position: relative;
}
/* Grid decorative background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
}
/* Glowing orb */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  pointer-events: none;
  filter: blur(40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(212, 154, 55, 0.08);
  border: 1px solid var(--border-gold-fade);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 580px;
}
@media (max-width: 992px) {
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 20px rgba(212, 154, 55, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(212, 154, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  border-radius: 30px;
  padding: 10px;
  background: linear-gradient(135deg, var(--border-color) 0%, rgba(212, 154, 55, 0.15) 100%);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px dashed var(--border-gold-fade);
  pointer-events: none;
}

.hero-default-visual {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--accent-gold);
}
.hero-default-visual svg {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Stats / Trust Badges Section */
.stats {
  padding: 50px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

/* About Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(212, 154, 55, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-card-hover);
  border-color: var(--border-gold-fade);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 154, 55, 0.05);
}
.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: rgba(212, 154, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold-fade);
  margin-bottom: 8px;
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  border-color: var(--border-gold-fade);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  color: var(--accent-gold);
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}
.testimonial-avatar-fallback {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(212, 154, 55, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid var(--border-gold-fade);
}

.testimonial-user-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
}
.testimonial-user-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contacts Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(212, 154, 55, 0.08);
  border: 1px solid var(--border-gold-fade);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.contact-text p, .contact-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-text a:hover {
  color: var(--accent-gold);
}

/* Call actions buttons */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  min-height: 48px;
}
.contact-btn-phone {
  background-color: #10b981;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}
.contact-btn-phone:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}
.contact-btn-telegram {
  background-color: #0088cc;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.2);
}
.contact-btn-telegram:hover {
  background-color: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.35);
}
.contact-btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.25);
}
.contact-btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.45);
  filter: brightness(1.1);
}

/* Lead Capture Form */
.lead-form-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.lead-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
@media (max-width: 576px) {
  .lead-form-wrapper {
    padding: 24px;
  }
}

.lead-form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.lead-form-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input {
  width: 100%;
  padding: 12px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 154, 55, 0.15);
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  display: none;
}
.form-message.success {
  display: block;
  background-color: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.form-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Map Section */
.map-section {
  padding: 0;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}

.map-wrapper {
  width: 100%;
  height: 450px;
  background-color: var(--bg-secondary);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .map-wrapper {
    height: 300px;
    border-radius: 20px;
  }
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.4) contrast(1.05); /* Clean light styling for the Google Map */
}

/* Footer Section */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px 0;
}
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 30px 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}
.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-menu a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent-gold);
}
.footer-contact-item a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Floating Action Button (FAB) for Mobile Quick Call / Telegram */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
@media (min-width: 993px) {
  .floating-contact {
    display: none; /* Only show on mobile/tablet */
  }
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.fab:hover {
  transform: scale(1.1);
}
.fab-phone {
  background-color: #10b981;
}
.fab-telegram {
  background-color: #0088cc;
}

/* Header Founder Profile Badge Styling */
.nav-founder-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 4px 16px 4px 6px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-founder-link:hover {
  background: rgba(212, 154, 55, 0.08);
  border-color: var(--accent-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 154, 55, 0.1);
}

.nav-founder-avatar-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--border-color) 0%, var(--accent-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.nav-founder-link:hover .nav-founder-avatar-wrapper {
  transform: rotate(360deg);
}

.nav-founder-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--bg-secondary);
}

.nav-founder-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-founder-link .pulse-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--bg-secondary);
  background-color: #10b981;
}

.nav-founder-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.nav-founder-role {
  font-size: 0.7rem;
  color: var(--accent-gold-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.nav-founder-name {
  font-size: 0.85rem;
  color: var(--text-white);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

/* Visibility classes */
.desktop-founder-only {
  display: flex;
}
.mobile-founder-item {
  display: none;
}

/* Responsive adjustment for Mobile Header */
.nav-actions-mobile {
  display: none;
  align-items: center;
}

@media (max-width: 992px) {
  .desktop-founder-only {
    display: none !important;
  }
  .nav-actions-mobile {
    display: flex;
    gap: 12px;
  }
  .mobile-founder-only {
    display: block !important;
  }
}

/* Preloader Styling */
.preloader {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s;
  opacity: 1;
  visibility: visible;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent-gold);
  margin-bottom: 20px;
  animation: logo-expand 2s ease-in-out infinite alternate;
}

@keyframes logo-expand {
  0% {
    letter-spacing: 4px;
    opacity: 0.7;
    transform: scale(0.98);
  }
  100% {
    letter-spacing: 12px;
    opacity: 1;
    transform: scale(1.02);
  }
}

.preloader-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.preloader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.5s infinite;
}

/* Founder Popover Styling */
.nav-founder-wrapper {
  position: relative;
  display: inline-block;
}

.nav-founder-link {
  background: transparent;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  border: none;
}

.founder-popover {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1010;
}

.founder-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.founder-popover-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.founder-popover-avatar-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--border-color) 0%, var(--accent-gold) 100%);
}

.founder-popover-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.founder-popover-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.founder-popover-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.2;
}

.founder-popover-role {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-popover-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.founder-popover-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark) !important;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
  transition: all 0.3s ease;
}

.founder-popover-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 92, 59, 0.25);
}

.nav-founder-avatar-only {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: none;
  outline: none;
}

/* Mobile: make founder popover friendly and visible */
@media (max-width: 600px) {
  .founder-popover {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 90px;
    bottom: auto;
    width: auto;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    z-index: 2000;
    max-width: calc(100% - 24px);
  }

  .founder-popover-header { gap: 12px; }
  .founder-popover-avatar-wrapper { width: 44px; height: 44px; }
  .founder-popover-name { font-size: 1rem; }
  .founder-popover-role { font-size: 0.7rem; }

  /* Ensure mobile trigger is visible and easy to tap */
  .mobile-founder-only { display: block !important; }
  .nav-actions-mobile { display: flex !important; }
}

/* Hide avatar inside popover on small screens (show only text + button) */
@media (max-width: 600px) {
  .founder-popover-avatar-wrapper { display: none; }
  .founder-popover-header { align-items: flex-start; }
  .founder-popover { padding-top: 12px; }
}

/* Founder page styles */
.founder-page {
  padding: 28px 16px;
}
.founder-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 18px;
}
.founder-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.founder-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: 0 0 64px; }
.founder-avatar img { width:100%;height:100%;object-fit:cover;display:block }
.founder-avatar img { max-width: 100%; display: block; }
.founder-avatar img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
}
.founder-avatar-fallback { width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:var(--bg-secondary);color:var(--accent-gold);font-weight:700;font-size:1.2rem }
.founder-name { margin:0;font-family:var(--font-serif);font-size:1.25rem }
.founder-role { color:var(--accent-gold);font-weight:600;text-transform:uppercase;font-size:0.75rem }
.founder-bio { margin-top:12px;color:var(--text-muted);line-height:1.5 }
.founder-actions { display:flex;gap:10px;margin-top:16px }
.founder-card { padding: 16px; }

@media (max-width: 420px) {
  .founder-avatar { width:56px; height:56px; flex:0 0 56px; }
  .founder-avatar img { width:56px !important; height:56px !important }
  .founder-avatar-fallback { font-size:1rem }
}
.back-link { color:var(--text-white); text-decoration:none; font-weight:600 }
.btn { padding:10px 14px;border-radius:10px;text-decoration:none;display:inline-flex;align-items:center;gap:8px }
.btn-primary { background:linear-gradient(135deg,var(--accent-gold),var(--accent-gold-light)); color:var(--text-dark); font-weight:700 }
.btn-outline { border:1px solid var(--border-color); color:var(--text-white); background:transparent }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@media (max-width: 992px) {
  .founder-popover {
    position: fixed;
    top: 90px;
    right: 20px;
    left: 20px;
    width: auto;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* Products Grid & Cards */
.products-section {
  padding: 100px 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.products-slider-container {
  position: relative;
  width: 100%;
  margin-top: 48px;
  padding: 0 40px;
}

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

.products-slider-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0 30px 0;
  scrollbar-width: none; /* Hide scrollbar Firefox */
}

.products-slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}

.product-card {
  flex: 0 0 calc(33.333% - 22px);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 992px) {
  .product-card {
    flex: 0 0 calc(50% - 16px);
  }
  .products-slider-track {
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .product-card {
    flex: 0 0 85%;
  }
  .products-slider-track {
    gap: 16px;
    padding: 10px 16px 30px 16px;
    margin: 0 -16px;
  }
}

/* Slider Navigation Buttons */
.products-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.products-nav-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  border-color: var(--accent-gold);
}

.products-nav-btn.prev {
  left: -15px;
}

.products-nav-btn.next {
  right: -15px;
}

@media (max-width: 768px) {
  .products-nav-btn {
    display: none !important;
  }
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-color: var(--accent-gold);
}

.product-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--bg-secondary);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.05);
}

.product-card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(122, 92, 59, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-view-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 50px;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.product-card:hover .product-card-view-btn {
  transform: translateY(0);
}

.product-card-info {
  padding: 24px;
  text-align: center;
}

.product-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-white);
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

/* Premium Product Details Modal */
.product-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-detail-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(27, 27, 27, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  z-index: 2;
  transform: scale(0.95) translateY(15px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-detail-modal.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  border-color: var(--accent-gold);
  transform: rotate(90deg);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

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

.modal-gallery-container {
  padding: 32px;
  background-color: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .modal-gallery-container {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
  }
}

.modal-gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1.1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.modal-active-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease-in-out;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.slider-btn:hover {
  background: var(--accent-gold);
  color: var(--text-dark);
  border-color: var(--accent-gold);
}

.prev-btn {
  left: 12px;
}

.next-btn {
  right: 12px;
}

.modal-gallery-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  overflow-x: auto;
  padding-bottom: 6px;
}

.modal-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--bg-primary);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumbnail.active {
  border-color: var(--accent-gold);
  transform: scale(1.05);
}

.modal-info-container {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .modal-info-container {
    padding: 28px;
  }
}

.modal-product-name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}


.modal-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  margin-bottom: 24px;
}

.modal-product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.modal-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--text-dark) !important;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.modal-book-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(122, 92, 59, 0.25);
}

/* Hide body scroll when modal is active */
.overflow-hidden {
  overflow: hidden !important;
}
