/* ----------------------------------------------------
 * ScaleUp - Custom CSS3 Stylesheet (No Tailwind)
 * ---------------------------------------------------- */

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

/* Color Variables and Theme tokens */
:root {
  --color-brand-green: #00C853;
  --color-brand-green-hover: #00b24a;
  --color-brand-green-light: rgba(0, 200, 83, 0.1);
  
  --color-brand-navy: #0B1E33;
  --color-brand-navy-light: #132c4a;
  
  --color-charcoal: #1A1A1A;
  --color-slate-gray: #64748B;
  --color-pill-gray: #F1F5F9;
  --color-light-bg: #F8FAFC;
  --color-white: #ffffff;
  
  --shadow-custom: 0 10px 30px -10px rgba(11, 30, 51, 0.1);
  --shadow-custom-lg: 0 20px 40px -15px rgba(11, 30, 51, 0.15);
  --shadow-inset-deep: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  --transition-normal: 0.3s ease;
  --transition-fast: 0.2s ease;
}

/* Global resets & Base Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-light-bg);
  color: var(--color-slate-gray);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

input, textarea {
  font-family: inherit;
  outline: none;
}

/* Layout Utilities */
.container-max {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Sticky Navigation */
header.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: all var(--transition-normal);
  padding: 24px 0;
  background-color: transparent;
}

header.main-header.scrolled {
  background-color: rgba(11, 30, 51, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(11, 30, 51, 0.1);
  padding: 16px 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  transition: color var(--transition-fast);
}

.logo-link:hover {
  color: var(--color-brand-green);
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
  user-select: none;
}

/* Desktop Navigation Links */
nav.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  nav.desktop-nav {
    display: flex;
  }
}

nav.desktop-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  padding: 4px 0;
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

nav.desktop-nav a:hover {
  color: var(--color-white);
}

nav.desktop-nav a.active {
  color: var(--color-brand-green);
  font-weight: 700;
}

/* Slide-in underline animation */
nav.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-brand-green);
  transition: width var(--transition-normal);
  border-radius: 9999px;
}

nav.desktop-nav a:hover::after,
nav.desktop-nav a.active::after {
  width: 100%;
}

/* Mobile Hamburger Menu Trigger */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  z-index: 100;
  color: var(--color-white);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 9999px;
  transition: all var(--transition-normal);
}

/* Hamburger to X Animation states */
.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Slide-out Navigation Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 30, 51, 0.96);
  backdrop-filter: blur(16px);
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

@media (min-width: 768px) {
  .mobile-drawer {
    display: none;
  }
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.mobile-nav a.active,
.mobile-nav a:hover {
  color: var(--color-brand-green);
}

.mobile-cta-wrapper {
  margin-top: 32px;
  text-align: center;
}

.mobile-cta-btn {
  display: inline-block;
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 9999px;
  box-shadow: 0 10px 20px rgba(0, 200, 83, 0.25);
  transition: all var(--transition-normal);
}

.mobile-cta-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 25px rgba(0, 200, 83, 0.35);
}

.mobile-cta-btn:active {
  transform: scale(0.97);
}

/* Scroll Lock on Body when mobile menu open */
body.scroll-locked {
  overflow: hidden;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 128px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  user-select: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    rgba(11, 30, 51, 0.95) 0%, 
    rgba(11, 30, 51, 0.8) 50%, 
    rgba(11, 30, 51, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 850px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #CBD5E1;
  max-width: 720px;
  line-height: 1.625;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-cta-btn {
  display: inline-block;
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 9999px;
  box-shadow: 0 10px 20px -5px rgba(0, 200, 83, 0.35);
  transition: all var(--transition-normal);
}

@media (min-width: 768px) {
  .hero-cta-btn {
    font-size: 1.125rem;
    padding: 16px 40px;
  }
}

.hero-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 200, 83, 0.45);
}

.hero-cta-btn:active {
  transform: scale(0.95);
}

/* Portfolio Section & Card Grid Container */
.portfolio-section {
  position: relative;
  z-index: 10;
  margin-top: -80px;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .portfolio-section {
    padding: 0 24px;
  }
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--color-white);
  border-radius: 2rem;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-custom-lg);
  padding: 24px;
}

@media (min-width: 640px) {
  .portfolio-container {
    padding: 32px;
  }
}

@media (min-width: 768px) {
  .portfolio-container {
    padding: 48px;
  }
}

@media (min-width: 1024px) {
  .portfolio-container {
    padding: 64px 48px;
  }
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .section-title-wrapper {
    margin-bottom: 64px;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-charcoal);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.title-divider {
  width: 64px;
  height: 4px;
  background-color: var(--color-brand-green);
  margin: 0 auto;
  border-radius: 9999px;
}

.portfolio-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-cols: 1fr 1fr;
    gap: 48px;
  }
}

