:root {
  --primary-yellow: #FFD147;
  --primary-orange: #F49D00;
  --accent-bronze: #948A54;
  --accent-tan: #EEDBA4;
  --accent-light: #FDF6E3;
  --text-dark: #333333;
  --text-medium: #666666;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero-content strong,
.faq-question strong,
.diagonal-content strong,
.step strong,
.unsure-section strong {
  color: var(--primary-orange);
  font-weight: 700;
}

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

/* Header */
header {
  background: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-yellow) 50%, var(--primary-orange) 50%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-icon::after {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  bottom: 8px;
  right: 8px;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--primary-orange);
  letter-spacing: 1px;
}

nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav a {
  color: var(--text-medium);
  font-weight: 500;
  transition: color 0.3s;
}

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

.nav-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 0.95rem;
}

.btn-login {
  background: var(--primary-orange);
  color: var(--white);
}

.btn-login:hover {
  background: #E08E00;
}

.btn-signup {
  background: var(--primary-orange);
  color: var(--white);
}

.btn-signup:hover {
  background: #E08E00;
}

.btn-primary {
  background: var(--primary-orange);
  color: var(--white);
  border: 2px solid var(--primary-orange);
}

.btn-primary:hover {
  background: #E08E00;
  border-color: #E08E00;
}

.btn-outline {
  background: transparent;
  color: var(--accent-bronze);
  border: 2px solid var(--accent-bronze);
  font-weight: 700;
  margin-top: -10px;
}

.btn-outline:hover {
  background: var(--accent-bronze);
  color: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  max-height: 550px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: url('attached_assets/image_1770274867920.png') right center/cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 55%, rgba(255,255,255,0) 100%);
  z-index: 1;
}

.hero-bg {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 45%;
  padding: 50px;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  color: var(--accent-bronze);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Diagonal Sections */
.diagonal-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.diagonal-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: var(--primary-yellow);
  transform: skewX(-15deg);
  transform-origin: top right;
  z-index: -1;
}

