/**
 * TechnAre — Premium UI Enhancements
 * Loaded after main.css. Layers premium styles on top of existing design.
 */

/* ==========================================================================
   1. TYPOGRAPHY ENHANCEMENTS
   ========================================================================== */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  line-height: 1.75;
}

/* Section titles — premium feel */
.section-title {
  padding-bottom: 70px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08) 0%, rgba(0, 185, 210, 0.15) 100%);
}

.section-title p {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-top: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   2. HERO SECTION PREMIUM
   ========================================================================== */

.hero {
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 185, 210, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero p {
  font-size: clamp(16px, 1.35vw, 19px);
  color: #475569;
  line-height: 1.8;
  max-width: 540px;
}

.hero .btn-get-started {
  padding: 16px 44px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 185, 210, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hero .btn-get-started::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  border-radius: inherit;
}

.hero .btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 185, 210, 0.4);
}

.hero .btn-get-started i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero .btn-get-started:hover i {
  transform: translateX(4px);
}

/* Trust badges row in hero */
.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-item .trust-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--heading-color);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-trust-item .trust-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  line-height: 1.3;
  max-width: 80px;
}

/* Tech badges */
.hero-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 185, 210, 0.06);
  border: 1px solid rgba(0, 185, 210, 0.12);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #0e7490;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.hero-tech-badge:hover {
  background: rgba(0, 185, 210, 0.12);
  border-color: rgba(0, 185, 210, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   3. CARD ENHANCEMENTS (Values, Services, Features)
   ========================================================================== */

.values .card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 48px 36px;
}

.values .card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  transform: translateY(-8px);
  border-color: rgba(0, 185, 210, 0.2);
}

.values .card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.values .card p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

/* Service cards premium */
.services .service-item {
  border-radius: 16px;
  padding: 48px 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.services .service-item .icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 28px;
}

.services .service-item h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.services .service-item p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

.services .service-item .read-more {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 10px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.services .service-item .read-more:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.3);
}

/* Feature boxes premium */
.features .feature-box {
  padding: 24px 24px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.features .feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 185, 210, 0.2);
}

.features .feature-box i {
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.1) 0%, rgba(0, 185, 210, 0.18) 100%);
  padding: 10px;
  border-radius: 10px;
}

/* ==========================================================================
   4. STATS SECTION PREMIUM
   ========================================================================== */

.stats .stats-item {
  border-radius: 16px;
  padding: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stats .stats-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.stats .stats-item .purecounter {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   5. ABOUT SECTION PREMIUM
   ========================================================================== */

.about .content {
  border-radius: 16px;
  padding: 48px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
}

.about .content h3 {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
}

.about .content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about .content p {
  color: #475569;
  line-height: 1.8;
  font-size: 15.5px;
}

.about .content .btn-read-more {
  border-radius: 12px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.25);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about .content .btn-read-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 185, 210, 0.35);
}

/* ==========================================================================
   6. PORTFOLIO SECTION PREMIUM
   ========================================================================== */

.portfolio .portfolio-filters li {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.25);
  transform: translateY(-2px);
}

.portfolio .portfolio-content {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.portfolio .portfolio-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.portfolio .portfolio-content img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.05);
}

.portfolio .portfolio-content .portfolio-info {
  padding: 20px 24px;
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

.portfolio .portfolio-content .portfolio-info p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

/* ==========================================================================
   7. TESTIMONIALS SECTION PREMIUM
   ========================================================================== */

.testimonials .testimonial-item {
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.03);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials .testimonial-item::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 72px;
  font-family: Georgia, serif;
  color: rgba(0, 185, 210, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonials .testimonial-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonials .testimonial-item .stars i {
  color: #f59e0b;
  font-size: 16px;
}

.testimonials .testimonial-item h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.testimonials .testimonial-item h4 {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.testimonials .testimonial-item .testimonial-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 185, 210, 0.15);
}

.testimonials .testimonial-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   8. CONTACT SECTION PREMIUM
   ========================================================================== */

.contact .info-item {
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 24px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.contact .info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 185, 210, 0.15);
}

.contact .info-item i {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08) 0%, rgba(0, 185, 210, 0.16) 100%);
}

.contact .info-item h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.contact .info-item p {
  font-size: 14px;
  color: #64748b;
}

