:root {
  --primary: #007DFF;
  --accent: #7FC7FF;
  --highlight: #1C6B72;
  --dark: #0A1628;
  --light: #F4F7FB;
  --white: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 15px 40px rgba(0, 125, 255, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 125, 255, 0.3);
}

.btn-primary:hover {
  background-color: #0066cc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 125, 255, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 125, 255, 0.1);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--dark);
}

.nav-link:hover {
  color: var(--primary);
}

.header.scrolled .nav-link {
  color: var(--dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  color: var(--white);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Sections General */
section {
  padding: 100px 0;
}

.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  position: relative;
}

.split-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.bg-light {
  background-color: var(--light);
}

/* Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: calc(33.333% - 20px);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.carousel-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.carousel-content {
  padding: 20px;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-heading);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 20px;
  background: var(--white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-body {
  padding: 0 20px 20px;
  max-height: 500px; /* arbitrary large value */
}

/* Circular Layout */
.circle-layout {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 2;
}

.circle-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-item {
  position: absolute;
  width: 180px;
  text-align: center;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 3;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  transform: scale(1.05);
}

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

.popular-badge {
  position: absolute;
  top: 5px;
  right: -33px;
  background: var(--primary);
  color: var(--white);
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-price {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
  margin: 20px 0;
}

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

.pricing-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Calculator */
.calculator {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.calc-row {
  margin-bottom: 30px;
}

.calc-result {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.calc-total {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
}

/* Selling Text */
.selling-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

.selling-text blockquote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  margin: 40px 0;
  font-style: italic;
}

/* Infographic */
.infographic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.info-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

/* Photo Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
}

.gallery-item img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.gallery-desc {
  margin-top: 15px;
  text-align: center;
}

.gallery-line {
  height: 2px;
  background: var(--primary);
  margin: 40px 0;
}

/* Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}

.comparison-table th,
.comparison-table td {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.comparison-table th {
  background: var(--light);
  font-family: var(--font-heading);
  color: var(--dark);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.test-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #FFD700;
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  padding: 20px 0;
  z-index: 2000;
  transition: bottom 0.5s ease;
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infographic, .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .circle-layout {
    width: 400px;
    height: 400px;
  }
  .circle-center {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .nav.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .split-section {
    flex-direction: column;
  }
  .carousel-slide {
    min-width: calc(100%);
  }
  .testimonials, .footer-grid {
    grid-template-columns: 1fr;
  }
  .circle-layout {
    display: none; /* fallback needed in HTML */
  }
  .cookie-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* =====================
   ADDITIONAL STYLES
   ===================== */

/* Hero extras */
.hero-badge {
  display: inline-block;
  background: rgba(127, 199, 255, 0.2);
  border: 1px solid rgba(127, 199, 255, 0.4);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

.btn-ghost-sm {
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 8px 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.btn-ghost-sm:hover {
  color: var(--primary);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-wide {
  width: 100%;
  display: block;
  text-align: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
}

.stat span {
  font-size: 0.85rem;
  opacity: 0.7;
  color: var(--white);
}

/* Section label */
.section-label {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-label.light {
  background: rgba(127, 199, 255, 0.25);
  color: var(--accent);
}

/* Section subtitle */
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature list */
.feature-list {
  list-style: none;
  margin: 20px 0 30px;
}

.feature-list li {
  padding: 8px 0;
  color: var(--text-main);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.feature-list li:last-child {
  border-bottom: none;
}

/* Form block */
.form-block {
  background: var(--light);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 30px;
}

.form-block h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

/* Image badge */
.image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
  color: var(--dark);
}

.split-image {
  position: relative;
}

/* Section full-banner */
.section-fullbanner {
  position: relative;
  padding: 120px 0;
  color: var(--white);
}

.fullbanner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fullbanner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fullbanner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(28, 107, 114, 0.7) 100%);
}

.fullbanner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.fullbanner-content h2 {
  color: var(--white);
  font-size: 2.5rem;
}

.fullbanner-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.form-block-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-block-light h4 {
  color: var(--white);
}

.form-block-light .form-input {
  background: rgba(255, 255, 255, 0.95);
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--highlight);
  border-left: 4px solid var(--highlight);
  padding: 15px 20px;
  margin: 25px 0;
  background: rgba(28, 107, 114, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Carousel improvements */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.carousel-container {
  flex: 1;
  overflow: hidden;
}

.carousel-slide {
  min-width: calc(33.333% - 20px);
  flex-shrink: 0;
}

.course-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.course-meta {
  display: flex;
  gap: 15px;
  margin: 10px 0 15px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Circle section */
.circle-section {
  display: flex;
  justify-content: center;
}

.circle-layout {
  position: relative;
  width: 620px;
  height: 620px;
  margin: 0 auto;
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 125, 255, 0.3);
  z-index: 2;
}

.circle-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-item {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 15px 18px;
  box-shadow: var(--shadow);
  z-index: 3;
  text-align: center;
  width: 160px;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition);
}

.circle-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.circle-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

/* Mobile fallback for circle layout */
.circle-mobile-info {
  display: none;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.info-pill {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

/* Table improvements */
.table-wrapper {
  overflow-x: auto;
}

.comparison-table .popular-col {
  background: rgba(0, 125, 255, 0.05);
  border-bottom-color: rgba(0, 125, 255, 0.15);
}

.comparison-table .price-row td {
  font-size: 1.05rem;
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 2px solid var(--primary);
}

.comparison-table td .check {
  color: var(--primary);
  font-weight: bold;
}

/* Pricing improvements */
.pricing-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.pricing-price {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--dark);
  margin: 15px 0;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Calculator improvements */
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.calc-tab {
  padding: 10px 20px;
  border: 2px solid #ddd;
  border-radius: 30px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
}

.calc-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.calc-tab:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}

.calc-label {
  display: block;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--dark);
  margin-bottom: 8px;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--primary) 0%, var(--accent) 100%);
  outline: none;
  margin-top: 12px;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 125, 255, 0.4);
}

