/* assets/css/style.css */
:root {
  /* Brand Colors Maintained */
  --primary: #1a1a2e;
  --primary-light: #2a2a4a;
  --accent: #e63946;
  --accent-hover: #f04b58;
  --text-dark: #111111;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  --border-light: #eaedf1;

  /* Shadows & Effects */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(26, 26, 46, 0.12);
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

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

/* Top Bar */
.top-bar {
  background: var(--primary-light);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 1001;
  position: relative;
}

@keyframes blink-cursor {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: rgba(255, 255, 255, 0.75);
  }
}

/* Container */
.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container-custom {
    padding: 0 24px;
  }
}

/* Glassmorphic Header */
.header {
  position: fixed;
  top: 35px; /* Account for top-bar */
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 237, 241, 0.8);
  z-index: 1000;
  padding: 20px 0;
  transition:
    top 0.3s ease,
    padding 0.3s ease,
    background 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

/* For legal pages, adjusting positioning */
body:not(.landing-page) .header {
  position: sticky;
}

.header.scrolled {
  top: 0;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 36px;
}

.logo-text {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav,
  .header .btn {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  text-decoration: none;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 50px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-subtle);
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 768px) {
  .hero {
    padding: 120px 20px 80px;
  }
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26, 26, 46, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: "Outfit", sans-serif;
  letter-spacing: 0.5px;
  border: 1px solid rgba(230, 57, 70, 0.2);
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.hero h1 span {
  color: var(--accent);
}
.hero p {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 48px;
  line-height: 1.6;
}
.waitlist-wrapper {
  background: white;
  padding: 10px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  max-width: 550px;
  margin: 0 auto 30px;
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}
.waitlist-form {
  display: flex;
  position: relative;
}
.waitlist-form input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  outline: none;
  color: var(--text);
}
.waitlist-form button {
  white-space: nowrap;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}
.launch-date {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--primary-light);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.launch-date i {
  color: var(--accent);
  font-size: 20px;
}

/* Sections general styling */
.section {
  padding: 120px 0;
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}
.section-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-inline: auto;
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.bento-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.2);
}
.bento-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(230, 57, 70, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  transition: var(--transition);
}
.bento-item:hover .bento-icon {
  background: var(--accent);
  color: white;
  transform: scale(1.1) rotate(-5deg);
}
.bento-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.bento-content p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 16px;
}

.bento-large {
  grid-column: span 7;
  background: var(--primary);
  color: white;
}
.bento-large h3 {
  color: white;
  font-size: 32px;
}
.bento-large p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  max-width: 400px;
}
.bento-large .bento-icon {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.bento-large:hover .bento-icon {
  background: white;
  color: var(--primary);
}
.bento-medium {
  grid-column: span 5;
}
.bento-small {
  grid-column: span 4;
}

@media (max-width: 992px) {
  .bento-large,
  .bento-medium {
    grid-column: span 12;
  }
  .bento-small {
    grid-column: span 6;
  }
}
@media (max-width: 768px) {
  .bento-small {
    grid-column: span 12;
  }
}

/* Workflow Section */
.workflow {
  background: var(--bg-subtle);
  padding: 120px 0;
}
@media (max-width: 768px) {
  .workflow {
    padding: 60px 0;
  }
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
}
@media (min-width: 992px) {
  .steps-container::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    z-index: 1;
  }
}
.step {
  text-align: center;
  position: relative;
  z-index: 2;
}
.step-number {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-subtle);
  transition: var(--transition);
}
.step:hover .step-number {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}
.step h4 {
  font-size: 22px;
  margin-bottom: 12px;
}
.step p {
  font-size: 15px;
  color: var(--text-light);
}

@media (max-width: 992px) {
  .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}
@media (max-width: 576px) {
  .steps-container {
    grid-template-columns: 1fr;
  }
}

/* Blog Dynamic Cards */
.blog-item-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blog-img-wrapper {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-content-inner {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content-inner a:hover {
  opacity: 0.8;
}

/* Legal Pages Content Styling */
.content-section {
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .content-section {
    padding: 100px 20px 60px;
  }
}
.legal-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.legal-content h2 {
  margin-top: 40px;
  font-size: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.legal-content p,
.legal-content ul {
  margin-bottom: 20px;
  color: var(--text-light);
}
.legal-content ul {
  padding-left: 20px;
}
.legal-content li {
  margin-bottom: 10px;
}
.legal-content .highlight {
  background: var(--bg-subtle);
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  color: var(--text);
  font-weight: 500;
}

/* WeProDev Parent Section */
.agency-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
}
@media (max-width: 768px) {
  .agency-section {
    padding: 40px 0;
  }
}
.agency-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  gap: 40px;
}
.agency-text h3 {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.agency-text p {
  margin-bottom: 0;
  max-width: 600px;
}
@media (max-width: 768px) {
  .agency-content {
    flex-direction: column;
    text-align: center;
  }
  .agency-text h3 {
    justify-content: center;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 80px 0 40px;
}
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 20px;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* For legal pages, adjusting footer-grid */
body:not(.landing-page) .footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

.footer h4 {
  color: white;
  margin-bottom: 24px;
  font-size: 18px;
}
.footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  max-width: 300px;
}
.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  transition: var(--transition);
  font-size: 15px;
}
.footer a:hover {
  color: white;
  padding-left: 5px;
}
.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  font-size: 18px;
  margin-bottom: 0;
}
.social-links a:hover {
  background: var(--accent);
  padding-left: 0;
  transform: translateY(-3px);
}
.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body:not(.landing-page) .copyright {
  justify-content: center;
  flex-direction: column;
}

@media (max-width: 992px) {
  .footer-grid,
  body:not(.landing-page) .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .copyright {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 576px) {
  .footer-grid,
  body:not(.landing-page) .footer-grid {
    grid-template-columns: 1fr;
  }
}
