/* --- RESET & GLOBAL VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b37eb;
    --primary-light: #eef2ff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --accent-teal: #06b6d4;
    --accent-green: #22c55e;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --border-color: #e2e8f0;
    --border-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    display: block;
}

.text-center { text-align: center; }

/* --- BUTTONS & BADGES --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2a27c9;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
}

.badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    display: inline-block;
    margin-bottom: 16px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.section-tag.style-white {
    color: #a5b4fc;
}

/* --- NAVBAR --- */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.logo-b {
    background: var(--primary-color);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.nav-links i {
    font-size: 0.75rem;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 80px 0;
    background: radial-gradient(circle at 90% 10%, #f5f3ff 0%, #ffffff 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 24px;
}

.text-gradient {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.hero-features i {
    color: var(--primary-color);
    margin-right: 4px;
}

/* Hero Dashboard Graphic Mockup */
.hero-graphic {
    position: relative;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--border-color);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dash-dropdown {
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    color: var(--text-muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-box {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 8px;
}

.stat-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin: 4px 0;
}

.stat-change {
    font-size: 0.7rem;
    font-weight: 600;
}

.stat-change.up { color: var(--accent-green); }

.chart-container {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.chart-legends {
    display: flex;
    gap: 12px;
}

.legend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot.traffic { background: #6366f1; }
.dot.leads { background: #22c55e; }
.dot.conv { background: #3b82f6; }

.mock-chart {
    position: relative;
    padding-top: 10px;
}

.chart-svg {
    width: 100%;
    height: auto;
}

.chart-dates {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.channels-box {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    width: 180px;
    border: 1px solid var(--border-color);
}

.channels-box h5 {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.channel-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 6px;
    color: var(--text-muted);
}

.client-logos {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0.6;
    font-weight: 600;
    font-size: 1.1rem;
    gap: 16px;
}

/* --- SERVICES SECTION --- */
.services-section {
    padding: 100px 0;
    background-color: var(--white);
}

.services-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    max-width: 600px;
    margin: 0 auto 16px;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card-icon-mock {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}
.purple-bg { background: #e0e7ff; color: #4f46e5; }
.teal-bg { background: #ccfbf1; color: #0d9488; }
.indigo-bg { background: #fae8ff; color: #c026d3; }

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.card-list {
    list-style: none;
    margin-bottom: 32px;
}

.card-list li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.card-list i {
    color: var(--primary-color);
    font-size: 1rem;
}

.card-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.teal-text { color: #0d9488; }
.indigo-text { color: #c026d3; }

/* --- WHY CHOOSE US SECTION --- */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.why-intro h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.why-intro p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.why-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.why-item {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.why-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.why-item h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.why-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- PROCESS SECTION --- */
.process-section {
    padding: 100px 0;
}

.process-section h2 {
    font-size: 2.25rem;
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Timeline link line element */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: dashed #cbd5e1;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 16px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 20px;
    background: var(--white);
    border: 3px solid #6366f1;
}
.circle-purple { border-color: #a855f7; color: #a855f7; }
.circle-blue { border-color: #3b82f6; color: #3b82f6; }
.circle-green { border-color: #22c55e; color: #22c55e; }
.circle-orange { border-color: #f97316; color: #f97316; }
.circle-pink { border-color: #ec4899; color: #ec4899; }

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* --- PORTFOLIO SECTION --- */
.portfolio-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.portfolio-header h2 {
    font-size: 2.25rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.project-image-mock {
    height: 280px;
    background-color: #cbd5e1;
    padding: 24px;
    position: relative;
}

/* Simulating custom gradient background representations from layout image */
.img-p1 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.img-p2 { background: linear-gradient(135deg, #0ea5e9, #22c55e); }
.img-p3 { background: linear-gradient(135deg, #f43f5e, #f97316); }
.img-p4 { background: linear-gradient(135deg, #475569, #0f172a); }

.proj-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-info {
    padding: 24px;
    position: relative;
}

.project-info h4 {
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-right: 40px;
}

.arrow-icon {
    position: absolute;
    right: 24px;
    bottom: 28px;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.project-card:hover .arrow-icon {
    transform: translateX(5px);
    color: var(--primary-color);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 100px 0;
    background-color: #0b0f19;
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
}

.testimonials-intro h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.rating-text {
    color: #94a3b8;
    font-size: 0.95rem;
}

.testimonials-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-card {
    background: #1e293b;
    padding: 32px;
    border-radius: var(--border-radius);
}

.testimonial-card p {
    font-size: 1.05rem;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.client-profile h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-profile span {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* --- INSIGHTS SECTION --- */
.insights-section {
    padding: 100px 0;
    position: relative;
}

.insights-section h2 {
    font-size: 2.25rem;
    margin-bottom: 40px;
}

.view-all-link {
    position: absolute;
    top: 110px;
    right: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.blog-img {
    height: 200px;
    background-color: #cbd5e1;
}
.mock-b1 { background: linear-gradient(to right bottom, #a5b4fc, #818cf8); }
.mock-b2 { background: linear-gradient(to right bottom, #99f6e4, #2dd4bf); }
.mock-b3 { background: linear-gradient(to right bottom, #fbcfe8, #f472b6); }

.blog-content {
    padding: 24px;
    position: relative;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-cat {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.blog-arrow {
    color: var(--text-muted);
}

/* --- CTA BANNER SECTION --- */
.cta-banner-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: var(--white);
    margin: 40px auto;
    border-radius: var(--border-radius);
    max-width: 1152px;
    position: relative;
    overflow: hidden;
}

.cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-left h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-left p {
    color: #c7d2fe;
}

.rocket-icon-mock {
    position: absolute;
    right: 25%;
    font-size: 3rem;
    opacity: 0.2;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #0b0f19;
    color: #94a3b8;
    padding: 80px 0 30px;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.white-logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    margin-bottom: 24px;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background: var(--primary-color);
}

.footer-links-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links-column a {
    display: block;
    margin-bottom: 12px;
}

.footer-links-column a:hover {
    color: var(--white);
}

.footer-links-column p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-links-column i {
    margin-top: 4px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}

.footer-bottom-links a {
    margin: 0 8px;
}

/* --- RESPONSIVE LAYOUT BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-grid, .why-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .services-grid, .insights-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .process-steps {
        flex-direction: column;
        gap: 32px;
    }
    .process-steps::before { display: none; }
    .hero-graphic { margin-top: 40px; }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn { display: none; }
    .services-grid, .portfolio-grid, .insights-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .hero-text h1 { font-size: 2.5rem; }
}