/* 
   UI/UX Design Guidelines Compliant System 
   Wardana Technologies
*/

:root {
    /* Brand Colors */
    --brand-blue: #2563eb;    /* Trust, Stability */
    --brand-green: #10b981;   /* Growth, Health */
    --brand-black: #000000;   /* Authority, Sophistication */
    
    /* Semantic Colors */
    --primary: var(--brand-blue);
    --success: var(--brand-green);
    --bg-dark: #050505;
    --bg-card: #121212;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    
    /* Spacing Scale (4-point system) */
    --s-4: 4px;
    --s-8: 8px;
    --s-12: 12px;
    --s-16: 16px;
    --s-24: 24px;
    --s-32: 32px;
    --s-48: 48px;
    
    /* Typography (Outfit) */
    --font-family: 'Outfit', sans-serif;
    
    /* Shadows (Low opacity + high blur) */
    --shadow-subtle: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.6);
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.3s;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.5;
    width: 100%;
    position: relative;
}

/* Grid Background (Signifier) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: var(--s-48) var(--s-48);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-32);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: var(--s-32);
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: color var(--duration) var(--ease);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s var(--ease);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

h1 {
    font-size: 48px; /* Max 6 sizes rule: 1. 48px */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: var(--s-24);
    letter-spacing: -2px;
}

h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px; /* 2. 18px */
    color: var(--text-muted);
    margin-bottom: var(--s-48);
    font-weight: 400;
}

/* Buttons (Padding width = 2x height) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px; /* Min touch target */
    padding: 0 96px; /* Width = 2x Height */
    border-radius: var(--s-4);
    font-weight: 600;
    font-size: 14px; /* 3. 14px */
    text-decoration: none;
    letter-spacing: 1px;
    transition: all var(--duration) var(--ease);
    cursor: pointer;
    max-width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Services / Cards */
.services {
    padding: var(--s-48) 0 var(--s-48);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--s-32);
}

.card {
    background: var(--bg-card);
    border-radius: var(--s-12);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
    display: flex;
    flex-direction: column;
    transform: translateZ(0); /* Hardware acceleration fix for zoom bleed */
    backface-visibility: hidden;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari border radius overflow fix */
    mask-image: radial-gradient(white, black);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-strong);
}

.card-img {
    width: 100%;
    height: 240px;
    position: relative;
    background: #000;
    overflow: hidden;
    border-radius: var(--s-12) var(--s-12) 0 0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration) var(--ease);
    will-change: transform;
    transform: translateZ(0) scale(1);
}

/* Image Overlay (No raw text rule) */
.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}

.card:hover .card-img img {
    transform: translateZ(0) scale(1.05);
}

.card-body {
    padding: var(--s-32);
}

h3 {
    font-size: 24px; /* 4. 24px */
    margin-bottom: var(--s-16);
    font-weight: 600;
}

.card p {
    font-size: 16px; /* 5. 16px */
    color: var(--text-muted);
    line-height: 1.6;
}

/* Semantic Colors for Titles */
.card-compounding h3 { color: var(--brand-green); }
.card-human h3 { color: var(--brand-blue); }
.card-execution h3 { color: #f9fafb; } /* Authority/Sophistication white */

/* About Section */
.about {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-48);
    align-items: flex-start;
}

.about-image {
    border-radius: var(--s-12);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: var(--s-16);
    font-weight: 800;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: var(--s-32);
    font-size: 18px;
}

.business-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-32);
}

.info-group h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--s-12);
}

.phone-link {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

.phone-link:hover {
    color: var(--primary);
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding-bottom: var(--s-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.hours-list li span:first-child {
    color: var(--text-muted);
    font-weight: 500;
}

.hours-list li span:last-child {
    color: var(--text-main);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-48);
    align-items: center;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: var(--s-16);
    font-weight: 800;
}

.contact-info h2 span {
    color: var(--primary);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: var(--s-32);
    font-size: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--s-16);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--s-12);
    color: var(--text-main);
}

.detail-item i {
    color: var(--primary);
    font-size: 18px;
}