/* Portfolio Card wrapper */
.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-light-bg);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-custom);
  transition: all var(--transition-normal);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-custom-lg);
}

/* Green box wrapping mockups */
.mockup-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--color-brand-green) 0%, #00b54a 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 640px) {
  .mockup-box {
    padding: 32px;
  }
}

/* Laptop Device Mockup */
.laptop-mockup {
  position: relative;
  width: 75%;
  aspect-ratio: 16 / 10;
  z-index: 1;
  transition: transform 0.5s ease;
}

.project-card:hover .laptop-mockup {
  transform: scale(1.02);
}

.laptop-screen {
  border: 6px solid #1E293B;
  border-radius: 0.75rem 0.75rem 0 0;
  background-color: #0F172A;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  aspect-ratio: 16 / 10;
}

@media (min-width: 640px) {
  .laptop-screen {
    border-width: 8px;
    border-radius: 1rem 1rem 0 0;
  }
}

.laptop-screen-content {
  width: 100%;
  height: 100%;
  background-color: #F8FAFC;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.laptop-base {
  position: relative;
  width: 114%;
  left: -7%;
  height: 6px;
  background-color: #475569;
  border-radius: 0 0 0.75rem 0.75rem;
  border-top: 1px solid #64748B;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .laptop-base {
    height: 8px;
    border-radius: 0 0 1rem 1rem;
  }
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #0F172A;
  border-radius: 0 0 3px 3px;
}

@media (min-width: 640px) {
  .laptop-notch {
    width: 64px;
    height: 3px;
  }
}

/* Smartphone Device Mockup */
.phone-mockup {
  position: absolute;
  bottom: 6%;
  right: 8%;
  width: 22%;
  aspect-ratio: 9 / 19;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border-radius: 0.75rem;
  border: 3px solid #1E293B;
  background-color: #0F172A;
  overflow: hidden;
  transition: transform 0.5s ease;
}

@media (min-width: 640px) {
  .phone-mockup {
    border-radius: 1rem;
    border-width: 4px;
  }
}

.project-card:hover .phone-mockup {
  transform: scale(1.05);
}

