html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;

  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.2rem 0;
  z-index: 1000;
  animation: fadeDown 0.8s ease-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Fade Animation */
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.login-btn {
  color: #e0e0e0;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 1rem;
  transition: color 0.3s ease;
}

.login-btn:hover {
  color: #ffffff;
}

.cta-btn {
  background: #ffffff;
  color: #764ba2;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.cta-btn:hover {
  background: #f2ecff;
  transform: translateY(-1px);
}

/* Footer Base */
.site-footer {
  background: #f2f2f7;
  padding: 4rem 2rem 2rem;
  color: #333;
  font-size: 0.95rem;
}

/* Grid Layout */
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-brand h2 {
  color: #0078ff;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #666;
  max-width: 280px;
}

.footer-links h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #333;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #0078ff;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: #777;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
  color: white;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, #3b8d99, #6b6b83, #aa4b6b);
  opacity: 0.3;
  z-index: 0;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff7e5f;
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.hero-btn:hover {
  background-color: #feb47b;
  transform: scale(1.05);
}

.hero-widgets {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 25px;
  width: 280px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.hero-card p {
  font-size: 1rem;
  color: #eee;
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
.features {
  background: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #222;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.feature-box {
  background: #f7f9fc;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s forwards;
}

.feature-box:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-box:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.feature-box img {
  width: 96px;
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 0.75rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.pricing {
  background: #f9fafe;
  padding: 5rem 2rem;
  text-align: center;
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing h2 {
  font-size: 2.5rem;
  color: #222;
}

.pricing-sub {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: #666;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

/* Card */
.price-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 3rem 2rem 3.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.9s forwards;
}

.price-card:nth-child(2) { animation-delay: 0.15s; }
.price-card:nth-child(3) { animation-delay: 0.3s; }

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* Price badge for popular plan */
.badge {
  position: absolute;
  top: 1rem;
  right: -3.5rem;
  background: #ffb703;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 4.2rem 0.25rem 1rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Typography inside card */
.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.price {
  font-size: 2.75rem;
  font-weight: 700;
  color: #7928ca;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: #555;
}

.price-card ul {
  list-style: none;
  margin-bottom: 2rem;
}

.price-card li {
  margin-bottom: 0.75rem;
  color: #555;
  font-size: 0.95rem;
}

/* Button */
.price-btn {
  display: inline-block;
  background: linear-gradient(135deg, #007cf0, #7928ca);
  color: #ffffff;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.price-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .price {
    font-size: 2.25rem;
  }
}

.integrations {
  background: #f9fbfd;
  padding: 80px 20px;
  text-align: center;
}

.integrations h2 {
  font-size: 2.5rem;
  color: #1e293b;
  margin-bottom: 10px;
}

.integrations p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 40px;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.integration-logos img {
  height: 50px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.integration-logos img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

.about {
  padding: 100px 20px;
  background: #ffffff;
  color: #1e293b;
}

.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

@media (min-width: 992px) {
  .about-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.careers-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f4f7ff, #e6eeff);
  text-align: center;
}

.careers-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #1d3557;
}

.careers-content .subtitle {
  font-size: 18px;
  color: #5a5a5a;
  margin-bottom: 50px;
}

.careers-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.career-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.career-card h3 {
  color: #2b2d42;
  font-size: 20px;
  margin-bottom: 10px;
}

.career-card p {
  color: #777;
  margin-bottom: 20px;
}

.apply-btn {
  background-color: #5c6bc0;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.apply-btn:hover {
  background-color: #3f51b5;
}

.career-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.career-card:nth-child(1) { animation-delay: 0.2s; }
.career-card:nth-child(2) { animation-delay: 0.4s; }
.career-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-section {
  background: linear-gradient(135deg, #f5f8ff, #f0f4fc);
  padding: 80px 0;
  text-align: center;
}

.blog-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.blog-section .section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.blog-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  width: 300px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.blog-card img {
  width: 100%;
  height: auto;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin: 15px;
  color: #333;
}

.blog-card p {
  font-size: 0.95rem;
  color: #666;
  margin: 0 15px 15px;
}

.blog-card a {
  display: block;
  margin: 0 15px 20px;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
  will-change: opacity, transform;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-btn, .hero-btn, .apply-btn, .price-btn {
  position: relative;
  z-index: 1;
}

.cta-btn::after,
.hero-btn::after,
.apply-btn::after,
.price-btn::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 12px;
  background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.cta-btn:hover::after,
.hero-btn:hover::after,
.apply-btn:hover::after,
.price-btn:hover::after {
  opacity: 1;
}

.integration-logos img:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.15));
}

.section-title, .features h2, .pricing h2, .integrations h2,
.about-text h2, .careers-content h2, .blog-section .section-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease-out forwards;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.features h2 { animation-delay: 0.1s; }
.pricing h2 { animation-delay: 0.2s; }

.blog-card {
  animation: blogFloatIn 0.7s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.blog-card:nth-child(1) { animation-delay: 0.2s; }
.blog-card:nth-child(2) { animation-delay: 0.4s; }
.blog-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes blogFloatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-section {
  padding: 80px 20px;
  background: linear-gradient(145deg, #f8fbff, #ffffff);
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.contact-section .section-title {
  font-size: 36px;
  color: #1d3557;
  margin-bottom: 10px;
}

.contact-section .section-subtitle {
  font-size: 18px;
  color: #457b9d;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.contact-item h4 {
  font-size: 20px;
  color: #1d3557;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 16px;
  color: #555;
}

.social-icons img {
  width: 32px;
  height: 32px;
}

.social-icons a {
  margin: 0 8px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.4s ease-out;
}

.modal-box {
  position: relative;
  margin: 5% auto;
  padding: 2rem 2rem 1.5rem;
  max-width: 700px;
  border-radius: 16px;
  background: linear-gradient(145deg, #1f1f2e, #29293d);
  color: #f0f0f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  animation: scaleIn 0.4s ease;
}

.modal-box h2 {
  margin-top: 0;
  font-size: 1.75rem;
  background: linear-gradient(to right, #6a5af9, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-box p {
  line-height: 1.7;
  color: #cfd8e3;
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  background: linear-gradient(to right, #ff4e50, #f9d423);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg) scale(1.2);
  opacity: 0.8;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-box::-webkit-scrollbar {
  width: 8px;
}
.modal-box::-webkit-scrollbar-thumb {
  background: linear-gradient(#6a5af9, #00d4ff);
  border-radius: 8px;
}

.modal-box {
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(145deg, #1f1f2e, #29293d),
                    linear-gradient(to right, #6a5af9, #00d4ff);
}
