/* Header Styles */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-branding .site-logo,
.site-branding .custom-logo {
  height: 50px;
  width: auto;
  max-width: 250px;
}

.main-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.menu-toggle .hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.calculator-preview {
  perspective: 1000px;
}

.calculator-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s ease;
}

.calculator-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.calc-header {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.calc-field {
  margin-bottom: 1rem;
}

.calc-field label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.calc-field input {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--bg-light);
}

.calc-result {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
  border-radius: 12px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-result strong {
  font-size: 2rem;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-light);
}

.text-center {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Calculator Section */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.calculator-form {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

.calculator-results {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.result-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.result-item span {
  color: var(--text-light);
}

.result-item strong {
  color: var(--text-dark);
  font-size: 1.125rem;
}

.result-item.total {
  border-top: 2px solid var(--border-color);
  margin-top: 1rem;
  padding-top: 1.5rem;
  font-size: 1.125rem;
}

.result-item.total strong {
  color: var(--primary-color);
  font-size: 1.75rem;
}

.result-item.profit {
  background-color: #f0fdf4;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border: none;
}

.result-item.profit strong {
  color: var(--secondary-color);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  border-width: 3px;
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
}

.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0.25rem;
}

.price .period {
  font-size: 1rem;
  color: var(--text-light);
  align-self: flex-end;
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.pricing-features li.disabled {
  color: var(--text-light);
  opacity: 0.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-author strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
  text-align: center;
  color: white;
}

.cta-content h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.cta-section .btn-secondary {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.cta-section .btn-secondary:hover {
  background-color: var(--bg-light);
}

/* Footer Styles */
.site-footer {
  background-color: #1a1a1a;
  color: #9ca3af;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

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

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.social-link {
  width: 36px;
  height: 36px;
  background-color: #374151;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.footer-column h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid #374151;
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.875rem;
  color: #9ca3af;
}

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

.footer-bottom-links a {
  font-size: 0.875rem;
  color: #9ca3af;
}

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

/* Page Content Styles */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background-color: var(--bg-light);
}

.entry-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.entry-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.post-thumbnail {
  margin-bottom: 2rem;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.error-404 {
  text-align: center;
  padding: 100px 0;
}

.error-404 h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content,
  .calculator-container {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .header-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    padding: 60px 0 40px;
  }
  
  .features-section,
  .calculator-section,
  .pricing-section,
  .testimonials-section,
  .cta-section {
    padding: 60px 0;
  }
}

/* Page Hero Section */
.page-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--text-light);
}

/* Content Section */
.content-section {
  padding: 60px 0;
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.content-wrapper h2 {
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.content-wrapper h2:first-child {
  margin-top: 0;
}

.content-wrapper p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.content-wrapper ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-wrapper li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-light);
}

.content-wrapper strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  height: fit-content;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-info > p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0066cc 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-text p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

/* Responsive Adjustments for New Pages */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .page-hero p {
    font-size: 1rem;
  }
  
  .content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .contact-info,
  .contact-form-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 60px 0 40px;
  }
  
  .content-section {
    padding: 40px 0;
  }
  
  .content-wrapper {
    padding: 1.5rem;
  }
  
  .contact-info,
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-item {
    gap: 1rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
  }
}
