/* Digital Marketing Page Specific Styles */

/* Hero Section */
.digital-marketing-hero {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
  min-height: 100vh;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-icon:nth-child(1) { top: 10%; left: 10%; }
.floating-icon:nth-child(2) { top: 20%; right: 15%; }
.floating-icon:nth-child(3) { top: 60%; left: 5%; }
.floating-icon:nth-child(4) { bottom: 30%; right: 10%; }
.floating-icon:nth-child(5) { bottom: 10%; left: 20%; }
.floating-icon:nth-child(6) { top: 40%; right: 5%; }

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #f59e0b;
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.btn-get-strategy {
  background: linear-gradient(135deg, #f59e0b, #e67e22);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-get-strategy:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(245, 158, 11, 0.5);
}

/* Marketing Dashboard */
.marketing-dashboard {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 500px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.dashboard-header h3 {
  color: var(--dark);
  font-size: 20px;
  margin: 0;
}

.dashboard-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control.active {
  background: var(--primary);
}

.metric-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: #e2e8f0;
  transform: translateX(5px);
}

.metric-card i {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.metric-info {
  flex: 1;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  display: block;
}

.metric-label {
  font-size: 14px;
  color: var(--dark-gray);
}

.metric-trend {
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.metric-trend.up {
  background: #dcfce7;
  color: #16a34a;
}

.chart-container {
  height: 150px;
  margin-top: 20px;
}

/* Services Overview */
.services-overview {
  padding: 100px 0;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.interactive-marketing-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.interactive-marketing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.interactive-marketing-card:hover::before {
  transform: scaleX(1);
}

.interactive-marketing-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 32px;
  color: white;
  transition: all 0.4s ease;
}

.interactive-marketing-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--secondary), #f59e0b);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: var(--dark-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: var(--dark-gray);
  font-size: 15px;
}

.service-features i {
  color: var(--primary);
  margin-right: 12px;
  font-size: 14px;
  width: 16px;
}

.service-metrics {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #bae6fd;
}

.metric-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}

.metric-text {
  font-size: 14px;
  color: var(--dark-gray);
  font-weight: 500;
}

/* Strategy Section */
.strategy-section {
  padding: 100px 0;
  background: white;
}

.strategy-tabs {
  margin-top: 50px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 15px 30px;
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 16px;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.tab-content {
  background: #f8fafc;
  border-radius: 20px;
  padding: 50px;
  min-height: 400px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInUp 0.6s ease;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.tab-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark);
}

.tab-text p {
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 25px;
  line-height: 1.6;
}

.tab-text ul {
  list-style: none;
  padding: 0;
}

.tab-text li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--dark-gray);
  font-size: 16px;
}

.tab-text li i {
  color: var(--primary);
  margin-right: 15px;
  font-size: 16px;
}

/* Research Dashboard */
.research-dashboard {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.research-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.research-item i {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.research-item span {
  flex: 1;
  font-weight: 600;
  color: var(--dark);
}

.progress-bar {
  width: 100px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 1s ease;
}

/* Strategy Funnel */
.strategy-funnel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.funnel-stage {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.funnel-stage:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.funnel-stage span {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  display: block;
  margin-bottom: 8px;
}

.stage-metrics {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

/* Execution Timeline */
.execution-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
}

.timeline-item.completed .timeline-icon {
  background: #10b981;
}

.timeline-item.active .timeline-icon {
  background: var(--primary);
}

.timeline-item .timeline-icon {
  background: #94a3b8;
}

.timeline-content h4 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 5px;
}

.timeline-content p {
  color: var(--dark-gray);
  font-size: 14px;
}

/* Optimization Chart */
.optimization-chart {
  height: 300px;
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Success Stories */
.success-stories {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.story-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.story-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.story-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.story-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: white;
}

.story-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.6;
}

.story-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.story-metric {
  text-align: center;
}

.story-metric .metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary);
  display: block;
  margin-bottom: 5px;
}

.story-metric .metric-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

/* ROI Calculator */
.roi-calculator {
  padding: 100px 0;
  background: #f8fafc;
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
  align-items: start;
}

.calculator-inputs {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.input-group {
  margin-bottom: 25px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calculator-results {
  position: sticky;
  top: 100px;
}

.result-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-card h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--dark);
  text-align: center;
}

.result-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.result-metric {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.result-metric:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

.result-metric.highlight {
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  color: white;
  grid-column: 1 / -1;
}

.result-label {
  display: block;
  font-size: 14px;
  color: var(--dark-gray);
  margin-bottom: 8px;
}

.result-metric.highlight .result-label {
  color: rgba(255, 255, 255, 0.9);
}

.result-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.result-metric.highlight .result-value {
  color: white;
}

.result-chart {
  height: 200px;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: white;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 50px;
}

.toggle-label {
  font-weight: 600;
  color: var(--dark);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 30px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(30px);
}

.discount-badge {
  background: var(--secondary);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  margin-left: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.pricing-header h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--dark);
}

.price {
  margin-bottom: 10px;
}

.price-monthly,
.price-annual {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
}

.price-annual {
  display: none;
}

.pricing-header p {
  color: var(--dark-gray);
  margin-bottom: 30px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.pricing-features i {
  color: var(--primary);
  margin-right: 15px;
  font-size: 16px;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #f8fafc;
}

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

.faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #e2e8f0;
}

.faq-question h3 {
  font-size: 18px;
  color: var(--dark);
  margin: 0;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
  font-size: 18px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 25px 30px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .tab-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-stats {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .tab-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-content {
    padding: 30px 20px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    text-align: left;
  }
  
  .floating-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .marketing-dashboard {
    padding: 20px;
  }
  
  .result-metrics {
    grid-template-columns: 1fr;
  }
  
  .story-metrics {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-heading {
    font-size: 28px;
  }
  
  .interactive-marketing-card {
    padding: 30px 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .tab-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .calculator-inputs,
  .result-card {
    padding: 25px;
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
  
  .price-monthly,
  .price-annual {
    font-size: 36px;
  }
}