.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.calc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.calc-item.accent {
  border-bottom: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.calc-item.accent span:last-child {
  font-size: 1.8rem;
}

.calc-cta {
  text-align: center;
  margin-top: 30px;
}

.calc-hint {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}

/* Selling section */
.selling-section {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f5f6 100%);
}

.selling-text h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.selling-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.highlight-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 40px 0;
}

.highlight-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.highlight-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.highlight-box strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
}

.highlight-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* Infographic improvements */
.infographic-section {
  background: linear-gradient(180deg, var(--light) 0%, rgba(127, 199, 255, 0.1) 100%);
}

.infographic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.info-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(0, 125, 255, 0.1), rgba(127, 199, 255, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: var(--primary);
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-percent {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.infographic-note {
  text-align: center;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* Gallery improvements */
.gallery-section {
  background: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.gallery-item img {
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

.gallery-desc h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  margin-top: 12px;
}

.gallery-desc p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.gallery-line {
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--highlight));
  border-radius: 2px;
  margin: 40px 0;
}

/* Testimonials improvements */
.testimonial-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, #fff, rgba(0, 125, 255, 0.03));
}

.test-city {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Footer improvements */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 15px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
}

.footer-tagline {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.footer-email {
  color: var(--accent);
  font-weight: 600;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-col h4 {
  font-size: 1rem;
}

.footer-requisites {
  opacity: 0.6;
  font-size: 0.85rem;
  margin-bottom: 5px;
  line-height: 1.4;
}

/* Legal pages */
.legal-page {
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-main);
}

.legal-content ul {
  margin: 15px 0 15px 25px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

/* Thanks page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f5f6 100%);
}

.thanks-content {
  text-align: center;
  max-width: 600px;
}

.thanks-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  margin-top: 30px;
}

.thanks-animation {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.thanks-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  box-shadow: 0 20px 50px rgba(0, 125, 255, 0.4);
}

@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.thanks-check {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
}

.thanks-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.thanks-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--shadow);
}

.thanks-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.thanks-contact {
  color: var(--text-muted);
  margin: 20px 0 30px;
  font-size: 0.95rem;
}

.thanks-contact a {
  color: var(--primary);
  font-weight: 600;
}

/* Burger menu animation */
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
  transform-origin: center;
}

.header:not(.scrolled) .burger-line {
  background: var(--white);
}

.mobile-menu-btn.open .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open .burger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Particles animation */
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  100% { transform: translateY(-30px) rotate(180deg); opacity: 0.1; }
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

/* Split section reverse */
.split-reverse {
  flex-direction: row-reverse;
}

/* Nav active state (white on hero) */
.header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.header:not(.scrolled) .logo {
  color: var(--white);
}

/* Responsive additions */
@media (max-width: 1024px) {
  .circle-layout {
    width: 500px;
    height: 500px;
  }

  .circle-center {
    width: 200px;
    height: 200px;
  }

  .infographic {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-boxes {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 25px;
  }

  .stat strong {
    font-size: 1.4rem;
  }

  .split-section, .split-reverse {
    flex-direction: column !important;
  }

  .form-row, .form-row-3 {
    grid-template-columns: 1fr;
  }

  .circle-layout {
    display: none;
  }

  .circle-mobile-info {
    display: flex;
  }

  .infographic {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-boxes {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel-slide {
    min-width: 80%;
  }

  .calc-tabs {
    flex-direction: column;
  }

  .calc-tab {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .fullbanner-content h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .pricing-card.popular {
    transform: scale(1);
  }
}

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

  .gallery {
    grid-template-columns: 1fr;
  }

  .infographic {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .cookie-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
}
