/* Base Variables & Reset */
:root {
    --background: #0f172a;
    --surface: #1e293b;
    --primary: #38bdf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation Styling */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--surface);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 2px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo-image {
    height: 40px;
    display: block;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 48px 0 96px 0;
}

.card {
    background-color: var(--surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.2s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary);
}

/* Scroll Animation Classes */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* =========================================
   CARD OVERLAYS
   ========================================= */

/* Option 1: Speech Bubble */
.overlay-speech-bubble {
    position: absolute;
    top: -24px;
    right: -20px;
    background-color: var(--primary);
    color: #000;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    max-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 10;
    line-height: 1.3;
}

/* The little triangle tail for the speech bubble */
.overlay-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 24px;
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--primary) transparent transparent transparent;
    display: block;
    width: 0;
}

/* Option 2: Sticky Note */
.overlay-sticky-note {
    position: absolute;
    top: -20px;
    right: 0px;
    background-color: #fef08a; /* Classic sticky note yellow */
    color: #1e293b;
    padding: 14px;
    font-size: 0.85rem;
    font-weight: bold;
    width: 160px;
    box-shadow: 3px 6px 12px rgba(0,0,0,0.3);
    transform: rotate(6deg); /* Gives it that casually placed look */
    z-index: 10;
    line-height: 1.3;
    border-bottom-right-radius: 16px 4px; /* Slight curl effect on the corner */
}