/* ==========================================================================
   Organic Modern / Claymorphism Theme - Variables
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
   --bg-light: #faf9f6;
   /* Alabaster */
   --bg-surface: #ffffff;
   --bg-header-footer: #0a1c15;
   /* Deep Forest Black for Logo Contrast */

   --primary: #ff6b35;
   /* Tangerine */
   --primary-hover: #e85a28;
   --secondary: #2ec4b6;
   /* Mint Teal */
   --accent: #f4acb7;
   /* Soft Rose */

   --text-dark: #1b262c;
   --text-muted: #6b7c85;
   --text-light: #fdfdfd;

   --clay-shadow: 10px 10px 30px rgba(0, 0, 0, 0.08), -10px -10px 30px #ffffff;
   --clay-inset: inset 4px 4px 10px rgba(255, 255, 255, 0.7), inset -4px -4px 10px rgba(0, 0, 0, 0.05);

   --font-main: 'Outfit', sans-serif;
   --font-accent: 'Playfair Display', serif;

   --nav-height: 90px;
   --border-radius-lg: 30px;
   --border-radius-sm: 16px;
   --transition-slow: 0.7s cubic-bezier(0.25, 1, 0.25, 1);
   --transition-fast: 0.3s ease;
}

/* ==========================================================================
   Reset & Base Elements
   ========================================================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
   font-size: 16px;
}

body {
   font-family: var(--font-main);
   background-color: var(--bg-light);
   color: var(--text-dark);
   line-height: 1.6;
   overflow-x: hidden;
   -webkit-font-smoothing: antialiased;
}

::selection {
   background: var(--primary);
   color: #fff;
}

a {
   text-decoration: none;
   color: inherit;
   transition: var(--transition-fast);
}

ul {
   list-style: none;
}

img {
   max-width: 100%;
   height: auto;
   display: block;
}

button,
input,
select,
textarea {
   font-family: inherit;
}

button {
   cursor: pointer;
   border: none;
   background: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
   font-weight: 700;
   line-height: 1.15;
   color: var(--text-dark);
}

.font-accent {
   font-family: var(--font-accent);
   font-weight: 600;
   font-style: italic;
   color: var(--primary);
}

.section-title {
   font-size: clamp(2.5rem, 5vw, 4rem);
   margin-bottom: 1.2rem;
   text-align: center;
   letter-spacing: -1px;
}

.section-subtitle {
   font-size: 1.15rem;
   color: var(--text-muted);
   text-align: center;
   max-width: 650px;
   margin: 0 auto 4rem auto;
   font-weight: 400;
}

/* Layout Utility */
.container {
   width: 100%;
   max-width: 1250px;
   margin: 0 auto;
   padding: 0 2rem;
}

.section-padding {
   padding: 8rem 0;
   position: relative;
}

.relative {
   position: relative;
}

/* ==========================================================================
   Strict Global Header 
   ========================================================================== */
.site-header {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   height: var(--nav-height);
   background: var(--bg-header-footer);
   z-index: 1000;
   transition: var(--transition-fast);
}

.site-header.scrolled {
   height: 75px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 100%;
}

.logo-wrapper img {
   height: 90px;
   filter: invert(1);
}

.main-nav ul {
   display: flex;
   gap: 2.5rem;
}

.main-nav a {
   font-size: 1rem;
   font-weight: 500;
   color: var(--text-light);
   position: relative;
   padding: 0.5rem 0;
   transition: var(--transition-fast);
}

.main-nav a::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--primary);
   transition: var(--transition-fast);
   border-radius: 2px;
}

.main-nav a:hover::after {
   width: 100%;
}

.main-nav a:hover {
   color: var(--primary);
}

/* Soft Pill Button */
.header-cta {
   background: var(--primary);
   color: #fff;
   padding: 0.8rem 2rem;
   border-radius: 50px;
   font-weight: 600;
   box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
   transition: var(--transition-fast);
}