.phone-screen-content {
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-notch {
  height: 4px;
  background-color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 20;
}

@media (min-width: 640px) {
  .phone-notch {
    height: 6px;
  }
}

.phone-notch-inner {
  width: 16px;
  height: 2px;
  background-color: #000;
  border-radius: 9999px;
  transform: scale(0.75);
}

@media (min-width: 640px) {
  .phone-notch-inner {
    width: 24px;
    height: 3px;
  }
}

/* Mockups Content Style System */

/* Salasie Farms Laptop */
.sf-header {
  height: 14%;
  background-color: var(--color-white);
  border-bottom: 1px solid #F1F5F9;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sf-logo {
  font-size: 0.4rem;
  font-weight: 800;
  color: var(--color-brand-green);
}

@media (min-width: 640px) {
  .sf-logo {
    font-size: 0.5rem;
  }
}

.sf-nav {
  display: flex;
  gap: 4px;
  font-size: 0.25rem;
  color: var(--color-slate-gray);
  font-weight: 500;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .sf-nav {
    gap: 8px;
    font-size: 0.35rem;
  }
}

.sf-btn {
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-size: 0.22rem;
  padding: 2px 4px;
  border-radius: 2px;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .sf-btn {
    font-size: 0.3rem;
    padding: 2px 8px;
  }
}

.sf-hero {
  height: 38%;
  background-color: #ECFDF5;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.sf-hero-text h4 {
  font-size: 0.45rem;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .sf-hero-text h4 {
    font-size: 0.55rem;
  }
}

.sf-hero-text p {
  font-size: 0.25rem;
  color: var(--color-slate-gray);
  margin-top: 1px;
  transform: scale(0.9);
  transform-origin: left;
}

@media (min-width: 640px) {
  .sf-hero-text p {
    font-size: 0.3rem;
  }
}

.sf-hero-text button {
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-size: 0.22rem;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 9999px;
  margin-top: 2px;
  transform: scale(0.9);
  transform-origin: left;
}

@media (min-width: 640px) {
  .sf-hero-text button {
    font-size: 0.28rem;
    padding: 2px 8px;
  }
}

.sf-basket-container {
  width: 32px;
  height: 32px;
  color: var(--color-brand-green);
}

@media (min-width: 640px) {
  .sf-basket-container {
    width: 40px;
    height: 40px;
  }
}

.sf-products {
  height: 48%;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sf-products-title {
  font-size: 0.3rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 2px;
}

@media (min-width: 640px) {
  .sf-products-title {
    font-size: 0.38rem;
  }
}

.sf-products-grid {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 4px;
}

@media (min-width: 640px) {
  .sf-products-grid {
    gap: 6px;
  }
}

.sf-product-card {
  background-color: var(--color-white);
  border: 1px solid #F1F5F9;
  border-radius: 2px;
  padding: 2px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sf-product-card span:nth-child(1) {
  font-size: 0.35rem;
}

@media (min-width: 640px) {
  .sf-product-card span:nth-child(1) {
    font-size: 12px;
  }
}

.sf-product-card span:nth-child(2) {
  font-size: 0.2rem;
  font-weight: 500;
  color: var(--color-charcoal);
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .sf-product-card span:nth-child(2) {
    font-size: 0.25rem;
  }
}

.sf-product-card span:nth-child(3) {
  font-size: 0.18rem;
  font-weight: 600;
  color: var(--color-slate-gray);
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .sf-product-card span:nth-child(3) {
    font-size: 0.22rem;
  }
}

/* Salasie Farms Phone */
.sf-phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
  background-color: #F8FAFC;
}

.sf-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px;
  background-color: var(--color-white);
  border-bottom: 1px solid #F1F5F9;
}

.sf-phone-logo {
  font-size: 0.25rem;
  font-weight: 800;
  color: var(--color-brand-green);
}

@media (min-width: 640px) {
  .sf-phone-logo {
    font-size: 0.32rem;
  }
}

.sf-phone-cart {
  font-size: 0.2rem;
  color: var(--color-slate-gray);
}

@media (min-width: 640px) {
  .sf-phone-cart {
    font-size: 0.28rem;
  }
}

.sf-phone-hero {
  background-color: #10B981;
  border-radius: 2px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  margin: 2px 0;
}

.sf-phone-hero span {
  font-size: 0.25rem;
  font-weight: 700;
  transform: scale(0.9);
  transform-origin: left;
}

@media (min-width: 640px) {
  .sf-phone-hero span {
    font-size: 0.32rem;
  }
}

.sf-phone-product {
  background-color: var(--color-white);
  border: 1px solid #F1F5F9;
  border-radius: 2px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
}

.sf-phone-product span.emoji {
  font-size: 12px;
}

.sf-phone-product span.title {
  font-size: 0.22rem;
  font-weight: 600;
  color: var(--color-charcoal);
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .sf-phone-product span.title {
    font-size: 0.28rem;
  }
}

.sf-phone-product span.price {
  font-size: 0.18rem;
  color: var(--color-slate-gray);
  font-weight: 700;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .sf-phone-product span.price {
    font-size: 0.24rem;
  }
}

.sf-phone-product button {
  width: 100%;
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-size: 0.18rem;
  font-weight: 600;
  padding: 2px 0;
  border-radius: 2px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .sf-phone-product button {
    font-size: 0.24rem;
  }
}

.sf-phone-nav {
  height: 12px;
  background-color: var(--color-white);
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.2rem;
  color: var(--color-slate-gray);
}

@media (min-width: 640px) {
  .sf-phone-nav {
    height: 16px;
    font-size: 0.28rem;
  }
}


/* Local Retail Laptop */
.lr-screen {
  background-color: #020617;
  color: var(--color-white);
}

.lr-header {
  height: 14%;
  background-color: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lr-logo {
  font-size: 0.4rem;
  font-weight: 800;
  color: var(--color-brand-green);
}

@media (min-width: 640px) {
  .lr-logo {
    font-size: 0.5rem;
  }
}

.lr-nav {
  display: flex;
  gap: 4px;
  font-size: 0.25rem;
  color: #94A3B8;
  font-weight: 500;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .lr-nav {
    gap: 8px;
    font-size: 0.35rem;
  }
}

.lr-search {
  font-size: 0.25rem;
  color: #94A3B8;
}

@media (min-width: 640px) {
  .lr-search {
    font-size: 0.35rem;
  }
}

.lr-hero {
  height: 38%;
  background: linear-gradient(to right, #172554, #1e1b4b);
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.lr-hero-text h4 {
  font-size: 0.4rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .lr-hero-text h4 {
    font-size: 0.5rem;
  }
}

.lr-hero-text p {
  font-size: 0.22rem;
  color: #CBD5E1;
  margin-top: 1px;
  transform: scale(0.9);
  transform-origin: left;
}

@media (min-width: 640px) {
  .lr-hero-text p {
    font-size: 0.28rem;
  }
}

.lr-hero-text button {
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-size: 0.22rem;
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 9999px;
  margin-top: 2px;
  transform: scale(0.9);
  transform-origin: left;
}

@media (min-width: 640px) {
  .lr-hero-text button {
    font-size: 0.28rem;
    padding: 2px 8px;
  }
}

.lr-dress-container {
  width: 32px;
  height: 32px;
  color: var(--color-brand-green);
}

@media (min-width: 640px) {
  .lr-dress-container {
    width: 40px;
    height: 40px;
  }
}

.lr-products {
  height: 48%;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #020617;
}

.lr-products-title {
  font-size: 0.3rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 2px;
}

@media (min-width: 640px) {
  .lr-products-title {
    font-size: 0.38rem;
  }
}

.lr-products-grid {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 4px;
}

@media (min-width: 640px) {
  .lr-products-grid {
    gap: 6px;
  }
}

.lr-product-card {
  background-color: #0F172A;
  border: 1px solid #1E293B;
  border-radius: 2px;
  padding: 2px 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.lr-product-card span:nth-child(1) {
  font-size: 0.35rem;
}

@media (min-width: 640px) {
  .lr-product-card span:nth-child(1) {
    font-size: 12px;
  }
}

.lr-product-card span:nth-child(2) {
  font-size: 0.18rem;
  font-weight: 500;
  color: #94A3B8;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .lr-product-card span:nth-child(2) {
    font-size: 0.22rem;
  }
}

.lr-product-card span:nth-child(3) {
  font-size: 0.16rem;
  font-weight: 700;
  color: var(--color-brand-green);
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .lr-product-card span:nth-child(3) {
    font-size: 0.2rem;
  }
}


/* Local Retail Phone */
.lr-phone-screen {
  background-color: #020617;
  color: var(--color-white);
}

.lr-phone-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px;
  background-color: #0F172A;
}

.lr-phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px;
  background-color: #020617;
  border-bottom: 1px solid #1E293B;
}

.lr-phone-logo {
  font-size: 0.25rem;
  font-weight: 800;
  color: var(--color-brand-green);
}

@media (min-width: 640px) {
  .lr-phone-logo {
    font-size: 0.32rem;
  }
}

.lr-phone-cart {
  font-size: 0.2rem;
  color: #94A3B8;
}

@media (min-width: 640px) {
  .lr-phone-cart {
    font-size: 0.28rem;
  }
}

.lr-phone-hero {
  background: linear-gradient(to right, #1e3a8a, #311042);
  border-radius: 2px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  margin: 2px 0;
}

.lr-phone-hero span {
  font-size: 0.25rem;
  font-weight: 700;
  transform: scale(0.9);
  transform-origin: left;
}

@media (min-width: 640px) {
  .lr-phone-hero span {
    font-size: 0.32rem;
  }
}

.lr-phone-product {
  background-color: #020617;
  border: 1px solid #1E293B;
  border-radius: 2px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
}

.lr-phone-product span.emoji {
  font-size: 12px;
}

.lr-phone-product span.title {
  font-size: 0.22rem;
  font-weight: 600;
  color: #CBD5E1;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .lr-phone-product span.title {
    font-size: 0.28rem;
  }
}

.lr-phone-product span.price {
  font-size: 0.18rem;
  color: var(--color-brand-green);
  font-weight: 700;
  transform: scale(0.9);
}

@media (min-width: 640px) {
  .lr-phone-product span.price {
    font-size: 0.24rem;
  }
}

.lr-phone-product button {
  width: 100%;
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-size: 0.18rem;
  font-weight: 600;
  padding: 2px 0;
  border-radius: 2px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .lr-phone-product button {
    font-size: 0.24rem;
  }
}

.lr-phone-nav {
  height: 12px;
  background-color: #020617;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.2rem;
  color: #475569;
}

@media (min-width: 640px) {
  .lr-phone-nav {
    height: 16px;
    font-size: 0.28rem;
  }
}


/* Project Card Details */
.card-body {
  padding: 24px;
  background-color: var(--color-white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .card-body {
    padding: 32px;
  }
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

@media (min-width: 640px) {
  .card-title {
    font-size: 1.5rem;
  }
}

.project-card:hover .card-title {
  color: var(--color-brand-green);
}

.card-desc {
  font-size: 0.875rem;
  color: var(--color-slate-gray);
  line-height: 1.625;
  margin-bottom: 24px;
}

.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-badge {
  background-color: var(--color-pill-gray);
  color: var(--color-slate-gray);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Why Partner With Us? Section */
.features-section {
  padding: 80px 24px;
}

.features-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-cols: repeat(3, 1fr);
    gap: 48px;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--color-white);
  padding: 32px;
  border-radius: 1rem;
  border: 1px solid #F1F5F9;
  box-shadow: var(--shadow-custom);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-custom-lg);
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  background-color: var(--color-brand-green-light);
  color: var(--color-brand-green);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  background-color: var(--color-brand-green);
  color: var(--color-white);
}

.feature-icon-box svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--color-slate-gray);
  line-height: 1.625;
}

