/* ======================================
   MAGNET CONSTRUCTION — Main Styles
   ====================================== */

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

/* ---------- CSS Variables ---------- */
:root {
  /* Brand colours — warm amber/orange matching logo */
  --primary:        #F59E0B;
  --primary-dark:   #D97706;
  --primary-light:  #FCD34D;
  --primary-glow:   rgba(245,158,11,.35);

  /* Neutrals */
  --bg-dark:        #0F1117;
  --bg-card:        #1A1D27;
  --bg-card-hover:  #22252F;
  --surface:        #252830;
  --border:         rgba(255,255,255,.08);
  --text:           #E8E8ED;
  --text-muted:     #9CA3AF;
  --white:          #FFFFFF;

  /* Accent */
  --accent-green:   #22C55E;

  /* Spacing */
  --section-py:     100px;
  --container-max:  1200px;

  /* Transition */
  --ease:           cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:120px; }
body {
  font-family:'Inter',system-ui,sans-serif;
  background:var(--bg-dark);
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
}
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
img { max-width:100%; display:block; }

/* ---------- Container ---------- */
.container {
  max-width:var(--container-max);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Section common ---------- */
.section { padding:var(--section-py) 0; }
.section-label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--primary);
  margin-bottom:12px;
}
.section-label::before {
  content:'';
  width:30px; height:2px;
  background:var(--primary);
}
.section-title {
  font-family:'Outfit',sans-serif;
  font-size:clamp(1.8rem,4vw,2.8rem);
  font-weight:800;
  color:var(--white);
  line-height:1.2;
  margin-bottom:16px;
}
.section-desc {
  color:var(--text-muted);
  max-width:640px;
  font-size:1.05rem;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  transition:background .35s var(--ease), box-shadow .35s var(--ease);
}
.header.scrolled {
  background:rgba(15,17,23,.85);
  backdrop-filter:blur(16px) saturate(1.6);
  -webkit-backdrop-filter:blur(16px) saturate(1.6);
  box-shadow:0 1px 0 var(--border);
}
.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
}
.nav-logo {
  display:flex;
  align-items:center;
  gap:12px;
  margin-left:-8px;
}
.nav-logo img { height:80px; width:auto; }
.nav-links {
  display:flex;
  gap:32px;
}
.nav-links a {
  font-size:.92rem;
  font-weight:500;
  color:var(--text-muted);
  position:relative;
  transition:color .3s;
}
.nav-links a:hover,
.nav-links a.active { color:var(--white); }
.nav-links a::after {
  content:'';
  position:absolute;
  bottom:-4px; left:0;
  width:0; height:2px;
  background:var(--primary);
  transition:width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width:100%; }
.nav-cta {
  display:flex;
  align-items:center;
  gap:14px;
}
.nav-phone {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:.9rem;
  font-weight:600;
  color:var(--primary);
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
  cursor:pointer;
  font-family:'Inter',sans-serif;
  font-weight:600;
  border-radius:10px;
  transition:all .35s var(--ease);
}
.btn-primary {
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#000;
  padding:12px 24px;
  font-size:.92rem;
  box-shadow:0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 30px var(--primary-glow);
}
.btn-outline {
  background:transparent;
  border:1.5px solid var(--border);
  color:var(--white);
  padding:11px 22px;
  font-size:.92rem;
}
.btn-outline:hover {
  border-color:var(--primary);
  color:var(--primary);
}
.btn-whatsapp {
  background:#25D366;
  color:#fff;
  padding:14px 28px;
  font-size:1rem;
}
.btn-whatsapp:hover {
  background:#1EBE57;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(37,211,102,.3);
}

