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

:root {
  /* Premium Colors */
  --color-primary: #0066CC;
  --color-secondary: #00AEEF;
  --color-accent: #00D4FF;
  
  --color-dark: #0B172A;
  --color-dark-alt: #112240;
  --color-background: #FFFFFF;
  --color-surface: #F8FAFC;
  --color-surface-alt: #E2E8F0;
  
  --color-text: #1F2937;
  --color-text-muted: #64748B;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Advanced Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 30px rgba(0, 102, 204, 0.2);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-elegant: 0 20px 40px rgba(11, 23, 42, 0.05);
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --radius-full: 9999px;
  
  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --trans-fast: 0.3s var(--ease-smooth);
  --trans-slow: 0.6s var(--ease-smooth);
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Security: Disable text selection */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  transition: filter 0.3s ease;
}

/* Security: Blur state when DevTools open or Window loses focus */
body.blur-active {
  filter: blur(15px) grayscale(100%);
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-dark); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
a { text-decoration: none; color: var(--color-primary); transition: all var(--trans-fast); }
img, video { max-width: 100%; height: auto; display: block; pointer-events: none; -webkit-user-drag: none; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.grid { display: grid; gap: 40px; }

/* Elite Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-elegant);
}

.glass-dark {
  background: rgba(11, 23, 42, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.section-subtitle { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--color-text-muted); max-width: 700px; margin: 0 auto 4rem; }

/* Elite Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px; border-radius: var(--radius-full);
  font-family: var(--font-heading); font-weight: 500; font-size: 1rem;
  cursor: pointer; transition: all var(--trans-fast);
  border: 2px solid transparent; gap: 12px; position: relative; overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--color-primary); color: white;
  box-shadow: var(--shadow-glow);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  opacity: 0; transition: opacity var(--trans-fast); z-index: -1;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 102, 204, 0.4); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: white; transform: translateY(-3px); }

.btn-white { background: white; color: var(--color-primary); box-shadow: var(--shadow-soft); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-elegant); }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all var(--trans-fast); padding: 24px 0; }
.header.scrolled { padding: 16px 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--color-dark); display: flex; align-items: center; gap: 12px; }
.header:not(.scrolled) .logo { color: white; }
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-link { color: var(--color-text); font-weight: 500; font-family: var(--font-body); font-size: 0.95rem; position: relative; }
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.9); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background-color: var(--color-primary); transition: width var(--trans-fast); }
.header:not(.scrolled) .nav-link::after { background-color: white; }
.nav-link:hover::after { width: 100%; }
.mobile-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: var(--color-dark); }
.header:not(.scrolled) .mobile-toggle { color: white; }

/* Sections */
.section { padding: 120px 0; position: relative; }
.bg-light { background-color: var(--color-surface); }
.bg-dark { background-color: var(--color-dark); color: white; }
.bg-dark h2, .bg-dark h3 { color: white; }
.bg-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* Cards & Hover Effects */
.card {
  background: white; border-radius: var(--radius-lg); padding: 48px 32px;
  box-shadow: var(--shadow-soft); transition: all var(--trans-slow);
  position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,0.02);
}
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-elegant); }
.card-icon {
  width: 80px; height: 80px; margin-bottom: 24px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--color-primary); background: var(--color-surface);
  transition: all var(--trans-fast);
}
.card:hover .card-icon { background: var(--color-primary); color: white; transform: scale(1.1); }

/* Animated Borders */
.animated-border { position: relative; }
.animated-border::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent), var(--color-secondary));
  z-index: -1; opacity: 0; transition: opacity var(--trans-fast);
}
.animated-border:hover::before { opacity: 1; animation: rotateGradient 3s linear infinite; }
@keyframes rotateGradient { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }

