/* STACKAID.IN - Main Stylesheet */

/* ==================== CSS VARIABLES ==================== */
:root {
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.7);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --orange: #E8742A;
  --orange-hover: #d16524;
  --green: #7CB342;
  --blue: #0EA5E9;
  --purple: #A855F7;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(15, 23, 42, 0.7);
  --radius: 1rem;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ==================== UTILITIES ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-purple { color: var(--purple); }

.text-gradient-orange {
  background: linear-gradient(135deg, #E8742A 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== GLASS EFFECT ==================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--orange);
  color: white;
}

.btn-primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 10px 30px rgba(232, 116, 42, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid #475569;
}

.btn-outline:hover {
  background: rgba(71, 85, 105, 0.3);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar-logo img {
  height: 3.5rem;
  width: auto;
}

.navbar-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-links { display: flex; }
}

.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-links a:hover {
  color: var(--text-primary);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta { display: block; }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--text-primary);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(232, 116, 42, 0.1) 0%, transparent 50%),
              linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.hero-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  position: absolute;
  inset: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  top: 25%;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(14, 165, 233, 0.1);
}

.hero-glow-2 {
  bottom: 25%;
  right: 25%;
  width: 20rem;
  height: 20rem;
  background: rgba(232, 116, 42, 0.1);
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.5; }
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content { grid-template-columns: 1fr 1fr; }
}

.hero-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text { text-align: left; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-badge span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .hero-desc { margin: 0 0 2rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero-buttons { justify-content: flex-start; }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .hero-stats { justify-content: flex-start; }
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-stat-divider {
  width: 1px;
  height: 3rem;
  background: #334155;
}

/* Hero Visual */
.hero-visual {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

.hero-dashboard {
  padding: 1.5rem;
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
}

.hero-dashboard-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-dashboard-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.hero-dashboard-dot.red { background: #ef4444; }
.hero-dashboard-dot.yellow { background: #eab308; }
.hero-dashboard-dot.green { background: #22c55e; }

.hero-dashboard-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-dashboard-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 0.5rem;
}

.hero-dashboard-card-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.hero-dashboard-card-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-dashboard-card-badge {
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-floating-card {
  position: absolute;
  padding: 1rem;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-floating-card-1 {
  top: -2rem;
  right: -2rem;
  box-shadow: 0 0 30px rgba(124, 179, 66, 0.4);
}

.hero-floating-card-2 {
  bottom: -1rem;
  left: -2rem;
  animation-delay: 1s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-floating-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-floating-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.hero-floating-text-title {
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-floating-text-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid #475569;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.25rem;
  height: 0.75rem;
  background: var(--text-secondary);
  border-radius: 9999px;
}

/* ==================== PROBLEMS SECTION ==================== */
.problems {
  background: rgba(15, 23, 42, 0.5);
}

.problems-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .problems-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .problems-grid { grid-template-columns: repeat(4, 1fr); }
}

.problem-card {
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.problem-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.problem-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.problem-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.problem-list li span {
  color: #f87171;
}

/* ==================== SOLUTION SECTION ==================== */
.solution-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
}

.solution-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
}

.solution-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.solution-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue);
}

.solution-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.solution-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Process Flow */
.process-flow {
  padding: 2rem;
  overflow: hidden;
}

.process-flow-title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.process-flow-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.process-flow-item {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.process-flow-arrow {
  display: none;
  align-items: center;
  color: #475569;
}

@media (min-width: 640px) {
  .process-flow-arrow { display: flex; }
}

/* ==================== SERVICES SECTION ==================== */
.services {
  background: rgba(15, 23, 42, 0.5);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

.service-card {
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-desc {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.service-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.service-feature-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
}

/* ==================== INDUSTRIES SECTION ==================== */
.industries-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.industry-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(30, 41, 59, 0.5);
  color: var(--text-secondary);
  border: none;
}

.industry-tab:hover {
  background: rgba(51, 65, 85, 0.5);
}

.industry-tab.active {
  background: var(--orange);
  color: white;
}

.industry-tab svg {
  width: 1.25rem;
  height: 1.25rem;
}

.industry-tab span {
  display: none;
}

@media (min-width: 640px) {
  .industry-tab span { display: inline; }
}

.industry-content {
  display: none;
}

.industry-content.active {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .industry-content.active { grid-template-columns: 1fr 1fr; }
}

.industry-headline {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .industry-headline { font-size: 2.25rem; }
}

.industry-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.industry-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.industry-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.industry-feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.industry-image-wrapper {
  position: relative;
}

.industry-image-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0.3;
}

.industry-image {
  position: relative;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* ==================== HOW IT WORKS SECTION ==================== */
.how-it-works {
  background: rgba(15, 23, 42, 0.5);
}

.timeline {
  position: relative;
}

.timeline-line {
  display: none;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--orange) 0%, var(--blue) 50%, var(--purple) 100%);
  border-radius: 2px;
}

@media (min-width: 1024px) {
  .timeline-line { display: block; }
}

.timeline-steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .timeline-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .timeline-steps { grid-template-columns: repeat(4, 1fr); }
}

.timeline-step {
  position: relative;
}

.timeline-step-card {
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.3s ease;
}

.timeline-step-card:hover {
  transform: translateY(-5px);
}

.timeline-step-number {
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.timeline-step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.timeline-step-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.timeline-step-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.timeline-step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-dot {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 4px solid var(--bg-primary);
  z-index: 10;
}

@media (min-width: 1024px) {
  .timeline-dot { display: block; }
}

/* ==================== BENEFITS SECTION ==================== */
.benefits-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: background 0.3s ease;
}

.benefit-card:hover {
  background: rgba(30, 41, 59, 0.3);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
  background: rgba(15, 23, 42, 0.5);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 41, 59, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2rem;
  height: 2rem;
  color: #334155;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-star {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  fill: var(--green);
}

.testimonial-content {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.testimonial-industry {
  margin-top: 1rem;
}

.testimonial-industry span {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: rgba(30, 41, 59, 1);
  color: var(--text-secondary);
  border-radius: 9999px;
}

/* ==================== PRICING SECTION ==================== */
.pricing-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  padding: 2rem;
  position: relative;
  border: 1px solid #1e293b;
}

.pricing-card.highlighted {
  border: 2px solid var(--blue);
}

.pricing-card.highlighted::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 50%, var(--orange) 100%);
  opacity: 0.3;
  z-index: -1;
  filter: blur(10px);
}

.pricing-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  background: var(--blue);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.pricing-price {
  margin-bottom: 1.5rem;
}

.pricing-price-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.pricing-price-period {
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-feature svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--green);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 2rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(232, 116, 42, 0.1) 0%, transparent 50%),
              linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(232, 116, 42, 0.2);
  border-radius: 50%;
  filter: blur(100px);
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.cta-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--orange);
}

