/* ============================================
   ASTRYX - RADICAL REDESIGN
   Completely Unique Design System
   IMPORTANT: This file has maximum priority
   ============================================ */

/* Force override all previous styles */

:root {
  /* Unique Color Palette - Completely Different */
  --astryx-primary: #0a0e27;
  --astryx-secondary: #1a237e;
  --astryx-tertiary: #283593;
  --astryx-accent-1: #ff6b9d;
  --astryx-accent-2: #ffd93d;
  --astryx-bg-light: #f5f7fa;
  --astryx-bg-dark: #0a0e27;
  --astryx-text-primary: #0a0e27;
  --astryx-text-secondary: #4a5568;
  --astryx-text-light: #ffffff;
  --astryx-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --astryx-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --astryx-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */

* {
  box-sizing: border-box;
}

body.u-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--astryx-text-primary) !important;
  background: var(--astryx-bg-light) !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  color: var(--astryx-primary) !important;
  letter-spacing: -0.5px !important;
  margin: 0 !important;
}

/* ============================================
   HEADER - COMPLETELY REDESIGNED
   ============================================ */

.u-header {
  background: var(--astryx-gradient-1) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  padding: 20px 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  border-bottom: 3px solid var(--astryx-accent-1) !important;
}

.u-header .u-sheet-1 {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

.u-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  color: #ffffff !important;
  font-size: 1.8rem !important;
  font-weight: 900 !important;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: -0.5px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}

.u-logo:hover {
  transform: scale(1.05) !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4) !important;
  color: #ffffff !important;
}

/* Navigation - Modern Design */
.u-menu-1 {
  display: flex !important;
  align-items: center !important;
}

.u-nav-1 {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 40px !important;
}

.u-nav-item {
  position: relative !important;
}

.u-nav-link {
  color: var(--astryx-text-light) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 12px 24px !important;
  border-radius: 50px !important;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  position: relative !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.u-nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--astryx-accent-1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.u-nav-link:hover {
  color: var(--astryx-text-light) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4) !important;
}

.u-nav-link:hover::before {
  width: 300px;
  height: 300px;
}

/* ============================================
   SECTIONS - RADICAL REDESIGN
   ============================================ */

/* Hero Section */
.u-section-1 {
  background: var(--astryx-gradient-3) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 120px 0 !important;
}

.u-section-1::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.u-section-1::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, -30px) rotate(180deg); }
}

.u-section-1 .u-sheet-1 {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

.u-section-1 h1 {
  font-size: 4.5rem !important;
  font-weight: 900 !important;
  color: var(--astryx-text-light) !important;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
  margin-bottom: 30px !important;
  line-height: 1.2 !important;
  animation: slideInLeft 1s ease-out !important;
}

.u-section-1 p {
  font-size: 1.4rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.8 !important;
  animation: slideInRight 1s ease-out 0.2s both !important;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Content Sections */
.u-section-2, .u-section-3, .u-section-4, .u-section-5, .u-section-6, .u-section-7 {
  padding: 100px 0 !important;
  position: relative !important;
}

.u-section-2 {
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%) !important;
}

.u-section-3 {
  background: var(--astryx-bg-light) !important;
}

.u-section-4 {
  background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 100%) !important;
}

.u-section-5 {
  background: var(--astryx-gradient-2) !important;
  color: var(--astryx-text-light) !important;
}

.u-section-6 {
  background: var(--astryx-bg-light) !important;
}

.u-section-7 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: var(--astryx-text-light) !important;
}

.u-section-8 {
  background: var(--astryx-gradient-1) !important;
  padding: 100px 0 !important;
  color: var(--astryx-text-light) !important;
}

/* Section Headings */
.u-section-2 .u-text-1,
.u-section-3 .u-text-1,
.u-section-4 .u-text-1,
.u-section-5 .u-text-1,
.u-section-6 .u-text-1,
.u-section-7 .u-text-1 {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  margin-bottom: 20px !important;
  background: var(--astryx-gradient-1) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  position: relative !important;
  display: inline-block !important;
}

