@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ————— GLOBAL RESET ————— */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background-color: #FFFFFF;
color: #111111;
font-family: "Inter", sans-serif;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
html { scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6 { color: #111111; margin: 0; }
a { text-decoration: none; color: inherit; }

/* ————— TYPOGRAPHY ————— */
.serif-text {
font-family: "Playfair Display", serif;
font-style: italic;
font-weight: 400;
}

.gradient-span {
background: linear-gradient(90deg, #7f5af0, #00e0ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: inline-block;
background-clip: text;
color: transparent;
}

.section-label {
font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
text-transform: uppercase; color: #888; margin-bottom: 16px; display: block;
}

.section-big-title {
font-size: 40px; font-weight: 500; line-height: 1.2; color: #111;
}

/* ————— NAVIGATION ————— */
.smart-navbar {
position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px); padding: 6px 8px; border-radius: 50px;
display: flex; align-items: center; gap: 20px;
border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 4px 20px rgba(0,0,0,0.08); z-index: 9999;
transition: all 0.3s ease;
}
.navbar { display: flex; align-items: center; gap: 20px; }
.profile { display: flex; align-items: center; gap: 10px; color: #000; font-weight: 600; white-space: nowrap; }
.avatar-wrapper { position: relative; width: 32px; height: 32px; flex-shrink: 0; }
.avatar-wrapper .avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.online-dot {
position: absolute; bottom: 0; right: 0; width: 10px; height: 10px;
background: #00ff84; border-radius: 50%; border: 2px solid #ffffff;
animation: pulseDot 5s infinite;
}
@keyframes pulseDot {
0% { box-shadow: 0 0 0 0 rgba(0, 255, 132, 0.7); }
70% { box-shadow: 0 0 0 6px rgba(0, 255, 132, 0); }
100% { box-shadow: 0 0 0 0 rgba(0, 255, 132, 0); }
}
.divider { width: 1px; height: 24px; background: rgba(0,0,0,0.1); }

.nav-talk-btn {
    background: #000000;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s ease;
    margin-left: 4px;
}

.nav-talk-btn:hover {
    background: #333333;
}

/* --- NAVIGATION ICONS CONTAINER --- */
nav { display: flex; align-items: center; gap: 12px; }

nav a { position: relative; display: inline-flex; padding: 8px; border-radius: 50%; transition: background 0.3s; }

/* --- ICON COLOR LOGIC --- */
nav a img {
width: 20px; height: 20px;
transition: all 0.3s ease;
opacity: 0.3;
}

nav a:hover img, nav a.active img {
opacity: 1;
}

nav a:hover::after {
content: attr(data-tooltip); position: absolute; top: 45px; left: 50%; transform: translateX(-50%);
background: #000; color: #fff; padding: 4px 10px; font-size: 12px; border-radius: 6px; white-space: nowrap;
}

/* ————— HERO ————— */
.introhero {
min-height: 100vh; max-width: 1250px; margin: 0 auto; padding: 0 24px;
display: flex; flex-direction: column; justify-content: center; position: relative;
}
.intro-content { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.intro-title { font-size: 76px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.15; color: #111; }
.intro-subtitle { font-size: 18px; color: #666; max-width: 540px; line-height: 1.6; }
.intro-subtitle strong { color: #000; font-weight: 600; }
.hero-subtitle strong{color: #000; font-weight: 600; }
.mask-wrap { overflow: hidden; display: block; }
.mask-line { display: inline-block; transform: translateY(100%); opacity: 0; animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.mask-wrap:nth-child(1) .mask-line { animation-delay: 0.1s; }
.mask-wrap:nth-child(2) .mask-line { animation-delay: 0.2s; }
@keyframes slideUp { to { transform: translateY(0); opacity: 1; } }

.scroll-indicator {
position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
display: flex; flex-direction: column; align-items: center; gap: 8px;
color: #888; font-size: 12px; font-weight: 500; animation: bounce 2s infinite;
}
.mouse-icon { width: 24px; height: 36px; border: 2px solid #888; border-radius: 12px; position: relative; }
.mouse-wheel {
width: 4px; height: 4px; background: #888; border-radius: 50%;
position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
40% { transform: translateX(-50%) translateY(-10px); }
60% { transform: translateX(-50%) translateY(-5px); }
}
@keyframes scrollWheel { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* ————— BUTTONS ————— */
.cta-buttons { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.glow-border {
position: relative; display: inline-block; border-radius: 999px; padding: 2px;
background: linear-gradient(270deg, #7f5af0, #00e0ff); background-size: 400% 400%;
animation: glowMove 5s ease infinite;
max-width: 100%;
}
.glow-border::before {
content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
background: inherit; filter: blur(6px); z-index: -1; border-radius: 999px; opacity: 0.3;
}
@keyframes glowMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.btn-white {
display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px;
border-radius: 999px; background: #000000; color: #ffffff; font-weight: 500;
position: relative; z-index: 1; transition: background 0.3s;
width: 100%;
}
.btn-white .arrow { display: inline-block; margin-left: 8px; transition: transform 0.3s ease; }
.btn-white:hover .arrow { transform: translateX(4px); }

.btn-outline {
position: relative; overflow: hidden; padding: 12px 20px; min-width: 140px; height: 44px;
background: transparent; border: 1px solid #ddd; border-radius: 999px; color: #000;
font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center;
justify-content: center; transition: background 0.3s ease;
}
.btn-outline:hover { background: #f5f5f5; border-color: #bbb; }
.copy-text, .copied-text { position: absolute; transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.3s ease; }
.copy-text { opacity: 1; transform: translateY(0); }
.copied-text { opacity: 0; transform: translateY(100%); }

.contact-links { margin-top: 24px; display: flex; align-items: center; gap: 24px; font-size: 14px; color: #666; }
.contact-links a { color: #666; transition: color 0.3s ease; }
.contact-links a:hover { color: #000; }
.contact-links .pin-icon { width: 14px; height: 14px;}
.location-group { display: flex; align-items: center; gap: 4px; }
.copyright-text { margin-left: auto; }

/* ————— GENERAL PAGE HERO TITLE RULES ————— */
.hero-title { font-size: 56px; font-weight: 400; line-height: 1.1; }
.hero-subtitle { font-size: 18px; line-height: 1.6; color: #555; max-width: 900px;}

/* ————— WORK SECTION ————— */
.projects-list-section {
max-width: 1250px;
margin: 60px auto 128px auto;
padding: 0 24px;
}

.section-header { margin-bottom: 64px; max-width: 800px; }

.projects-list {
display: flex;
flex-direction: column;
}

.project-row {
display: grid;
grid-template-columns: 1fr 1.6fr; /* Text | Image */
gap: 48px;
align-items: center;
padding: 48px 0;
border: none;
cursor: pointer;
}

.projects-list .project-row:first-child {
padding-top: 0;
}

.projects-list .project-row:last-child {
padding-bottom: 0;
}

.project-text-side {
display: flex; flex-direction: column; gap: 32px; justify-content: center;
align-items: flex-start;
}

.project-meta {
display: flex; flex-direction: column; gap: 16px;
}

.project-title {
font-size: 32px;
font-weight: 500;
color: #111;
margin: 0;
}

.project-desc {
font-size: 16px;
line-height: 1.6;
color: #555;
max-width: 480px;
}

.project-tags {
display: flex; gap: 12px;
}
.tag {
padding: 6px 14px;
background: #f0f0f0;
border-radius: 4px;
font-size: 13px;
color: #555;
font-weight: 500;
}

.project-stat {
display: flex;
flex-direction: column;
gap: 4px;
padding-left: 16px;
border-left: 2px solid #eee;
}

.stat-val {
font-size: 20px;
font-weight: 600;
background: linear-gradient(90deg, #7f5af0, #00e0ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: inline-block;
}

.stat-desc {
font-size: 12px;
text-transform: uppercase;
color: #888;
letter-spacing: 0.5px;
font-weight: 500;
}

.circle-btn {
width: 48px; height: 48px;
background: #000;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
border: 1px solid transparent;
flex-shrink: 0;
margin-top: 8px;
}

.circle-btn svg {
stroke: #fff;
transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
width: 20px; height: 20px;
}

.project-row:hover .circle-btn {
background: #fff;
border-color: #000;
transform: rotate(-45deg);
}

.project-row:hover .circle-btn svg {
stroke: #000;
}

.project-img-side {
width: 100%;
aspect-ratio: 16/9;
background: #f0f0f0;
border-radius: 6px;
overflow: hidden;
position: relative;
}

.project-img-side img {
width: 100%; height: 100%; object-fit: cover;
transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-row:hover .project-img-side img {
transform: scale(1.05);
}

/* ————— ANIMATIONS (Specific Selection) ————— */
.benefits-section { max-width: 1250px; margin: 128px auto; padding: 0 24px; }
.benefits-header { margin-bottom: 64px; max-width: 800px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.benefit-item { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.anim-box {
width: 100%; aspect-ratio: 4/3; background: #f7f7f7; border-radius: 6px;
display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}

.iso-container { width: 30%; height: 40%; position: relative; perspective: 400px; transform-style: preserve-3d; }
.iso-layer {
position: absolute; top: 30%; left: 20%;
width: 60%; height: 60%;
background: rgba(255, 255, 255, 0.8);
border: 1px solid #ccc;
border-radius: 8px;
transform: rotateX(60deg) rotateZ(-45deg);
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
animation: stackFloat 4s ease-in-out infinite;
}

.iso-layer:nth-child(1) { animation-delay: 0s; z-index: 1; border-color: #ddd; }
.iso-layer:nth-child(2) { animation-delay: 0.2s; z-index: 2; border-color: #999; }
.iso-layer:nth-child(3) {
animation-delay: 0.4s; z-index: 3;
background: linear-gradient(135deg, rgba(127, 90, 240, 0.1), rgba(0, 224, 255, 0.1));
border: 1px solid #7f5af0;
}

@keyframes stackFloat {
0%, 100% { transform: rotateX(60deg) rotateZ(-45deg) translateZ(0px); }
50% { transform: rotateX(60deg) rotateZ(-45deg) translateZ(30px); }
}

.morph-blob {
width: 25%; height: 25%;
background: linear-gradient(135deg, #00e0ff, #7f5af0);
border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
animation: morphing 8s ease-in-out infinite;
filter: blur(15px);
opacity: 0.9;
}

@keyframes morphing {
0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg) scale(1); }
33% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; transform: scale(1.1); }
66% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(180deg) scale(0.9); }
100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(360deg) scale(1); }
}

.scan-container {
width: 30%; height: 25%;
background-image: radial-gradient(#ddd 1px, transparent 1px);
background-size: 10px 10px;
position: relative;
overflow: hidden;
}

.scan-line {
position: absolute; top: 0; left: 0; width: 100%; height: 2px;
background: linear-gradient(90deg, transparent, #7f5af0, #00e0ff, transparent);
box-shadow: 0 0 10px rgba(127, 90, 240, 0.5);
animation: scanMove 2s ease-in-out infinite alternate;
}

@keyframes scanMove {
0% { top: 5%; opacity: 0.5; }
100% { top: 95%; opacity: 1; }
}

.benefit-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.benefit-content p { font-size: 15px; line-height: 1.6; color: #555; }
.stat-highlight { color: #000; font-weight: 600; background: #f0f0f0; padding: 2px 6px; border-radius: 4px; }

/* ————— FOOTER ————— */
.footer { margin: 128px auto 88px; padding: 0 24px; max-width: 1250px; }
.footer-title { font-size: 40px; font-weight: 500; margin-bottom: 64px; line-height: 1.4; }

/* ————— SPRINT-STYLE SOLUTIONS GRID ————— */
.services-section {
    max-width: 1250px; margin: 128px auto; padding: 0 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.service-card {
    background: #f7f7f7;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.card-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Target Sprint Badge Style */
.funnel-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 6px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Badge colors matching image tint style */
.badge-top { background: rgba(0, 188, 212, 0.12); color: #00bcd4; }
.badge-middle { background: rgba(127, 90, 240, 0.12); color: #7f5af0; }
.badge-bottom { background: rgba(0, 200, 83, 0.12); color: #00c853; }
.badge-pre { background: rgba(17, 17, 17, 0.08); color: #111111; }

.card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.best-for-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
    display: block;
    margin-bottom: -8px;
}

.service-headline {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

.deliverables-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
}

.deliv-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.checkmark-icon {
    color: #666;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}

.deliv-item strong {
    color: #111;
    display: inline;
}

.service-card .service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.service-card .tag-label {
    color: #666;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ————— MEDIA QUERIES ————— */
@media (max-width: 900px) {
.project-row { grid-template-columns: 1fr; gap: 32px; }
.project-img-side { order: -1; aspect-ratio: 4/3; }
.project-text-side { align-items: flex-start; }
.benefits-grid { grid-template-columns: 1fr; gap: 48px; }
.intro-title { font-size: 42px; }
.section-big-title { font-size: 28px;}
.project-title {font-size: 24px;}
.footer-title { font-size: 28px; }

.cta-buttons {
flex-direction: column;
width: 100%;
gap: 12px;
}

.cta-buttons .glow-border,
.cta-buttons .btn-outline {
width: 100%;
}

.smart-navbar {
top: auto;
bottom: 24px;
width: auto;
max-width: 95%;
}
.navbar {
flex-wrap: nowrap;
gap: 12px;
}
nav {
flex-wrap: nowrap;
gap: 6px;
}

nav a:hover::after {
top: auto;
bottom: 50px;
}

.hero-title {font-size: 42px;}
.hero-subtitle {font-size: 16px;}

.circle-btn {display: none;}

.project-row {
padding: 24px 0;
}

.services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
}
.service-card {
    padding: 32px;
}

/* Fix Card Badge Row for Tablet View */
.card-badge-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}
}

/* ————— PHONE SPECIFIC ————— */
@media (max-width: 600px) {
    .smart-navbar {
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 100%;
        border-radius: 100px;
        padding: 12px 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .nav-talk-btn { 
        display: none; 
    }

    .profile-text, .navbar .divider { 
        display: none; 
    }
    
    .navbar {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    nav {
        display: contents; 
    }

    .profile-link {
        margin-right: 0; 
        display: flex;
        align-items: center;
    }
    
    nav a {
        padding: 0;
    }

    
    .profile-link::after { display: none; }

    .contact-links { flex-direction: column; align-items: flex-start; gap: 16px; }
    .copyright-text { margin-left: 0; margin-top: 16px; opacity: 0.6; }

    /* Fine-tune layout stacking for mobile screens */
    .card-badge-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    
    .service-card .service-tags {
        justify-content: flex-start;
        width: 100%;
    }
}

