/*
Theme Name: Freepoint Growth
Theme URI: https://freepointgrowth.com
Author: Alberto Hamoui
Author URI: https://freepointgrowth.com
Description: Official theme for Freepoint Growth digital marketing agency.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: freepoint-growth
*/

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#F4F7F6;--fg:#1B263B;
  --card:#fff;--border:#dde3e1;
  --primary:#1B263B;--primary-fg:#F4F7F6;
  --secondary:#4682B4;
  --accent:#FF8C00;--accent-fg:#fff;
  --muted:#e8edeb;--muted-fg:#5a6a7a;
  --radius:0.75rem;
  --font-heading:'Space Grotesk',sans-serif;
  --font-body:'DM Sans',sans-serif;
}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);background:var(--bg);color:var(--fg);line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading)}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

/* Container */
.container{max-width:1200px;margin:0 auto;padding:0 2rem}

/* Navbar */
.logo img{height:95px;width:auto;}
.navbar{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(244,247,246,.8);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid rgba(221,227,225,.5)}
.navbar-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-family:var(--font-heading);font-weight:700;font-size:1.125rem}
.logo span{color:var(--secondary)}
.nav-links{display:flex;align-items:center;gap:2rem;font-size:.875rem}
.nav-links a.nav-text{color:var(--muted-fg);transition:color .2s}
.nav-links a.nav-text:hover{color:var(--fg)}
.btn-accent{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:var(--radius);background:var(--accent);color:var(--accent-fg);font-weight:600;font-size:.875rem;border:none;cursor:pointer;transition:filter .2s;font-family:var(--font-body)}
.btn-accent:hover{filter:brightness(1.1)}
.btn-accent-lg{padding:1rem 2rem;font-size:1rem;box-shadow:0 8px 24px rgba(255,140,0,.2)}
.hamburger{display:none;background:none;border:none;cursor:pointer;color:var(--fg)}
.hamburger svg{width:24px;height:24px}
.mobile-menu{display:none;flex-direction:column;gap:1rem;padding:1rem 1.5rem;border-top:1px solid var(--border);background:var(--bg)}
.mobile-menu.open{display:flex}

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

/* Hero */
.hero{position:relative;min-height:90vh;display:flex;align-items:center;overflow:hidden;padding-top:64px}
.hero-blob1{position:absolute;top:80px;right:0;width:500px;height:500px;border-radius:50%;background:rgba(70,130,180,.05);filter:blur(80px)}
.hero-blob2{position:absolute;bottom:0;left:0;width:300px;height:300px;border-radius:50%;background:rgba(255,140,0,.05);filter:blur(80px)}
.hero-content{position:relative;z-index:2;max-width:720px}
.hero-badge{display:inline-block;margin-bottom:1.5rem;padding:.375rem 1rem;border-radius:9999px;border:1px solid rgba(70,130,180,.2);font-size:.875rem;font-weight:500;color:var(--secondary)}
.hero h1{font-size:clamp(2.5rem,6vw,4.5rem);font-weight:700;line-height:1.05;letter-spacing:-.02em;margin-bottom:1.5rem}
.text-gradient{background:linear-gradient(135deg,var(--primary),var(--secondary));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero p{font-size:clamp(1rem,2vw,1.25rem);color:var(--muted-fg);max-width:560px;margin-bottom:2.5rem;line-height:1.7}
.arrow-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Services */
.services{padding:6rem 0}
.section-header{text-align:center;margin-bottom:4rem}
.section-header h2{font-size:clamp(1.75rem,3vw,2.5rem);font-weight:700;margin-bottom:1rem}
.section-header p{color:var(--muted-fg);max-width:28rem;margin:0 auto}
.services-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem}
@media(max-width:1024px){.services-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.services-grid{grid-template-columns:1fr}}
.service-card{padding:1.5rem;border-radius:1rem;background:var(--card);border:1px solid var(--border);transition:border-color .3s}
.service-card:hover{border-color:rgba(70,130,180,.3)}
.service-icon{width:40px;height:40px;border-radius:.5rem;background:rgba(70,130,180,.1);display:flex;align-items:center;justify-content:center;margin-bottom:1rem;transition:background .3s}
.service-card:hover .service-icon{background:rgba(70,130,180,.2)}
.service-icon svg{width:20px;height:20px;stroke:var(--secondary);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service-card h3{font-size:.875rem;font-weight:600;margin-bottom:.5rem}
.service-card p{font-size:.875rem;color:var(--muted-fg);line-height:1.6}

/* Why Freepoint */
.why{padding:6rem 0;background:var(--primary)}
.why .section-header h2{color:var(--primary-fg)}
.why .section-header p{color:rgba(244,247,246,.6)}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;max-width:900px;margin:0 auto}
@media(max-width:640px){.why-grid{grid-template-columns:1fr}}
.why-card{display:flex;gap:1rem;padding:1.5rem;border-radius:1rem;background:rgba(244,247,246,.05);border:1px solid rgba(244,247,246,.1)}
.why-icon{width:40px;height:40px;border-radius:.5rem;background:rgba(255,140,0,.2);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.why-icon svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.why-card h3{font-weight:600;color:var(--primary-fg);margin-bottom:.25rem}
.why-card p{font-size:.875rem;color:rgba(244,247,246,.6);line-height:1.6}

/* Trusted By */
.trusted{padding:5rem 0;overflow:hidden}
.trusted-label{text-align:center;font-size:.75rem;font-weight:500;color:var(--muted-fg);text-transform:uppercase;letter-spacing:.15em;margin-bottom:2.5rem}
.marquee-wrapper{position:relative;overflow:hidden}
.marquee-fade-l,.marquee-fade-r{position:absolute;top:0;bottom:0;width:96px;z-index:2;pointer-events:none}
.marquee-fade-l{left:0;background:linear-gradient(to right,var(--bg),transparent)}
.marquee-fade-r{right:0;background:linear-gradient(to left,var(--bg),transparent)}
.marquee-track{display:flex;width:max-content}
.marquee-item{flex-shrink:0;margin:0 3rem;display:flex;align-items:center}
.marquee-item img{height:36px;width:auto;max-width:140px;object-fit:contain;opacity:0.4;filter:grayscale(1);transition:opacity .3s,filter .3s}
.marquee-item img:hover{opacity:0.75;filter:grayscale(0)}
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* CTA */
.cta{padding:6rem 0;background:var(--primary)}
.cta-inner{text-align:center;max-width:640px;margin:0 auto}
.cta h2{font-size:clamp(1.75rem,4vw,3rem);font-weight:700;color:var(--primary-fg);margin-bottom:1.5rem}

/* Footer */
.footer{padding:3rem 0;border-top:1px solid var(--border)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.5rem}
.footer-links{display:flex;align-items:center;gap:1.5rem;font-size:.875rem;color:var(--muted-fg)}
.footer-links a{transition:color .2s}
.footer-links a:hover{color:var(--fg)}
.footer-links svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.footer-copy{font-size:.75rem;color:var(--muted-fg)}

/* Scroll animations */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1)}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-d1{transition-delay:.1s}
.reveal-d2{transition-delay:.2s}
.reveal-d3{transition-delay:.3s}
.reveal-d4{transition-delay:.4s}