.detail-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--duration) var(--ease);
}

.detail-item a:hover {
    color: var(--primary);
}

.contact-form-container {
    background: var(--bg-card);
    padding: var(--s-32);
    border-radius: var(--s-12);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-subtle);
}

.form-group {
    margin-bottom: var(--s-24);
    display: flex;
    flex-direction: column;
    gap: var(--s-8);
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.form-group input, 
.form-group textarea {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--s-12) var(--s-16);
    border-radius: var(--s-4);
    color: var(--text-main);
    font-family: var(--font-family);
    font-size: 14px;
    transition: all var(--duration) var(--ease);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #222;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #4b5563;
}

/* Footer */
footer {
    padding: var(--s-48) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer p {
    font-size: 12px; /* 6. 12px. Total 6 font sizes: 12, 14, 16, 18, 24, 48. */
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content, .card {
    animation: fadeInUp 0.8s var(--ease) forwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

@media (max-width: 1100px) {
    .container { padding: 0 var(--s-24); }
    h1 { font-size: 40px; }
    .about-grid, .contact-grid { 
        grid-template-columns: 1fr; 
        gap: var(--s-48);
        align-items: stretch;
    }
    .about-content, .contact-info {
        text-align: center;
        max-width: 100%;
    }
    .about-image { order: -1; margin-bottom: var(--s-32); }
}

@media (max-width: 992px) {
    nav { height: 72px; }
    
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        left: 0;
        top: 72px;
        transform: translateX(-100%);
        visibility: hidden;
        flex-direction: column;
        background-color: var(--bg-dark);
        width: 100%;
        height: calc(100vh - 72px);
        text-align: center;
        transition: transform 0.3s var(--ease), visibility 0.3s;
        gap: 0;
        padding-top: var(--s-32);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: var(--s-24) 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    h1 { font-size: 32px; letter-spacing: -1px; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero p { font-size: 16px; }
    .btn { width: auto; min-width: 200px; padding: 0 var(--s-32); }
    
    .about { padding: 60px 0; }
    .about-grid { gap: var(--s-24); }
    .about-image { max-height: 400px; }
    .about-image img { height: 100%; object-fit: cover; }
    
    .phone-link { font-size: 20px; }
    
    .contact { padding: 60px 0; }
    .contact-info { margin-bottom: var(--s-32); text-align: center; }
    .contact-details { width: 100%; align-items: center; }
    .detail-item { width: 100%; flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
    .contact-form .btn { width: 100%; }
    .contact-grid { gap: var(--s-32); }
    
    .about-content p { font-size: 16px; }
    .btn { padding: 0 var(--s-48); }
}

/* New UI Elements */
.hours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-12);
}

.hours-header h4 {
    margin-bottom: 0;
}

.status-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.status-badge.open {
    background: rgba(16, 185, 129, 0.1);
    color: var(--brand-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.closed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.whatsapp-float {
    position: fixed;
    bottom: var(--s-32);
    right: var(--s-32);
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    color: white;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: var(--s-16);
        right: var(--s-16);
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Tech Stack & Testimonials */
.section-header {
    text-align: center;
    margin-bottom: var(--s-48);
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
}

.tech-stack {
    padding: 80px 0;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.02));
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s-32);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-12);
    padding: var(--s-24);
    background: var(--bg-card);
    border-radius: var(--s-12);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 120px;
    transition: all var(--duration) var(--ease);
}

.tech-item i {
    font-size: 32px;
    color: var(--primary);
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-subtle);
}

.testimonials {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--s-32);
}

.testimonial-card {
    background: var(--bg-card);
    padding: var(--s-32);
    border-radius: var(--s-12);
    border-left: 4px solid var(--primary);
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: var(--s-24);
}

.testimonial-author strong {
    display: block;
    color: var(--text-main);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--s-24);
    margin: var(--s-16) 0;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    transition: color var(--duration) var(--ease);
}

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

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    .hero p { font-size: 14px; }
    .about, .contact, .services, .tech-stack, .testimonials { padding: 40px 0; }
    .container { padding: 0 var(--s-16); }
    .tech-grid { gap: var(--s-16); }
    .tech-item { min-width: 100px; padding: var(--s-16); }
}

