/* 
 * AI Tool Website Styles
 * Created: 2025-05-21
 * Modern, clean design for AI tool websites
 */

/* ---------- RESET & BASE STYLES ---------- */
:root {
  /* Main colors */
  --primary-color: #05050f;
  --secondary-color: #0a0a1a;
  --accent-color: #131e3a;
  --highlight-color: #3d5afe;
  --highlight-gradient: linear-gradient(135deg, #3d5afe, #536dfe);
  --error-color: #ff4081;
  
  /* Text colors */
  --text-dark: #151424;
  --text-medium: #3c3c54;
  --text-light: #5c5c7c;
  --text-white: #ffffff;
  
  /* Background colors */
  --bg-dark: #050510;
  --bg-medium: #0a0a1a;
  --bg-light: #f8faff;
  --bg-white: #ffffff;
  --bg-gradient: linear-gradient(135deg, #05050f, #131e3a);
  --bg-gradient-light: linear-gradient(135deg, rgba(61, 90, 254, 0.05), rgba(83, 109, 254, 0.1));
  
  /* UI elements */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --box-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --box-shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-dark: 0 8px 30px rgba(0, 0, 0, 0.15);
  
  /* Animations */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --footer-padding: 80px;
  
  /* Fonts */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Inter', sans-serif;
  --line-height: 1.6;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: var(--line-height);
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: var(--transition-normal);
}

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

ul, ol {
  list-style-type: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

h1 {
  font-size: 4.8rem;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.5px;
}

h2 {
  font-size: 3.6rem;
  margin-top: var(--space-lg);
  letter-spacing: -0.3px;
}

h3 {
  font-size: 2.4rem;
  margin-top: var(--space-md);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-medium);
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.4rem 3.6rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--highlight-gradient);
  color: var(--text-white);
  box-shadow: 0 5px 20px rgba(61, 90, 254, 0.4);
}

.btn-primary:hover {
  color: var(--text-white);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(61, 90, 254, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-text {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 1.5rem;
  width: calc(100% - 3rem);
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.btn-text:hover {
  color: var(--text-white);
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- HEADER & NAVIGATION ---------- */
.header {
  background-color: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.logo {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--heading-font);
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav-item {
  margin: 0 1.5rem;
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  padding: 0.8rem 0;
  position: relative;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--highlight-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link i {
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

/* Dropdown Menus */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background-color: rgba(9, 9, 22, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-lg);
  min-width: 220px;
  padding: 1.2rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 100;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

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

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  padding: 1.2rem 2.5rem;
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 1.4rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.dropdown-menu a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--highlight-gradient);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.dropdown-menu a:hover {
  background-color: rgba(61, 90, 254, 0.1);
  color: var(--text-white);
  padding-left: 3rem;
}

.dropdown-menu a:hover::before {
  width: 3px;
  opacity: 1;
}

.header-buttons {
  display: flex;
  align-items: center;
}

.header-buttons .btn {
  margin-left: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  left: 0;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
  top: 9px;
}

.mobile-menu-toggle span:nth-child(3) {
  bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
  background: var(--bg-gradient);
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI3NjUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI4My43JSIgeTE9IjgyLjYlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBzdG9wLW9wYWNpdHk9Ii4wNSIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiNGRkYiIHN0b3Atb3BhY2l0eT0iMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTAgMEg1NDMuNWM2Ni4xIDAgMTI2LjQgMjYuOCAxNjkuOSA3MC40TDExNjQgNTIwLjlhMTgwIDE4MCAwIDAgMCAxMjcuMSA1Mi42SDIwMDBWMEgweiIgdHJhbnNmb3JtPSJzY2FsZSgxLCAtMSkgdHJhbnNsYXRlKDAsIC03NjUpIiBmaWxsPSJ1cmwoI2EpIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=');
  background-size: cover;
  opacity: 0.1;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.15) 0%, rgba(61, 90, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-section h1 {
  color: var(--text-white);
  font-size: clamp(4rem, 6vw, 6.5rem);
  margin-bottom: var(--space-md);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: -1px;
  position: relative;
  z-index: 1;
}

.hero-section h1 span {
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hero-buttons .btn {
  padding: 1.4rem 3.2rem;
  font-size: 1.7rem;
}

/* Main Content Styles */
.main-content {
  min-height: 100vh;
  padding-bottom: var(--space-xl);
}

/* Video Gallery Section */
.video-gallery {
  padding: var(--space-xl) 0 var(--space-lg);
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.video-gallery::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.08) 0%, rgba(61, 90, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.video-gallery::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.05) 0%, rgba(61, 90, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.video-gallery-title {
  margin-bottom: var(--space-xl);
  text-align: center;
  color: var(--text-white);
  position: relative;
  z-index: 1;
}

.video-gallery-title h2 {
  font-size: 3.6rem;
  margin-bottom: var(--space-md);
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.video-gallery-title p {
  font-size: 1.8rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.video-item {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.video-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
}

/* Keyword Search Section */
.keyword-search {
  background-color: var(--secondary-color);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.keyword-search::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(61, 90, 254, 0.07) 0%, rgba(61, 90, 254, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.keyword-search-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.keyword-search-title h2 {
  color: var(--text-white);
  margin-bottom: var(--space-md);
  font-size: 3.2rem;
}

.search-form {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 1;
}

.search-input-group {
  display: flex;
  position: relative;
  margin-bottom: var(--space-md);
}

.search-input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(61, 90, 254, 0.2);
}

.search-input.highlight {
  animation: highlight-pulse 1s ease;
}

@keyframes highlight-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 90, 254, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(61, 90, 254, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 90, 254, 0); }
}

.search-button {
  position: absolute;
  right: 5px;
  top: 5px;
  background: var(--highlight-gradient);
  border: none;
  color: var(--text-white);
  border-radius: 100px;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(61, 90, 254, 0.3);
}

.search-links-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.search-links-group {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.search-links-group h3 {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
  opacity: 0.9;
}

.search-links-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.search-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.search-link:last-child {
  border-bottom: none;
}

.search-link i {
  margin-right: var(--space-xs);
  font-size: 1.6rem;
  color: var(--highlight-color);
  transition: all 0.3s ease;
}

.search-link:hover {
  color: var(--text-white);
  transform: translateX(5px);
}

.search-link:hover i {
  transform: scale(1.2);
}

/* Additional Search Modules */
.additional-modules {
  background-color: var(--bg-dark);
  padding: var(--space-md) 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.additional-modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}

.module-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius-lg);
  padding: var(--space-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
}

.module-title {
  color: var(--text-white);
  font-size: 2rem;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.module-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  background: var(--highlight-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.module-button {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 100px;
  color: var(--text-white);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  margin-top: auto;
}

.module-button:hover {
  background: var(--highlight-gradient);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(61, 90, 254, 0.3);
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: var(--bg-dark);
  padding: var(--space-lg) 0;
  position: relative;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.disclaimer-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.disclaimer-content p {
  margin-bottom: var(--space-md);
}

.disclaimer-content p:last-child {
  font-weight: 600;
  color: var(--warning-color);
  margin-top: var(--space-lg);
}

.disclaimer-content strong {
  color: var(--highlight-color);
  font-weight: 600;
}

/* Content Placeholder - kept for reference */
.content-placeholder {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  margin-top: var(--space-xl);
  text-align: center;
  color: var(--text-medium);
  font-size: 1.8rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- FEATURES SECTION ---------- */
.features {
  background-color: var(--light-text);
  padding: 8rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-top: 0;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.feature-card {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.feature-card h3 {
  margin-top: 0;
}

/* ---------- GALLERY SECTION ---------- */
.gallery {
  background-color: var(--gray-bg);
  padding: 8rem 0;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.gallery-item img {
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- PRICING SECTION ---------- */
.pricing {
  background-color: var(--light-text);
  padding: 8rem 0;
}

.pricing-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.pricing-plan {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 4rem 3rem;
  box-shadow: var(--box-shadow);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  transition: var(--transition);
}

.pricing-plan:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-plan.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
  position: relative;
}

.pricing-plan.featured::before {
  content: 'Popular';
  position: absolute;
  top: -15px;
  right: 30px;
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 1.4rem;
  font-weight: 600;
}

.plan-name {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.plan-price span {
  font-size: 1.8rem;
  font-weight: 400;
}

.plan-features {
  margin-bottom: 3rem;
  list-style: none;
}

.plan-features li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-features li:last-child {
  border-bottom: none;
}

/* ---------- FAQ SECTION ---------- */
.faq {
  background-color: var(--gray-bg);
  padding: 8rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--light-text);
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 2rem;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 2rem;
  color: var(--primary-color);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

/* ---------- CTA SECTION ---------- */
.cta {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  text-align: center;
}

.cta h2 {
  color: var(--light-text);
  margin-top: 0;
  margin-bottom: 3rem;
}

.cta-text {
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.8rem;
}

/* ---------- FOOTER STYLES ---------- */
.footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to bottom, #05050f, #080819);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-top {
  margin-bottom: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.footer-title {
  color: var(--text-white);
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--highlight-color);
}

.footer-description {
  margin-bottom: var(--space-md);
  line-height: 1.7;
  font-size: 1.5rem;
}

.footer-links {
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--text-white);
  transform: translateX(5px);
}

.social-list {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-list li {
  margin-right: var(--space-sm);
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  transition: var(--transition-normal);
}

.social-list a:hover {
  background-color: var(--highlight-color);
  transform: translateY(-3px);
}

.contact-list {
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
}

.contact-list i {
  margin-right: var(--space-sm);
  color: var(--highlight-color);
  font-size: 1.8rem;
  margin-top: 3px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.contact-list a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.copyright {
  font-size: 1.4rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  transition: var(--transition-fast);
}

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

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 1200px) {
  .container {
    max-width: 992px;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 56.25%; /* 9px = 1rem */
  }
  
  .container {
    max-width: 768px;
  }
  
  .header-buttons .btn-text {
    display: none;
  }
  
  .nav-item {
    margin: 0 1rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%; /* 8px = 1rem */
  }
  
  .container {
    max-width: 100%;
    padding: 0 var(--space-md);
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-md);
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--box-shadow-medium);
    overflow-y: auto;
  }
  
  .main-nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-link {
    padding: var(--space-md) 0;
    justify-content: space-between;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .has-dropdown.open .dropdown-menu {
    max-height: 500px;
  }
  
  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .header-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .social-list {
    justify-content: center;
  }
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 992px) {
  html {
    font-size: 60%;
  }
  
  .pricing-plans {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-plan {
    max-width: 100%;
    width: 100%;
  }
  
  .pricing-plan.featured {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .header-container {
    padding: 1.5rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    padding: 12rem 0 8rem;
  }
  
  .hero h1 {
    font-size: 3.8rem;
  }
  
  .btn {
    display: inline-block;
    width: auto;
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-buttons .btn {
    margin-bottom: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 55%;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  h1 {
    font-size: 3.4rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease-out forwards;
}

/* ---------- UTILITIES ---------- */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

/* Page specific styles */
.main-content {
  margin-top: 7rem;
}

/* Font preload for faster loading */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
}
