/* ===== VARIABLES GLOBALES ===== */
:root {
  --primary: #ff006e;
  --primary-light: #ff3d8f;
  --secondary: #fb5607;
  --accent: #ffbe0b;
  --success: #06ffa5;
  --danger: #ff4757;
  --bg-dark: #0d1b2a;
  --bg-darker: #051923;
  --bg-light: #f5f7fa;
  --text: #0f172a;
  --text-light: #64748b;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #ff006e 0%, #fb5607 50%, #ffbe0b 100%);
  --gradient-dark: linear-gradient(135deg, #0d1b2a 0%, #1a3a4a 100%);
  --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== HEADER/NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 110, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  border-bottom-color: rgba(255, 0, 110, 0.2);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  gap: 10px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(255, 0, 110, 0.05);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

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

body {
  padding-top: 80px;
}

/* ===== PAGE WRAPPER ===== */
.page {
  min-height: calc(100vh - 80px);
}

/* ===== HERO SECTIONS ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 110, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 86, 7, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-50px); }
}

.hero-home {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
}

.hero-services {
  background: var(--gradient-dark);
  color: white;
}

.hero-expertise {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3a5a 100%);
  color: white;
}

.hero-projects {
  background: linear-gradient(135deg, #051923 0%, #0d2e3d 100%);
  color: white;
}

.hero-about {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-text h1 {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
  animation: slideInDown 0.8s ease;
}

.hero-home h1 {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-services h1,
.hero-expertise h1,
.hero-projects h1 {
  color: white;
}

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

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 300;
  animation: slideInUp 0.8s ease 0.1s both;
}

.hero-services .hero-subtitle,
.hero-expertise .hero-subtitle,
.hero-projects .hero-subtitle {
  color: var(--accent);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
  animation: slideInUp 0.8s ease 0.2s both;
}

.hero-services .hero-desc,
.hero-expertise .hero-desc,
.hero-projects .hero-desc {
  color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  animation: slideInUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

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

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(255, 0, 110, 0.4);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.1);
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: translateY(-4px);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 52px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -1px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: var(--gradient-primary);
  margin: 20px auto 0;
  border-radius: 3px;
}

.section-dark .section-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: white;
}

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

/* ===== SECTION STYLES ===== */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

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

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

.section-white {
  background: white;
  color: var(--text);
}

/* ===== CARDS & GRIDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card:hover {
  transform: translateY(-16px) scale(1.02);
  box-shadow: 0 25px 70px rgba(255, 0, 110, 0.15);
  border-color: rgba(255, 0, 110, 0.3);
}

.section-dark .card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.section-dark .card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 0, 110, 0.5);
  box-shadow: 0 25px 70px rgba(255, 0, 110, 0.25);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.card:hover::before {
  left: 100%;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  animation: bounce 2s infinite;
}

.card:nth-child(1) .card-icon { animation-delay: 0s; }
.card:nth-child(2) .card-icon { animation-delay: 0.1s; }
.card:nth-child(3) .card-icon { animation-delay: 0.2s; }
.card:nth-child(4) .card-icon { animation-delay: 0.3s; }
.card:nth-child(5) .card-icon { animation-delay: 0.4s; }
.card:nth-child(6) .card-icon { animation-delay: 0.5s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-dark .card h3 {
  color: var(--accent);
}

.card p {
  font-size: 15px;
  line-height: 1.8;
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
}

.section-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

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

.testimonial-quote {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  color: var(--text-light);
}

.section-dark .testimonial-text {
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff006e, #fb5607);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text);
}

.section-dark .author-info h4 {
  color: white;
}

.author-role {
  font-size: 13px;
  color: var(--text-light);
}

.section-dark .author-role {
  color: rgba(255, 255, 255, 0.7);
}

.rating {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.star {
  color: var(--accent);
  font-size: 16px;
}

/* ===== CASE STUDIES / PROJECTS ===== */
.case-study {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.section-dark .case-study {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.case-study:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 70px rgba(255, 0, 110, 0.15);
}

.case-study:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.case-study:nth-child(even) .case-visual {
  order: -1;
}

.case-visual {
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(251, 86, 7, 0.1));
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.case-visual-icon {
  font-size: 120px;
  opacity: 0.8;
  animation: float 4s ease-in-out infinite;
}

.case-content {
  padding: 60px 40px;
}

.case-study h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--primary);
}

.section-dark .case-study h3 {
  color: var(--accent);
}

.case-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.result-item {
  background: rgba(255, 0, 110, 0.08);
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.section-dark .result-item {
  background: rgba(255, 0, 110, 0.15);
}

.result-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.section-dark .result-label {
  color: rgba(255, 255, 255, 0.6);
}

.result-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 60px 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
  direction: rtl;
}

.timeline-item:nth-child(even) > * {
  direction: ltr;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-light), 0 0 0 8px var(--primary);
}