/* Custom Cursor */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor-active {
        cursor: none;
    }
    
    .cursor-dot,
    .cursor-outline {
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        border-radius: 50%;
        z-index: 999999;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
    
    .cursor-dot {
        width: 8px;
        height: 8px;
        background-color: var(--primary);
    }
    
    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 2px solid rgba(37, 99, 235, 0.3);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }
    
    .cursor-outline.hovered {
        width: 60px;
        height: 60px;
        background-color: rgba(37, 99, 235, 0.1);
        border-color: var(--primary);
    }
}

/* ============================
   Our Work — Carousel
   ============================ */

.our-work {
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.work-section-header {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.work-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08);
    padding: 6px 16px;
    border-radius: 99px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    backdrop-filter: blur(4px);
}

.work-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
}

.our-work h2 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -3px;
    line-height: 1;
}

.our-work h2 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.our-work h2 span::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--primary);
    opacity: 0.1;
    z-index: -1;
    border-radius: 2px;
    transform: skewX(-15deg);
}

.work-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin: 0 auto;
    max-width: 600px;
    line-height: 1.6;
    font-weight: 400;
}

/* ---- Carousel wrapper ---- */
.work-carousel-wrap {
    position: relative;
    width: 100%;
}

.work-carousel {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

/* ---- Slide ---- */
.wc-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 520px;
}

/* ---- Visual panel (left) ---- */
.wc-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 48px;
}

/* Grid lines overlay */
.wc-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Animated orbs */
.wc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    pointer-events: none;
}
.wc-orb-1 {
    width: 280px; height: 280px;
    top: -60px; left: -60px;
    animation: orbFloat1 8s ease-in-out infinite;
}
.wc-orb-2 {
    width: 200px; height: 200px;
    bottom: -40px; right: -40px;
    animation: orbFloat2 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(30px, 20px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(-20px, -30px); }
}