.header-cta:hover {
   background: var(--primary-hover);
   transform: translateY(-3px);
   box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.mobile-toggle {
   display: none;
   flex-direction: column;
   gap: 6px;
   width: 35px;
   cursor: pointer;
   z-index: 1001;
}

.mobile-toggle span {
   display: block;
   height: 3px;
   width: 100%;
   background: #fff;
   border-radius: 3px;
}

/* ==========================================================================
   Hero Section & Organic Floating Blobs
   ========================================================================== */
.hero-section {
   min-height: 100vh;
   display: flex;
   align-items: center;
   position: relative;
   padding-top: var(--nav-height);
   overflow: hidden;
}

/* Organic CSS Blobs */
.blob {
   position: absolute;
   filter: blur(30px);
   z-index: 0;
   opacity: 0.6;
   animation: floatBlob 10s ease-in-out infinite alternate;
}

.blob-1 {
   top: 10%;
   right: 5%;
   width: 400px;
   height: 400px;
   background: rgba(255, 107, 53, 0.3);
   border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-2 {
   bottom: 10%;
   left: -5%;
   width: 500px;
   height: 500px;
   background: rgba(46, 196, 182, 0.2);
   border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
   animation-delay: -5s;
}

@keyframes floatBlob {
   0% {
      transform: translateY(0) scale(1) rotate(0deg);
   }

   100% {
      transform: translateY(-50px) scale(1.1) rotate(20deg);
   }
}

.hero-grid {
   display: grid;
   grid-template-columns: 1fr;
   text-align: center;
   z-index: 1;
   position: relative;
}

.hero-content h1 {
   font-size: clamp(3.5rem, 7vw, 5.5rem);
   margin-bottom: 1.5rem;
}

.hero-content p {
   font-size: 1.25rem;
   font-weight: 400;
   color: var(--text-muted);
   max-width: 600px;
   margin: 0 auto 3rem auto;
   line-height: 1.8;
}

.hero-buttons {
   display: flex;
   gap: 1.5rem;
   justify-content: center;
}

.btn-primary {
   background: var(--primary);
   color: #fff;
   padding: 1.2rem 3rem;
   border-radius: 50px;
   font-size: 1.1rem;
   font-weight: 600;
   box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
   transition: var(--transition-fast);
   display: inline-flex;
   align-items: center;
   gap: 10px;
}

.btn-primary:hover {
   transform: translateY(-4px);
   box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
   background: var(--bg-surface);
   color: var(--text-dark);
   padding: 1.2rem 3rem;
   border-radius: 50px;
   font-size: 1.1rem;
   font-weight: 600;
   box-shadow: var(--clay-shadow);
   transition: var(--transition-fast);
}

.btn-secondary:hover {
   transform: translateY(-4px);
   color: var(--primary);
}

/* ==========================================================================
   Logo Ticker / Trust
   ========================================================================== */
.ticker-section {
   padding: 3rem 0;
   background: var(--bg-surface);
   border-top: 2px solid rgba(0, 0, 0, 0.03);
   border-bottom: 2px solid rgba(0, 0, 0, 0.03);
   overflow: hidden;
}

.ticker-wrap {
   display: flex;
   width: 200%;
   animation: tickerMove 20s linear infinite;
}

.ticker-item {
   flex: 1;
   text-align: center;
   font-size: 1.2rem;
   font-weight: 700;
   color: var(--text-muted);
   opacity: 0.5;
   text-transform: uppercase;
   letter-spacing: 2px;
}

@keyframes tickerMove {
   0% {
      transform: translateX(0);
   }

   100% {
      transform: translateX(-50%);
   }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
   background: var(--bg-light);
}

.about-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 5rem;
   align-items: center;
}

.about-text h2 {
   text-align: left;
}

.about-text p {
   font-size: 1.1rem;
   color: var(--text-muted);
   margin-bottom: 2rem;
}

.stats-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
}

.stat-box {
   background: var(--bg-surface);
   border-radius: var(--border-radius-lg);
   padding: 2.5rem;
   text-align: center;
   box-shadow: var(--clay-shadow);
   transition: var(--transition-fast);
}

.stat-box:hover {
   transform: translateY(-10px);
}

.stat-num {
   font-size: 3.5rem;
   font-weight: 800;
   color: var(--primary);
   line-height: 1;
   margin-bottom: 0.5rem;
}

.stat-label {
   font-size: 1rem;
   font-weight: 500;
   color: var(--text-dark);
}

