/* TimBrik Homepage Styles */

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

:root {
  --primary-color: #C8493C;
  --primary-dark: #B23D31;
  --secondary-color: #f97316;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: #111827;
  background: #ffffff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo img {
  height: 2rem;
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }
}

.btn {
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: transparent;
  color: #374151;
}

.btn-secondary:hover {
  color: var(--primary-color);
}

.mobile-menu-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #374151;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

.mobile-menu {
  display: none;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  text-align: left;
  color: #374151;
  text-decoration: none;
  border: none;
  background: none;
  font-size: 1rem;
  cursor: pointer;
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: #fafafa;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  width: fit-content;
}

.hero-badge .pulse {
  width: 0.5rem;
  height: 0.5rem;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: #111827;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero h1 .gradient-text {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  color: #4b5563;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.5rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }
}

.hero-cta .btn {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
}

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

.hero-cta .btn-primary:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-note {
  font-size: 0.875rem!important;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-note .checkmark {
  color: #16a34a;
  font-weight: 600;
}

.hero-image {
  position: relative;
}

.hero-image-frame {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.hero-image-inner {
  aspect-ratio: 4/3;
  background: #f9fafb;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.hero-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Social Proof */
.social-proof {
  padding: 4rem 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .social-proof-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.social-proof-item {
  text-align: center;
}

.social-proof-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.social-proof-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
}

/* Section Styles */
section {
  padding: 5rem 1rem;
}

@media (min-width: 640px) {
  section {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 5rem 2rem;
  }
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

.section-header p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styles */
.card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Feature Tabs */
.feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  justify-content: center;
}

.feature-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: #f3f4f6;
  color: #374151;
}

.feature-tab:hover {
  background: #e5e7eb;
}

.feature-tab.active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-content {
  background: #f9fafb;
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .feature-content {
    padding: 3rem;
  }
}

.feature-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

.feature-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.feature-benefit {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-description {
  color: #4b5563;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
}

.feature-list li svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-color);
}

.feature-image {
  position: relative;
}

.feature-image-container {
  aspect-ratio: 16/9;
  background: #d1d5db;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.feature-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: #f3f4f6;
  border-radius: 9999px;
  padding: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.pricing-toggle button {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #4b5563;
}

.pricing-toggle button.active {
  background: white;
  color: #111827;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-card.highlighted {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--primary-color);
}

@media (min-width: 1024px) {
  .pricing-card.highlighted {
    transform: scale(1.05);
  }
}

.pricing-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.pricing-name {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.pricing-description {
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
}

.pricing-period {
  color: #6b7280;
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-features .checkmark {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pricing-features .checkmark svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #16a34a;
  stroke-width: 3;
}

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

.faq-item {
  background: #f9fafb;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f3f4f6;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: #4b5563;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Testimonials */
.testimonial-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 1px solid #f3f4f6;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-rating svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary-color);
  fill: var(--primary-color);
}

.testimonial-quote {
  color: #374151;
  margin-bottom: 2rem;
  line-height: 1.75;
  font-size: 1.125rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--primary-color);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-name {
  font-weight: 700;
  color: #111827;
  font-size: 1.125rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: #4b5563;
}

.testimonial-company {
  font-size: 0.875rem;
  color: #6b7280;
}

.testimonial-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.testimonial-result-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(254, 226, 226, 1);
  border-radius: 0.5rem;
}

.testimonial-result-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-color);
}

.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
  border-radius: 0 0 1.5rem 1.5rem;
}

.testimonial-card:hover::after {
  transform: scaleX(1);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.comparison-table thead {
  background: #f9fafb;
}

.comparison-table th {
  padding: 1rem 1.5rem;
  font-weight: 600;
  text-align: left;
}

.comparison-table th:first-child {
  color: #111827;
}

.comparison-table th:not(:first-child) {
  text-align: center;
  color: #4b5563;
}

.comparison-table th:last-child {
  background: rgba(254, 226, 226, 1);
  color: var(--primary-color);
  font-weight: 700;
}

.comparison-table tbody tr {
  border-top: 1px solid #f3f4f6;
}

.comparison-table td {
  padding: 1rem 1.5rem;
}

.comparison-table td:first-child {
  font-weight: 500;
  color: #111827;
}

.comparison-table td:not(:first-child) {
  text-align: center;
  color: #4b5563;
}

.comparison-table td:last-child {
  background: rgba(254, 226, 226, 1);
  font-weight: 600;
}

.comparison-table td:last-child span {
  color: var(--primary-color);
}

.comparison-table svg {
  display: inline-block;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: 1px solid #f3f4f6;
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  transition: color 0.2s;
}

.blog-card:hover .blog-title {
  color: var(--primary-color);
}

/* Footer */
.footer {
  background: #111827;
  color: #9ca3af;
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

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

.footer-logo img {
  height: 2rem;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  max-width: 24rem;
}

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

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: #1f2937;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--primary-color);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  color: #9ca3af;
}

.footer-section h4 {
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-contact {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--primary-color);
}

.footer-contact-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-contact a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.bg-white {
  background: white;
}

.bg-gray {
  background: #f9fafb;
}

.bg-dark {
  background: #111827;
  color: white;
}

.relative {
  position: relative;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }
}
