/* ===== SynkData — Global Styles ===== */

html {
    scroll-behavior: smooth;
}

/* Gradient text — green to lime */
.gradient-text {
    background: linear-gradient(135deg, #4ade80 0%, #a3e635 50%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero background — dark with green/lime radial glows */
.gradient-bg {
    background: radial-gradient(ellipse at 20% 50%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(163, 230, 53, 0.06) 0%, transparent 50%),
                linear-gradient(135deg, #030712 0%, #0a0f1a 50%, #030712 100%);
}

/* Card backgrounds with gradient border effect */
.gradient-border {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #030712 100%);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, #22c55e, #a3e635, #22c55e);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Glass morphism for navbar */
.glass-effect {
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Service cards hover lift */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Tech icons glow */
.tech-icon {
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px currentColor);
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #a3e635);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Counter tabular nums */
.counter {
    font-variant-numeric: tabular-nums;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Floating blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

/* Methodology line */
.methodology-line {
    background: linear-gradient(180deg, #22c55e 0%, #a3e635 100%);
}

/* ===== Hero Logo Visual ===== */

.hero-logo-container {
    position: relative;
}

.hero-logo-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, rgba(163, 230, 53, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

/* Animated network nodes */
.network-node {
    animation: float 6s ease-in-out infinite;
}

.network-connector {
    stroke-dasharray: 8 4;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to { stroke-dashoffset: -100; }
}

/* Pulse ring around logo */
.pulse-ring {
    animation: pulse-ring 3s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.1; }
}

/* ===== Responsive helpers ===== */

@media (max-width: 640px) {
    .gradient-text {
        /* Ensure readability on small screens */
        -webkit-text-fill-color: transparent;
    }
}
