:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #fcfcfc;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(236, 72, 153, 0.15) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

.logo img {
    height: 32px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    background: linear-gradient(to right, #1e293b, #334155);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--dark);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--light);
}

/* Hero Visual & Glassmorphism */
.hero-visual {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    perspective: 1000px;
}

.demo-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.1),
        0 10px 20px -10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: left;
    position: relative;
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.demo-card:hover {
    transform: rotateX(0deg);
}

.card-header {
    background: #f1f5f9;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

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

.red {
    background: #ef4444;
}

.yellow {
    background: #eab308;
}

.green {
    background: #22c55e;
}

.card-body {
    padding: 40px;
    background: white;
}

/* Skeleton UI */
.row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.mt-4 {
    margin-top: 32px;
}

.col {
    flex: 1;
}   

.skeleton {
    background: #e2e8f0;
    border-radius: 4px;
}

.skeleton.head {
    height: 18px;
    margin-bottom: 8px;
}

.skeleton.text {
    height: 12px;
    margin-bottom: 8px;
}

.skeleton.image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    flex-shrink: 0;
}

.skeleton.rounded {
    border-radius: 50%;
}

.w-20 {
    width: 20%;
}

.w-40 {
    width: 40%;
}

.w-50 {
    width: 50%;
}

.w-60 {
    width: 60%;
}

.w-70 {
    width: 70%;
}

.w-80 {
    width: 80%;
}

.w-90 {
    width: 90%;
}

/* The Blur Effect */
.blurred {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    position: relative;
}

/* Card Body Blur Animation */
.card-body {
    padding: 40px;
    background: white;
}

.demo-card.blur-active .card-body .blur {
    filter: blur(8px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.3s ease;
}

.demo-card:hover .card-body .blur {
    filter: blur(0px) !important;
    user-select: auto;
    pointer-events: auto;
}

/* Floating Badge */
.floating-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: float 3s ease-in-out infinite;
    transition: filter 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.demo-card.blur-active .floating-badge {
    opacity: 1;
    visibility: visible;
}

.demo-card:hover .floating-badge {
    filter: grayscale(100%);
    opacity: 0.5;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Features */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    background: var(--light);
    border-radius: 16px;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: #f1f5f9;
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Showcase */
.showcase {
    padding: 80px 0;
}

.use-cases {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.use-cases li {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    align-items: flex-start;
}

.check {
    color: var(--primary);
    font-weight: bold;
    background: rgba(99, 102, 241, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Privacy Page Specifics */
.privacy-content {
    max-width: 800px;
    margin: 60px auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 16px;
    color: var(--dark);
}

.privacy-content p,
.privacy-content ul {
    color: var(--gray);
    margin-bottom: 16px;
}

.privacy-content ul {
    padding-left: 20px;
}

.privacy-content li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    background: white;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-content .links {
    display: flex;
    gap: 24px;
}

.footer-content a {
    text-decoration: none;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-content a:hover {
    color: var(--dark);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 40px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

/* Slot Machine Animation */
.text-spinner {
    display: inline-block;
    vertical-align: text-bottom;
    height: 1.2em;
    /* Adjust based on line-height */
    overflow: hidden;
    position: relative;
    /* transition: width 0.5s ease;  Managed by JS for smoother sync */
}

.text-reel {
    display: flex;
    flex-direction: column-reverse;
    /* Stack bottom-to-top so Y=0 is top */
    align-items: flex-start;
    /* Allow items to have their natural width */
    /* transform will be set by JS */
}

.text-item {
    display: flex;
    align-items: center;
    height: 1.2em;
    /* Must match container height */
    white-space: nowrap;

    /* Gradient Text Styling applied to items */
    background: linear-gradient(to right, #1e293b, #334155);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Prevent clipping */
}
