/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f3f3f3;
  --color-bg-dark: #242833;
  --color-primary: #00b693;
  --color-primary-hover: #009e7f;
  --color-accent: #334fb4;
  --color-text: #404040;
  --color-text-light: #5a5a5a;
  --color-text-muted: #6a6a6a;
  --color-heading: #121212;
  --color-border: #e6e6e6;
  --color-border-green: #00b693;
  --color-card-bg: #ffffff;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --radius: 14px;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  --shadow-green: 0 10px 24px rgba(0, 182, 147, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-heading);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

ul, ol {
  padding-left: 1.5rem;
}

/* ===== UTILITY ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--dark {
  background: var(--color-bg-dark);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

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

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 182, 147, 0.3);
}

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

.btn--outline:hover {
  background: var(--color-heading);
  color: #fff;
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-heading);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.btn--green {
  background: var(--color-primary);
  color: #fff;
}

.btn--green:hover {
  background: var(--color-primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 182, 147, 0.3);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-heading);
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.logo:hover {
  color: var(--color-heading);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.nav .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

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

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-heading);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 10rem 0 6rem;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(36, 40, 51, 0.85) 0%, rgba(51, 79, 180, 0.6) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero .btn {
  margin: 0 0.5rem;
}

.hero .btn--outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn--outline:hover {
  background: #fff;
  color: var(--color-heading);
}

/* ===== FEATURES ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-text h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.feature-text h3 {
  color: var(--color-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.feature-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.feature-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.feature-text ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-light);
}

.feature-text ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.feature-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ===== PRICING ===== */
.pricing {
  text-align: center;
}

.pricing > h2 {
  margin-bottom: 0.5rem;
}

.pricing > p {
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

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

.pricing-card {
  background: var(--color-card-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card--popular {
  border-color: var(--color-border-green);
  box-shadow: var(--shadow-green);
}

.pricing-card--popular:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 182, 147, 0.25);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 18px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.pricing-card h3 {
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.pricing-card .price-period {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card .price-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text);
  font-size: 0.95rem;
}

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

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

/* ===== TOOLS ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.tool-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.tool-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tool-card h3 {
  margin-bottom: 0.75rem;
}

.tool-card p {
  font-size: 0.95rem;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-body .date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.blog-card-body h3 a {
  color: var(--color-heading);
}

.blog-card-body h3 a:hover {
  color: var(--color-primary);
}

.blog-card-body p {
  font-size: 0.9rem;
}

/* ===== BLOG ARTICLE ===== */
.article {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.article h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article .article-meta {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.article h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.article h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.article p {
  margin-bottom: 1.2rem;
  color: var(--color-text);
  line-height: 1.8;
}

.article ul, .article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article ul li, .article ol li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
  line-height: 1.7;
}

.article blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article .back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 0;
  font-weight: 600;
  color: var(--color-primary);
}

/* ===== PAGE CONTENT ===== */
.page-header {
  padding: 8rem 0 3rem;
  background: var(--color-bg-dark);
  text-align: center;
}

.page-header h1 {
  font-size: 2.8rem;
  color: #fff;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.8rem;
}

.page-content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.3rem;
}

.page-content p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

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

.page-content ul li {
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

/* ===== ABOUT ===== */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.about-value {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.about-value .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-value h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

/* ===== CONTACT ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

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

/* ===== CAREERS ===== */
.careers-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.career-value {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.career-value h4 {
  color: var(--color-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.career-value p {
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
  text-align: left;
}

.faq-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-heading);
  font-family: var(--font-heading);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: #fff;
}

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

.footer-brand .logo img {
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-newsletter input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.footer-newsletter button {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.footer-newsletter button:hover {
  background: var(--color-primary-hover);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-row--reverse {
    direction: ltr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .article h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 18px;
    font-size: 0.85rem;
  }
  
  .hero .btn {
    display: block;
    margin: 0.5rem auto;
    max-width: 250px;
  }
}
