/* 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;
}

/* 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%;
}

/* Service Block */
.service-block {
    position: relative;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--brand-gradient-strong);
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-block:hover::before {
    height: 100%;
}

.service-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    -webkit-text-stroke: 1px #e5e7eb;
    -webkit-text-fill-color: transparent;
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0.5;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    border-color: #e5e7eb;
}

.pricing-card.featured {
    border: 2px solid var(--brand-graphite);
    background: linear-gradient(180deg, rgba(84, 84, 84, 0.06) 0%, white 100%);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient-strong);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
}

/* Feature Check */
.feature-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.feature-check::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--brand-gradient);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-check::after {
    content: '✓';
    position: absolute;
    left: 6px;
    color: white;
    font-size: 11px;
    font-weight: bold;
}

/* Hover Lift */
.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);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.bento-item {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover {
    border-color: #e5e7eb;
    transform: translateY(-4px);
}

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

@media (max-width: 767px) {
    .bento-item.large {
        grid-column: span 1;
    }
}
