/* ==========================================
   OFFICECLIP HOMEPAGE HERO CSS
========================================== */

/* 1. Variables & Resets */
.oc-home-hero {
  --bg-color: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --accent-orange: #F26522;
  --accent-orange-hover: #ea580c;
  --border-light: #e2e8f0;
  
  width: 100vw;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 80% 50%, #e0e7ff 0%, transparent 40%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
  padding-top: 60px;
}

.oc-home-hero * {
  box-sizing: border-box;
}

/* 2. Main Two-Column Container */
.oc-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 40px;
}

/* 3. Left Column (Text & CTAs) */
.oc-hero-text {
  flex: 0 0 45%;
  max-width: 540px;
  padding-bottom: 60px;
  z-index: 2;
}

.oc-kicker {
  display: inline-block;
  background: #ffedd5;
  color: var(--accent-orange-hover);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.oc-hero-text h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 20px 0;
 text-align: left;
  
}

.oc-hero-text p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 36px 0;
text-align: left;
}

.oc-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap; /* Prevents them from stacking too early */
  width: 100%;
}

.oc-btn {
  flex: 1; /* This makes both buttons exactly the same width */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px; /* Reduced padding so long text doesn't overflow */
  height: 56px;
  border-radius: 8px;
  font-size: 16px; /* Slightly smaller to fit "Download On-Premise" */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap; /* Keeps text on one line */
}

.oc-btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-hover));
  color: #ffffff;
  box-shadow: 0 8px 15px rgba(242, 101, 34, 0.2);
}

.oc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(242, 101, 34, 0.3);
  color: #ffffff;
}

.oc-btn-secondary {
  background: transparent;
  color: #000000 !important;
  border: 2px solid #cbd5e1;
}

.oc-btn-secondary:hover {
  border-color: var(--text-dark);
  background: #ffffff;
}

/* 4. Right Column (The Bleed Image) */
.oc-hero-visual {
  flex: 0 0 60%;
  margin-right: -10%; /* This forces the image to bleed off the right edge */
  position: relative;
  z-index: 1;
}

.oc-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 35px rgba(15, 23, 42, 0.15)); /* Adds modern SaaS shadow */
}

/* 5. Bottom Trust Bar (Full Width) */
.oc-trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.oc-trust-bar p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
}

.oc-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.oc-logos img {
  max-height: 30px;
  width: auto;
  /* Magic SEO Trick: Automatically turns colored logos into sleek greyscale */
  filter: grayscale(100%) opacity(50%);
  transition: all 0.3s ease;
}

.oc-logos img:hover {
  filter: grayscale(0%) opacity(100%);
}


/* 6. Responsive Mobile & Tablet Rules */

/* 6. Responsive Mobile & Tablet Rules */

@media (max-width: 1280px) {
  .oc-hero-visual {
    flex: 1;
    margin-right: 0; 
  }
  .oc-hero-text {
    flex: 1;
  }
}

@media (max-width: 1100px) {
  .oc-hero-text h1 { font-size: 42px; }
  .oc-hero-text p { font-size: 17px; }
}

@media (max-width: 900px) {
  .oc-hero-text h1, 
  .oc-hero-text p {
    text-align: center;
  }
  .oc-home-hero { padding-top: 40px; }
  .oc-hero-container {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
  .oc-hero-text {
    flex: 1 1 auto;
    max-width: 100%;
    padding-bottom: 20px;
  }
  .oc-hero-actions {
    justify-content: center;
  }
  .oc-hero-visual {
    flex: 1 1 auto;
    margin-right: 0;
    width: 100%;
    max-width: 700px;
  }
  .oc-trust-bar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .oc-hero-text h1 { font-size: 36px; }
  .oc-hero-actions {
    flex-direction: column;
  }
  .oc-btn { 
    width: 100%; 
  }
}