/* Tenerife Model Agency - Premium CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  /* Color Palette */
  --bg-obsidian: #0d0e12;
  --bg-card: rgba(20, 22, 28, 0.7);
  --bg-card-hover: rgba(30, 33, 41, 0.85);
  --accent-gold: #00aff0;
  --accent-gold-hover: #33bfff;
  --accent-turquoise: #008bc0;
  --accent-blue-deep: #006790;
  --text-white: #ffffff;
  --text-gray-light: #e2e2e5;
  --text-muted: #8c8c93;
  --border-gold: rgba(0, 175, 240, 0.25);
  --border-glass: rgba(255, 255, 255, 0.04);
  --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gold-gradient: linear-gradient(135deg, #33bfff 0%, #00aff0 50%, #008bc0 100%);
  --turquoise-gradient: linear-gradient(135deg, #00aff0 0%, #006790 100%);
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-round: 50%;
  
  /* Fonts */
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadow */
  --shadow-gold: 0 8px 32px rgba(0, 175, 240, 0.15);
  --shadow-glow: 0 4px 20px rgba(0, 175, 240, 0.2);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 175, 240, 0.2);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 175, 240, 0.4);
}

/* Premium Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(2, 128, 144, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  color: var(--text-gray-light);
  font-weight: 300;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.turquoise-text {
  background: var(--turquoise-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  background: var(--bg-card-hover);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(9, 9, 10, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(9, 9, 10, 0.95);
  height: 70px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  object-fit: contain;
  background-color: #ffffff;
  border: 3px solid #ffffff;
  border-radius: 8px;
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 6px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(-4deg);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease-in-out;
  display: inline-block;
}

.logo-img:hover {
  transform: rotate(-1deg) scale(1.08) translateY(-2px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 12px 24px rgba(0, 0, 0, 0.35);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text-gray-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-gold);
  transition: width 0.3s ease;
}

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

nav a:hover::after {
  width: 100%;
}

/* Language Switcher Dropdown */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #121214;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 8px;
  width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 1100;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-gray-light);
  font-family: var(--font-body);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.lang-option:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

.lang-option.active {
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold);
  font-weight: 600;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--bg-obsidian);
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.05);
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  background: linear-gradient(180deg, rgba(9, 9, 10, 0) 0%, var(--bg-obsidian) 100%),
              radial-gradient(circle at 50% -20%, rgba(2, 128, 144, 0.15) 0%, transparent 60%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 10;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 175, 240, 0.08);
  border: 1px solid rgba(0, 175, 240, 0.2);
  color: var(--accent-turquoise);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-gray-light);
  margin-bottom: 12px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* Hero Interactive Visuals */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.image-card {
  width: 100%;
  max-width: 440px;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
  position: relative;
}

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

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(360deg, #09090a 0%, rgba(9, 9, 10, 0) 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.visual-badge {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 8px;
}

.image-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text-white);
}

.floating-stats-card {
  position: absolute;
  top: 40px;
  right: -30px;
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
}

.floating-stats-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.floating-stats-num {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--accent-gold);
  font-weight: 800;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.section-header h2 {
  font-size: 44px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  z-index: 10;
}

.benefit-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 175, 240, 0.08);
  border: 1px solid rgba(0, 175, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-turquoise);
  font-size: 24px;
  margin-bottom: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-icon-box svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover .benefit-icon-box {
  background: rgba(0, 175, 240, 0.12);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(0, 175, 240, 0.2);
}

.benefit-card:hover .benefit-icon-box svg {
  transform: scale(1.15) rotate(4deg);
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Interactive Calculator Styling */
.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  z-index: 10;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-gold);
}

.calc-control {
  margin-bottom: 40px;
  text-align: center;
}

.calc-label {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.calc-value {
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--accent-gold);
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Custom Slider */
.slider-wrapper {
  position: relative;
  width: 100%;
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background 0.3s;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-round);
  background: var(--accent-gold);
  cursor: pointer;
  border: 2px solid var(--bg-obsidian);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-round);
  background: var(--accent-gold);
  cursor: pointer;
  border: 2px solid var(--bg-obsidian);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  transition: transform 0.1s;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
}

/* Calculator Columns */
.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  margin-bottom: 32px;
}

.breakdown-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-box.net-box {
  background: rgba(0, 175, 240, 0.03);
  border-color: rgba(0, 175, 240, 0.2);
}

.breakdown-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.breakdown-val {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
}

.net-box .breakdown-val {
  color: var(--accent-turquoise);
}

.calc-footer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.15);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-white);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

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

.faq-answer-inner {
  padding: 0 24px 24px;
  color: var(--text-gray-light);
  font-size: 15px;
  line-height: 1.6;
}

.faq-icon {
  font-size: 18px;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Capture Form Integration */
.contact-section {
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, rgba(2, 128, 144, 0.05) 50%, var(--bg-obsidian) 100%);
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  z-index: 10;
}

.recruitment-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.05);
}

.form-feedback {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(0, 175, 240, 0.1);
  border: 1px solid var(--accent-turquoise);
  color: var(--text-white);
}

.form-feedback.error {
  display: block;
  background: rgba(214, 40, 40, 0.1);
  border: 1px solid #d62828;
  color: var(--text-white);
}