.diagonal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.diagonal-content h2 {
  font-size: 2rem;
  font-style: italic;
  color: var(--accent-bronze);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.diagonal-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.diagonal-content .btn {
  margin-bottom: 50px;
}

.value-text {
  max-width: 900px;
  margin: 0 auto;
}

.value-text p {
  color: var(--accent-bronze);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.value-text p strong {
  color: var(--primary-orange);
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-content {
  flex: 1;
  padding: 0 40px;
}

.how-it-works-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.step {
  margin-bottom: 30px;
}

.step h3 {
  font-size: 1.2rem;
  color: var(--primary-orange);
  margin-bottom: 8px;
  font-weight: 600;
}

.step h3 span {
  color: var(--primary-orange);
  margin-right: 10px;
}

.step p {
  color: var(--text-medium);
  padding-left: 25px;
}

.how-it-works-image {
  flex: 1;
  height: 500px;
  background: url('images/how-it-works.jpg') center/cover;
  border-radius: 10px;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  display: flex;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-image {
  flex: 1;
  height: 450px;
  background: url('images/faq-image.jpg') center/cover;
  border-radius: 10px;
}

.faq-content {
  flex: 1;
  padding: 0 40px;
}

.faq-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.faq-item {
  background: var(--white);
  border: 2px solid var(--accent-tan);
  border-radius: 30px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--accent-light);
}

.faq-question span {
  color: var(--text-dark);
  font-size: 1rem;
}

.faq-question span.nuhge-highlight {
  color: var(--primary-orange);
  font-weight: 500;
}

.faq-arrow {
  color: var(--primary-orange);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

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

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

.see-all-faqs {
  text-align: center;
  margin-top: 30px;
}

.see-all-faqs a {
  color: var(--accent-bronze);
  font-weight: 600;
  text-decoration: underline;
}

/* Friends Section */
.friends-section {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?w=1200') center/cover;
}

.friends-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 30%, rgba(0,0,0,0.3));
}

.friends-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  margin-right: 5%;
}

.friends-content h2 {
  font-size: 2.2rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Newsletter & Footer */
.newsletter-footer {
  padding: 60px 0 30px;
  background: var(--white);
}

.newsletter {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.newsletter-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.newsletter-text p {
  color: var(--text-medium);
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex: 1;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background: #f5f5f5;
}

.newsletter-form button {
  padding: 15px 30px;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  background: var(--accent-tan);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  border-bottom: 1px solid #eee;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.footer-section a {
  display: block;
  color: var(--text-medium);
  margin-bottom: 10px;
  transition: color 0.3s;
}

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

.app-badges {
  margin-top: 20px;
}

.app-badges img {
  height: 40px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.footer-bottom p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-medium);
  margin-left: 30px;
  font-size: 0.9rem;
}

.social-icons a {
  margin-left: 15px;
  color: var(--text-medium);
  font-size: 1.2rem;
}

/* Plans Page */
.plans-hero {
  text-align: center;
  padding: 60px 0 40px;
  background: var(--white);
}

.plans-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.plans-hero p {
  color: var(--accent-bronze);
  font-size: 1.1rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border: 2px solid var(--accent-tan);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.plan-card.featured {
  background: var(--primary-yellow);
  border-color: var(--primary-orange);
  transform: scale(1.05);
}

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-orange);
  color: var(--white);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 25px;
  padding-top: 10px;
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-orange);
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-medium);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.plan-features li {
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.plan-features li:last-child {
  border-bottom: none;
}

.plan-features li i {
  color: var(--primary-orange);
  font-size: 0.9rem;
  width: 18px;
  flex-shrink: 0;
}

.plan-features li.not-included {
  color: var(--text-medium);
}

.plan-features li.not-included i {
  color: #ccc;
}

.plan-card .btn {
  width: 100%;
}

.unsure-section {
  text-align: center;
  padding: 60px 20px;
  border-top: 2px solid var(--accent-tan);
  max-width: 800px;
  margin: 0 auto;
}

.unsure-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.unsure-section .trial-text {
  color: var(--accent-bronze);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.unsure-section .trial-subtext {
  color: var(--text-medium);
  margin-bottom: 10px;
}

.unsure-section .btn {
  margin-top: 20px;
}

.newsletter-desc {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plan-card.featured {
    transform: scale(1);
  }
  
  .plan-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 600px) {
  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Help Page */
.help-hero {
  height: 300px;
  background: url('images/faq-hero.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-dark);
  text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
}

.help-content {
  position: relative;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.help-content::before {
  content: '';
  position: absolute;
  top: 0;
  right: -50%;
  width: 100%;
  height: 100%;
  background: var(--accent-tan);
  transform: skewX(-15deg);
  z-index: -1;
}

.faq-full-item {
  background: var(--white);
  border: 2px solid var(--accent-tan);
  border-radius: 30px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-full-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  color: var(--text-medium);
}

.faq-full-item.active .faq-full-answer {
  padding: 0 25px 20px;
  max-height: 1000px;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 992px) {
  .how-it-works,
  .faq-section {
    flex-direction: column;
  }
  
  .how-it-works-image,
  .faq-image {
    width: 100%;
    height: 300px;
  }
  
  .newsletter {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }
  
  .footer-content {
    flex-wrap: wrap;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  
  nav.active {
    display: flex;
  }
  
  .nav-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    height: auto;
    min-height: 350px;
    max-height: none;
  }
  
  .hero::after {
    width: 100%;
    background: rgba(255,255,255,0.85);
  }
  
  .hero-content {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .diagonal-section::before {
    width: 80%;
  }
  
  .plans-container {
    flex-direction: column;
    align-items: center;
  }
  
  .plan-card {
    width: 100%;
    max-width: 400px;
  }
}