.u-section-5 .u-text-1,
.u-section-7 .u-text-1 {
  background: linear-gradient(135deg, #ffffff 0%, #ffd93d 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* ============================================
   CARDS & LAYOUT CELLS - MODERN DESIGN
   ============================================ */

.u-layout-cell {
  background: var(--astryx-text-light) !important;
  border-radius: 24px !important;
  padding: 40px !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  border: 2px solid transparent !important;
  position: relative !important;
  overflow: hidden !important;
}

.u-layout-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--astryx-gradient-1);
  opacity: 0.1;
  transition: left 0.5s ease;
  z-index: 0;
}

.u-layout-cell:hover {
  transform: translateY(-15px) scale(1.02) !important;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3) !important;
  border-color: var(--astryx-accent-1) !important;
}

.u-layout-cell:hover::before {
  left: 0;
}

.u-layout-cell > * {
  position: relative;
  z-index: 1;
}

.u-layout-cell h3 {
  font-size: 1.8rem !important;
  color: var(--astryx-primary) !important;
  margin-bottom: 20px !important;
  position: relative !important;
  padding-bottom: 15px !important;
}

.u-layout-cell h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--astryx-gradient-1);
  border-radius: 2px;
}

.u-layout-cell p {
  color: var(--astryx-text-secondary) !important;
  line-height: 1.8 !important;
  font-size: 1.05rem !important;
}

/* ============================================
   IMAGES - ENHANCED STYLING
   ============================================ */

.u-image {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.5s ease !important;
  position: relative !important;
}

.u-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--astryx-gradient-1);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: overlay;
}

.u-image:hover {
  transform: scale(1.05) rotate(2deg) !important;
  box-shadow: 0 25px 70px rgba(102, 126, 234, 0.4) !important;
}

.u-image:hover::after {
  opacity: 0.3;
}

/* ============================================
   BUTTONS - MODERN DESIGN
   ============================================ */

.u-btn-1, .u-btn-submit, .u-button-style {
  background: var(--astryx-gradient-2) !important;
  color: var(--astryx-text-light) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 18px 45px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  font-family: 'Poppins', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  cursor: pointer !important;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4) !important;
  position: relative !important;
  overflow: hidden !important;
}

.u-btn-1::before, .u-btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.u-btn-1:hover, .u-btn-submit:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 15px 40px rgba(255, 107, 157, 0.6) !important;
}

.u-btn-1:hover::before, .u-btn-submit:hover::before {
  width: 400px;
  height: 400px;
}

/* ============================================
   FORMS - MODERN DESIGN
   ============================================ */

.u-form-1 {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 30px !important;
  padding: 50px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.u-input {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 2px solid transparent !important;
  border-radius: 15px !important;
  padding: 18px 25px !important;
  font-size: 16px !important;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}

.u-input:focus {
  border-color: var(--astryx-accent-1) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.2) !important;
  transform: translateY(-2px) !important;
}

textarea.u-input {
  min-height: 150px !important;
  resize: vertical !important;
}

/* ============================================
   FOOTER - REDESIGNED
   ============================================ */

.u-footer {
  background: var(--astryx-primary) !important;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.3) 0%, transparent 50%) !important;
  color: var(--astryx-text-light) !important;
  padding: 80px 0 40px !important;
  position: relative !important;
  overflow: hidden !important;
}

.u-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--astryx-gradient-2);
}

.u-footer .u-sheet-1 {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

.u-footer .u-text,
.u-footer .u-text-1,
.u-footer .u-text-2 {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.8 !important;
  font-family: 'Inter', sans-serif !important;
}

.u-footer .u-text-1 {
  font-size: 1rem !important;
}

.u-footer .u-text-2 {
  font-size: 0.95rem !important;
  max-width: 800px !important;
  margin: 20px auto !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.u-footer .u-text-3,
.u-footer .u-text-4,
.u-footer .u-text-6,
.u-footer .u-text-7 {
  margin: 12px 0 !important;
  padding: 0 !important;
  display: block !important;
  line-height: 1.6 !important;
  position: relative !important;
  z-index: 1 !important;
}

.u-footer .u-text-3:first-of-type {
  margin-top: 20px !important;
}

.u-footer .u-btn,
.u-footer .u-button-link,
.u-footer a.u-btn {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  display: inline !important;
  transition: color 0.3s ease !important;
  position: relative !important;
}

.u-footer .u-btn:hover,
.u-footer .u-button-link:hover,
.u-footer a.u-btn:hover {
  background: none !important;
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: underline !important;
  transform: none !important;
}

.u-footer .u-btn-link {
  color: var(--astryx-text-light) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-block !important;
  padding: 8px 0 !important;
  position: relative !important;
}

.u-footer .u-btn-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--astryx-accent-1);
  transition: width 0.3s ease;
}

