/* 
 * SALUDI GLOBAL CSS - Modern, Glassmorphism, Premium Aesthetics 
 */

/*================ ROOT VARIABLES ================*/
:root {
  /* Color Palette based on Brand Logo */
  --teal-900: #04272D;
  --teal-800: #0A3D46;
  --teal-600: #147A8A; /* Primary Brand */
  --teal-500: #24AFC5; /* Secondary Brand */
  --cyan-400: #3BD4E8;
  --cyan-300: #7AE7F4;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-600: #475569;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Semantic */
  --danger-color: #EF4444;
  --success-color: #10B981;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(36, 175, 197, 0.4);
  
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/*================ RESET & GLOBAL ================*/
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mt-xl { margin-top: 4rem; }

/*================ GRID SYSTEM ================*/
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/*================ BUTTONS ================*/
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-pill);
  font-weight: 600; font-family: var(--font-heading);
  cursor: pointer; transition: transform 0.2s, background-color 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background-color: var(--teal-600); color: var(--white); box-shadow: 0 4px 14px rgba(20, 122, 138, 0.3); }
.btn-primary:hover { background-color: var(--teal-800); box-shadow: 0 8px 20px rgba(20, 122, 138, 0.4); }

.btn-dark { background-color: var(--teal-900); color: var(--white); }
.btn-dark:hover { background-color: var(--gray-900); }

.btn-outline-light { background-color: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background-color: var(--white); color: var(--teal-600); }

.btn-outline-teal { background-color: transparent; border-color: var(--teal-900); color: var(--teal-900); }
.btn-outline-teal:hover { background-color: var(--teal-900); color: var(--white); }

.btn-block { width: 100%; }

/*================ NAVBAR ================*/
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); z-index: 1000; transition: var(--transition-normal);
}
.navbar.scrolled { padding: 0.75rem 0; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }

.logo-wrapper { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; object-fit: contain; margin-top: -5px; display: block; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: var(--gray-600); position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--teal-600); transition: var(--transition-fast); }
.nav-link:hover { color: var(--teal-900); }
.nav-link:hover::after { width: 100%; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/*================ HERO SECTION ================*/
.hero { position: relative; padding: 10rem 0 6rem; background-color: var(--gray-50); overflow: hidden; }
.hero-bg-elements { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; }
.glow-1 { width: 600px; height: 600px; background: rgba(36, 175, 197, 0.15); top: -200px; right: -100px; }
.glow-2 { width: 500px; height: 500px; background: rgba(20, 122, 138, 0.1); bottom: -150px; left: -200px; }
.hero-container { position: relative; z-index: 1; }

.badge {
  display: inline-block; padding: 0.5rem 1rem; background: rgba(36, 175, 197, 0.1); color: var(--teal-600);
  border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(36, 175, 197, 0.3);
}

.hero-text-content { text-align: center; max-width: 800px; margin: 0 auto 4rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; margin-bottom: 1.5rem; color: var(--teal-900); }
.hero-subtitle { font-size: 1.125rem; color: var(--gray-600); max-width: 700px; margin: 0 auto; }

.hero-split-cards { display: grid; gap: 1.5rem; max-width: 1200px; margin: 0 auto; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 800px) { .hero-split-cards { overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; } .hero-split-cards .split-card { min-width: 280px; scroll-snap-align: start; } }

.glass-panel {
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-xl); transition: transform 0.3s;
}
.glass-panel:hover { transform: translateY(-5px); }

.primary-gradient { background: linear-gradient(135deg, var(--teal-600), var(--teal-800)); color: var(--white); border-color: rgba(255,255,255,0.2); }
.primary-gradient h2, .primary-gradient p { color: var(--white); }
.primary-gradient .card-icon { background: rgba(255,255,255,0.15); }

