/* Homepage Specific Styles - LC Studio */

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.hero-content {
  max-width: 720px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-tagline span {
  width: 8px;
  height: 8px;
  background-color: var(--accent-violet);
  border-radius: var(--radius-full);
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-violet);
}

.hero h1 {
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 44px;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
    letter-spacing: -0.5px;
  }
}

.gradient-text {
  background: var(--gradient-premium);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

@media (max-width: 992px) {
  .hero-ctas {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
}

/* Premium Visual Element in Hero */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-sphere {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, rgba(219, 70, 239, 0.2) 50%, rgba(0,0,0,0) 100%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-card-mockup {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1;
  position: relative;
  transform: perspective(1000px) rotateY(-15deg) rotateX(10deg);
  transition: transform var(--transition-normal);
}

@media (max-width: 992px) {
  .hero-card-mockup {
    display: none; /* Hide visual on mobile to keep focus on copy/CTA */
  }
}

.hero-card-mockup:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-5px);
}

.mockup-header {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--border-color);
}

.mockup-dot:nth-child(1) { background-color: #ef4444; }
.mockup-dot:nth-child(2) { background-color: #eab308; }
.mockup-dot:nth-child(3) { background-color: #22c55e; }

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-line {
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--border-color);
  width: 100%;
}

.mockup-line.short {
  width: 60%;
}

.mockup-line.medium {
  width: 80%;
}

.mockup-chart {
  height: 120px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 10px;
}

.chart-bar {
  width: 24px;
  border-radius: 4px 4px 0 0;
  background: var(--gradient-premium);
  transition: height 1s ease-out;
  height: 0;
}

.hero-card-mockup:hover .chart-bar:nth-child(1) { height: 40%; }
.hero-card-mockup:hover .chart-bar:nth-child(2) { height: 75%; }
.hero-card-mockup:hover .chart-bar:nth-child(3) { height: 50%; }
.hero-card-mockup:hover .chart-bar:nth-child(4) { height: 90%; }


/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tagline {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-violet);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 26px;
  }
}

.section-description {
  font-size: 16px;
  color: var(--text-secondary);
}


/* --- SERVICES SECTION --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-violet);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1);
  background-color: var(--accent-violet);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}

.service-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: var(--accent-violet);
}

.service-link svg {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}


/* --- WHY CHOOSE US SECTION --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  text-align: center;
  padding: 40px 32px;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
}

.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-secondary);
}


/* --- WORK PROCESS SECTION --- */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--border-color);
}

.process-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: 60px;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-number {
  position: absolute;
  left: 12px;
  top: 0;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  z-index: 2;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.process-step:hover .process-number {
  border-color: var(--accent-violet);
  background-color: var(--accent-violet);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
}

.process-content {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.process-step:hover .process-content {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.process-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.process-content p {
  font-size: 14px;
  color: var(--text-secondary);
}


/* --- FAQ SECTION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

details.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

details.faq-item:hover {
  border-color: var(--border-hover);
}

details.faq-item[open] {
  border-color: var(--accent-violet);
}

summary.faq-question {
  padding: 24px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Rimuovi marker default su Safari */
summary.faq-question::-webkit-details-marker {
  display: none;
}

summary.faq-question::after {
  content: '+';
  font-size: 24px;
  line-height: 1;
  color: var(--text-secondary);
  transition: transform var(--transition-normal), color var(--transition-normal);
}

details.faq-item[open] summary.faq-question::after {
  transform: rotate(45deg);
  color: var(--accent-violet);
}

.faq-answer {
  padding: 0 32px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid transparent;
  line-height: 1.6;
}

details.faq-item[open] .faq-answer {
  border-top-color: var(--border-color);
}


/* --- CONTACT & LEAD FORM --- */
.contact-section {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info h2 {
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.contact-method-details h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-method-details p {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}

.contact-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 576px) {
  .contact-form-container {
    padding: 24px;
  }
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-label span {
  color: #ef4444;
}

.form-control {
  width: 100%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-violet);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a1a1aa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

[data-theme="light"] select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234b5563'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
}


/* --- CALL TO ACTION FINALE --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(219, 70, 239, 0.1) 70%, rgba(0,0,0,0) 100%);
  top: -150px;
  left: -150px;
  filter: blur(50px);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(219, 70, 239, 0.2) 0%, rgba(59, 130, 246, 0.1) 70%, rgba(0,0,0,0) 100%);
  bottom: -150px;
  right: -150px;
  filter: blur(50px);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: 44px;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: 32px;
  }
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 40px;
}

.cta-banner .btn {
  margin: 8px;
}

@media (max-width: 480px) {
  .cta-banner .btn {
    width: 100%;
    margin: 8px 0;
  }
}
