/* ========================================
   Vueports Solutions - Main Stylesheet
   ======================================== */

/* 1. Design Tokens & Variables */
@import url('variables.css');

/* 2. CSS Reset */
@import url('reset.css');

/* 3. Utility Classes */
@import url('utilities.css');

/* 4. Reusable Components */
@import url('components.css');

/* 5. Layout (Navbar, Footer, Sections) */
@import url('layout.css');

/* 6. Page-Specific Styles */
@import url('pages.css');

/* 7. Animations */
@import url('animations.css');

/* 8. Responsive */
@import url('responsive.css');

/* ========================================
   Global Overrides & Final Polish
   ======================================== */

/* Smooth scrolling for anchor links */
html {
  scroll-padding-top: 100px;
}

/* Selection styling */
::selection {
  background-color: var(--color-primary-200);
  color: var(--color-primary-900);
}

[data-theme="dark"] ::selection {
  background-color: var(--color-primary-700);
  color: var(--color-white);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}

/* Prevent text selection on UI elements */
.btn,
.nav-link,
.slider-btn,
.tab,
.hamburger,
.theme-toggle {
  user-select: none;
  -webkit-user-select: none;
}

/* Image optimization */
img {
  content-visibility: auto;
}

/* Prevent layout shift */
img[src=""] {
  visibility: hidden;
}

/* Form autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-card) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* Custom file input */
input[type="file"] {
  padding: var(--space-2);
}

input[type="file"]::file-selector-button {
  padding: var(--space-2) var(--space-4);
  margin-right: var(--space-3);
  border: none;
  border-radius: var(--border-radius-md);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

input[type="file"]::file-selector-button:hover {
  background: var(--color-accent-dark);
}

/* Range input styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--border-radius-full);
  background: var(--bg-secondary);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
}

/* Progress element */
progress {
  width: 100%;
  height: 8px;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  appearance: none;
}

progress::-webkit-progress-bar {
  background: var(--bg-secondary);
  border-radius: var(--border-radius-full);
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-400));
  border-radius: var(--border-radius-full);
  transition: width var(--transition-slow);
}

progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary-400));
  border-radius: var(--border-radius-full);
}

/* Details/Summary (accordion) */
details {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}
.service-detail-image i {
    font-size: 10rem;
    color: var(--color-accent);
    opacity: 0.8;
}
details + details {
  margin-top: var(--space-3);
}

summary {
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

summary:hover {
  background: var(--bg-hover);
}

summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

details[open] summary::after {
  transform: rotate(180deg);
}

details > div {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* Mark element */
mark {
  background: var(--color-primary-100);
  color: var(--color-primary-900);
  padding: 0 var(--space-1);
  border-radius: var(--border-radius-sm);
}

[data-theme="dark"] mark {
  background: var(--color-primary-800);
  color: var(--color-primary-200);
}

/* Code blocks */
pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-5);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-secondary);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-sm);
  color: var(--color-accent);
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-5);
  margin: var(--space-6) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Horizontal rule */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  margin: var(--space-8) 0;
}

/* Figure and caption */
figure {
  margin: var(--space-6) 0;
}

figcaption {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* Definition list */
dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2) var(--space-6);
}

dt {
  font-weight: 600;
  color: var(--text-primary);
}

dd {
  color: var(--text-secondary);
  margin: 0;
}

/* Address */
address {
  font-style: normal;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Abbreviation */
abbr[title] {
  border-bottom: 1px dotted var(--text-muted);
  cursor: help;
}

/* Kbd */
kbd {
  display: inline-block;
  padding: var(--space-1) var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color-strong);
  border-radius: var(--border-radius-sm);
  box-shadow: 0 2px 0 var(--border-color-strong);
}

