:root {
  --white: #ffffff;
  --blue: #1e88e5; /* Professional bright blue */
  --blue-hover: #1565c0;
  --black: #1a1a1a; /* Hint of black */
  --gray-light: #f8f9fa;
  --transition: all 0.3s ease;
}

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

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

/* Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 40px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  transition: var(--transition);
}

nav a:hover {
  color: var(--blue);
}

.mobile-menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  padding: 100px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* SEO Value Section */
.seo-value {
  padding: 80px 5%;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
}

.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.seo-content p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.seo-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.seo-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.seo-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
}

.seo-feature i {
  font-size: 1.4rem;
}

/* Pricing Section */
.pricing {
  padding: 100px 5%;
  background-image: linear-gradient(rgba(248, 249, 250, 0.88), rgba(248, 249, 250, 0.95)), url('assets/marketing-entrepreneur-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  position: relative;
}

.pricing h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 800;
  text-align: left;
}

.pricing-container.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.pricing-card {
  background: var(--white);
  padding: 4rem 3.5rem;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 1px solid rgba(0,0,0,0.05);
}

.card-header {
  margin-bottom: 2.5rem;
}

.card-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.card-header .plan-subtitle {
  font-size: 1.05rem;
  color: #6366f1; /* Adding a nice indigo color to make it pop slightly */
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue);
}

.price span {
  font-size: 1.2rem;
  color: #777;
  font-weight: 500;
}

.billing-detail {
  font-size: 1.05rem;
  color: #666;
  margin-top: 0.5rem;
  font-weight: 500;
}

.selection-container {
  margin-bottom: 2.5rem;
}

.selection-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #555;
}

.pricing-select {
  width: 100%;
  padding: 1.25rem;
  border-radius: 12px;
  border: 2px solid #eee;
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.2rem;
}

.pricing-select:focus {
  outline: none;
  border-color: var(--blue);
}

/* Features Column */
.features-column {
  display: flex;
  flex-direction: column;
}

/* Features Stack (Left Column) */
.features-stack {
  display: grid;
  grid-template-areas: "stack";
  place-items: center;
  position: relative;
  height: 450px;
  margin-top: -8rem;
  margin-left: -5.5rem; /* Pull cards left to add space between them and pricing box */
}

/* Feature Card Base */
.feature-card {
  grid-area: stack;
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 9rem;
  width: 20rem;
  border-radius: 1rem;
  border: 4px solid #ffffff;
  background-color: rgba(249, 250, 251, 0.95);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Added slight shadow to separate overlapping cards */
  padding: 1.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: left;
}

.feature-card:hover {
  border-color: rgba(30, 136, 229, 0.3);
  background-color: #ffffff;
  z-index: 10 !important; /* Pop to front on hover */
  box-shadow: 0 20px 40px rgba(30, 136, 229, 0.15);
}

/* Pseudo element background overlay */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 1rem;
  background: rgba(255,255,255,0.15); /* Significantly reduced opacity so text is readable */
  pointer-events: none;
  transition: opacity 0.7s;
  z-index: 5;
}

.feature-card:hover::before {
  opacity: 0;
}

/* Shine effect on the right */
.feature-card::after {
  content: '';
  position: absolute;
  right: -0.25rem;
  top: -5%;
  height: 110%;
  width: 18rem;
  background: linear-gradient(to left, var(--gray-light), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Content layer above pseudo elements */
.feature-card > * {
  position: relative;
  z-index: 10;
}

.card-icon {
  background-color: #e0e7ff;
  color: var(--blue);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.card-desc {
  color: #666;
  font-size: 0.9rem;
}

/* Specific Card Positioning (Matching Image: Top-Left is Back, Bottom-Right is Front) */
.card-1 {
  transform: skewY(-8deg);
  z-index: 1;
}
.card-1:hover {
  transform: skewY(-8deg) translateY(-2.5rem) translateX(-1rem);
}

.card-2 {
  transform: skewY(-8deg) translateX(4.5rem) translateY(6rem);
  z-index: 2;
}
.card-2:hover {
  transform: skewY(-8deg) translateX(4.5rem) translateY(3.5rem);
}

.card-3 {
  transform: skewY(-8deg) translateX(9rem) translateY(12rem);
  z-index: 3;
}
.card-3:hover {
  transform: skewY(-8deg) translateX(9rem) translateY(9.5rem);
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* Success Modal */
#success-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  padding: 4rem;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  animation: modalIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.modal-content h2 {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

/* FooterStyles */
footer {
    padding: 100px 5% 50px;
    background: var(--white);
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    gap: 2rem;
}

.footer-logo img {
    height: 45px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 50px;
    justify-content: center;
  }
  .hero-content {
    margin-bottom: 50px;
    margin-right: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .pricing h2 {
    text-align: center;
  }
  .pricing-container.two-column {
    grid-template-columns: 1fr;
    gap: 4rem;
    justify-content: center;
  }
  .features-stack {
    height: 450px;
    margin-left: 0;
    margin-top: 0;
  }
  .pricing-card {
    text-align: center;
  }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
    }
    
    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    #nav-menu.active {
        right: 0;
    }

    #nav-menu ul {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    
    #nav-menu a {
        font-size: 1.25rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .seo-content h2 {
        font-size: 2rem;
    }
    
    .seo-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .features-column {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .features-stack {
        height: 380px; /* Sightly reduced height */
        transform: scale(0.85);
        transform-origin: center center;
        margin-left: -5.5rem; /* Slide further left (from -4.5rem) */
        margin-top: -4rem; /* Move up on mobile */
    }
    
    .pricing-card {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

.pricing-contact {
  margin-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.5rem;
  text-align: center;
}

.pricing-contact p {
  font-size: 0.9rem;
  color: #6b7280;
}

.pricing-contact a {
  color: #1e88e5;
  font-weight: 600;
  text-decoration: none;
}

.pricing-contact a:hover {
  text-decoration: underline;
}