/* Mobile menu toggle */
.nav-toggle {
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  background:none; border:none;
  padding:4px;
}
.nav-toggle span {
  width:24px; height:2px;
  background:var(--white);
  border-radius:2px;
  transition:all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg {
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-bg img {
  width:100%; height:100%;
  object-fit:cover;
}
.hero-bg::after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(15,17,23,.92) 0%,rgba(15,17,23,.75) 50%,rgba(15,17,23,.55) 100%);
}
.hero-content {
  position:relative;
  z-index:2;
  max-width:680px;
  padding-top:130px;
}
.hero-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(245,158,11,.12);
  border:1px solid rgba(245,158,11,.25);
  padding:8px 18px;
  border-radius:50px;
  font-size:.82rem;
  font-weight:600;
  color:var(--primary);
  margin-bottom:24px;
  animation:fadeInUp .8s var(--ease) both;
}
.hero-badge .dot {
  width:8px; height:8px;
  border-radius:50%;
  background:var(--accent-green);
  animation:pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.4)}
}
.hero h1 {
  font-family:'Outfit',sans-serif;
  font-size:clamp(2.2rem,5.5vw,3.8rem);
  font-weight:900;
  color:var(--white);
  line-height:1.1;
  margin-bottom:20px;
  animation:fadeInUp .8s .15s var(--ease) both;
}
.hero h1 .highlight {
  background:linear-gradient(135deg,var(--primary),var(--primary-light));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-sub {
  font-size:1.15rem;
  color:var(--text-muted);
  margin-bottom:32px;
  line-height:1.7;
  animation:fadeInUp .8s .3s var(--ease) both;
}
.hero-highlights {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:36px;
  animation:fadeInUp .8s .45s var(--ease) both;
}
.hero-highlights li {
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:500;
  font-size:.95rem;
  color:var(--text);
}
.hero-highlights li svg {
  color:var(--accent-green);
  flex-shrink:0;
}
.hero-btns {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  animation:fadeInUp .8s .6s var(--ease) both;
}

/* Floating stats card */
.hero-stats {
  position:absolute;
  right:8%;
  bottom:12%;
  z-index:3;
  display:flex;
  gap:16px;
  animation:fadeInUp 1s .8s var(--ease) both;
}
.stat-card {
  background:rgba(26,29,39,.8);
  backdrop-filter:blur(16px);
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px 28px;
  text-align:center;
  min-width:130px;
}
.stat-card .num {
  font-family:'Outfit',sans-serif;
  font-size:1.8rem;
  font-weight:800;
  color:var(--primary);
}
.stat-card .label {
  font-size:.78rem;
  color:var(--text-muted);
  margin-top:4px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.about-img {
  position:relative;
  border-radius:20px;
  overflow:hidden;
}
.about-img img {
  width:100%;
  border-radius:20px;
  transition:transform .6s var(--ease);
}
.about-img:hover img { transform:scale(1.04); }
.about-img-badge {
  position:absolute;
  bottom:20px; left:20px;
  background:rgba(26,29,39,.85);
  backdrop-filter:blur(12px);
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px 20px;
  display:flex;
  align-items:center;
  gap:12px;
}
.about-img-badge .icon {
  width:44px; height:44px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#000;
}
.about-img-badge .info strong {
  display:block;
  color:var(--white);
  font-size:.95rem;
}
.about-img-badge .info span {
  color:var(--text-muted);
  font-size:.78rem;
}
.about-text p {
  color:var(--text-muted);
  margin-bottom:16px;
}
.about-features {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:24px;
}
.about-feature {
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:12px;
  font-size:.9rem;
  font-weight:500;
  color:var(--text);
  transition:border-color .3s;
}
.about-feature:hover { border-color:var(--primary); }
.about-feature svg { color:var(--primary); flex-shrink:0; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-header {
  text-align:center;
  margin-bottom:60px;
}
.products-header .section-desc { margin:0 auto; }
.products-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:28px;
}
.product-card {
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:20px;
  overflow:hidden;
  transition:transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.product-card:hover {
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(0,0,0,.3);
  border-color:rgba(245,158,11,.25);
}
.product-card-img {
  position:relative;
  height:220px;
  overflow:hidden;
}
.product-card-img img {
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .6s var(--ease);
}
.product-card:hover .product-card-img img { transform:scale(1.08); }
.product-card-img .overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(15,17,23,.6) 100%);
}
.product-card-body { padding:24px; }
.product-card-body h3 {
  font-family:'Outfit',sans-serif;
  font-size:1.25rem;
  font-weight:700;
  color:var(--white);
  margin-bottom:10px;
}
.product-card-body p {
  color:var(--text-muted);
  font-size:.92rem;
  margin-bottom:18px;
}
.product-features {
  display:flex;
  flex-direction:column;
  gap:8px;
}
.product-features li {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.85rem;
  color:var(--text);
}
.product-features li svg { color:var(--primary); flex-shrink:0; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-header {
  text-align:center;
  margin-bottom:60px;
}
.why-header .section-desc { margin:0 auto; }
.why-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:24px;
}
.why-card {
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:32px 28px;
  text-align:center;
  transition:transform .4s var(--ease), border-color .4s;
  position:relative;
  overflow:hidden;
}
.why-card::before {
  content:'';
  position:absolute;
  top:0; left:50%; transform:translateX(-50%);
  width:60px; height:3px;
  background:var(--primary);
  border-radius:0 0 4px 4px;
  opacity:0;
  transition:opacity .4s;
}
.why-card:hover { transform:translateY(-6px); border-color:rgba(245,158,11,.25); }
.why-card:hover::before { opacity:1; }
.why-card-icon {
  width:64px; height:64px;
  border-radius:16px;
  background:rgba(245,158,11,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  transition:background .3s;
}
.why-card:hover .why-card-icon { background:rgba(245,158,11,.2); }
.why-card-icon svg { width:28px; height:28px; color:var(--primary); }
.why-card h3 {
  font-family:'Outfit',sans-serif;
  font-size:1.1rem;
  font-weight:700;
  color:var(--white);
  margin-bottom:10px;
}
.why-card p {
  color:var(--text-muted);
  font-size:.88rem;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries { background:var(--bg-card); }
.industries-inner {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.industries-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:28px;
}
.industry-item {
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 20px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  font-weight:500;
  font-size:.92rem;
  color:var(--text);
  transition:all .3s var(--ease);
}
.industry-item:hover {
  border-color:var(--primary);
  transform:translateX(6px);
}
.industry-item .icon {
  width:40px; height:40px;
  border-radius:10px;
  background:rgba(245,158,11,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.industry-item .icon svg { width:20px; height:20px; color:var(--primary); }
.industries-visual {
  position:relative;
}
.industries-visual img {
  border-radius:20px;
  width:100%;
}

/* ============================================================
   DELIVERY PROCESS
   ============================================================ */
.process-header {
  text-align:center;
  margin-bottom:60px;
}
.process-header .section-desc { margin:0 auto; }
.process-steps {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:28px;
  position:relative;
}
.process-step {
  position:relative;
  text-align:center;
  padding:32px 20px;
}
.step-num {
  width:56px; height:56px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#000;
  font-family:'Outfit',sans-serif;
  font-weight:800;
  font-size:1.3rem;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 18px;
  position:relative;
  z-index:2;
  box-shadow:0 4px 20px var(--primary-glow);
}
.process-step h3 {
  font-family:'Outfit',sans-serif;
  font-size:1.05rem;
  font-weight:700;
  color:var(--white);
  margin-bottom:8px;
}
.process-step p {
  color:var(--text-muted);
  font-size:.88rem;
}
/* Connector line */
.process-step::after {
  content:'';
  position:absolute;
  top:58px;
  right:-14px;
  width:calc(100% - 56px);
  height:2px;
  background:linear-gradient(90deg,var(--primary),transparent);
  z-index:1;
}
.process-step:last-child::after { display:none; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background:linear-gradient(135deg,rgba(245,158,11,.08),rgba(217,119,6,.04));
  border-top:1px solid rgba(245,158,11,.15);
  border-bottom:1px solid rgba(245,158,11,.15);
}
.cta-inner {
  text-align:center;
  max-width:680px;
  margin:0 auto;
}
.cta-inner .section-title { margin-bottom:12px; }
.cta-inner .section-desc { margin:0 auto 32px; }
.cta-btns {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background:#0B0D14;
  padding:60px 0 0;
}
.footer-grid {
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:40px;
  border-bottom:1px solid var(--border);
}
.footer-brand p {
  color:var(--text-muted);
  font-size:.9rem;
  margin:16px 0 20px;
  line-height:1.7;
}
.footer-socials {
  display:flex;
  gap:10px;
}
.footer-socials a {
  width:40px; height:40px;
  border-radius:10px;
  background:var(--surface);
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .3s;
}
.footer-socials a:hover {
  background:var(--primary);
  border-color:var(--primary);
  color:#000;
}
.footer-col h4 {
  font-family:'Outfit',sans-serif;
  font-weight:700;
  font-size:1rem;
  color:var(--white);
  margin-bottom:18px;
}
.footer-col a {
  display:block;
  color:var(--text-muted);
  font-size:.9rem;
  margin-bottom:12px;
  transition:color .3s;
}
.footer-col a:hover { color:var(--primary); }
.footer-contact-item {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.footer-contact-item svg { color:var(--primary); flex-shrink:0; }
.footer-contact-item span {
  color:var(--text-muted);
  font-size:.9rem;
}
.footer-bottom {
  padding:20px 0;
  text-align:center;
  color:var(--text-muted);
  font-size:.82rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity:0;
  transform:translateY(40px);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity:1;
  transform:translateY(0);
}

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}

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

/* Tablet */
@media (max-width:1024px) {
  .hero-stats { display:none; }
  .about-grid,
  .industries-inner { grid-template-columns:1fr; gap:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

/* Mobile */
@media (max-width:768px) {
  :root { --section-py:70px; }

  .nav-links,
  .nav-cta .nav-phone { display:none; }
  .nav-toggle { display:flex; }
  
  /* Mobile menu */
  .nav-links.open {
    display:flex;
    flex-direction:column;
    position:absolute;
    top:76px; left:0; right:0;
    background:rgba(15,17,23,.97);
    backdrop-filter:blur(16px);
    padding:24px;
    gap:18px;
    border-bottom:1px solid var(--border);
  }
  .nav-links.open a {
    font-size:1.05rem;
    color:var(--text);
  }
  .nav-cta .btn { display:none; }

  .hero h1 { font-size:2rem; }
  .hero-sub { font-size:1rem; }
  .hero-highlights { flex-direction:column; }
  .hero-btns { flex-direction:column; }
  .hero-btns .btn { width:100%; justify-content:center; }

  .about-features { grid-template-columns:1fr; }
  .industries-list { grid-template-columns:1fr; }

  .products-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr 1fr; }

  .process-step::after { display:none; }
  .process-steps { grid-template-columns:1fr 1fr; }

  .footer-grid { grid-template-columns:1fr; }
  .cta-btns { flex-direction:column; align-items:center; }
}

@media (max-width:480px) {
  .why-grid { grid-template-columns:1fr; }
  .process-steps { grid-template-columns:1fr; }
  .hero-content { padding-top:90px; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:var(--bg-dark); }
::-webkit-scrollbar-thumb { background:var(--surface); border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:var(--primary-dark); }

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position:fixed;
  bottom:28px;
  right:28px;
  width:60px;
  height:60px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999;
  box-shadow:0 4px 20px rgba(37,211,102,.4);
  transition:transform .3s, box-shadow .3s;
  animation:float-bounce 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform:scale(1.1);
  box-shadow:0 8px 30px rgba(37,211,102,.5);
}
.whatsapp-float svg { width:30px; height:30px; color:#fff; }

@keyframes float-bounce {
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

/* Top bar */
.top-bar {
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  padding:8px 0;
  font-size:.82rem;
  font-weight:500;
  color:#000;
}
.top-bar-inner {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  flex-wrap:wrap;
}
.top-bar-inner a {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#000;
  font-weight:600;
}

@media (max-width:768px) {
  .top-bar { padding:6px 0; font-size:.75rem; }
  .top-bar-inner { gap:12px; }
}