/* ==========================================================================
   Services Section (Claymorphism Cards)
   ========================================================================== */
.services-section {
   background: var(--bg-surface);
   border-radius: 40px;
   margin: 0 2rem;
   padding: 6rem 0;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.services-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 3rem;
}

.service-card {
   background: var(--bg-light);
   border-radius: var(--border-radius-lg);
   padding: 3rem 2rem;
   box-shadow: var(--clay-shadow);
   transition: var(--transition-fast);
   position: relative;
   overflow: hidden;
}

.service-card::after {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: var(--border-radius-lg);
   box-shadow: var(--clay-inset);
   pointer-events: none;
}

.service-card:hover {
   transform: translateY(-10px);
   background: #fff;
}

.srv-icon {
   width: 70px;
   height: 70px;
   background: var(--secondary);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #fff;
   margin-bottom: 2rem;
   box-shadow: 0 10px 20px rgba(46, 196, 182, 0.3);
}

.service-card:nth-child(even) .srv-icon {
   background: var(--primary);
   box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.service-card h3 {
   font-size: 1.5rem;
   margin-bottom: 1rem;
}

.service-card p {
   color: var(--text-muted);
   font-size: 1rem;
}

/* ==========================================================================
   Industry Specific
   ========================================================================== */
.industry-section {
   background: var(--bg-light);
}

.ind-flex {
   display: flex;
   flex-wrap: wrap;
   gap: 1.5rem;
   justify-content: center;
}

.ind-pill {
   background: var(--bg-surface);
   padding: 1.5rem 3rem;
   border-radius: 50px;
   font-size: 1.2rem;
   font-weight: 600;
   color: var(--text-dark);
   box-shadow: var(--clay-shadow);
   transition: var(--transition-fast);
   cursor: default;
}

.ind-pill:hover {
   background: var(--primary);
   color: #fff;
   transform: translateY(-5px);
}

/* ==========================================================================
   Interactive ROI Calculator
   ========================================================================== */
.calc-section {
   background: var(--bg-light);
   position: relative;
}

.calc-box {
   background: var(--bg-surface);
   border-radius: 40px;
   padding: 5rem;
   max-width: 900px;
   margin: 0 auto;
   box-shadow: var(--clay-shadow);
   position: relative;
}

.calc-row {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
   margin-bottom: 2.5rem;
}

.calc-group {
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.calc-group label {
   font-size: 1rem;
   font-weight: 600;
   color: var(--text-dark);
}

.calc-input {
   background: var(--bg-light);
   border: none;
   border-radius: var(--border-radius-sm);
   padding: 1.5rem;
   font-size: 1.1rem;
   color: var(--text-dark);
   font-family: var(--font-main);
   box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.05), inset -4px -4px 8px #fff;
   outline: none;
   transition: var(--transition-fast);
}

.calc-input:focus {
   box-shadow: inset 4px 4px 8px rgba(255, 107, 53, 0.1), inset -4px -4px 8px #fff;
   border: 1px solid var(--primary);
}

.calc-result {
   text-align: center;
   margin-top: 3rem;
   padding-top: 3rem;
   border-top: 2px solid rgba(0, 0, 0, 0.03);
}

.res-val {
   font-size: 5rem;
   font-weight: 800;
   color: var(--secondary);
   line-height: 1;
   margin: 1rem 0;
   letter-spacing: -2px;
}

/* ==========================================================================
   Sample Campaign Reports
   ========================================================================== */
.reports-section {
   background: var(--bg-light);
}

.chart-container {
   background: var(--bg-surface);
   border-radius: var(--border-radius-lg);
   height: 450px;
   padding: 4rem;
   box-shadow: var(--clay-shadow);
   display: flex;
   align-items: flex-end;
   justify-content: space-around;
   gap: 20px;
}

.c-bar {
   width: 60px;
   background: var(--bg-light);
   border-radius: 20px 20px 0 0;
   position: relative;
   box-shadow: var(--clay-inset);
   animation: barUp 2s ease-out forwards;
   transform-origin: bottom;
   opacity: 0;
}

.c-bar::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(to top, var(--primary), var(--accent));
   border-radius: 20px 20px 0 0;
   opacity: 0.8;
}

