/* ====================================
   CSS Variables & Reset
   ==================================== */
:root {
  --primary: #3b82f6;
  --secondary: #8b5cf6;
  --dark: #0f172a;
  --gray: #64748b;
  --light-gray: #f1f5f9;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

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

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

/* ====================================
   Navigation
   ==================================== */
.navbar {
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark) !important;
}

.navbar-brand span {
  color: var(--primary);
}

.nav-link {
  color: var(--dark) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: var(--transition);
}

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

.btn-nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  margin-left: 1rem !important;
}

.navbar-toggler {
  border: 2px solid var(--dark);
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* ====================================
   Hero Section
   ==================================== */
.hero-section {
  min-height: 100vh;
  padding: 100px 0 50px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.05) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 600px;
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-primary-cta {
  background: var(--gradient);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
  color: var(--white);
}

.btn-secondary-cta {
  background: var(--white);
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.btn-secondary-cta:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.hero-mockup {
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.9) 0%,
      rgba(139, 92, 246, 0.9) 100%
    ),
    url("images/hero-mockup.jpg") center/cover no-repeat;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  opacity: 0.3;
}

/* ====================================
   Section Styles
   ==================================== */
section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.section-badge span {
  font-size: 1.2rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ====================================
   Portfolio Section
   ==================================== */
.portfolio-section {
  background: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.portfolio-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-image-wrapper img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(59, 130, 246, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-link {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.portfolio-info {
  padding: 2rem;
}

.portfolio-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ====================================
   About Section
   ==================================== */
.about-section {
  background: var(--light-gray);
}

.about-image-container {
  position: relative;
}

.about-image {
  height: 500px;
  background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.85) 0%,
      rgba(139, 92, 246, 0.85) 100%
    ),
    url("images/about-image.jpg") center/cover no-repeat;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
  overflow: hidden;
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
}

.about-decoration {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary);
  border-radius: 30px;
  z-index: -1;
  background: rgba(59, 130, 246, 0.1);
}

.stats-badge {
  position: absolute;
  bottom: 30px;
  right: -30px;
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 10;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-text {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.about-description {
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feature-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ====================================
   Testimonials Section
   ==================================== */
.testimonials-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.testimonial-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  gap: 0.2rem;
}

.star {
  color: #ffc107;
  font-size: 1.1rem;
}

.country-flag {
  font-size: 1.8rem;
  line-height: 1;
  cursor: help;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .country-flag {
  transform: scale(1.2);
}

.testimonial-content {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--dark);
}

.author-role {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.2rem;
}

.author-platform {
  font-size: 0.75rem;
  color: var(--primary);
  margin-top: 0.2rem;
  font-weight: 500;
}

.btn-view-more {
  display: inline-flex;
  align-items: center;
  background: var(--gradient);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-view-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
  color: var(--white);
}

.btn-view-more svg {
  transition: transform 0.3s ease;
}

.btn-view-more:hover svg {
  transform: translateX(5px);
}

/* ====================================
   Pricing Section
   ==================================== */
.pricing-section {
  background: var(--white);
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 2px solid rgba(59, 130, 246, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: var(--gradient);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 1rem 0;
}

.currency {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.amount {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  color: var(--gray);
  font-size: 1rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.check {
  color: #10b981;
  font-weight: 700;
  font-size: 1.2rem;
}

.btn-pricing {
  display: block;
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  padding: 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 2rem;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-pricing:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
  color: var(--white);
}

.pricing-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 15px;
  font-size: 0.95rem;
  color: var(--gray);
}

/* ====================================
   Contact Section
   ==================================== */
.contact-section {
  background: var(--light-gray);
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

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

.form-input {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 15px;
  font-size: 1rem;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}

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

.char-counter {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: right;
  margin-top: 0.5rem;
}

.char-counter.warning {
  color: #f59e0b;
}

.char-counter.limit {
  color: #ef4444;
  font-weight: 600;
}

.error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.btn-submit {
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  padding: 1.2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-message {
  padding: 1rem;
  border-radius: 15px;
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
}

/* ====================================
   Footer
   ==================================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--primary);
}

.footer-brand p {
  color: var(--gray);
  margin-top: 0.5rem;
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links a {
  display: block;
  color: var(--gray);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ====================================
   Responsive Design
   ==================================== */
@media (max-width: 992px) {
  .hero-visual {
    height: 400px;
    margin-top: 3rem;
  }

  .hero-mockup {
    height: 400px;
  }

  .about-image {
    height: 400px;
    margin-bottom: 3rem;
  }

  .stats-badge {
    right: 20px;
    bottom: 20px;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .about-decoration {
    width: 150px;
    height: 150px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .hero-section {
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .trust-indicators {
    gap: 1.5rem;
  }

  .trust-number {
    font-size: 2rem;
  }

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

  .btn-primary-cta,
  .btn-secondary-cta {
    width: 100%;
    text-align: center;
  }

  .hero-visual {
    height: 300px;
  }

  .hero-mockup {
    height: 300px;
  }

  .about-image {
    height: 300px;
  }

  .stats-badge {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 2rem;
    width: 100%;
  }

  .about-decoration {
    display: none;
  }

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

  .testimonial-card {
    padding: 1.5rem;
  }

  .country-flag {
    font-size: 1.5rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .amount {
    font-size: 4rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }

  .platform-badges {
    flex-direction: column;
  }

  .platform-badges a {
    width: 100%;
    justify-content: center;
  }
}
