:root {
  --primary: #0056b3; /* Blue */
  --primary-hover: #004494;
  --secondary: #111111; /* Black */
  --secondary-hover: #333333;
  --bg-white: #ffffff;
  --bg-light: #f7f9fc;
  --text-dark: #222222;
  --text-gray: #555555;
  --text-light: #999999;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Header */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: var(--secondary);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

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

.btn--primary:hover {
  background-color: var(--primary-hover);
  color: var(--bg-white);
}

.btn--secondary {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.btn--secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--bg-white);
}

.btn--white {
  background-color: var(--bg-white);
  color: var(--secondary);
}

.btn--white:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.btn--outline {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn--outline:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-inline: auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
}

/* Hero Section (Adsterra Style) */
.hero-section {
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #cccccc;
  max-width: 500px;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Benefits (Who can benefit) */
.benefits-section {
  background-color: var(--bg-light);
}

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

.benefit-card {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-card img, .benefit-card .icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  font-size: 40px;
}

.benefit-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.benefit-card p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Three Columns Grid */
.three-cols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-box {
  text-align: left;
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--primary);
  box-shadow: var(--box-shadow);
}

.feature-box .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.feature-box p {
  color: var(--text-gray);
}

/* Wide Image / Banner CTA */
.cta-banner {
  background-color: var(--primary);
  color: var(--bg-white);
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.wide-image-wrapper {
  margin: 0 auto 3rem;
  max-width: 1000px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.wide-image-wrapper img {
  width: 100%;
  height: auto;
}

/* Split Content Section */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.split-content p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.split-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  font-weight: 600;
}

.split-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.split-image img {
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

/* FAQ Accordion */
.faq-section {
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--primary);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-gray);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
}

.contact-wrapper {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  overflow: hidden;
}

.contact-info-block {
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 4rem 3rem;
}

.contact-info-block h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info-block p {
  color: #aaa;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-form-block {
  padding: 4rem 3rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Map Section */
.map-section {
  padding: 0;
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Footer (Adsterra Style) */
footer {
  background-color: #000000;
  color: var(--bg-white);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  display: block;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul a {
  color: #999;
}

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

.footer-col p {
  color: #999;
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
  margin-top: 1rem;
}

.subscribe-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.subscribe-form button {
  border-radius: 0 4px 4px 0;
  padding: 0.8rem 1.5rem;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
  font-size: 0.9rem;
}

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

.footer-legal a {
  color: #777;
}

.footer-legal a:hover {
  color: var(--bg-white);
}

/* Other Pages Header */
.page-header {
  background-color: var(--secondary);
  color: var(--bg-white);
  padding: 6rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-content {
  padding: 6rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .benefits-grid, .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content p {
    margin-inline: auto;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 2rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 1px solid #eaeaea;
  }
  
  .header-actions.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 200px); /* Adjust based on nav height */
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 1rem 2rem 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
