/* ========================================
   THE MARKETING HUB - MAIN STYLES
   ======================================== */

/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fafbff;
    color: #1a1a2e;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- GRADIENT TEXT ----- */
.gradient-text {
    background: linear-gradient(135deg, #6c63ff, #8b5cf6, #6c63ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ----- SECTION HEADER ----- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6c63ff;
    background: rgba(108, 99, 255, 0.08);
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-header p {
    color: #666;
    max-width: 550px;
    margin: 12px auto 0;
    font-size: 1.05rem;
}

/* ----- BUTTONS ----- */
.btn-primary {
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.35);
}

.btn-ghost {
    color: #1a1a2e;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(108, 99, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
}

.btn-ghost:hover {
    border-color: #6c63ff;
    background: rgba(108, 99, 255, 0.04);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    inset: 0;
    background: #fafbff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transition: opacity 0.6s ease;
}

#preloader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-ring {
    display: inline-block;
    position: relative;
    width: 60px;
    height: 60px;
}

.loader-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 48px;
    height: 48px;
    margin: 6px;
    border: 4px solid #6c63ff;
    border-radius: 50%;
    animation: ringSpin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #6c63ff transparent transparent transparent;
}

.loader-ring div:nth-child(1) { animation-delay: -0.45s; }
.loader-ring div:nth-child(2) { animation-delay: -0.3s; }
.loader-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#preloader p {
    font-weight: 600;
    color: #6c63ff;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(250, 251, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(108, 99, 255, 0.06);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: #6c63ff;
    font-size: 1.6rem;
}

.logo span {
    color: #6c63ff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-weight: 500;
    color: #1a1a2e;
    transition: 0.3s;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: #6c63ff;
    transition: 0.3s;
    border-radius: 4px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #6c63ff;
}

.nav-cta {
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    padding: 10px 28px;
    border-radius: 50px;
    color: #fff !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: scale(1.04);
    color: #fff !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 2.5px;
    background: #1a1a2e;
    border-radius: 4px;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fafbff 0%, #f0f1ff 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #6c63ff;
    top: -200px;
    right: -200px;
    animation: floatShape 10s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    bottom: -100px;
    left: -150px;
    animation: floatShape 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #3b82f6;
    top: 40%;
    left: 60%;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: #6c63ff;
    bottom: 20%;
    right: 10%;
    animation: floatShape 14s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(108, 99, 255, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c63ff;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #fbbf24;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.trust-item i {
    color: #6c63ff;
}

/* Hero Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 60px rgba(108, 99, 255, 0.06);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.06);
    margin-bottom: 16px;
}

.hero-card-dots {
    display: flex;
    gap: 6px;
}

.hero-card-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.hero-card-dots span:nth-child(1) { background: #f87171; }
.hero-card-dots span:nth-child(2) { background: #fbbf24; }
.hero-card-dots span:nth-child(3) { background: #34d399; }

.hero-card-header span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

.chart-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 160px;
    gap: 12px;
    margin-bottom: 20px;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, #6c63ff, #8b5cf6);
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 20px;
    transition: 0.5s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.bar span {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
    writing-mode: vertical-lr;
    letter-spacing: 1px;
}

.hero-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(108, 99, 255, 0.06);
}

.hero-card-stats div {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: #6c63ff;
}

/* ========================================
   CLIENTS
   ======================================== */
.clients {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid rgba(108, 99, 255, 0.04);
    border-bottom: 1px solid rgba(108, 99, 255, 0.04);
}

.clients-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.clients-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.client-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
    transition: 0.3s;
}

.client-logo i {
    font-size: 1.3rem;
    color: #6c63ff;
}

.client-logo:hover {
    opacity: 1;
    color: #1a1a2e;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
    padding: 100px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: #fafbff;
    border: 1px solid rgba(108, 99, 255, 0.04);
    padding: 32px 28px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(108, 99, 255, 0.12);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.04);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #6c63ff;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-link {
    color: #6c63ff;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 100px 0;
    background: #fafbff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    border-radius: 30px;
    padding: 40px;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.about-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 16px;
}

