/* ========================================
   LEXPOINT COMPONENT SYSTEM
   ======================================== */

/* ========================================
   BUTTON COMPONENTS - REVOLUTIONARY DESIGN
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  color: var(--lexpoint-white);
  box-shadow: 
    0 8px 32px rgba(99, 102, 241, 0.3),
    0 4px 16px rgba(139, 92, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 12px 40px rgba(99, 102, 241, 0.4),
    0 8px 24px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--lexpoint-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 32px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--lexpoint-white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 32px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--lexpoint-primary);
}

.btn-ghost:hover {
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn-xl {
  padding: var(--space-6) var(--space-12);
  font-size: var(--text-xl);
}

/* ========================================
   CARD COMPONENTS - GLASSMORPHISM
   ======================================== */

.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-header {
  padding: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.card-body {
  padding: var(--space-8);
}

.card-footer {
  padding: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ========================================
   NAVIGATION COMPONENTS - PREMIUM DESIGN
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  font-size: var(--text-xl);
  color: var(--lexpoint-white);
}

.navbar-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--lexpoint-white);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--text-base);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
}

.nav-link:hover {
  color: var(--lexpoint-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  color: var(--lexpoint-white);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-8);
    gap: var(--space-6);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .navbar-nav .nav-link {
    color: var(--lexpoint-white);
    font-weight: var(--font-weight-medium);
    font-size: var(--text-lg);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-align: center;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lexpoint-white);
    transform: translateY(-2px);
  }
  
  .navbar-nav .btn {
    margin-top: var(--space-4);
    width: 100%;
    justify-content: center;
  }

  .navbar-toggle {
    display: block;
  }
}

/* ========================================
   HERO SECTION - REVOLUTIONARY DESIGN
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
  color: var(--lexpoint-white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--space-8);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)); }
  to { filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)); }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 4vw, 1.5rem);
  font-weight: var(--font-weight-light);
  margin-bottom: var(--space-10);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.125rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   SECTION COMPONENTS - PREMIUM LAYOUT
   ======================================== */

.section {
  padding: var(--space-16) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--space-6);
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  color: var(--lexpoint-gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: var(--font-weight-light);
}

/* ========================================
   GRID LAYOUT - RESPONSIVE DESIGN
   ======================================== */

.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FEATURE COMPONENTS - GLASSMORPHISM
   ======================================== */

.feature {
  text-align: center;
  padding: var(--space-8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lexpoint-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--lexpoint-gray-900);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.feature-description {
  color: var(--lexpoint-gray-600);
  line-height: 1.6;
  font-size: var(--text-base);
  margin-bottom: var(--space-6);
}

/* ========================================
   TESTIMONIAL COMPONENTS - PREMIUM DESIGN
   ======================================== */

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--lexpoint-gray-700);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.testimonial-author {
  font-weight: var(--font-weight-bold);
  color: var(--lexpoint-gray-900);
  margin-bottom: var(--space-1);
}

.testimonial-role {
  color: var(--lexpoint-gray-500);
  font-size: var(--text-sm);
}

/* ========================================
   FOOTER COMPONENTS - PREMIUM DESIGN
   ======================================== */

.footer {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  color: var(--lexpoint-white);
  padding: var(--space-16) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.footer-section h3 {
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
  color: var(--lexpoint-white);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: var(--space-2);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--lexpoint-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

/* ========================================
   UTILITY COMPONENTS - PREMIUM STYLING
   ======================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: var(--lexpoint-white);
}

.badge-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--lexpoint-primary);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: var(--space-8) 0;
}

.spacer {
  height: var(--space-8);
}

.spacer-lg {
  height: var(--space-12);
}

.spacer-xl {
  height: var(--space-16);
} 