/* Superscript/Subscript */
sup, sub {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Small text */
small {
  font-size: var(--font-size-xs);
}

/* Strong/Bold variations */
strong, b {
  font-weight: 700;
  color: var(--text-primary);
}

/* Emphasis */
em, i {
  font-style: italic;
}

/* Deleted/Inserted text */
del {
  color: var(--text-muted);
  text-decoration: line-through;
}

ins {
  color: var(--color-success);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Time element */
time {
  font-variant-numeric: tabular-nums;
}

/* Meter element */
meter {
  width: 100%;
  height: 12px;
  border-radius: var(--border-radius-full);
}

/* Dialog element */
dialog {
  border: none;
  border-radius: var(--border-radius-xl);
  padding: 0;
  max-width: 560px;
  width: 90vw;
  box-shadow: var(--shadow-xl);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

dialog[open] {
  animation: scaleIn 0.3s ease;
}

/* Fieldset and legend */
fieldset {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: var(--space-6);
  margin: 0;
}

legend {
  padding: 0 var(--space-3);
  font-weight: 600;
  color: var(--text-primary);
}

/* Optgroup */
optgroup {
  font-weight: 600;
  color: var(--text-primary);
}

/* Datalist */
datalist {
  display: none;
}

/* Output */
output {
  font-weight: 600;
  color: var(--color-accent);
}

/* Template */
template {
  display: none;
}

/* Slot (Web Components) */
slot {
  display: contents;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
  .no-print,
  .navbar,
  .footer,
  .scroll-indicator,
  .slider-controls,
  .theme-toggle,
  .hamburger,
  .toast-container,
  .admin-sidebar,
  .client-sidebar {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero,
  .section,
  .footer {
    padding: 20px 0 !important;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
    color: black !important;
  }
  .center-btn {
    text-align: center;
    margin-top: 48px;
}
  .btn {
    border: 1px solid black;
    background: white !important;
    color: black !important;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none !important;
  }
  
  .admin-main,
  .client-main {
    margin-left: 0 !important;
  }
}

 /* FAQ Section */
 .faq-section {
  padding: 80px 0 120px;
  background: var(--bg-secondary);
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  transition: transform var(--transition-normal);
  color: var(--accent);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

@media (max-width: 1023px) {
  .contact-grid {
      grid-template-columns: 1fr;
  }

  .contact-info {
      order: 2;
  }

  .contact-form-wrapper {
      order: 1;
  }
}

@media (max-width: 767px) {
  .form-row {
      grid-template-columns: 1fr;
  }

  .contact-info, .contact-form-wrapper {
      padding: 24px;
  }
}


/* ========================================
   Index Page Specific Styles
   ======================================== */

/* Service Features List */
.service-features {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.service-features li {
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.service-features li i {
    color: var(--color-accent);
    font-size: var(--font-size-xs);
    flex-shrink: 0;
}

/* Service Icon */
.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-active);
    border-radius: var(--border-radius-lg);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-accent);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-top: var(--space-4);
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: var(--space-3);
}

.service-link i {
    font-size: var(--font-size-xs);
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card.featured {
    grid-column: span 2;
    grid-row: span 1;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-card.featured {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-card.featured {
        grid-column: span 1;
    }
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.portfolio-card.featured .portfolio-image {
    aspect-ratio: 16 / 10;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

[data-theme="light"] .portfolio-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    padding: var(--space-6);
}

.portfolio-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-accent);
    background: var(--bg-active);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--space-3);
}

.portfolio-info h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.portfolio-info p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    align-items: start;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.pricing-price {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin: var(--space-4) 0;
}

.pricing-price span {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.pricing-features {
    text-align: left;
    margin-bottom: var(--space-8);
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--color-success);
    font-size: var(--font-size-xs);
    flex-shrink: 0;
    width: 16px;
}

.pricing-features li.not-included {
    opacity: 0.4;
}

.pricing-features li.not-included i {
    color: var(--text-muted);
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform var(--transition-slow);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .testimonial-card {
        min-width: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .testimonial-card {
        min-width: 100%;
    }
}

.quote-icon {
    font-size: 2rem;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-dots {
    display: flex;
    gap: var(--space-2);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--border-radius-full);
    background: var(--border-color-strong);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot.active {
    background: var(--color-accent);
    width: 32px;
    border-radius: 5px;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-full);
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: var(--z-sticky);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ==================== CALCULATOR SECTION ==================== */
.calculator {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.calculator-benefits {
    list-style: none;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calculator-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 16px;
}

.calculator-benefits i {
    color: var(--accent-primary);
    font-size: 18px;
}

.calculator-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 0;
    color: var(--text-primary);
    font-size: 14px;
}

.checkbox-label input {
    display: none;
}

.checkbox-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkbox-box i {
    font-size: 10px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
}

.checkbox-label input:checked + .checkbox-box {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.checkbox-label input:checked + .checkbox-box i {
    opacity: 1;
    transform: scale(1);
}

.calculator-result {
    background: var(--bg-primary);
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    text-align: center;
}

.result-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.result-range {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-primary);
}

.result-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.calculator-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* ==================== BOOKING SECTION ==================== */
.booking {
    padding: 120px 0;
    background: var(--bg-primary);
}

.booking-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==================== BLOG SECTION ==================== */
.blog {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 48px;
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
}

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-meta i {
    margin-right: 4px;
}

.blog-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.blog-link i {
    transition: transform 0.2s;
}

.blog-link:hover i {
    transform: translateX(4px);
}

/* ==================== FAQ SECTION ==================== */
.faq {
    padding: 120px 0;
    background: var(--bg-primary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* ==================== CTA SECTION ==================== */
.cta {
    padding: 80px 0 120px;
    background: var(--bg-secondary);
}

.cta-box {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-buttons .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--accent-primary);
}

.cta-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    opacity: 0.1;
}

.cta-orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    filter: blur(80px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 40px 24px;
    }
    .cta-box h2 {
        font-size: 24px;
    }
    .cta-buttons {
        flex-direction: column;
    }
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text-primary);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.legal-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p.lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.legal-content .contact-box {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.legal-content .contact-box a {
    color: var(--color-accent);
    text-decoration: none;
}

.legal-content .contact-box a:hover {
    text-decoration: underline;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.875rem;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tbody tr:hover {
    background: var(--bg-secondary);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.cookie-banner.active {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    flex: 1;
    min-width: 250px;
}

.cookie-banner a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-banner .cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner .btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder .placeholder-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-answer.active {
    max-height: 500px;
    padding-bottom: 20px;
}

/* Testimonials Slider */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .testimonial-card {
        min-width: calc(50% - 12px);
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        min-width: calc(33.333% - 16px);
    }
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.slider-btn:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
}

.slider-dot.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 5px;
}

/* Stats Counter Animation */
.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--color-accent);
    display: block;
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    opacity: 0.6;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: var(--text-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.4s ease;
    z-index: 9998;
    font-size: 0.875rem;
}

.toast.show {
    transform: translateX(0);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
    z-index: 9990;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}

/* Typewriter Cursor */
.cursor-blink {
    animation: blink 1s step-end infinite;
    color: var(--color-accent);
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-accent);
    color: white;
    padding: 8px 16px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}