/* ===================== VARIABLES ===================== */
:root {
  --primary-dark: #0a1628;
  --primary: #1e3a5f;
  --accent: #4a90d9;
  --accent-light: #7eb8e8;
  --text-light: #a0c4e8;
  --white: #ffffff;
  --gray-100: #f4f8fc;
  --gray-200: #e0e8f0;
  --gray-500: #666;
  --gray-800: #1e1e1e;
  --danger: #e53e3e;
  --success: #38a169;
}

/* ===================== RESET & BASE ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* ===================== UTILITIES ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.section-gray {
  background: var(--gray-100);
}

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

.text-accent {
  color: var(--accent);
}

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

.section-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-dark .section-label {
  color: var(--accent-light);
}

.section-title {
  margin-bottom: 16px;
}

.section-dark .section-title {
  color: var(--white);
}

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

.section-dark .section-subtitle {
  color: var(--text-light);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background: #3a7bc8;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 144, 217, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

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

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 48px;
  width: auto;
}

.navbar-logo span {
  color: var(--accent);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-menu a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: var(--white);
}

.navbar-menu a.active {
  color: var(--white);
  position: relative;
}

.navbar-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 20px;
}

.lang-switcher a {
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-switcher a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.lang-switcher a.active {
  color: var(--white);
  background: var(--accent);
}

@media (max-width: 968px) {
  .lang-switcher {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
  }

  .social-icons {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-left: 16px;
}

.social-icons a {
  color: var(--text-light);
  font-size: 1.125rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-icons a.facebook:hover { color: #1877f2; }
.social-icons a.instagram:hover { color: #e4405f; }
.social-icons a.youtube:hover { color: #ff0000; }
.social-icons a.linkedin:hover { color: #0a66c2; }

/* Mobile Menu */
@media (max-width: 968px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transition: right 0.3s ease;
  }

  .navbar-menu.active {
    right: 0;
  }

  .navbar-menu a {
    font-size: 1.25rem;
  }

  /* Mobile menu close button */
  .navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile social icons */
  .social-icons {
    display: none;
  }

  .mobile-social-icons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-social-icons a {
    color: var(--text-light);
    font-size: 1.25rem;
  }

  .mobile-social-icons a:hover {
    color: var(--white);
  }
}

@media (min-width: 969px) {
  .mobile-social-icons {
    display: none;
  }
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.15) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-label {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(74, 144, 217, 0.2);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.6s forwards;
  opacity: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.6s ease 0.8s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 120px;
  }
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  opacity: 0;
}

.animate.visible {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-left.visible {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-right.visible {
  animation: fadeInRight 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s !important; }
.animate-delay-2 { animation-delay: 0.2s !important; }
.animate-delay-3 { animation-delay: 0.3s !important; }
.animate-delay-4 { animation-delay: 0.4s !important; }
.animate-delay-5 { animation-delay: 0.5s !important; }

/* ===================== CARDS ===================== */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-dark {
  background: var(--primary);
  color: var(--white);
}

.card-dark:hover {
  background: #254a73;
}

.card-bordered {
  border-left: 4px solid var(--accent);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent);
}

.card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.card-icon.android { background: rgba(61, 220, 132, 0.15); }
.card-icon.fire { background: rgba(255, 153, 0, 0.15); }
.card-icon.samsung { background: rgba(20, 40, 160, 0.15); }
.card-icon.lg { background: rgba(165, 0, 52, 0.15); }

.card-dark .card-icon {
  background: rgba(74, 144, 217, 0.2);
}

.card h4 {
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

.card-dark p {
  color: var(--text-light);
}

/* ===================== GRID ===================== */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

@media (max-width: 968px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===================== FEATURES ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 968px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===================== STATS BAR ===================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* ===================== TABLE ===================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 16px 20px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-500);
}

tr:nth-child(even) td {
  background: var(--gray-100);
}

tr:hover td {
  background: rgba(74, 144, 217, 0.05);
}

/* ===================== CHECK LIST ===================== */
.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

.section-dark .check-list li {
  color: var(--text-light);
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  text-align: center;
  padding: 100px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* ===================== CONTACT FORM ===================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.section-dark .form-label {
  color: var(--white);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-checkbox label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.section-dark .form-checkbox label {
  color: var(--text-light);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 80px;
  margin-bottom: 60px;
  justify-content: center;
  text-align: center;
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

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

.footer-logo span {
  color: var(--accent);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links a {
  color: var(--text-light);
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.875rem;
}

.footer-author {
  font-size: 0.875rem;
}

.footer-author strong {
  color: var(--white);
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(3, auto);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.1) 0%, transparent 70%);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--text-light);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== PRICING ===================== */
.pricing-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

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

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--gray-500);
  margin-bottom: 24px;
}

.pricing-card.featured .pricing-desc {
  color: var(--text-light);
}

.pricing-features {
  text-align: left;
  margin-bottom: 32px;
}

/* ===================== PROCESS STEPS ===================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-title {
  font-weight: 600;
  font-size: 0.9375rem;
}

.section-dark .process-title {
  color: var(--white);
}

@media (max-width: 968px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================== HIGHLIGHT BOX ===================== */
.highlight-box {
  background: var(--primary);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
}

.highlight-box h4 {
  color: var(--accent);
  margin-bottom: 12px;
}

.highlight-box p {
  color: var(--text-light);
}

/* ===================== WARNING BOX ===================== */
.warning-box {
  background: #fff5f5;
  border-left: 4px solid var(--danger);
  border-radius: 0 12px 12px 0;
  padding: 24px;
}

.warning-box h4 {
  color: #c53030;
  margin-bottom: 12px;
}

.warning-box ul {
  list-style: none;
}

.warning-box li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--gray-500);
}

.warning-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--danger);
}

/* ===================== SCROLL TO TOP ===================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(74, 144, 217, 0.4);
}

.scroll-to-top:hover {
  background: #3a7bc8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 144, 217, 0.5);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }
}

/* ===================== PORTFOLIO ===================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 420px;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-logo {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
}

.portfolio-logo img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
}

.portfolio-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-content h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.portfolio-category {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.portfolio-desc {
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.875rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-stores {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: auto;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #1e293b;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.store-badge:hover {
  background: #334155;
}

.store-badge img {
  height: 20px;
  width: auto;
}

.store-badge svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .portfolio-card {
    height: auto;
  }

  .portfolio-logo {
    padding: 24px;
  }

  .portfolio-stores {
    flex-wrap: wrap;
  }
}
