.glass {
    background: rgba(14, 14, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-light {
    background: rgba(14, 14, 18, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.glass-card {
    background: rgba(14, 14, 18, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(20, 20, 26, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(6, 6, 8, 0.9) 0%,
        rgba(6, 6, 8, 0.7) 50%,
        rgba(6, 6, 8, 0.95) 100%
    );
}

.glow-accent {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1), 0 0 60px rgba(59, 130, 246, 0.05);
}

.glow-cyan {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1), 0 0 60px rgba(99, 102, 241, 0.05);
}

.text-gradient {
    background: linear-gradient(135deg, #E5E7EB 0%, #9CA3AF 50%, #E5E7EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-grid {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

.bg-dots {
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}

.glow-ring {
    position: relative;
}

.glow-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.glow-ring:hover::after {
    opacity: 1;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(14, 14, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #9ca3af;
    transition: all 0.3s;
}

.brand-pill:hover {
    border-color: rgba(255, 255, 255, 0.12);
    color: #E5E7EB;
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    padding: 16px 30px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.3s;
}

.brand-logo img {
    height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: all 0.3s;
}

.brand-logo:hover {
    border-color: rgba(0, 0, 0, 0.12);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
}

.brand-logo:hover img {
    transform: scale(1.08);
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.group:hover .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.04);
}

.stat-number {
    color: #E5E7EB;
}

/* MacBook Device Showcase */
.macbook-frame {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.macbook-body {
    position: relative;
    background: linear-gradient(180deg, #1A1A1E 0%, #0E0E12 100%);
    border-radius: 16px 16px 8px 8px;
    padding: 10px 14px 8px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(59, 130, 246, 0.05);
}

.macbook-screen {
    position: relative;
    background: #0A0A0D;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.macbook-screen-inner {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.macbook-screen-content {
    animation: macScroll 20s ease-in-out infinite;
    padding: 24px 28px;
}

.macbook-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 24px;
    background: #0E0E12;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

.macbook-camera {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #1A1A1E;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 3;
}

.macbook-base {
    position: relative;
    background: linear-gradient(180deg, #1A1A1E 0%, #141418 100%);
    border-radius: 0 0 8px 8px;
    padding: 12px 14px 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: none;
}

.macbook-keyboard {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 3px;
    margin-bottom: 4px;
}

.macbook-key {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.macbook-key.wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.macbook-key.space {
    grid-column: span 8;
    aspect-ratio: 8/1;
}

.macbook-trackpad {
    width: 40%;
    margin: 0 auto 2px;
    height: 4px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
}

.macbook-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 120px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
}

.macbook-shadow {
    position: absolute;
    bottom: -20px;
    left: 5%;
    width: 90%;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    filter: blur(15px);
    z-index: -1;
}

/* Twenty+ years badge */
.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.exp-badge-num {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1A1A1E, #0E0E12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #E5E7EB;
}

@keyframes macScroll {
    0%, 10% { transform: translateY(0); }
    45%, 55% { transform: translateY(-62%); }
    90%, 100% { transform: translateY(0); }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #E5E7EB;
    -webkit-box-shadow: 0 0 0px 1000px #0A0A0D inset;
    transition: background-color 5000s ease-in-out 0s;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #060608;
}

::-webkit-scrollbar-thumb {
    background: #1A1A1E;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2A2A2E;
}

@media (max-width: 768px) {
    .glass-card:hover {
        transform: none;
    }
    .macbook-frame {
        max-width: 100%;
    }
    .macbook-screen-inner {
        font-size: 0.65rem;
    }
}