.accent-gradient { background: linear-gradient(135deg, #e0fbfd, #c2f3f9); color: var(--teal-900); border-color: var(--cyan-400); }
.accent-gradient h2 { color: var(--teal-900); }
.accent-gradient p { color: var(--teal-800); }
.accent-gradient .card-icon { background: rgba(36, 175, 197, 0.25); color: var(--teal-800); }

.secondary-gradient { background: linear-gradient(135deg, var(--white), var(--gray-100)); color: var(--gray-800); border-color: var(--gray-200); }
.secondary-gradient h2 { color: var(--teal-900); }
.secondary-gradient p { color: var(--gray-600); }
.secondary-gradient .card-icon { background: rgba(36, 175, 197, 0.15); color: var(--teal-600); }

.card-content h2 { font-size: 1.4rem; margin: 1rem 0; line-height: 1.3;}
.card-content p { font-size: 1rem; margin-bottom: 2rem; opacity: 0.9; }
.card-icon { display: inline-flex; padding: 1rem; border-radius: 12px; margin-bottom: 0.5rem; }

/*================ PROBLEM VS SOLUTION ================*/
.section { padding: 5rem 0; }
.section-header { margin-bottom: 4rem; }
.section-title { font-size: 2.5rem; color: var(--teal-900); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.125rem; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

.problem-card, .solution-card { padding: 2.5rem; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); }
.problem-card h3 { color: var(--danger-color); font-size: 1.5rem; margin-bottom: 2rem; }
.solution-card h3 { color: var(--teal-600); font-size: 1.5rem; margin-bottom: 2rem; }
.feature-list li { display: flex; gap: 1rem; margin-bottom: 1.25rem; font-size: 1.05rem; color: var(--gray-600); }

.highlight-quote {
  font-size: 1.8rem; font-family: var(--font-heading); color: var(--teal-900);
  border-left: 4px solid var(--cyan-400); display: inline-block; padding-left: 1.5rem; font-weight: 600; font-style: italic; max-width: 800px; line-height: 1.4;
}

/*================ SECTIONS ADDITIONAL ================*/
.bg-light { background-color: var(--white); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; transition: var(--transition-normal); position: relative; display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--cyan-400); }
.pricing-card.popular { border-color: var(--teal-600); box-shadow: var(--shadow-md); transform: scale(1.02); }
.pricing-card.popular:hover { transform: scale(1.02) translateY(-5px); box-shadow: var(--shadow-xl); }

.popular-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--teal-600);
  color: var(--white); padding: 0.25rem 1rem; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}

.pricing-header h3 { font-size: 1.5rem; color: var(--teal-900); margin-bottom: 0.25rem; }
.target-company { font-size: 0.9rem; color: var(--teal-600); font-weight: 500; margin-bottom: 1.5rem; }

.pricing-features { margin-bottom: 2rem; flex-grow: 1; text-align: left; }
.pricing-features li { display: flex; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.95rem; }
.pricing-features li span { color: var(--teal-500); font-weight: bold; }

.btn-outline-primary { background: transparent; border: 2px solid var(--teal-600); color: var(--teal-600); }
.btn-outline-primary:hover { background: var(--teal-600); color: var(--white); }

/* Digital Edge / Mockup */
.badge-accent { 
  background: rgba(36, 175, 197, 0.15); color: var(--teal-600); display: inline-block;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill); font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem;
}

.mockup-window { background: var(--gray-900); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); margin-top: 2rem; }
@media (min-width: 768px) { .mockup-window { margin-top: 0; } }
.mockup-header { background: #2D3748; padding: 0.75rem 1rem; display: flex; gap: 6px; }
.mockup-header span { width: 12px; height: 12px; border-radius: 50%; background: #E2E8F0; }
.mockup-header span:nth-child(1) { background: #EF4444; }
.mockup-header span:nth-child(2) { background: #F59E0B; }
.mockup-header span:nth-child(3) { background: #10B981; }

.mockup-content { padding: 2rem; color: var(--white); }
.mockup-content h4 { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-weight: 500;}
.chart-bars { display: flex; align-items: flex-end; justify-content: space-between; height: 150px; gap: 0.5rem; }
.chart-bars .bar { flex: 1; background: linear-gradient(to top, var(--teal-600), var(--cyan-400)); border-radius: 4px 4px 0 0; opacity: 0.9; transition: transform 0.3s; }
.chart-bars .bar:hover { transform: scaleY(1.05); }

/* Contact Section */
.contact-container { max-width: 800px; margin: 0 auto; }
.contact-card { padding: 3rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }

.form-group { margin-bottom: 1.5rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 1rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; transition: var(--transition-fast); background: var(--gray-50);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(36, 175, 197, 0.2); background: var(--white); }

/* Footer */
.footer { background: var(--teal-900); color: var(--gray-200); padding: 4rem 0 2rem; margin-top: 4rem; }
.footer-title { color: var(--white); font-size: 1.8rem; margin-bottom: 0.2rem; }
.footer-desc { margin-top: 1rem; color: rgba(255,255,255,0.6); max-width: 350px; line-height: 1.5; }
.footer-links h4 { color: var(--white); margin-bottom: 1rem; font-weight: 600; }
.footer-links a { display: block; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--cyan-400); }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(255,255,255,0.4); }

/* Image block modifiers */
.rounded-image { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.shadow-xl { box-shadow: var(--shadow-xl); }
.text-left { text-align: left; }

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .about-us.grid-2 { grid-template-columns: 1fr; gap: 2rem !important; }
}
