/* landing-antigravity.css */
:root {
    --ag-blue: #2563EB;
    --ag-green: #10B981;
    --ag-turquoise: #36b9cc;
    --ag-bg: #f8fafc;
    --ag-text-dark: #0f172a;
    --ag-text-muted: #64748b;
    --ag-border: rgba(226, 232, 240, 0.8);
    --ag-card-bg: rgba(255, 255, 255, 0.85);
    --ag-card-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--ag-bg);
    color: var(--ag-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.text-gradient {
    background: linear-gradient(135deg, var(--ag-blue) 0%, var(--ag-turquoise) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tracking-tight {
    letter-spacing: -0.04em;
}

/* Orbs Background (Hero) */
.orb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--ag-blue) 0%, rgba(37, 99, 235, 0) 70%);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--ag-turquoise) 0%, rgba(54, 185, 204, 0) 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 60%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--ag-green) 0%, rgba(16, 185, 129, 0) 70%);
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, -50px) scale(1.1);
    }
}

/* Glassmorphism Cards */
.ag-card {
    background: var(--ag-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--ag-border);
    border-radius: 1.25rem;
    box-shadow: var(--ag-card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ag-card-interactive:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px -15px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.ag-card-interactive:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background-color: rgba(37, 99, 235, 0.1);
}

/* Floating Elements (Reactions to Mouse are JS, baseline CSS is here) */
.parallax-layer {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Icons */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--ag-bg);
    color: var(--ag-blue);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

/* Buttons */
.ag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.ag-btn-primary {
    background: var(--ag-blue);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.ag-btn-primary:hover {
    background: #1d4ed8;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.23);
}

.ag-btn-outline {
    background: transparent;
    color: var(--ag-text-dark);
    border: 1px solid var(--ag-border);
    backdrop-filter: blur(5px);
}

.ag-btn-outline:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Custom Nav for Landing */
.navbar-marketing {
    transition: all 0.3s ease;
}

.navbar-marketing.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--ag-border) !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* Mac Window Dashboard */
.mac-window {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mac-header {
    background: #f1f5f9;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.mac-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-dot.red {
    background: #ef4444;
}

.mac-dot.yellow {
    background: #f59e0b;
}

.mac-dot.green {
    background: #10b981;
}

/* Sections */
.ag-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

/* Footer Gradient CTA */
.cta-gradient {
    background: linear-gradient(135deg, var(--ag-blue) 0%, var(--ag-turquoise) 100%);
    border-radius: 2rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

/* Fix text scaling properly without ruining Bootstrap classes */
@media (max-width: 768px) {
    .display-3 {
        font-size: 3rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .mac-window .p-md-5 {
        padding: 1.5rem !important;
    }

    #block-title {
        margin-top: 9rem !important;
    }

    #block-title-2 {
        margin-top: 12rem !important;
    }
}

/* Typewriter Blinking Cursor */
.blinking-cursor {
    font-weight: 200;
    color: var(--ag-text-dark);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}