/* About Us Section */
.about-section {
  padding: 80px 24px;
  background-color: #E2E8F0;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.about-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-cols: 1fr 1fr;
  }
}

.about-info-col {
  display: flex;
  flex-direction: column;
}

.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}

.about-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-charcoal);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.about-desc {
  font-size: 1rem;
  color: var(--color-slate-gray);
  line-height: 1.625;
  margin-bottom: 24px;
}

.about-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-box {
  border-left: 4px solid var(--color-brand-green);
  padding-left: 16px;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-charcoal);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-slate-gray);
}

.about-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  user-select: none;
}

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

.about-image-box:hover img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--color-brand-navy) 0%, transparent 60%);
  z-index: 10;
  mix-blend-mode: multiply;
}

.about-image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 30, 51, 0.9) 0%, transparent 100%);
  z-index: 20;
}

.about-image-text {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 30;
  color: var(--color-white);
}

.about-image-loc {
  color: var(--color-brand-green);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
  letter-spacing: 0.05em;
}

.about-image-head {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Footer Section */
footer.main-footer {
  background-color: var(--color-brand-navy);
  color: var(--color-white);
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.footer-bg-star {
  position: absolute;
  right: 0;
  top: 0;
  width: 384px;
  height: 384px;
  opacity: 0.1;
  pointer-events: none;
  transform: translate(33%, -33%);
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 48px;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-cols: 1fr 1fr;
    gap: 80px;
  }
}

.footer-title {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.625;
  margin-bottom: 32px;
}

/* Contact Form Feedback */
.form-success {
  display: none;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34D399;
  border-radius: 0.75rem;
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
  opacity: 0;
}

.form-success.show {
  display: block;
  opacity: 1;
}

.success-icon {
  width: 48px;
  height: 48px;
  background-color: #10B981;
  color: var(--color-white);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-size: 1.25rem;
}

.success-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: 8px;
}

