/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ===== HERO SECTION ===== */

.hero-wrapper {
  background: linear-gradient(135deg,#eef3ff , #eef3ff);
  padding: 80px 20px 40px;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-left {
  flex: 1;
}

.hero-left h1 {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 18px;
  color: #6b728;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-block;
  background: #ff3565;
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #e52a58;
  transform: translateY(-2px);
}

.hero-right {
  flex: 1;
}

/* ===== CATEGORY CARD SECTION ===== */

.category-wrapper {
  padding: 40px 20px 70px;
  background: transparent;
}

.category-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.cat-card {
  background: white;
  padding: 28px 15px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.cat-card span {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.cat-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 40px rgba(0,0,0,0.07);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 1024px) {

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 38px;
  }

  .category-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {

  .hero-left h1 {
    font-size: 28px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .hero-btn {
    width: 100%;
    text-align: center;
  }

  .category-container {
    grid-template-columns: repeat(2, 1fr);
  }
}





.smart-section {
  width: 100%;
  padding: 80px 20px 120px;
  text-align: center;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  font-family: Inter, Georgia, sans-serif;
}

/* Heading */
.smart-section h1 {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
  line-height: 1.2;
  position: relative;
  z-index: 3;
}

.smart-section .subtitle {
  font-size: clamp(14px, 3.8vw, 18px);
  color: #8892b0;
  margin-bottom: 50px;
  position: relative;
  z-index: 3;
}

/* Steps grid */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

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

.step-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  color: #0045ff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

.star {
  color: #0045ff;
  font-size: 16px;
}

.number {
  font-size: 26px;
  font-weight: 800;
}

.label {
  letter-spacing: 1px;
}

.step-box p {
  font-size: 16px;
  color: #7c8aa;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* Curved dotted SVG line */
.curve {
  position: absolute;
  width: 100%;
  height: 200px;
  bottom: 10px;
  left: 0;
  z-index: 1;
}

.curve path {
  stroke: #0045ff;
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 6 8;
}

/* Background circles */
.circle {
  position: absolute;
  border-radius: 50%;
  background: #f3f6fb;
  z-index: 0;
  transform: translateZ(0);
}

.circle.left {
  width: 230px;
  height: 230px;
  left: -80px;
  top: 120px;
}

.circle.right {
  width: 360px;
  height: 360px;
  right: -130px;
  top: 40px;
}

/* -----------------------
   MOBILE — FULL FIX
------------------------ */
@media (max-width: 900px) {

  /* Fix spacing & avoid overflow */
  .smart-section {
    padding: 40px 20px 60px;
    overflow: hidden;
  }

  /* Stack steps 1 by 1 */
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-box p {
    max-width: 100%;
  }

  /* Prevent circles covering text */
  .circle.left {
    width: 160px;
    height: 160px;
    left: -60px;
    top: 100px;
    opacity: 0.5;
  }

  .circle.right {
    width: 220px;
    height: 220px;
    right: -80px;
    top: 20px;
    opacity: 0.5;
  }

  /* Prevent curved line covering steps */
  .curve {
    bottom: -40px;
    height: 150px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {

  .smart-section {
    padding: 35px 18px 55px;
  }

  .step-header {
    font-size: 16px;
    padding: 10px 20px;
  }

  .number {
    font-size: 22px;
  }

  .circle.left {
    width: 130px;
    height: 130px;
    left: -50px;
    top: 110px;
  }

  .circle.right {
    width: 160px;
    height: 160px;
    right: -60px;
    top: 10px;
  }

  .curve {
    bottom: -60px;
  }
}






/* -----------------------------------------
   Software Categories Section (UPDATED)
   GeneratePress + Elementor
------------------------------------------*/

.software-categories {
  width: 100%;
  padding: 90px 20px;
  background: radial-gradient(circle at top left, #1c2530 0%, transparent 40%),
              radial-gradient(circle at bottom right, #0d131b 0%, transparent 40%),
              linear-gradient(135deg, #0b0f15, #1a2330);
}

.software-wrapper {
  max-width: 1400px;
  margin: auto;
}

/* Heading */
.software-heading {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 60px;
  position: relative;
}

.software-heading:after {
  content: "";
  width: 90px;
  height: 4px;
  background: linear-gradient(to right, #ff3c6d, #ff9500);
  position: absolute;
  left: 0;
  bottom: -18px;
  border-radius: 5px;
}

/* GRID */
.software-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* CARD */
.software-card {
  background: linear-gradient(145deg, #ffffff, #f2f5f9);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  border: 1px solid #e5e8f0;
  transition: all 0.4s ease;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* GLOW BORDER */
.software-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #ff3c6d, #ff9500, #5ddcff);
  border-radius: 22px;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* HOVER EFFECT */
.software-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.4),
    0 0 30px rgba(255,80,80,0.4);
}

/* ICON CONTAINER */
.icon-box {
  padding: 55px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff, #f8f9fc);
}

/* BIG GRADIENT ICON */
.icon-box i {
  font-size: 70px;
  background: linear-gradient(135deg, #ff3c6d, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.4s ease;
}

/* ICON HOVER */
.software-card:hover .icon-box i {
  transform: scale(1.2) rotate(3deg);
}

/* TITLE */
.title-box {
  background: linear-gradient(135deg, #101820, #1c2633);
  color: #ffffff;
  padding: 22px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
}

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

/* MOBILE */
@media (max-width: 600px) {
  .software-heading {
    font-size: 26px;
    text-align: center;
  }

  .software-heading:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .software-grid {
    grid-template-columns: 1fr;
  }

  .icon-box {
    padding: 45px 15px;
  }

  .icon-box i {
    font-size: 60px;
  }

  .title-box {
    font-size: 14px;
  }
}








/* =============================
   GLOBAL STYLE
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", "Segoe UI", sans-serif;
}

body {
  background: linear-gradient(135deg, #0f172, #1e293b);
  color: #f8faf;
  padding: 40px 20px;
}

/* =============================
   CONTAINER
============================= */
.container {
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

/* =============================
   CARD DESIGN
============================= */
.card {
  position: relative;
  border-radius: 20px;
  padding: 25px 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.35);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* Card color bar */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(135deg, #38bdf8, #6366f1, #22c55e);
}

/* Soft glow background */
.card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #38bdf8, #6366f1, #22c55e);
  z-index: -1;
  opacity: 0.08;
  border-radius: 22px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* =============================
   BADGE
============================= */
.software-badge {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 25px;
  color: #ff;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
}

/* Different soft color variations for cards */
.card:nth-child(3n+1) .software-badge {
  background: linear-gradient(135deg, #22c55e, #4ade80);
}
.card:nth-child(3n+2) .software-badge {
  background: linear-gradient(135deg, #6366f1, #818cf8);
}
.card:nth-child(3n+3) .software-badge {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

/* =============================
   PRICE & TRIAL
============================= */
.price {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #a5f3f;
}

.trial {
  margin-top: 6px;
  font-size: 14px;
  color: #22c55e;
  font-weight: 500;
}

/* =============================
   RATINGS
============================= */
.rating {
  margin: 12px 0 15px;
  font-size: 15px;
  color: #facc15;
}

/* =============================
   FEATURES
============================= */
.features {
  list-style: none;
  margin: 12px 0 18px;
  font-size: 15px;
}

.features li {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: start;
  gap: 8px;
}

.features li::before {
  content: "✔";
  color: #22c55e;
  font-weight: 700;
  margin-top: 2px;
}

/* =============================
   BUTTONS
============================= */
.btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #6366f1, #38bdf8);
  color: white;
  padding: 13px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: 0.35s ease;
}

.btn:hover {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  transform: scale(1.05);
}

/* Review link */
.review-link {
  display: block;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #E34B48;
  text-decoration: none;
  transition: .3s;
}

.review-link:hover {
  color: #1825DD;
  text-decoration: underline;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 600px) {
  body {
    padding: 15px;
  }

  .card {
    padding: 20px;
  }

  .software-badge {
    font-size: 16px;
  }

  .price {
    font-size: 16px;
  }

  .features {
    font-size: 14px;
  }
}
