/* ==========================================
   TRUEADD PRO - GOOGLE ANTIGRAVITY AESTHETIC
   ========================================== */

/* Base Resets & Global Theme */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #fbfbfb;
    color: #0f0f11;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fbfbfb;
    color: #0f0f11;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Lenis Smooth Scroll Essential CSS */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* Loader Animation */
#loader {
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-text {
    background: linear-gradient(135deg, #000000 0%, #444444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseLoader 2s infinite alternate;
}

@keyframes pulseLoader {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Navigation Hide/Show on Scroll */
header {
    transform: translateY(0);
}
header.hide-nav {
    transform: translateY(-100%);
}

/* Typing Cursor Effect */
.typing-cursor::after {
    content: '|';
    display: inline-block;
    color: #3b82f6;
    margin-left: 4px;
    animation: blink 0.9s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Dot Grid Background Texture */
.dot-grid-pattern {
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.12) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Antigravity Floating Capabilities Arc */
.arc-icon-item {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.arc-icon-item:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.12);
}

/* Inset Dark Showcase Card */
.dark-hero-card {
    background: radial-gradient(circle at 50% 0%, #1c1d22 0%, #090a0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
}

/* Dot Matrix Interactive Cards */
.antigravity-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.antigravity-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07);
}

/* Magnetic Button Reset */
.magnetic-btn {
    display: inline-block;
}

/* Form Auto-fill overrides */
.form-group input:-webkit-autofill,
.form-group textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #f3f3f5 inset !important;
    -webkit-text-fill-color: #0f0f11 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Canvas Layering */
#particle-canvas {
    pointer-events: none;
    z-index: 1;
}

/* 3D Active Theory Process Spine & Orbiting Cards */
.process-3d-wrapper {
    perspective: 1000px;
    perspective-origin: 50% 50%;
}

.process-carousel {
    transform-style: preserve-3d;
    will-change: transform;
}

.process-card-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 92%;
    max-width: 460px;
    height: auto;
    min-height: 180px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 1.5rem;
    padding: 1.75rem 2rem;
    transform-style: preserve-3d;
    backface-visibility: visible;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.process-card-3d.active-card {
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.25), 0 10px 20px -5px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.process-card-3d .step-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
    line-height: 1;
}

.process-card-3d h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    color: #0f0f11 !important;
}

.process-card-3d p {
    font-size: 0.875rem;
    color: #4b5563 !important;
    line-height: 1.6;
}

/* Mobile & Touch Device Optimizations (Android / iOS) */
@media (max-width: 768px) {
    .typing-cursor::after {
        margin-left: 2px;
    }
    .antigravity-card {
        padding: 1.5rem;
    }
    .process-card-3d {
        padding: 1.5rem;
    }
}