.u-footer .u-btn-link:hover {
  color: var(--astryx-accent-1) !important;
  transform: translateX(10px) !important;
}

.u-footer .u-btn-link:hover::after {
  width: 100%;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.u-palette-5-light-2,
.u-palette-5-light-3 {
  background: transparent !important;
}

.u-grey-5 {
  background: var(--astryx-bg-light) !important;
}

.u-white {
  background: var(--astryx-text-light) !important;
}

.u-text-grey-90 {
  color: var(--astryx-text-primary) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.u-section-2 .u-text-1,
.u-section-3 .u-text-1,
.u-section-4 .u-text-1,
.u-section-5 .u-text-1,
.u-section-6 .u-text-1,
.u-section-7 .u-text-1,
.u-section-8 .u-text-1 {
  animation: fadeInUp 1s ease-out !important;
}

/* ============================================
   OFFER SECTION - PRODUCT SHOWCASE
   ============================================ */

.u-section-offer {
  position: relative !important;
}

.u-section-offer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.u-section-offer img:hover {
  transform: rotate(0deg) scale(1.05) !important;
}

/* Hide empty blocks */
.u-layout-cell:empty,
.u-container-layout:empty:not(:has(*)) {
  display: none !important;
}

/* Ensure all images are visible */
.u-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
  .u-section-1 h1 {
    font-size: 3rem !important;
  }
  
  .u-nav-1 {
    gap: 20px !important;
  }
  
  .u-layout-cell {
    margin-bottom: 30px !important;
  }
}

@media (max-width: 767px) {
  .u-header .u-sheet-1 {
    padding: 0 20px !important;
  }
  
  .u-section-1 {
    padding: 80px 0 !important;
  }
  
  .u-section-1 h1 {
    font-size: 2.5rem !important;
  }
  
  .u-nav-1 {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .u-layout-cell {
    padding: 30px 20px !important;
  }
  
  .u-btn-1, .u-btn-submit {
    width: 100% !important;
    padding: 16px !important;
  }
  
  .u-form-1 {
    padding: 30px 20px !important;
  }
  
  .u-section-offer > div > div {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .u-section-offer h2 {
    font-size: 2.5rem !important;
  }
}

/* ============================================
   TEXT READABILITY IMPROVEMENTS
   ============================================ */

/* Darker text for better visibility on light backgrounds */
p, .u-text, .u-text-1, .u-text-2, .u-text-3, .u-text-4, 
.u-text-5, .u-text-6, .u-text-7, .u-text-8 {
  color: #2d3748 !important;
  font-weight: 400 !important;
}

/* White text with shadow on gradient backgrounds */
.u-section-5 p,
.u-section-5 .u-text,
.u-section-7 p,
.u-section-7 .u-text,
.u-section-8 p,
.u-section-8 .u-text,
.u-section-offer p,
.u-section-offer .u-text {
  color: rgba(255, 255, 255, 0.98) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  font-weight: 400 !important;
}

/* Headings - darker and more visible */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900 !important;
}

/* ============================================
   SMOOTH SCROLLING & SELECTION
   ============================================ */

html {
  scroll-behavior: smooth !important;
}

::selection {
  background: var(--astryx-accent-1) !important;
  color: var(--astryx-text-light) !important;
}

::-moz-selection {
  background: var(--astryx-accent-1) !important;
  color: var(--astryx-text-light) !important;
}