.cta-badge span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-title { font-size: 3.75rem; }
}

.cta-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  box-shadow: 0 0 30px rgba(232, 116, 42, 0.4);
}

.cta-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: #020617;
  border-top: 1px solid #1e293b;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.footer-brand img {
  height: 4rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: scale(1.1);
}

.footer-social a svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.footer-social .instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.footer-social .facebook {
  background: #1877F2;
}

.footer-social .whatsapp {
  background: #25D366;
}

.footer-social .threads {
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact-item span,
.footer-contact-item a {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
  fill: white;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.3;
  animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0; }
}

/* ==================== CONTACT PAGE ==================== */
.contact-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(232, 116, 42, 0.1) 0%, transparent 50%),
              var(--bg-primary);
}

.contact-section {
  padding: 5rem 0;
  background: rgba(15, 23, 42, 0.5);
}

.contact-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-form-wrapper {
  padding: 2rem;
}

.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-select option {
  background: #1e293b;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-item input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--orange);
  cursor: pointer;
}

.checkbox-item span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.form-submit {
  width: 100%;
}

.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.trust-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--green);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  padding: 2rem;
}

.contact-info-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-info-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-value {
  color: var(--text-secondary);
}

.contact-info-value a:hover {
  color: white;
}

.contact-whatsapp-btn {
  width: 100%;
  margin-top: 1.5rem;
  background: #25D366;
}

.contact-whatsapp-btn:hover {
  background: #1fb855;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.contact-map {
  height: 300px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) contrast(1.1) brightness(0.8);
  transition: filter 0.3s ease;
}

.contact-map:hover iframe {
  filter: grayscale(0.5) contrast(1.1) brightness(0.9);
}

/* ==================== BLOG PAGE ==================== */
.blog-hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  background: radial-gradient(circle at 70% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
              var(--bg-primary);
}

.blog-filters {
  padding: 2rem 0;
  border-bottom: 1px solid #1e293b;
}

.blog-filters-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .blog-filters-content { flex-direction: row; }
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-category {
  padding: 0.5rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  color: var(--text-secondary);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.blog-category:hover {
  background: rgba(51, 65, 85, 0.5);
}

.blog-category.active {
  background: var(--orange);
  color: white;
}

.blog-search {
  position: relative;
  width: 100%;
  max-width: 18rem;
}

.blog-search input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: white;
  font-size: 0.875rem;
}

.blog-search input::placeholder {
  color: var(--text-muted);
}

.blog-search svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
}

.blog-section {
  padding: 4rem 0;
}

.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: rgba(14, 165, 233, 0.9);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.blog-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card-meta svg {
  width: 1rem;
  height: 1rem;
}

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card:hover .blog-card-title {
  color: var(--orange);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.blog-card-link:hover {
  gap: 0.75rem;
}

.blog-card-link svg {
  width: 1rem;
  height: 1rem;
}

.blog-empty {
  text-align: center;
  padding: 5rem 0;
}

.blog-empty p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
