/* Designs page specific styles */
:root {
  --design-primary: #3a506b;
  --design-secondary: #ff6b6b;
  --design-accent: #ffd166;
  --design-dark: #2a2a2a;
  --design-light: #f5f5f5;
  --social-color: #4267b2;
  --amazon-color: #ff9900;
  --app-color: #5bc0be;
}

body {
  background-color: #0a0a0a;
}

/* Design header styling */
.breadcrumb {
  margin-bottom: 1.5rem;
  color: #777;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #888;
  border-bottom: 1px dotted #555;
}

.breadcrumb a:hover {
  color: var(--design-secondary);
  border-bottom-color: var(--design-secondary);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(
    to right,
    var(--design-secondary),
    var(--design-accent)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.design-subtitle {
  font-size: 1.3rem;
  color: #888;
  font-style: italic;
  margin-bottom: 2rem;
}

/* Design intro */
.design-intro {
  border-left: 3px solid var(--design-secondary);
  padding-left: 1.5rem;
  margin-bottom: 3rem;
  font-size: 1.2rem;
  color: #bbb;
  line-height: 1.7;
}

/* Design filters */
.design-filters {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #222;
}

.filter-label {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.filter-btn {
  background-color: #191919;
  color: #aaa;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background-color: #222;
  color: var(--design-secondary);
  border-color: #444;
}

.filter-btn.active {
  background-color: var(--design-dark);
  color: var(--design-secondary);
  border-color: var(--design-secondary);
}

/* Design gallery layout */
.design-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Design cards */
.design-card {
  background-color: #151515;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.design-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.design-header {
  padding: 1.5rem;
  background-color: #111;
  border-bottom: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.design-header h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
}

.platform-badge {
  padding: 0.4rem 0.8rem;
  background-color: #222;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--design-secondary);
  font-weight: 600;
}

.design-preview {
  padding: 2rem;
  background-color: #1a1a1a;
}

.design-explanation {
  padding: 1.5rem;
  background-color: #111;
  border-top: 1px solid #222;
}

.design-explanation h3 {
  font-size: 1.3rem;
  color: var(--design-secondary);
  margin-bottom: 1rem;
}

.design-explanation ul {
  list-style-type: none;
  margin-left: 0;
}

.design-explanation li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: #aaa;
  font-size: 1rem;
}

.design-explanation li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--design-secondary);
}

/* Social Media Preview Styling */
.social-media-preview {
  background-color: #f5f5f5;
  color: #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-post {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.post-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  background-color: var(--social-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.brand-logo i {
  font-size: 20px;
}