/* Per-project color worlds */
.wc-bns   { background: linear-gradient(135deg, #060e1f 0%, #0e1a3c 100%); color: #4f8ef7; }
.wc-bns .wc-orb-1   { background: #1d4ed8; }
.wc-bns .wc-orb-2   { background: #f26b1f; }
.wc-bns .wc-feat-dot  { background: #4f8ef7; }

.wc-school { background: linear-gradient(135deg, #0d0a1a 0%, #1e1040 100%); color: #a78bfa; }
.wc-school .wc-orb-1  { background: #6d28d9; }
.wc-school .wc-orb-2  { background: #4f46e5; }
.wc-school .wc-feat-dot { background: #a78bfa; }

.wc-cam   { background: linear-gradient(135deg, #150505 0%, #2a0a0a 100%); color: #f87171; }
.wc-cam .wc-orb-1     { background: #dc2626; }
.wc-cam .wc-orb-2     { background: #9a3412; }
.wc-cam .wc-feat-dot  { background: #f87171; }

.wc-sbm   { background: linear-gradient(135deg, #050f08 0%, #0a1f10 100%); color: #34d399; }
.wc-sbm .wc-orb-1     { background: #059669; }
.wc-sbm .wc-orb-2     { background: #065f46; }
.wc-sbm .wc-feat-dot  { background: #34d399; }

/* Icon */
.wc-icon-display {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.wc-icon-display svg {
    width: 60px;
    height: 60px;
}

/* Large number watermark */
.wc-label-number {
    position: absolute;
    bottom: 20px;
    right: 24px;
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    opacity: 0.06;
    letter-spacing: -4px;
    color: currentColor;
    user-select: none;
    z-index: 1;
}

/* ---- Content panel (right) ---- */
.wc-content {
    background: var(--bg-card);
    border-left: 1px solid rgba(255,255,255,0.05);
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* Meta row */
.wc-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Status badge */
.wc-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 99px;
    flex-shrink: 0;
}
.wc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.wc-status.live  { background: rgba(16,185,129,.1); color: #10b981; border: 1px solid rgba(16,185,129,.2); }
.wc-status.live .wc-dot  { background: #10b981; box-shadow: 0 0 6px rgba(16,185,129,.8); animation: pulse-green 2s infinite; }
.wc-status.dev   { background: rgba(245,158,11,.1); color: #f59e0b; border: 1px solid rgba(245,158,11,.2); }
.wc-status.dev .wc-dot   { background: #f59e0b; }
.wc-status.planned { background: rgba(255,255,255,.04); color: var(--text-muted); border: 1px solid rgba(255,255,255,.08); }
.wc-status.planned .wc-dot { background: var(--text-muted); }

/* Tag chips */
.wc-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.wc-chips span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.07);
}

/* Title */
.wc-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    line-height: 1.15;
    margin: 0;
}

/* Description */
.wc-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* Feature list */
.wc-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}
.wc-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.wc-feat-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Footer row */
.wc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}
.wc-stack {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.wc-stack span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(37,99,235,0.1);
    color: #93c5fd;
    border: 1px solid rgba(37,99,235,0.15);
}
.wc-client {
    font-size: 12px;
    color: #4b5563;
    font-weight: 500;
}

/* ---- Arrow buttons ---- */
.wc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(5,5,5,0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s var(--ease);
}
.wc-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}
.wc-arrow svg { width: 20px; height: 20px; }
.wc-arrow-prev { left: 16px; }
.wc-arrow-next { right: 16px; }

/* ---- Controls row ---- */
.wc-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 16px;
}
.wc-dots {
    display: flex;
    gap: 8px;
}
.wc-dot-btn {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    padding: 0;
}
.wc-dot-btn.active {
    width: 28px;
    border-radius: 4px;
    background: var(--primary);
}
.wc-dot-btn:hover:not(.active) { background: rgba(255,255,255,0.35); }

.wc-counter {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}
#wcCurrent {
    color: var(--text-main);
    font-weight: 800;
}

/* IP notice */
.work-ip-notice {
    text-align: center;
    font-size: 12px;
    color: #374151;
    letter-spacing: 0.3px;
    padding-bottom: 40px;
}
.work-ip-notice strong { color: #4b5563; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .wc-slide {
        grid-template-columns: 1fr;
        grid-template-rows: 280px 1fr;
    }
    .wc-content {
        padding: 32px 28px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .wc-title { font-size: 24px; }
    .wc-label-number { font-size: 56px; }
    .wc-icon-display { width: 88px; height: 88px; }
    .wc-icon-display svg { width: 44px; height: 44px; }
    .wc-features { grid-template-columns: 1fr; }
    .wc-arrow-prev { left: 8px; }
    .wc-arrow-next { right: 8px; }
    
    .our-work h2 { font-size: 40px; }
    .work-section-header { padding: 60px 0 40px; }
}

@media (max-width: 480px) {
    .wc-slide { min-height: unset; }
    .wc-content { padding: 24px 20px; gap: 16px; }
    .wc-title { font-size: 20px; }
    .wc-desc { font-size: 13px; }
    .wc-footer { flex-direction: column; align-items: flex-start; }
    .wc-arrow { width: 38px; height: 38px; }
    
    .our-work h2 { font-size: 32px; letter-spacing: -1.5px; }
    .work-subtitle { font-size: 15px; }
    .work-eyebrow { letter-spacing: 2px; margin-bottom: 16px; }
}

/* ============================
   Terms & Conditions Modal
   ============================ */

.tc-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(4, 7, 18, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tc-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tc-modal {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tc-overlay.hidden .tc-modal {
    transform: translateY(20px);
}

.tc-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tc-icon svg {
    width: 32px;
    height: 32px;
}

.tc-modal h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.tc-modal p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.tc-modal p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.tc-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.tc-actions .btn {
    width: 100%;
    max-width: 320px;
}

.tc-modal p a:hover {
    border-color: var(--primary);
}

.tc-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
}

