:root {
    color-scheme: light;
    --bg-start: #f7f3ef;
    --bg-mid: #ede5dd;
    --bg-end: #f2ebe5;
    --card: rgba(255, 255, 255, 0.88);
    --card-border: rgba(255, 255, 255, 0.72);
    --text: #23212a;
    --muted: #6b7280;
    --button-primary: linear-gradient(135deg, #5b73ff, #4867da);
    --button-primary-hover: linear-gradient(135deg, #4867da, #3b53b8);
    --button-secondary: rgba(255, 255, 255, 0.88);
    --button-secondary-hover: rgba(255, 255, 255, 0.96);
    --shadow: 0 24px 90px rgba(46, 36, 53, 0.14);
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 20%),
                linear-gradient(135deg, var(--bg-start) 0%, var(--bg-mid) 48%, var(--bg-end) 100%);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(91, 114, 255, 0.12), transparent 20%),
                radial-gradient(circle at 82% 14%, rgba(79, 70, 229, 0.1), transparent 18%),
                radial-gradient(circle at 75% 80%, rgba(244, 114, 182, 0.08), transparent 18%);
    pointer-events: none;
    z-index: -1;
}

body.dark-mode {
    color: #f4f4fb;
    background: radial-gradient(circle at top left, rgba(40, 52, 99, 0.25), transparent 18%),
                linear-gradient(135deg, #111827 0%, #17233b 45%, #232f4a 100%);
}

body.dark-mode::before {
    background: radial-gradient(circle at 18% 22%, rgba(96, 165, 250, 0.14), transparent 20%),
                radial-gradient(circle at 82% 14%, rgba(168, 85, 247, 0.11), transparent 18%),
                radial-gradient(circle at 75% 80%, rgba(236, 72, 153, 0.08), transparent 18%);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
}

.hero-card {
    width: min(980px, 100%);
    background: var(--card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 2.5rem;
    display: grid;
    gap: 1.75rem;
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero-card {
    --card: rgba(15, 23, 42, 0.85);
    --card-border: rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.3);
}

.hero-card::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    top: -90px;
    right: -90px;
    background: rgba(91, 114, 255, 0.14);
    filter: blur(28px);
    pointer-events: none;
}

.hero-card::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    bottom: -70px;
    left: -70px;
    background: rgba(244, 114, 182, 0.1);
    filter: blur(24px);
    pointer-events: none;
}

.hero-copy {
    text-align: center;
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.95;
}

h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.subtitle {
    margin: 0 auto 1rem;
    max-width: 40rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
}

#catContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 46vh;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

#catImage {
    max-width: min(100%, 420px);
    max-height: 46vh;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: block;
    background: rgba(255, 255, 255, 0.2);
}

#catImage:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.button {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #4c6ef5, #3b5bdb);
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    margin: 0 6px;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(60, 92, 196, 0.2);
}

.button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #3b5bdb, #3048b7);
}

.button:active {
    transform: translateY(0);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: #1f2937;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.85);
    color: #1f2937;
    transform: translateY(-2px);
}

body.dark-mode .button-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #f9fafb;
}

body.dark-mode .button-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #f9fafb;
}

.button-primary {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 10px 24px rgba(124, 58, 237, 0.24);
}

.button-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}