:root {
  --primary-color: #34495D;
  --secondary-color: #2C3D4F;
  --accent-color: #EE7738;
  --light-color: #F9F6F3;
  --dark-color: #1A2332;
  --gradient-primary: linear-gradient(135deg, #577BC1 0%, #34495D 100%);
  --hover-color: #F59D2A;
  --background-color: #FEFDFB;
  --text-color: #4B5563;
  --border-color: rgba(52, 73, 93, 0.15);
  --divider-color: rgba(52, 73, 93, 0.1);
  --shadow-color: rgba(52, 73, 93, 0.12);
  --highlight-color: #F59D2A;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  color: var(--primary-color);
  font-weight: 700;
}

/* Background Pattern */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  display: none;
}

@media (min-width: 768px) {
  header::before {
    display: block;
  }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo svg {
  width: 48px;
  height: 48px;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--main-font);
  letter-spacing: 0.5px;
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: 400px 1fr;
    gap: 3rem;
  }
}

/* Left Column */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-image-wrapper {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.product-image {
  width: 100%;
  height: auto;
  display: block;
}

.guarantee-box {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--hover-color) 100%);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(238, 119, 56, 0.3);
  border: 3px solid rgba(255,255,255,0.3);
}

.guarantee-box h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.guarantee-box p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.5;
}

.price-cart-box {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--main-font);
  margin-bottom: 1rem;
}

.cart-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(52, 73, 93, 0.3);
  font-family: var(--main-font);
}

.cart-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 73, 93, 0.4);
}

.cart-button:focus {
  outline: 3px solid var(--hover-color);
  outline-offset: 2px;
}

/* Right Column */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.content-box {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.content-box h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.content-box p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-box ul {
  list-style: none;
  padding: 0;
}

.content-box li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--light-color);
  border-radius: 8px;
}

.content-box li svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 0.25rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--accent-color) 100%);
  border: 3px solid rgba(255,255,255,0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(245, 157, 42, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(245, 157, 42, 0.6);
  }
}

.cta-box h2 {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-box p {
  color: white;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  background: var(--light-color);
  padding: 3rem 0;
  margin-top: 3rem;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(52, 73, 93, 0.2);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.feature-item p {
  color: var(--text-color);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 3rem 0;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar svg {
  width: 32px;
  height: 32px;
}

.testimonial-author h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--primary-color);
}

.testimonial-rating {
  color: var(--hover-color);
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--text-color);
  line-height: 1.7;
  font-style: italic;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
  color: rgba(255,255,255,0.8);
  padding: 2rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: var(--main-font);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-nav ul {
    align-items: flex-end;
  }
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  color: white;
}

.footer-nav a:focus {
  outline: 2px solid var(--hover-color);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
