:root {
  --primary: #f9ab00;
  --primary-gradient: linear-gradient(135deg, #FF9800 0%, #E65100 100%);
  --primary-hover: #F57C00;
  --secondary: #64748b;
  --dark: #111111;
  --light: #FAFAFA;
  --white: #ffffff;
  --border: #eaeaea;
  --text-main: #222222;
  --text-muted: #666666;
  --success: #10b981;
  --cta-bg: #0A0A0A;
  --cta-hover: #1A1A1A;
  --gradient-soft: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  --shadow-sm: 0 2px 4px 0 rgb(0 0 0 / 0.02);
  --shadow-md: 0 8px 16px -4px rgb(0 0 0 / 0.05), 0 4px 8px -4px rgb(0 0 0 / 0.03);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

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

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background-color: var(--cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--light);
}

/* Navbar */
.navbar {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

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

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

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Resources Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--text-main);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover {
  color: var(--primary);
}

.nav-dropdown-trigger svg {
  transition: transform 0.25s ease;
}

.nav-dropdown-trigger.active svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.1), 0 8px 16px -8px rgba(0, 0, 0, 0.06);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--white);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 2px 0 0 0;
}

.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.875rem;
  border-radius: 8px;
  transition: background 0.15s ease;
  color: var(--text-main) !important;
}

.dropdown-item:hover,
.dropdown-item.dropdown-active {
  background: var(--light);
  color: var(--text-main) !important;
}

.dropdown-item.dropdown-active .dropdown-item-icon {
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(230, 81, 0, 0.15) 100%);
}

.dropdown-item-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(230, 81, 0, 0.08) 100%);
  border-radius: 8px;
  color: var(--primary);
  flex-shrink: 0;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.3;
}

.dropdown-item-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
  line-height: 1.3;
}

/* Hero */
.hero {
  padding: 7rem 0 5rem;
  background: radial-gradient(circle at top right, rgba(255, 152, 0, 0.08), transparent 40%),
              radial-gradient(circle at bottom left, rgba(255, 152, 0, 0.04), transparent 40%);
}

.hero h1 {
  font-size: 3.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-mockup {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 2rem;
}

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

.card {
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: #d4d4d4;
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(230, 81, 0, 0.1) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--dark);
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--dark);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 1rem 0;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.features-list {
  list-style: none;
  margin: 2rem 0;
  flex-grow: 1;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Testimonial Carousel */
.testimonial-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.testimonial-carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
  border-radius: 16px;
}

.testimonial-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: calc(33.333% - 1rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d4d4d4;
}

.testimonial-stars {
  display: flex;
  gap: 0.15rem;
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-main);
  flex-grow: 1;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--light);
  border-color: #d4d4d4;
  box-shadow: var(--shadow-md);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d4d4d4;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Client Logo Slider */
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-slider-track {
  display: flex;
  gap: 3.5rem;
  animation: logoScroll 30s linear infinite;
  width: max-content;
  align-items: center;
}

.logo-slide {
  flex-shrink: 0;
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  white-space: nowrap;
}

.client-logo-item svg {
  width: 36px;
  height: 36px;
}

.client-logo-item span {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

.client-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-content p {
  padding: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 968px) {
  .hero h1 { font-size: 2.75rem !important; }
  .hero { padding: 5rem 0 3.5rem; }
  .hero-mockup { aspect-ratio: auto !important; min-height: 360px; }
  .hero-mockup [style*="grid-template-columns: 200px"] { grid-template-columns: 1fr !important; }
  .hero-mockup [style*="grid-template-columns: 200px"] > div:first-child { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .pricing-card.popular { transform: none; margin: 1rem 0; }
  .nav-links { display: none; }
  .nav-buttons { display: none; }
  .mobile-menu-toggle { display: block; }
  .testimonial-card { min-width: calc(50% - 0.75rem); }
  .carousel-arrow { width: 38px; height: 38px; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.25rem !important; }
  .hero-mockup [style*="repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
  .testimonial-card { min-width: 100%; }
}

/* WordPress specific */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

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

.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
