/* ==========================================================================
   THE SANJ - SOFTWARE | Enterprise Light Blue & Sky Theme Design System
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Crisp Light Blue Palette */
  --bg-main: #f4f9ff;          /* Crisp Ice Blue Page Background */
  --bg-card: #ffffff;          /* Pure White Card Containers */
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  /* Primary & Accent Colors */
  --primary: #0284c7;         /* Deep Ocean Blue */
  --primary-hover: #0369a1;
  --secondary: #38bdf8;       /* Bright Sky Blue */
  --emerald: #059669;         /* High Conversion Emerald Green */
  --amber: #d97706;           /* Warm Legacy Gold / Amber */
  --danger: #ef4444;
  
  /* Typography Colors */
  --text-main: #0f172a;       /* Deep Slate Readable Text */
  --text-muted: #475569;      /* Muted Subtitle Slate */
  --text-light: #f8fafc;
  
  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-active: #7dd3fc;
  --shadow-sm: 0 2px 8px rgba(2, 132, 199, 0.06);
  --shadow-md: 0 10px 30px rgba(2, 132, 199, 0.1);
  --shadow-lg: 0 20px 40px rgba(2, 132, 199, 0.15);
  
  /* Layout Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.2;
}

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

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

/* Layout Components */
.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-padding {
  padding: 5rem 0;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(125, 211, 252, 0.3);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.2);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--amber);
  text-transform: uppercase;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* Big Colorful Hero Banner Section */
.hero-banner-section {
  padding: 2.5rem 0 3rem 0;
}

.big-colorful-banner {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 40%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.big-colorful-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.banner-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.banner-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 2rem;
}

.banner-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.2);
}

.banner-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Customer Count & Legacy Trust Strip */
.trust-strip {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-stat-box {
  text-align: center;
}

.trust-stat-box h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-stat-box p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Founder Profile Card */
.founder-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.founder-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.founder-quote {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* Products Grid & Software Cards (Light Blue Theme Screenshots) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-active);
}

.screenshot-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e0f2fe; /* Light Ice Blue Container Frame */
  overflow: hidden;
  border-bottom: 2px solid var(--border-active);
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .screenshot-img {
  transform: scale(1.03);
}

.screenshot-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(2, 132, 199, 0.9);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.product-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-item i {
  color: var(--emerald);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* Timeline & Scope Estimator */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--border-active);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 2.5rem;
  position: relative;
  width: 50%;
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-main);
  box-shadow: 0 0 0 3px var(--border-active);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
}

.estimator-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-main);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.estimator-output {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-active);
}

.estimate-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* Footer */
.footer {
  background: #0f172a;
  color: white;
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
}

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

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-links h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Responsive Utilities */
@media (max-width: 992px) {
  .big-colorful-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .estimator-box {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .banner-content h1 {
    font-size: 2.2rem;
  }

  .founder-card {
    flex-direction: column;
    text-align: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    text-align: left !important;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 12px !important;
  }
}
