/* style.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: #333;
  line-height: 1.6;
}

a { 
  text-decoration: none; 
  color: #b71c1c; 
}

header {
  background: #c62828;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .logo {
  font-size: 1.75rem;
  font-weight: 600;
}

nav a {
  color: #fff;
  margin-left: 20px;
  padding: 8px 12px;
  transition: background 0.3s;
  border-radius: 4px;
}

nav a:hover {
  background: rgba(255,255,255,0.2);
}

/* Hero Section - Completely Redesigned */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 50%, #d32f2f 100%);
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: #fff;
  color: #b71c1c;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #b71c1c;
  transform: translateY(-2px);
}

/* Legacy button style for other pages */
.btn:not(.btn-primary):not(.btn-secondary) {
  background: #b71c1c;
  color: #fff;
  margin: 10px;
}

.btn:not(.btn-primary):not(.btn-secondary):hover {
  background: #7f0000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.section {
  padding: 80px 20px;
}

.section h2 {
  font-size: 2.4rem;
  color: #b71c1c;
  margin-bottom: 40px;
  text-align: center;
}

.features, .product-list {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.features {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature, .product {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature:hover, .product:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.feature h3, .product-content h3 {
  color: #b71c1c;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.product-content p, .feature p {
  margin-bottom: 20px;
  color: #666;
}

.product img {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.product-content {
  padding: 20px;
}

/* Case Study Section */
.case-study {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.case-study-content {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.case-study-text {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.case-study-text h3 {
  color: #b71c1c;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.case-study-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.stat {
  text-align: center;
}

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

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  background: #f8f9fa;
}

.accordion {
  max-width: 900px;
  margin: 20px auto;
}

.accordion-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.accordion-item.active {
  box-shadow: 0 4px 20px rgba(183, 28, 28, 0.1);
}

.accordion-title {
  background: #fff;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.accordion-title:hover {
  background: #f8f9fa;
  color: #b71c1c;
}

.accordion-title::after {
  content: '+';
  font-size: 1.5rem;
  color: #b71c1c;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-title::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}

.accordion-content p {
  padding: 20px;
  color: #666;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 600px;
  margin: auto;
}

input, textarea {
  padding: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #b71c1c;
  box-shadow: 0 0 0 2px rgba(183, 28, 28, 0.1);
}

button {
  align-self: center;
  width: 200px;
  padding: 16px;
  background: #b71c1c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button:hover {
  background: #7f0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

footer {
  background: #c62828;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 0;
}

/* Products Page Specific Styles */
.products-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
  padding: 60px 20px;
}

.products-hero h1 {
  font-size: 3rem;
  color: #b71c1c;
  margin-bottom: 20px;
}

.products-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-banner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.benefit-item {
  background: #b71c1c;
  color: white;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  white-space: nowrap;
}

.product {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #4caf50;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 5;
}

.product-badge.premium {
  background: #ff9800;
}

.product-specs {
  margin-bottom: 25px;
}

.spec-item {
  margin-bottom: 10px;
  color: #666;
  font-size: 0.95rem;
}

.pricing {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.price-option:last-child {
  margin-bottom: 0;
}

.price-label {
  font-weight: 600;
  color: #333;
}

.price-value {
  font-weight: 700;
  color: #b71c1c;
}

.price-value.free {
  color: #4caf50;
  font-size: 1.1rem;
}

.pricing-info {
  background: #f8f9fa;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.pricing-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card h3 {
  color: #b71c1c;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.comparison {
  background: white;
}

.comparison-table {
  max-width: 800px;
  margin: auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: #b71c1c;
  color: white;
  font-weight: 600;
  text-align: center;
}

.comparison-header > div {
  padding: 20px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row > div {
  padding: 15px 20px;
  text-align: center;
}

.comparison-feature {
  text-align: left !important;
  font-weight: 600;
  background: #f8f9fa;
}

.comparison-us {
  background: #e8f5e8;
  color: #2e7d32;
  font-weight: 600;
}

.comparison-others {
  background: #ffebee;
  color: #c62828;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .case-study-stats {
    flex-direction: column;
  }
  
  .accordion-title {
    padding: 15px;
    font-size: 0.9rem;
  }
  
  .accordion-content p {
    padding: 15px;
  }
  
  .products-hero h1 {
    font-size: 2.2rem;
  }
  
  .products-subtitle {
    font-size: 1.1rem;
  }
  
  .benefits-banner {
    flex-direction: column;
    align-items: center;
  }
  
  .benefit-item {
    width: 80%;
    text-align: center;
  }
  
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .comparison-feature {
    text-align: center !important;
    font-weight: 700;
    background: #b71c1c !important;
    color: white !important;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 40px 20px;
  }
  
  .section h2 {
    font-size: 2rem;
  }
}