.contact .php-email-form {
  border-radius: 20px;
  padding: 44px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.04);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  border: 1.5px solid var(--border-color);
  transition: all 0.3s ease;
  background: #f8fafc;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(0, 185, 210, 0.08);
  background: #ffffff;
  outline: none;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.contact .php-email-form button[type=submit] {
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 0;
  color: white;
  background: var(--accent-color);
  box-shadow: 0 4px 20px rgba(0, 185, 210, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.contact .php-email-form button[type=submit]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 185, 210, 0.4);
  background: color-mix(in srgb, var(--accent-color), black 8%);
}

/* ==========================================================================
   9. HEADER / NAVBAR PREMIUM
   ========================================================================== */

.header {
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 24px rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.95);
}

.header .btn-getstarted {
  border-radius: 10px;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 12px rgba(0, 185, 210, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header .btn-getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 185, 210, 0.35);
}

@media (min-width: 1200px) {
  .navmenu a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    padding: 18px 18px;
    transition: color 0.25s ease;
  }
}

/* ==========================================================================
   10. FOOTER PREMIUM
   ========================================================================== */

.footer {
  background-color: #f8fafc;
  position: relative;
}

.footer .footer-newsletter {
  background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 50%, #f8fafc 100%);
  padding: 64px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.footer .footer-newsletter h4 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer .footer-newsletter .newsletter-form {
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  padding: 6px 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(0, 185, 210, 0.08);
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border-radius: 8px;
  padding: 0 24px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.footer .footer-top {
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer .sitename {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.footer h4 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.footer .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-links ul a {
  font-size: 14px;
  color: #64748b;
  transition: all 0.25s ease;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
  padding-left: 8px;
}

.footer .social-links a {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 16px;
}

.footer .social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 185, 210, 0.25);
}

.footer .copyright {
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 13px;
  color: #94a3b8;
}

/* ==========================================================================
   11. FAQ SECTION PREMIUM
   ========================================================================== */

.faq .faq-item {
  margin-bottom: 12px;
}

.faq .faq-question-btn {
  border-radius: 12px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.faq .faq-item.faq-active .faq-question-btn {
  border-color: rgba(0, 185, 210, 0.2);
  box-shadow: 0 4px 16px rgba(0, 185, 210, 0.06);
}

.faq .faq-question-text {
  font-weight: 600;
  font-size: 15px;
  color: var(--heading-color);
  letter-spacing: -0.01em;
}

.faq .faq-content p {
  color: #64748b;
  line-height: 1.7;
  font-size: 15px;
  padding: 0 24px 8px 24px;
}

/* ==========================================================================
   12. ALT-FEATURES PREMIUM
   ========================================================================== */

.alt-features .icon-box {
  padding: 20px;
  border-radius: 16px;
  transition: all 0.35s ease;
}

.alt-features .icon-box:hover {
  background: rgba(0, 185, 210, 0.03);
}

.alt-features .icon-box i {
  font-size: 36px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 185, 210, 0.08) 0%, rgba(0, 185, 210, 0.16) 100%);
  color: var(--accent-color);
}

.alt-features .icon-box h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   13. CLIENTS SECTION PREMIUM
   ========================================================================== */

.clients .swiper-slide img {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  max-height: 48px;
}

.clients .swiper-slide img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ==========================================================================
   14. SECTION SPACING CONSISTENCY
   ========================================================================== */

section.section {
  padding: 100px 0;
}

.hero + .section {
  padding-top: 100px;
}

/* Section divider lines */
.about.section,
.features.section,
.services.section,
.portfolio.section,
.faq.section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   15. RESPONSIVE PREMIUM ADJUSTMENTS
   ========================================================================== */

@media (max-width: 991px) {
  section.section {
    padding: 64px 0;
  }
  
  .section-title p {
    font-size: 28px;
  }
  
  .section-title {
    padding-bottom: 48px;
  }
  
  .hero p {
    max-width: 100%;
  }
  
  .hero-trust-row {
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
  }
  
  .hero-tech-badges {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  section.section {
    padding: 48px 0;
  }
  
  .section-title p {
    font-size: 24px;
  }
  
  .section-title {
    padding-bottom: 36px;
  }
  
  .hero-trust-row {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-trust-item {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-trust-item .trust-label {
    max-width: none;
  }
  
  .about .content {
    padding: 32px 24px;
  }
  
  .contact .php-email-form {
    padding: 28px 20px;
  }
  
  .testimonials .testimonial-item {
    padding: 28px 24px;
  }
  
  .footer .footer-newsletter {
    padding: 40px 0;
  }
  
  .footer .footer-newsletter h4 {
    font-size: 22px;
  }
}

/* ==========================================================================
   16. SMOOTH SCROLL INDICATOR LINE AT TOP
   ========================================================================== */

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 185, 210, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scrolled .header::after {
  opacity: 1;
}