.success-desc {
  font-size: 0.875rem;
  color: #CBD5E1;
}

/* Contact Form Input Fields */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s ease;
}

.contact-form.hidden {
  display: none;
  opacity: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.form-input {
  width: 100%;
  background-color: var(--color-white);
  color: #0F172A;
  border-radius: 0.5rem;
  padding: 12px 16px;
  border: 1px solid rgba(100, 116, 139, 0.5);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--color-brand-green);
}

.form-textarea {
  resize: none;
}

.submit-btn {
  width: 100%;
  background-color: var(--color-brand-green);
  color: var(--color-white);
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 15px -3px rgba(0, 200, 83, 0.25);
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 25px -5px rgba(0, 200, 83, 0.35);
}

.submit-btn:active {
  transform: translateY(1px);
}

/* Spinner for submit loading state */
.spinner {
  animation: rotate 2s linear infinite;
  width: 20px;
  height: 20px;
}

.spinner .path {
  stroke: #ffffff;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* Details Column */
.details-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 16px;
}

@media (min-width: 1024px) {
  .details-column {
    padding-top: 48px;
  }
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.detail-item {
  display: flex;
  align-items: start;
  gap: 16px;
}

.detail-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--color-brand-green-light);
  color: var(--color-brand-green);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 200, 83, 0.2);
  font-size: 1rem;
}

.detail-content {
  display: flex;
  flex-direction: column;
}

.detail-label {
  display: block;
  text-xs font-bold text-slate-400;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.detail-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

a.detail-value:hover {
  color: var(--color-brand-green);
}

/* Social icons block */
.social-block {
  margin-top: 48px;
}

@media (min-width: 1024px) {
  .social-block {
    margin-top: 0;
  }
}

.social-title {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.social-list {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: #1E293B;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: var(--color-white);
}

.social-link:hover {
  background-color: var(--color-brand-green);
  color: var(--color-white);
  transform: scale(1.1);
}

/* Copyright Row */
.copyright-row {
  max-width: 1200px;
  margin: 80px auto 0 auto;
  padding-top: 32px;
  border-top: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94A3B8;
  gap: 16px;
}

@media (min-width: 640px) {
  .copyright-row {
    flex-direction: row;
    gap: 0;
  }
}

.copyright-row span.location {
  color: var(--color-white);
  font-weight: 600;
}