.timeline-item:nth-child(1) .timeline-dot,
.timeline-item:nth-child(3) .timeline-dot,
.timeline-item:nth-child(5) .timeline-dot {
  box-shadow: 0 0 0 6px var(--bg-light), 0 0 0 8px var(--secondary);
}

.timeline-date {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 16px;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(1) .timeline-content,
.timeline-item:nth-child(3) .timeline-content,
.timeline-item:nth-child(5) .timeline-content {
  border-left-color: var(--secondary);
}

.timeline-content h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.timeline-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ===== SERVICE FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-box {
  padding: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
  color: white;
}

.feature-box:hover {
  transform: translateY(-16px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 0, 110, 0.5);
  box-shadow: 0 25px 60px rgba(255, 0, 110, 0.2);
}

.feature-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
  animation: bounce 2s infinite;
}

.feature-box:nth-child(1) .feature-icon { animation-delay: 0s; }
.feature-box:nth-child(2) .feature-icon { animation-delay: 0.1s; }
.feature-box:nth-child(3) .feature-icon { animation-delay: 0.2s; }
.feature-box:nth-child(4) .feature-icon { animation-delay: 0.3s; }
.feature-box:nth-child(5) .feature-icon { animation-delay: 0.4s; }
.feature-box:nth-child(6) .feature-icon { animation-delay: 0.5s; }

.feature-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--accent);
}

.feature-box p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

/* ===== STATS SECTION ===== */
.stats {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  animation: countUp 2s ease-out forwards;
  opacity: 0;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  opacity: 0.9;
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 0, 110, 0.2);
}

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

.footer-section h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary), var(--accent));
}

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

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

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; }
.fade-in-delay-2 { animation-delay: 0.2s; }
.fade-in-delay-3 { animation-delay: 0.3s; }
.fade-in-delay-4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  .contact-layout,
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .header-content {
    padding: 10px 0;
  }
  
  .nav {
    gap: 5px;
  }
  
  .nav-link {
    font-size: 12px;
    padding: 8px 12px !important;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .hero {
    min-height: 65vh;
    padding: 40px 0;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-text h1 {
    font-size: 36px !important;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-desc {
    font-size: 15px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .card {
    padding: 24px;
  }
  
  .card-icon {
    font-size: 36px;
  }
  
  .card h3 {
    font-size: 18px !important;
  }
  
  .card p {
    font-size: 14px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .testimonial-quote {
    font-size: 24px;
  }
  
  .testimonial-text {
    font-size: 14px;
  }
  
  .author-avatar {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }
  
  .author-info h4 {
    font-size: 14px;
  }
  
  .author-role {
    font-size: 12px;
  }
  
  .case-study {
    grid-template-columns: 1fr;
    margin-bottom: 40px;
  }
  
  .case-visual {
    min-height: 180px;
    padding: 30px 16px;
  }
  
  .case-visual-icon {
    font-size: 60px;
  }
  
  .case-content {
    padding: 30px 16px;
  }
  
  .case-content h3 {
    font-size: 20px;
  }
  
  .case-results {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .result-label {
    font-size: 11px;
  }
  
  .result-value {
    font-size: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-box {
    padding: 24px;
  }
  
  .feature-icon {
    font-size: 48px;
  }
  
  .feature-box h3 {
    font-size: 18px;
  }
  
  .feature-box p {
    font-size: 14px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  
  .timeline-date {
    grid-column: 1;
    text-align: left;
    font-size: 14px;
  }
  
  .timeline-content {
    grid-column: 2;
    padding: 20px;
  }
  
  .timeline-content h4 {
    font-size: 16px;
  }
  
  .timeline-content p {
    font-size: 13px;
  }
  
  .timeline-item:nth-child(even) {
    direction: ltr;
  }
  
  .stats {
    padding: 60px 0;
  }
  
  .stats .container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .stat-number {
    font-size: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-section h4 {
    font-size: 14px;
  }
  
  .footer-section a,
  .footer-section p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .header-content {
    gap: 10px;
  }
  
  .nav {
    gap: 3px;
    flex-wrap: wrap;
  }
  
  .nav-link {
    font-size: 11px;
    padding: 6px 10px !important;
  }
  
  .logo-text {
    font-size: 16px;
  }
  
  .hero {
    min-height: 60vh;
    padding: 30px 0;
  }
  
  .hero-text h1 {
    font-size: 28px !important;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-desc {
    font-size: 14px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }
  
  .card {
    padding: 16px;
  }
  
  .card-icon {
    font-size: 28px;
  }
  
  .card h3 {
    font-size: 16px !important;
  }
  
  .card p {
    font-size: 13px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }
  
  .case-visual {
    min-height: 150px;
    padding: 20px 12px;
  }
  
  .case-visual-icon {
    font-size: 48px;
  }
  
  .case-content {
    padding: 20px 12px;
  }
  
  .case-content h3 {
    font-size: 18px;
  }
  
  .case-results {
    grid-template-columns: 1fr;
  }
  
  .result-value {
    font-size: 18px;
  }
  
  .stats .container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .timeline-dot {
    width: 16px;
    height: 16px;
  }
}
