@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Updated color palette with more modern shades */
  --color-primary: #0a0a0f;
  --color-secondary: #141419;
  --color-accent: #ff6b35;
  --color-accent-hover: #ff8555;
  --color-accent-light: rgba(255, 107, 53, 0.1);
  --color-text: #ffffff;
  --color-text-secondary: #b4b4bb;
  --color-background: #06060a;
  --color-card: #1a1a24;
  --color-border: #2a2a3a;
  --color-glow: rgba(255, 107, 53, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Added animated background with geometric shapes */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 30%);
  animation: backgroundFloat 30s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes backgroundFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(2%, 3%) rotate(1deg);
  }
  66% {
    transform: translate(-1%, -2%) rotate(-1deg);
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Completely redesigned header with glassmorphism */
.header {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modern logo with glow effect */
.logo h1 {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: -0.5px;
}

.logo .accent {
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
  filter: drop-shadow(0 0 15px var(--color-glow));
}

/* Sleek navigation with hover effects */
.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  padding: 0.65rem 1.75rem;
  border-radius: 50px;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.nav-cta:hover::before {
  width: 300px;
  height: 300px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 53, 0.5);
}

.nav-cta::after {
  display: none;
}

/* Hero section with 3D-style design and floating elements */
.hero {
  padding: 8rem 0 6rem;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-background) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Modern button styles with depth */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.125rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

/* Features with creative image containers */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 4rem;
  font-size: 1.15rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* Feature cards with modern design and image styling */
.feature-card {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.feature-icon {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  display: inline-block;
  filter: drop-shadow(0 4px 15px var(--color-glow));
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.feature-desc {
  font-size: 0.95rem;
}

/* Styled image containers with geometric shapes and shadows */
.feature-showcase {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
}

.feature-showcase::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
  opacity: 0.2;
  border-radius: 20px;
  z-index: -1;
  filter: blur(20px);
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-showcase::before {
  opacity: 0.4;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(20%) brightness(0.9);
}

.feature-card:hover .showcase-image {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

/* CTA button with modern design */
.cta-button {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.cta-button:hover::before {
  width: 400px;
  height: 400px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

/* Materials section with modern cards */
.materials {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-primary) 100%);
  position: relative;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.material-card {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  padding: 2.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.material-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.material-card:hover::after {
  opacity: 0.3;
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
}

.material-card h3 {
  color: var(--color-accent);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.material-card ul {
  list-style: none;
  margin-top: 1.25rem;
}

.material-card li {
  padding: 0.65rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.material-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-glow);
}

.material-card:hover li {
  color: var(--color-text);
}

.materials-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.materials-cta p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

/* Pricing section with modern card design */
.pricing {
  padding: 6rem 0;
  background: var(--color-background);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  padding: 2.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.12);
}

.pricing-card.highlight {
  border: 1px solid rgba(255, 107, 53, 0.3);
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, var(--color-card) 100%);
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header i {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.price-item:hover {
  background: rgba(255, 107, 53, 0.08);
  border-color: rgba(255, 107, 53, 0.2);
}

.price-item span {
  color: var(--color-text);
  font-weight: 500;
}

.price-item strong {
  color: var(--color-accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.price-item.small {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(255, 107, 53, 0.05);
  border-radius: 12px;
  margin-top: 0.75rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.pricing-note i {
  color: var(--color-accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.complexity-factors {
  margin-top: 1.25rem;
  gap: 0.875rem;
  display: flex;
  flex-direction: column;
}

.complexity-factors h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.formula-box {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.formula-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.formula-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.formula {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.8;
  text-align: center;
  position: relative;
  z-index: 1;
}

.example-box {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.example-box h4 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 600;
}

.example-box h4 i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.calculation {
  margin-top: 1rem;
  padding: 1.25rem;
  background: rgba(255, 107, 53, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 53, 0.1);
  text-align: center;
}

.calculation p {
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.calculation .result {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 20px var(--color-glow);
}

.pricing-cta,
.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.pricing-cta p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  width: 100%;
  text-align: center;
}

/* Quote section with modern form design */
.quote-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-primary) 100%);
}

.temp-quote-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.coming-soon-badge {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.12) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 2px solid rgba(255, 107, 53, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

.coming-soon-badge i {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.badge {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Adding complete styles for quote form section */
.temp-quote-form {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 1rem;
}

.form-group label i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 107, 53, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.file-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.file-select-btn {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-select-btn:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--color-accent);
}

.file-select-btn i {
  color: var(--color-accent);
}

.file-name {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.form-hint {
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1.25rem;
}

/* Adding complete styles for testimonials/comments section */
.comments {
  padding: 6rem 0;
  background: var(--color-background);
}

.comments-container {
  max-width: 1000px;
  margin: 0 auto;
}

.comments-intro {
  text-align: center;
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
}

.comment-form {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid rgba(255, 107, 53, 0.1);
  margin-bottom: 4rem;
}

.comment-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.comment-form-group {
  margin-bottom: 1.5rem;
}

.comment-form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
}

.comment-form-group input,
.comment-form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.comment-form-group input:focus,
.comment-form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 107, 53, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.comment-form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.rating-group {
  margin-bottom: 1.5rem;
}

.rating-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--color-text);
}

.star-rating {
  display: flex;
  gap: 0.5rem;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.star {
  color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.star:hover,
.star.active {
  color: var(--color-accent);
  transform: scale(1.2);
}

.rating-text {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.comment-submit {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.comment-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.comments-list {
  position: relative;
  overflow: hidden;
}

.comments-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

.comment-card {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 100%;
  transition: all 0.4s ease;
}

.comment-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.comment-author {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.comment-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.comment-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.comment-text {
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.carousel-btn {
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: var(--color-text);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background: var(--color-accent);
  width: 30px;
  border-radius: 5px;
}

/* Adding complete portfolio page styles with bento grid layout */

/* Portfolio Hero Section with Split Layout */
.portfolio-hero-new {
  padding: 8rem 0 6rem;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-background) 100%);
  position: relative;
  overflow: hidden;
}

.portfolio-hero-new::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px);
  animation: float 25s ease-in-out infinite;
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.portfolio-title-large {
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--color-text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  filter: drop-shadow(0 0 30px var(--color-glow));
}

.portfolio-subtitle-new {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 500px;
}

.portfolio-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.hero-right {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.3;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.floating-badge {
  position: absolute;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: floatBadge 3s ease-in-out infinite;
}

.floating-badge i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.badge-1 {
  top: 20%;
  right: -20px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 1.5s;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Portfolio Filter Section */
.portfolio-filter-section {
  padding: 4rem 0 2rem;
  background: var(--color-background);
}

.filters-wrapper {
  text-align: center;
}

.filter-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.portfolio-filters-new {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filter-chip:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: rgba(255, 107, 53, 0.3);
  color: var(--color-text);
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  border-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
}

.chip-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
}

.filter-chip.active .chip-count {
  background: rgba(255, 255, 255, 0.3);
}

/* Bento Grid Portfolio Layout */
.portfolio-bento-section {
  padding: 4rem 0 6rem;
  background: var(--color-background);
}

.container-fluid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  auto-rows: 280px;
}

/* Bento Item Sizes */
.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: scale(1) translateY(0);
}

.bento-item.large {
  grid-column: span 6;
  grid-row: span 2;
}

.bento-item.medium {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-item.small {
  grid-column: span 3;
  grid-row: span 1;
}

.bento-item.wide {
  grid-column: span 9;
  grid-row: span 1;
}

/* Bento Image Wrapper with Styled Effects */
.bento-image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bento-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--color-accent) 0%, transparent 100%);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bento-item:hover .bento-image-wrapper::before {
  opacity: 0.4;
}

.bento-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.7) grayscale(30%);
}

.bento-item:hover .bento-image-wrapper img {
  transform: scale(1.1);
  filter: brightness(1) grayscale(0%);
}

/* Gradient Overlay */
.bento-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.bento-item:hover .bento-gradient-overlay {
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
}

/* Bento Content */
.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-content {
  transform: translateY(-10px);
}

.bento-category {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.bento-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.bento-item.small .bento-title {
  font-size: 1.3rem;
}

.bento-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-item:hover .bento-description {
  opacity: 1;
  transform: translateY(0);
}

.bento-specs {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0.8;
}

.bento-specs span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.bento-specs i {
  color: var(--color-accent);
  font-size: 0.95rem;
}

/* Hover Effect Overlay */
.bento-hover-effect {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 70px rgba(255, 107, 53, 0.2);
}

/* Portfolio CTA Section */
.portfolio-cta-new {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-primary) 100%);
}

.cta-card-modern {
  background: linear-gradient(135deg, var(--color-card) 0%, rgba(26, 26, 36, 0.5) 100%);
  border-radius: 32px;
  padding: 4rem;
  text-align: center;
  border: 1px solid rgba(255, 107, 53, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-card-modern::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.cta-icon-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 2rem;
}

.cta-icon-bg {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--color-glow) 0%, transparent 70%);
  filter: blur(30px);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.cta-icon-wrapper i {
  font-size: 4rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff8555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.cta-title-modern {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

.cta-subtitle-modern {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.btn-primary-large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary-large i {
  transition: transform 0.3s ease;
}

.btn-primary-large:hover i {
  transform: translateX(5px);
}

.btn-secondary-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text);
  padding: 1.125rem 2.5rem;
  backdrop-filter: blur(10px);
}

.btn-secondary-outline:hover {
  border-color: var(--color-accent);
  background: rgba(255, 107, 53, 0.1);
}

.cta-features-list {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.cta-feature i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* Responsive Design for Portfolio */
@media (max-width: 1400px) {
  .bento-grid {
    grid-template-columns: repeat(8, 1fr);
  }

  .bento-item.large {
    grid-column: span 4;
  }

  .bento-item.wide {
    grid-column: span 8;
  }
}

@media (max-width: 1024px) {
  .hero-content-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-title-large {
    font-size: 4rem;
  }

  .portfolio-stats {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    auto-rows: 240px;
  }

  .bento-item.large,
  .bento-item.medium {
    grid-column: span 4;
  }

  .bento-item.small {
    grid-column: span 2;
  }

  .bento-item.wide {
    grid-column: span 4;
  }
}

@media (max-width: 768px) {
  .portfolio-hero-new {
    padding: 5rem 0 3rem;
  }

  .portfolio-title-large {
    font-size: 3rem;
  }

  .portfolio-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .floating-badge {
    display: none;
  }

  .portfolio-filters-new {
    gap: 0.75rem;
  }

  .filter-chip {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    auto-rows: 300px;
  }

  .bento-item.large,
  .bento-item.medium,
  .bento-item.small,
  .bento-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .cta-card-modern {
    padding: 2.5rem 1.5rem;
  }

  .cta-title-modern {
    font-size: 2rem;
  }

  .cta-features-list {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Adding modern footer styles matching broxe.fr */
.footer {
  background: linear-gradient(180deg, var(--color-background) 0%, var(--color-primary) 100%);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.footer-section p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0.5rem 0;
}

.footer-section a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin: 0.75rem 0;
  transition: all 0.3s ease;
  position: relative;
  width: fit-content;
}

.footer-section a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-secondary);
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.footer-bottom strong {
  color: var(--color-accent);
  font-weight: 600;
}
