/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Gradient Mesh Background */
.gradient-mesh {
    background:
        radial-gradient(at 18% 18%, rgba(34, 34, 34, 0.08) 0px, transparent 42%),
        radial-gradient(at 82% 12%, rgba(84, 84, 84, 0.1) 0px, transparent 46%),
        radial-gradient(at 26% 82%, rgba(34, 34, 34, 0.05) 0px, transparent 40%),
        radial-gradient(at 88% 78%, rgba(123, 123, 123, 0.07) 0px, transparent 42%),
        linear-gradient(180deg, #ffffff 0%, var(--brand-cloud) 100%);
    background-attachment: fixed;
}

.transition-smooth {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.transition-fast {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-gradient-accent {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Section Label */
.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #6b7280;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Blur Circle Decoration */
.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
}

/* Team Card */
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: white;
    border: 1px solid #f3f4f6;
}

.team-card-image {
    position: relative;
    overflow: hidden;
}

.team-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-card-image::after {
    opacity: 1;
}

.team-card-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

/* Value Card */
.value-card {
    position: relative;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

/* Stats Counter */
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Magnetic Button */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.magnetic-btn:hover::before {
    opacity: 1;
}

.magnetic-btn span {
    position: relative;
    z-index: 1;
}

/* Underline Animation */
.underline-hover {
    position: relative;
}

.underline-hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.underline-hover:hover::after {
    width: 100%;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand-gradient);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 24px;
    width: 2px;
    height: calc(100% - 8px);
    background: #e5e7eb;
}

.timeline-item:last-child::after {
    display: none;
}

/* Hero Snapshot */
.hero-snapshot {
    position: relative;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 32px;
    padding: 28px;
    box-shadow: 0 24px 60px -24px rgba(34, 34, 34, 0.18);
    overflow: hidden;
}

.hero-snapshot::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(84, 84, 84, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 100%);
    pointer-events: none;
}

.hero-snapshot > * {
    position: relative;
}

.hero-pillars {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.hero-pillar {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--brand-line);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hero-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--brand-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12px 28px -16px var(--brand-glow-strong);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.hero-metric {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--brand-line);
    border-radius: 18px;
    padding: 16px;
}

.hero-metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-ink);
    margin-bottom: 6px;
}

.hero-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(34, 34, 34, 0.04);
    color: #4b5563;
    font-size: 14px;
    margin-top: 18px;
}

@media (max-width: 640px) {
    .hero-snapshot {
        padding: 22px;
        border-radius: 28px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
}