.c-bar:nth-child(1) {
   height: 30%;
   animation-delay: 0.1s;
}

.c-bar:nth-child(2) {
   height: 50%;
   animation-delay: 0.2s;
}

.c-bar:nth-child(3) {
   height: 70%;
   animation-delay: 0.3s;
}

.c-bar:nth-child(4) {
   height: 100%;
   animation-delay: 0.4s;
}

@keyframes barUp {
   0% {
      transform: scaleY(0);
      opacity: 0;
   }

   100% {
      transform: scaleY(1);
      opacity: 1;
   }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-section {
   background: var(--bg-surface);
   border-radius: 40px;
   margin: 0 2rem;
   padding: 6rem 0;
   box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.test-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
   gap: 3rem;
}

.test-card {
   background: var(--bg-light);
   border-radius: var(--border-radius-lg);
   padding: 3rem;
   box-shadow: var(--clay-shadow);
   position: relative;
}

.test-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   border-radius: var(--border-radius-lg);
   box-shadow: var(--clay-inset);
   pointer-events: none;
}

.test-quote {
   font-family: var(--font-accent);
   font-size: 1.4rem;
   color: var(--text-dark);
   font-style: italic;
   margin-bottom: 2rem;
}

.test-author {
   display: flex;
   align-items: center;
   gap: 1rem;
}

.t-avatar {
   width: 50px;
   height: 50px;
   border-radius: 50%;
   background: var(--secondary);
   box-shadow: 0 5px 15px rgba(46, 196, 182, 0.3);
}

.t-info h4 {
   font-size: 1.1rem;
}

.t-info span {
   font-size: 0.9rem;
   color: var(--text-muted);
}

/* ==========================================================================
   Contact Area
   ========================================================================== */
.contact-section {
   background: var(--bg-light);
}

.contact-grid {
   display: grid;
   grid-template-columns: 1fr 1.2fr;
   gap: 5rem;
}

.c-text h2 {
   font-size: 3.5rem;
   margin-bottom: 2rem;
}

.c-item {
   display: flex;
   align-items: center;
   gap: 1.5rem;
   margin-bottom: 2rem;
}

.c-icon {
   width: 60px;
   height: 60px;
   background: var(--bg-surface);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: var(--clay-shadow);
   color: var(--primary);
   font-size: 1.2rem;
}

.c-info strong {
   display: block;
   font-size: 1.1rem;
   margin-bottom: 0.2rem;
}

.c-info span {
   color: var(--text-muted);
}

.contact-form {
   background: var(--bg-surface);
   border-radius: var(--border-radius-lg);
   padding: 4rem;
   box-shadow: var(--clay-shadow);
}

.c-form-group {
   margin-bottom: 1.5rem;
}

.c-form-input {
   width: 100%;
   background: var(--bg-light);
   border: none;
   border-radius: var(--border-radius-sm);
   padding: 1.2rem;
   font-size: 1rem;
   color: var(--text-dark);
   font-family: var(--font-main);
   box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.05), inset -3px -3px 6px #fff;
   outline: none;
   transition: var(--transition-fast);
}

.c-form-input:focus {
   box-shadow: inset 3px 3px 6px rgba(255, 107, 53, 0.1), inset -3px -3px 6px #fff;
}

textarea.c-form-input {
   resize: vertical;
   height: 150px;
}

.btn-submit {
   width: 100%;
   justify-content: center;
   padding: 1.5rem;
   font-size: 1.1rem;
}

/* ==========================================================================
   Strict Global Footer (Deep Forest Black)
   ========================================================================== */
.site-footer {
   background: var(--bg-header-footer);
   color: var(--text-light);
   padding: 6rem 0 2rem;
   margin-top: 4rem;
}

.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr 1.5fr;
   gap: 4rem;
   margin-bottom: 4rem;
}

.f-logo img {
   height: 90px;
   filter: invert(1);
   margin-bottom: 1.5rem;
}

.f-logo p {
   color: #a1b0ab;
   font-size: 1rem;
   max-width: 320px;
   line-height: 1.7;
}

.f-col h4 {
   font-size: 1.2rem;
   margin-bottom: 1.5rem;
   color: #fff;
}

