:root {
    --bg: #000000;
    --accent-blue: #55b2ff;
    --accent-purple: #a855f7;
    --node-bg: rgba(17, 17, 17, 0.8);
    --border: rgba(255, 255, 255, 0.1);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    background-color: var(--bg);
    /* The Grid Background */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.slide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out;
    text-align: center;
    width: 100%;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Badge Styling */
.badge {
    display: inline-block;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: #4ed5e2;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Typography */
h1 {
    font-size: 5.5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    letter-spacing: -3px;
    line-height: 1;
}

.highlight {
    background: linear-gradient(to right, #60a5fa, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    color: #94a3b8;
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    line-height: 1.5;
}

/* The Canvas Card */
.canvas-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 850px;
    height: 450px;
    margin: 0 auto;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Nodes and Paths Mockup */
.node {
    position: absolute;
    background: var(--node-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    width: 180px;
    text-align: left;
    font-size: 12px;
}

.node b {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.node span {
    color: #555;
}

/* SVG Connection Lines */
.connection-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Dots/Ports */
.port {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--bg);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
}

.dots-nav {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
}

.dot.active {
    background: var(--accent-blue);
}







/* Typography & Badges */
.badge-2 {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--accent-purple);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    letter-spacing: -3px;
    line-height: 1;
}

.gradient-text {
    background: linear-gradient(to right, #FFFFFF 40%, var(--accent-purple) 70%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtext {
    color: var(--text-muted);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    line-height: 1.5;
}

/* Slide 2: Capability Cards Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.cap-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.cap-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.cap-card h3 {
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.cap-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Slide 1: Flow Canvas Visuals */
.canvas-container {
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 850px;
    height: 400px;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.01);
}

/* Nav Dots */
.dots-nav {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
}


/* Container for the cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    padding: 20px;
    margin: 0 auto;
}

/* Individual Card Styling */
.universify-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    /* Very subtle white tint */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Soft border */
    border-radius: 28px;
    padding: 48px 36px;
    text-align: left;
    backdrop-filter: blur(12px);
    /* Glass effect */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Inner Glow Effect (The "Shadow" inside the top-left) */
.universify-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Hover State */
.universify-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Icon Box Styling */
.icon-container {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    font-size: 24px;
}

/* Typography inside the card */
.universify-card h3 {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.universify-card p {
    color: #9BA3AF;
    /* The specific gray for subtext */
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    letter-spacing: -0.2px;
}

/* Highlight for the middle card (as seen in your screenshot) */
.universify-card.highlighted {
    background: linear-gradient(135deg, rgba(1, 118, 211, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(1, 118, 211, 0.2);
}