/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Brand Colors - "Creative Growth" Palette */
    --color-bg: #FAFAFA;
    --color-surface: #FFFFFF;
    --color-text-main: #1D1D1F;
    --color-text-light: #6E6E73;

    --grad-1: #FF9F0A;
    /* Orange */
    --grad-2: #FF375F;
    /* Pink */
    --grad-3: #BF5AF2;
    /* Purple */
    --grad-main: linear-gradient(135deg, var(--grad-1), var(--grad-2), var(--grad-3));

    --primary: #FF375F;
    --accent: #5E5CE6;

    /* Layout */
    --max-width: 1300px;
    --header-height: 80px;
    --border-radius-lg: 30px;
    --border-radius-sm: 12px;

    /* Animation */
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /* Clean, Classic */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #000;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ==========================================================================
   2. UTILITIES & ANIMATIONS
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

.relative {
    position: relative;
}

.text-center {
    text-align: center;
}

/* Gradient Text */
.text-gradient {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Blob Backgrounds */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: blob-bounce 10s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--grad-1);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-2 {
    bottom: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--grad-3);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

@keyframes blob-bounce {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(20deg);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s var(--ease-elastic);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: #000;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-main);
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: invert(1) brightness(0);
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--grad-main);
    transition: 0.3s var(--ease-smooth);
}

nav a:hover::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    margin-bottom: 2rem;
    line-height: 1.05;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.hero-visual {
    position: relative;
}

.visual-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    transition: 0.5s var(--ease-smooth);
    position: relative;
    z-index: 2;
}

.visual-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.floating-badge {
    position: absolute;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.badge-1 {
    top: -20px;
    left: -20px;
    background: var(--grad-1);
}

.badge-2 {
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   5. MARQUEE (Infinite Scroll)
   ========================================================================== */
.marquee-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    display: inline-block;
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px #e0e0e0;
    margin: 0 40px;
    text-transform: uppercase;
    transition: 0.3s;
}

.marquee-item:hover {
    color: #000;
    -webkit-text-stroke: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   6. SERVICES (Sticky Tabs Layout)
   ========================================================================== */
.services-wrapper {
    display: flex;
    gap: 50px;
    position: relative;
}

.services-nav {
    flex: 0 0 300px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.service-tab-btn {
    display: block;
    width: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: var(--border-radius-sm);
    text-align: left;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.service-tab-btn.active {
    background: #000;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.services-content {
    flex: 1;
}

.service-panel {
    background: #fff;
    padding: 60px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: none;
    /* JS handles visibility */
    animation: slideUp 0.5s ease;
}

.service-panel.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-panel h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   7. INTERACTIVE SIMULATOR (Reach Estimator)
   ========================================================================== */
.simulator-section {
    background: #111;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.simulator-section h2,
.simulator-section p {
    color: #fff;
}

.sim-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    margin-top: 40px;
}

.sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.sim-controls label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
}

.slider-group {
    margin-bottom: 30px;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #333;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: var(--grad-1);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.sim-visual {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    position: relative;
}

.sim-bar {
    width: 60px;
    background: var(--grad-main);
    border-radius: 10px 10px 0 0;
    transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.sim-bar span {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 0.9rem;
}

.total-reach {
    text-align: center;
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 800;
}

/* ==========================================================================
   8. TESTIMONIALS (Scroll Snap)
   ========================================================================== */
.testimonials-scroller {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 50px;
    scroll-snap-type: x mandatory;
}

.testimonials-scroller::-webkit-scrollbar {
    height: 8px;
}

.testimonials-scroller::-webkit-scrollbar-track {
    background: #eee;
}

.testimonials-scroller::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 4px;
}

.testi-card {
    min-width: 400px;
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid #f0f0f0;
    scroll-snap-align: center;
    transition: 0.3s;
}

.testi-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer {
    background: #fff;
    padding-top: 80px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   10. LEGAL & CONTACT PAGES
   ========================================================================== */
.page-header {
    background: #f0f0f0;
    padding: 180px 0 80px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.legal-body {
    background: #fff;
    padding: 60px;
    margin-top: -50px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.legal-body h2 {
    margin-top: 30px;
    font-size: 1.8rem;
}

.legal-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Contact Specific */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    background: #fff;
    border-color: #000;
    outline: none;
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .services-wrapper {
        flex-direction: column;
    }

    .services-nav {
        width: 100%;
        position: static;
        display: flex;
        overflow-x: auto;
        gap: 10px;
    }

    .service-tab-btn {
        width: auto;
        white-space: nowrap;
    }

    .sim-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .testi-card {
        min-width: 90%;
    }
}