.brand-info h3 {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.brand-info p {
  margin: 0;
  font-size: 12px;
  color: #777;
}

.post-image img {
  width: 100%;
  display: block;
  height: 300px;
  object-fit: cover;
}

.post-content {
  padding: 16px;
}

.post-text {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}

.post-hashtags {
  font-size: 14px;
  color: var(--social-color);
  margin-bottom: 15px;
}

.post-cta {
  margin-top: 16px;
}

.post-button {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--social-color);
  color: white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.post-engagement {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 14px;
  color: #666;
}

.post-engagement span {
  margin-right: 20px;
}

.post-engagement i {
  margin-right: 6px;
}

/* Amazon Preview Styling */
.amazon-preview {
  background-color: #fff;
  color: #333;
  border-radius: 8px;
  overflow: hidden;
}

.amazon-listing {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.amazon-title h3 {
  font-size: 18px;
  color: #0066c0;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.amazon-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.stars {
  color: #ff9900;
  margin-right: 10px;
}

.rating-count {
  color: #007185;
  font-size: 14px;
}

.amazon-price {
  margin-bottom: 20px;
  font-size: 14px;
}

.price-label {
  font-weight: bold;
  margin-right: 5px;
}

.current-price {
  font-size: 18px;
  font-weight: bold;
  color: #b12704;
  margin-right: 10px;
}

.original-price {
  text-decoration: line-through;
  color: #565959;
  margin-right: 10px;
}

.discount {
  color: #b12704;
}

.amazon-bullets h4,
.amazon-description h4 {
  font-size: 16px;
  color: #333;
  margin: 20px 0 10px 0;
}

.amazon-bullets ul {
  margin-left: 20px;
}

.amazon-bullets li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.amazon-description p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 10px;
}

/* App Preview Styling */
.app-preview {
  background-color: #f8f8f8;
  color: #333;
  border-radius: 8px;
  overflow: hidden;
}

.app-listing {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.app-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.app-icon {
  width: 80px;
  height: 80px;
  background-color: #4a4a4a;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  color: var(--design-accent);
  font-size: 40px;
}

.app-info h3 {
  margin: 0 0 5px 0;
  font-size: 22px;
  color: #333;
}

.app-meta {
  display: flex;
  gap: 15px;
  color: #666;
  font-size: 14px;
}

.app-screenshots {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.app-screenshots img {
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.app-description h4 {
  font-size: 16px;
  color: #333;
  margin: 20px 0 10px 0;
}

.app-description p {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 15px;
}

.app-description ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.app-description li {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Footer styling */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #888;
}

.design-nav a {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--design-dark);
  color: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
}

.design-nav a:hover {
  background-color: var(--design-secondary);
  color: var(--design-dark);
  transform: translateY(-2px);
}

/* Responsive styling */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .design-subtitle {
    font-size: 1.1rem;
  }

  .design-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .platform-badge {
    align-self: flex-start;
  }

  .app-screenshots {
    flex-direction: column;
  }

  .app-screenshots img {
    width: 100%;
    height: auto;
  }
}

/* Animation for design cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.design-card {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

.design-card:nth-child(1) {
  animation-delay: 0.2s;
}
.design-card:nth-child(2) {
  animation-delay: 0.4s;
}
.design-card:nth-child(3) {
  animation-delay: 0.6s;
}

/* Filtering animation */
.design-card.hidden {
  display: none;
}

/* Email Marketing Preview Styling */
.email-preview {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}

.email-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.email-header {
  background-color: #333;
  padding: 20px;
  text-align: center;
}

.email-logo {
  height: 50px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.email-header h3 {
  color: #fff;
  margin: 0;
  font-size: 18px;
  letter-spacing: 2px;
}

.email-banner {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.banner-overlay h2 {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 24px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-overlay p {
  color: #fff;
  margin: 0;
  font-size: 16px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.email-content {
  padding: 30px;
  color: #333;
}

.email-greeting {
  font-weight: bold;
  margin-bottom: 20px;
}

.email-content p {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
}

.email-highlights {
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.highlight-item:last-child {
  margin-bottom: 0;
}

.highlight-icon {
  background-color: #ff6b6b;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.highlight-text h4 {
  margin: 0 0 5px 0;
  font-size: 15px;
  color: #333;
}

.highlight-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.email-price {
  text-align: center;
  margin: 25px 0;
  font-size: 24px;
  font-weight: bold;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  margin-right: 10px;
}

.current-price {
  color: #ff6b6b;
}

.discount-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.email-cta {
  text-align: center;
  margin: 30px 0;
}

.cta-button {
  display: inline-block;
  background-color: #ff6b6b;
  color: white;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 1px;
}

.testimonial {
  font-style: italic;
  border-left: 3px solid #ddd;
  padding-left: 15px;
  color: #666;
}

.email-signature {
  font-weight: bold;
}

.email-footer {
  background-color: #f7f7f7;
  padding: 15px;
  text-align: center;
  font-size: 12px;
  color: #777;
  border-top: 1px solid #eee;
}

.email-footer a {
  color: #777;
  text-decoration: underline;
}

/* Website Preview Styling */
.website-preview {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.website-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  color: #333;
}

.website-hero {
  display: flex;
  padding: 60px 40px;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.website-content {
  flex: 1;
  padding-right: 40px;
}

.website-content h1 {
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: #333;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #333;
}

.website-content h2 {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0 0 30px 0;
  color: #666;
  border: none;
}

.website-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.primary-btn,
.secondary-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
}

.primary-btn {
  background-color: #4361ee;
  color: white;
}

.secondary-btn {
  background-color: transparent;
  color: #4361ee;
  border: 1px solid #4361ee;
}

.secondary-btn i {
  margin-left: 5px;
}

.social-proof {
  margin-top: 40px;
}

.social-proof p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.company-logos {
  display: flex;
  gap: 20px;
  color: #999;
}

.company-logos i {
  font-size: 24px;
}

.website-image {
  flex: 1;
}

.website-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.website-features {
  padding: 80px 40px;
  text-align: center;
}

.website-features h3 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4361ee;
  margin: 0 0 10px 0;
}

.website-features h2 {
  font-size: 32px;
  color: #333;
  margin: 0 0 50px 0;
  padding: 0;
  border: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: left;
  padding: 30px;
  border-radius: 8px;
  background-color: #f8f9fa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  background-color: #e6efff;
  color: #4361ee;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.feature-card h4 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: #333;
}

.feature-card p {
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.website-testimonial {
  background-color: #4361ee;
  padding: 60px 40px;
  color: white;
}

.testimonial-quote {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-quote i {
  font-size: 30px;
  opacity: 0.3;
  position: absolute;
  top: -15px;
  left: -10px;
}

.testimonial-quote blockquote {
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 30px 0;
  background: none;
  border: none;
  padding: 0 0 0 30px;
  color: white;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.testimonial-author h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.testimonial-author p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

.website-pricing {
  padding: 80px 40px;
  text-align: center;
  background-color: #f8f9fa;
}

.website-pricing h3 {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4361ee;
  margin: 0 0 10px 0;
}

.website-pricing h2 {
  font-size: 32px;
  color: #333;
  margin: 0 0 40px 0;
  padding: 0;
  border: none;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.pricing-toggle span {
  font-size: 16px;
  color: #666;
}

.pricing-toggle span.active {
  color: #333;
  font-weight: 600;
}

.toggle-switch {
  width: 50px;
  height: 26px;
  background-color: #ddd;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
}

.toggle-switch.active:after {
  left: 26px;
}

.toggle-switch:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.save-badge {
  background-color: #4361ee;
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
}

.pricing-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.pricing-card {
  background-color: white;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  flex: 1;
  max-width: 300px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  background-color: #4361ee;
  color: white;
  transform: scale(1.05);
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #ff6b6b;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
}

.pricing-card h3 {
  font-size: 20px;
  margin: 0 0 20px 0;
  color: inherit;
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
}

.price-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

.pricing-card.popular .price-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.pricing-card li {
  margin-bottom: 12px;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.pricing-card li i {
  margin-right: 10px;
  color: #4361ee;
}

.pricing-card.popular li i {
  color: #fff;
}

.pricing-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

.pricing-card:not(.popular) .pricing-cta {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}

.pricing-card.popular .pricing-cta {
  background-color: white;
  color: #4361ee;
}

/* Video Script Preview Styling */
.video-preview {
  background-color: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.video-script {
  padding: 30px;
  color: #333;
}

.script-header {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.script-header h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  color: #333;
}

.script-details {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.script-table {
  width: 100%;
  border-collapse: collapse;
}

.script-table th {
  text-align: left;
  padding: 10px 15px;
  background-color: #f1f1f1;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.visual-col {
  width: 40%;
  border-right: 1px solid #ddd;
}

.audio-col {
  width: 60%;
}

.script-table td {
  vertical-align: top;
  padding: 15px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.6;
}

.visual-cell {
  background-color: #f9f9f9;
  border-right: 1px solid #ddd;
  color: #555;
}

.audio-cell {
  color: #333;
}

.audio-cell p:first-child {
  margin-top: 0;
}

.audio-cell p:last-child {
  margin-bottom: 0;
}
