/* --- Variables & Reset --- */
:root {
    /* Colors */
    --bg-color: #F7F9FC;
    --bg-gradient: linear-gradient(135deg, #FDFBF7 0%, #F0F4F8 100%);
    --text-main: #2D3436;
    --text-muted: #636E72;
    --primary-color: #2D3436;
    --accent-color: #FF8E8E;
    /* Soft Coral */
    --accent-hover: #FF7676;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.08);

    /* Spacing & Radius */
    --container-width: 1200px;
    --radius-lg: 32px;
    --radius-md: 24px;
    --radius-sm: 12px;
    --spacing-section: 80px;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 142, 142, 0.1);
    color: var(--accent-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.badge-small {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 11px 27px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 142, 142, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 142, 142, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 48px;
    font-size: 1.1rem;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0 10px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo .dot {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero {
    padding-top: 130px;
    padding-bottom: 40px;
    position: relative;
    overflow: visible;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    font-weight: 700;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
}

.avatar:first-child {
    margin-left: 0;
}

.trust-badge span {
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.item-1 {
    top: 20%;
    left: 10%;
    animation: float 5s ease-in-out infinite;
}

.item-2 {
    bottom: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite 1s;
}

.item-3 {
    top: 15%;
    right: 15%;
    animation: float 7s ease-in-out infinite 2s;
}

.glass-card-mini {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- Marquee --- */
.marquee-strip {
    background: white;
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 0;
}

.marquee-strip.reverse .marquee-content {
    animation-direction: reverse;
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 32px;
}

.separator {
    color: var(--accent-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Features --- */
.section {
    padding: var(--spacing-section) 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 32px;
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: white;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Services --- */
.services {
    position: relative;
    background: #fff;
    padding: 100px 0;
}

.wave-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-gradient);
    clip-path: ellipse(70% 100% at 50% 0%);
}

.wave-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background: var(--bg-gradient);
    clip-path: ellipse(70% 100% at 50% 100%);
    transform: rotate(180deg);
}

.row {
    display: flex;
    gap: 80px;
}

.col-half {
    flex: 1;
}

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

.service-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.glass-card-row {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.glass-card-row:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateX(10px);
}

.service-icon-small {
    font-size: 2rem;
    background: #F0F4F8;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-details h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.service-details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.visual-col {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.shapes-img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
}

/* --- Process --- */
.process {
    padding-top: 100px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 2px;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-number {
    width: 100px;
    height: 100px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    box-shadow: var(--shadow-soft);
    z-index: 2;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
}

/* --- Work --- */
.work-grid-mixed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 32px;
}

.work-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.work-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.work-item.tall {
    grid-column: span 1;
    grid-row: span 2;
}

.work-item.medium {
    grid-column: span 1;
    grid-row: span 1;
}

.work-item.medium-1 {
    grid-column: span 2;
    grid-row: span 1;
}

.work-image {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.placeholder-gradient-1 {
    background: linear-gradient(45deg, #FF9A9E 0%, #FECFEF 99%, #FECFEF 100%);
}

.placeholder-gradient-2 {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}

.placeholder-gradient-3 {
    background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

.work-item:hover .work-image {
    transform: scale(1.08);
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.work-item:hover .work-info {
    opacity: 1;
    transform: translateY(0);
}

/* --- FAQ --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.faq-item {
    text-align: left;
}

.faq-item h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

/* --- Testimonials --- */
.testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px;
}

.quote-icon {
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 32px;
}

.quote-text {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 48px;
    font-style: italic;
    line-height: 1.4;
}

/* --- CTA --- */
.cta-box {
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-lg);
    padding: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 4rem;
    margin-bottom: 24px;
}

/* --- Footer --- */
.footer {
    padding: 100px 0 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- Ambient Blobs --- */
.ambient-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.blob-1 {
    width: 800px;
    height: 800px;
    background: #E0F7FA;
    top: -300px;
    left: -200px;
    animation: blob-move 25s infinite alternate;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #F3E5F5;
    bottom: -200px;
    right: -200px;
    animation: blob-move 30s infinite alternate-reverse;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #FFEBEE;
    top: 30%;
    left: 30%;
    animation: blob-move 20s infinite alternate;
}

.blob-4 {
    width: 500px;
    height: 500px;
    background: #FFF9C4;
    bottom: 10%;
    left: 10%;
    animation: blob-move 28s infinite alternate-reverse;
}

@keyframes blob-move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 60px) scale(1.15);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-badge {
        justify-content: center;
    }

    .row {
        flex-direction: column;
        gap: 40px;
    }

    .visual-card {
        height: 300px;
    }

    .work-grid-mixed {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .work-item.large,
    .work-item.tall,
    .work-item.medium {
        grid-column: auto;
        grid-row: auto;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
}

/* --- Robot Pop-out Fixes --- */
.hero-visual {
    flex: 1;
    position: relative;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.robot-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -5%;
}

.hero-robot {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    z-index: 2;
    mix-blend-mode: multiply;
}

.float-item {
    position: absolute;
    z-index: 10;
    padding: 12px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
}

/* --- CTA Redesign --- */
.cta-box {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    color: var(--text-main) !important;
    border: 1px solid white !important;
    box-shadow: 0 20px 60px rgba(174, 198, 207, 0.2), inset 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
}

.cta-box h2 {
    color: var(--text-main) !important;
    letter-spacing: -1px;
}

.cta-box p {
    color: var(--text-muted) !important;
    font-size: 1.2rem;
    margin: 20px 0;
}

.cta-box .highlight {
    background: linear-gradient(120deg, #FFD1DC 0%, #FF8E8E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Decorative background for CTA */
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 209, 220, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(30deg);
    pointer-events: none;
}

/* --- Footer Fixes --- */


.footer {
    background-color: var(--bg-color) !important;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;

}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.link-group a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}


/* --- Alternating Backgrounds --- */
section:nth-of-type(odd) {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

.bg-transparent {
    background-color: transparent;
}


/* --- Background Utilities --- */
.bg-white {
    background-color: #ffffff !important;
}

.bg-transparent {
    background-color: transparent !important;
}