.about-stat span {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
}

.about-stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 4px;
}

.about-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.about-content > p {
    color: #555;
    margin-bottom: 28px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature i {
    color: #6c63ff;
    font-size: 1.2rem;
    margin-top: 2px;
}

.about-feature h4 {
    font-size: 1rem;
}

.about-feature p {
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
    padding: 100px 0;
    background: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.portfolio-item {
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fafbff;
    border: 1px solid rgba(108, 99, 255, 0.04);
    cursor: pointer;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(108, 99, 255, 0.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(108, 99, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    padding: 24px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: #fff;
}

.portfolio-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 12px;
}

.portfolio-info i {
    font-size: 1.4rem;
    opacity: 0.6;
    transition: 0.3s;
}

.portfolio-item:hover .portfolio-info i {
    opacity: 1;
    transform: translateX(4px);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: #fafbff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(108, 99, 255, 0.04);
    border-radius: 20px;
    padding: 32px 28px;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(108, 99, 255, 0.1);
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.04);
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: #1a1a2e;
    font-style: italic;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial-card .client {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card .client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-card .client-info h4 {
    font-size: 0.95rem;
}

.testimonial-card .client-info span {
    font-size: 0.8rem;
    color: #888;
}

/* ========================================
   BLOG
   ======================================== */
.blog {
    padding: 100px 0;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fafbff;
    border: 1px solid rgba(108, 99, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 99, 255, 0.1);
    box-shadow: 0 12px 28px rgba(108, 99, 255, 0.04);
}

.blog-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6c63ff;
}

.blog-content {
    padding: 24px;
}

.blog-date {
    font-size: 0.75rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h4 {
    font-size: 1.1rem;
    margin: 6px 0 8px;
}

.blog-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.blog-link {
    color: #6c63ff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.blog-link:hover {
    gap: 6px;
}

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafbff, #f0f1ff);
}

.cta-container {
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    color: #555;
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-info > p {
    color: #555;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-item i {
    width: 44px;
    height: 44px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c63ff;
    font-size: 1.1rem;
}

.contact-item h4 {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.contact-item p {
    font-weight: 600;
}

.contact-social {
    display: flex;
    gap: 12px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(108, 99, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: 0.3s;
}

.contact-social a:hover {
    border-color: #6c63ff;
    color: #6c63ff;
    background: rgba(108, 99, 255, 0.04);
    transform: translateY(-3px);
}

.contact-form {
    background: #fafbff;
    border: 1px solid rgba(108, 99, 255, 0.04);
    border-radius: 24px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid rgba(108, 99, 255, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    color: #1a1a2e;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.04);
}

.form-group select option {
    background: #fff;
    color: #1a1a2e;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #0a0a1a;
    color: #aabbcc;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand .logo {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.footer-brand > p {
    color: #7a8b9e;
    max-width: 300px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a8b9e;
    transition: 0.3s;
}

.footer-social a:hover {
    border-color: #6c63ff;
    color: #6c63ff;
    background: rgba(108, 99, 255, 0.04);
}

.footer-links h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 5px 0;
    color: #7a8b9e;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #6c63ff;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    color: #4a5b6e;
    font-size: 0.9rem;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c63ff, #8b5cf6);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.05);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card {
        max-width: 100%;
    }

    .about-image {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 16px;
        border-left: 1px solid rgba(108, 99, 255, 0.04);
        transition: 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.04);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
    }

    .about-stat {
        padding: 16px 12px;
    }

    .about-stat span {
        font-size: 1.8rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .clients-grid {
        gap: 16px;
    }

    .client-logo {
        font-size: 0.9rem;
    }

    .hero-trust {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-card {
        padding: 20px;
    }

    .chart-bar {
        height: 120px;
        gap: 8px;
    }

    .hero-card-stats {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
    }

    .stat-value {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .contact-info h2 {
        font-size: 1.8rem;
    }
}