/* Parallax & Floating */
.parallax-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 120%;
  object-fit: cover; z-index: -1;
}
.floating { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

/* Lightbox & Masonry */
.masonry-grid { column-count: 3; column-gap: 24px; }
.masonry-item { break-inside: avoid; margin-bottom: 24px; border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; }
.masonry-item img { width: 100%; height: auto; display: block; transition: transform var(--trans-slow); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,23,42,0.8), transparent);
  opacity: 0; transition: opacity var(--trans-fast); display: flex; align-items: flex-end; padding: 24px;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--color-surface-alt); }
.faq-header {
  padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-heading); font-weight: 500; font-size: 1.1rem;
}
.faq-icon { transition: transform var(--trans-fast); }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--color-primary); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height var(--trans-slow); color: var(--color-text-muted); }
.faq-item.active .faq-content { max-height: 500px; padding-bottom: 24px; }

/* Testimonials Slider */
.slider-container { overflow: hidden; position: relative; width: 100%; padding: 20px 0; }
.slider-track { display: flex; transition: transform var(--trans-slow); gap: 30px; align-items: stretch; }
.slider-item { flex: 0 0 calc(33.333% - 20px); width: calc(33.333% - 20px); max-width: 100%; white-space: normal; }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--color-surface-alt); cursor: pointer; transition: all var(--trans-fast); }
.dot.active { background: var(--color-primary); width: 24px; border-radius: 5px; }

/* Footer Elite */
.footer {
  background: var(--color-dark); color: rgba(255,255,255,0.7);
  padding: 100px 0 30px; position: relative; overflow: hidden;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 80px; }
.footer-logo { color: white; font-size: 1.8rem; font-family: var(--font-heading); font-weight: 700; margin-bottom: 24px; display: inline-block; }
.footer-title { color: white; font-size: 1.1rem; margin-bottom: 24px; font-weight: 500; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: all var(--trans-fast); display: inline-block; }
.footer-links a:hover { color: white; transform: translateX(5px); }

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 4rem; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

/* Responsive */
@media (max-width: 1024px) {
  .section-title { font-size: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .slider-item { flex: 0 0 calc(50% - 15px); width: calc(50% - 15px); }
  .masonry-grid { column-count: 2; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 120px 40px; transition: right var(--trans-smooth);
    z-index: 999; justify-content: flex-start;
  }
  .nav-menu.active { right: 0; }
  .header:not(.scrolled) .nav-link { color: var(--color-dark); font-size: 1.25rem; }
  .mobile-toggle { display: block; z-index: 1001; }
  .slider-item { flex: 0 0 100%; width: 100%; }
  .masonry-grid { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* AI Assistant Chatbot */
.chat-trigger-btn {
  position: fixed; bottom: 110px; right: 30px; width: 64px; height: 64px;
  background: var(--color-primary); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 15px 30px rgba(0, 102, 204, 0.4);
  z-index: 1000; transition: transform var(--trans-fast);
  border: none; cursor: pointer; outline: none;
}
.chat-trigger-btn:hover { transform: scale(1.1) translateY(-5px); }

.wa-trigger-btn {
  position: fixed; bottom: 30px; right: 30px; width: 64px; height: 64px; 
  background: #25D366; color: white; border-radius: 50%; 
  display: flex; align-items: center; justify-content: center; 
  font-size: 2.2rem; box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4); 
  z-index: 1000; transition: transform var(--trans-fast);
}
.wa-trigger-btn:hover { transform: scale(1.1) translateY(-5px); }

.chat-window {
  position: fixed; bottom: 190px; right: 30px; width: 350px;
  height: 500px; border-radius: var(--radius-lg); z-index: 1000;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: all var(--trans-fast);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px); border: 1px solid rgba(0,0,0,0.05);
}
.chat-window.active {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}

.chat-header {
  padding: 20px; background: var(--color-dark); color: white;
  display: flex; justify-content: space-between; align-items: center;
}
.ai-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); display: flex;
  align-items: center; justify-content: center; font-size: 1.2rem;
}
.btn-close-chat {
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.2rem; cursor: pointer; transition: color var(--trans-fast);
}
.btn-close-chat:hover { color: white; }