/* Blog List Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  z-index: 10;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.blog-card-image {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #011f26 0%, #121214 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-image .blog-img-placeholder {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.25);
  text-transform: uppercase;
}

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 20px;
  line-height: 1.2;
}

.blog-card-desc {
  font-size: 14px;
  color: var(--text-gray-light);
  flex-grow: 1;
}

.blog-card-link {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
}

.blog-card-link:hover {
  color: var(--accent-gold-hover);
}

/* Single Post Layout */
.blog-post-header {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(2, 128, 144, 0.05) 0%, transparent 60%);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.breadcrumbs span {
  font-size: 10px;
}

.blog-post-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.blog-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-gray-light);
}

.blog-post-content p {
  margin-bottom: 28px;
}

.blog-post-content h2, .blog-post-content h3 {
  margin: 44px 0 18px;
  color: var(--text-white);
}

/* Chatbot Floating Widget */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.chatbot-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  background: var(--gold-gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
  font-size: 24px;
  color: var(--bg-obsidian);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-btn:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 520px;
  background: #121214;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-widget.open .chatbot-window {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-widget.open .chatbot-btn {
  transform: rotate(90deg);
  background: #222225;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.chatbot-header {
  background: rgba(18, 18, 20, 0.9);
  padding: 20px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-round);
  background: var(--turquoise-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 16px;
}

.chat-title-info {
  display: flex;
  flex-direction: column;
}

.chat-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
}

.chat-status {
  font-size: 11px;
  color: var(--accent-turquoise);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-turquoise);
  border-radius: var(--radius-round);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-turquoise);
}

.chatbot-messages {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
}

.chat-msg.bot {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-gray-light);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-msg.user {
  background: var(--gold-gradient);
  color: var(--bg-obsidian);
  font-weight: 500;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-input-wrap {
  padding: 16px;
  border-top: 1px solid var(--border-glass);
  background: rgba(18, 18, 20, 0.85);
  display: flex;
  gap: 10px;
}

.chat-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}

.chat-input:focus {
  border-color: var(--accent-gold);
}

.chat-submit {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-obsidian);
  font-size: 16px;
  transition: all 0.2s ease;
}

.chat-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* Footer Admin Area */
footer {
  background: #060607;
  border-top: 1px solid var(--border-glass);
  padding: 60px 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

.frog-link:hover {
  color: var(--text-white) !important;
}

.frog-link:hover .frog-icon {
  transform: translateY(-2.5px) scale(1.15);
}

.frog-link:hover span {
  border-color: rgba(255, 255, 255, 0.45) !important;
}

.admin-footer-btn {
  font-size: 12px;
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.admin-footer-btn:hover {
  color: var(--accent-gold);
  border-color: rgba(212, 175, 55, 0.15);
  background: rgba(212, 175, 55, 0.05);
}

/* Admin Dashboard Portal */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%), var(--bg-obsidian);
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-title {
  text-align: center;
  font-size: 28px;
  color: var(--text-white);
}

.admin-dashboard-layout {
  padding-top: calc(var(--header-height) + 40px);
  min-height: 100vh;
  background: var(--bg-obsidian);
}

.admin-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.admin-welcome {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-welcome h2 {
  font-size: 32px;
}

.admin-welcome p {
  color: var(--text-muted);
}

.admin-form-card {
  max-width: 700px;
  margin: 0 auto 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
}

.admin-form-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.admin-form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.posts-list-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.posts-list-table th, .posts-list-table td {
  padding: 16px 20px;
  text-align: left;
}

.posts-list-table th {
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--accent-gold);
  border-bottom: 1px solid var(--border-glass);
}

.posts-list-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 14px;
}
.posts-list-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

/* Mobile Navigation Toggle (Desktop Hidden) */
.mobile-nav-toggle {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-badge {
    align-self: center;
  }
  .hero h1 {
    font-size: 44px;
  }
  .image-card {
    height: 480px;
    max-width: 380px;
  }
  .floating-stats-card {
    top: 30px;
    right: -15px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 16px;
  }

  .glass-card {
    padding: 24px;
  }

  /* Hamburger Toggle Button */
  .mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
  }

  .mobile-nav-toggle .hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Hamburger Active Animation */
  .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Slide-out Mobile Navigation Drawer */
  nav#nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: rgba(13, 14, 18, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-glass);
    padding: 110px 30px 40px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
  }

  nav#nav-menu.active {
    right: 0;
  }

  nav#nav-menu a {
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
  }

  nav#nav-menu a::after {
    display: none; /* remove hover line effect on mobile */
  }

  nav#nav-menu a.btn {
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    margin-top: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* Mobile Language Switcher Inside Drawer */
  nav#nav-menu .lang-switcher {
    width: 100%;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav#nav-menu .lang-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
  }

  nav#nav-menu .lang-dropdown {
    position: static;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding: 0;
    margin-top: 0;
    border: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    border-radius: var(--radius-sm);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  nav#nav-menu .lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 8px;
    margin-top: 8px;
  }

  nav#nav-menu .lang-option {
    width: 100%;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  nav#nav-menu .lang-option:last-child {
    border-bottom: none;
  }

  /* Grid and Column Collapses */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calc-breakdown {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .calculator-card {
    padding: 30px 20px;
  }

  .calc-value {
    font-size: 36px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .chatbot-window {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 80px;
    height: 480px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }
  
  .hero-desc {
    font-size: 15px;
  }

  .image-card {
    height: 380px;
    max-width: 100%;
  }

  .floating-stats-card {
    top: 20px;
    right: -10px;
    bottom: auto;
    padding: 12px 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