.f-col ul li {
   margin-bottom: 0.8rem;
}

.f-col a {
   color: #a1b0ab;
   transition: var(--transition-fast);
}

.f-col a:hover {
   color: var(--primary);
   padding-left: 5px;
}

.f-bottom {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-top: 2rem;
   border-top: 1px solid rgba(255, 255, 255, 0.05);
   color: #a1b0ab;
   font-size: 0.9rem;
}

.f-legal {
   display: flex;
   gap: 2rem;
}

.f-legal a:hover {
   color: #fff;
}

/* ==========================================================================
   Interactive Live Chat Widget
   ========================================================================== */
.chat-widget {
   position: fixed;
   bottom: 30px;
   right: 30px;
   z-index: 999;
}

.chat-btn {
   width: 65px;
   height: 65px;
   border-radius: 50%;
   background: var(--primary);
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
   transition: var(--transition-fast);
   color: #fff;
}

.chat-btn:hover {
   transform: scale(1.05);
   background: var(--primary-hover);
}

.chat-box {
   position: absolute;
   bottom: 85px;
   right: 0;
   width: 340px;
   background: var(--bg-surface);
   border-radius: var(--border-radius-lg);
   box-shadow: var(--clay-shadow);
   opacity: 0;
   visibility: hidden;
   transform: translateY(20px);
   transition: var(--transition-fast);
   overflow: hidden;
}

.chat-widget.active .chat-box {
   opacity: 1;
   visibility: visible;
   transform: translateY(0);
}

.chat-head {
   background: var(--primary);
   padding: 1.5rem;
   display: flex;
   justify-content: space-between;
   align-items: center;
   color: #fff;
   font-weight: 600;
}

.chat-body {
   padding: 1.5rem;
   height: 250px;
   overflow-y: auto;
   background: var(--bg-light);
   display: flex;
   flex-direction: column;
   gap: 1rem;
}

.chat-msg {
   background: #fff;
   padding: 1rem;
   border-radius: 12px;
   font-size: 0.9rem;
   max-width: 85%;
   align-self: flex-start;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-input {
   display: flex;
   padding: 1rem;
   background: #fff;
   border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-input input {
   flex: 1;
   background: transparent;
   border: none;
   outline: none;
   font-family: var(--font-main);
}

.chat-input button {
   color: var(--primary);
   font-weight: 700;
   text-transform: uppercase;
   font-size: 0.85rem;
}

/* ==========================================================================
   Static Legal Pages Typography
   ========================================================================== */
.page-header {
   padding: 12rem 0 6rem;
   text-align: center;
   background: var(--bg-surface);
   border-radius: 0 0 40px 40px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.page-content {
   max-width: 850px;
   margin: 0 auto;
   padding: 5rem 2rem;
}

.prose {
   color: var(--text-muted);
   font-size: 1.1rem;
   line-height: 1.8;
}

.prose h2 {
   font-size: 2.2rem;
   color: var(--text-dark);
   margin: 3rem 0 1.5rem;
}

.prose p {
   margin-bottom: 1.5rem;
}

.prose ul {
   padding-left: 2rem;
   margin-bottom: 1.5rem;
}

.prose li {
   margin-bottom: 0.5rem;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.reveal {
   opacity: 0;
   transform: translateY(40px);
   transition: 0.8s cubic-bezier(0.25, 1, 0.25, 1);
}

.reveal.active {
   opacity: 1;
   transform: translateY(0);
}

@media (max-width: 1024px) {

   .about-grid,
   .contact-grid {
      grid-template-columns: 1fr;
      gap: 4rem;
   }

   .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
   }

   .hero-content h1 {
      font-size: 4rem;
   }
}

@media (max-width: 768px) {

   .main-nav,
   .header-cta {
      display: none;
   }

   .mobile-toggle {
      display: flex;
   }

   .calc-row {
      grid-template-columns: 1fr;
   }

   .services-section,
   .testimonial-section {
      margin: 0;
      border-radius: 0;
   }

   .footer-grid {
      grid-template-columns: 1fr;
   }

   .f-bottom {
      flex-direction: column;
      gap: 1.5rem;
      text-align: center;
   }
}