.chat-messages {
  flex-grow: 1; padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 15px;
}
.chat-msg {
  max-width: 85%; padding: 12px 16px; border-radius: 16px;
  font-size: 0.95rem; line-height: 1.5; animation: popIn 0.3s ease-out forwards;
}
@keyframes popIn {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.msg-ai {
  background: var(--color-surface-alt); color: var(--color-dark);
  align-self: flex-start; border-bottom-left-radius: 4px;
}
.msg-user {
  background: var(--color-primary); color: white;
  align-self: flex-end; border-bottom-right-radius: 4px;
}

.chat-options {
  padding: 15px; background: white; border-top: 1px solid rgba(0,0,0,0.05);
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chat-chip {
  padding: 8px 12px; background: var(--color-surface);
  border: 1px solid var(--color-primary); border-radius: 20px;
  color: var(--color-primary); font-size: 0.85rem; cursor: pointer;
  transition: all var(--trans-fast); font-weight: 500;
}
.chat-chip:hover {
  background: var(--color-primary); color: white;
}
.chat-action-btn {
  width: 100%; padding: 12px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: white;
  transition: transform var(--trans-fast); margin-bottom: 8px;
}
.chat-action-btn:hover { transform: translateY(-2px); color: white; }
.btn-wa { background: #25D366; }
.btn-wa:hover { box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.btn-book { background: var(--color-dark); }
.btn-book:hover { box-shadow: 0 5px 15px rgba(11, 23, 42, 0.3); }

/* Premium Popup Modal Styles */
.premium-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 23, 42, 0.8); backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.4s ease;
}
.premium-modal-overlay.show { opacity: 1; }

.premium-modal {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255,255,255,0.05);
    border-radius: var(--radius-xl);
    width: 90%; max-width: 600px; padding: 40px;
    position: relative; text-align: center; color: white;
    transform: scale(0.9); opacity: 0; transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.premium-modal-overlay.show .premium-modal { transform: scale(1); opacity: 1; }

.premium-modal-close {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.1); border: none; color: white;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all var(--trans-fast);
}
.premium-modal-close:hover { background: #00D4FF; transform: rotate(90deg); }

.modal-logo-icon {
    font-size: 3rem; margin-bottom: 20px; text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}
.modal-title { font-size: 2rem; font-weight: 700; margin-bottom: 5px; }
.modal-subtitle { color: #00D4FF; font-size: 0.9rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; }

.modal-content-text p { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin-bottom: 10px; line-height: 1.5; }
.modal-content-text { margin-bottom: 30px; }

.modal-buttons-grid { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }

.premium-action-btn {
    display: flex; align-items: center; text-align: left;
    background: linear-gradient(135deg, rgba(0,102,204,0.3) 0%, rgba(0,174,239,0.3) 100%);
    border: 1px solid rgba(0,174,239,0.4);
    padding: 15px 20px; border-radius: var(--radius-md);
    color: white; text-decoration: none; transition: all 0.3s ease;
}
.premium-action-btn:hover {
    transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
    border-color: #00D4FF;
}
.btn-icon-wrapper { font-size: 1.8rem; color: #00D4FF; margin-right: 20px; width: 40px; text-align: center; }
.btn-text-wrapper h4 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.btn-text-wrapper span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.btn-arrow { margin-left: auto; color: rgba(255,255,255,0.3); transition: all 0.3s ease; }
.premium-action-btn:hover .btn-arrow { color: white; transform: translateX(5px); }

.premium-modal-footer {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
    display: flex; flex-direction: column; align-items: center;
}
.footer-title { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.footer-subtitle { font-size: 0.7rem; color: #00D4FF; margin-top: 5px; }

/* Security UI Elements */
#security-warning-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.5);
    z-index: 10000;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    white-space: pre-line;
    backdrop-filter: blur(10px);
}
#security-warning-toast.show {
    bottom: 30px;
}

#security-watermark-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
#security-watermark-overlay span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 5rem;
    font-weight: 900;
    transform: rotate(-45deg);
    text-transform: uppercase;
    letter-spacing: 10px;
}
