:root {
    --bg-color: #F5F3EF;
    --text-color: #141414;
    --accent-color: #66023C;
    --accent-light: rgba(102, 2, 60, 0.1);
    --hero-muted: #354A3E;
    --card-bg: rgba(255, 255, 255, 0.6);
    --border-radius: 16px;
    --font-sans: 'Switzer', sans-serif;
    --font-serif: 'Source Serif 4', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-serif);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4, .nav-link, .btn {
    font-family: var(--font-sans);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.acrylic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background-color: var(--bg-color);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #E8B4B8;
    bottom: -150px;
    right: -100px;
    animation-delay: -10s;
}

.guilloche-overlay {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(102, 2, 60, 0.03) 10px, rgba(102, 2, 60, 0.03) 11px);
    opacity: 0.8;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 50px) scale(0.9); }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    padding-bottom: 32px;
}

.header nav {
    display: flex;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-color);
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.hero {
    text-align: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--hero-muted);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--accent-color);
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 48px auto;
    color: #4A4A4A;
}

.demo-box {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 24px 32px;
    max-width: 500px;
    margin: 0 auto 48px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.demo-box.mini {
    padding: 16px 20px;
    font-size: 0.9rem;
    margin: 0; 
}

.align-top {
    margin-bottom: auto;
    margin-top: 16px;
}

.demo-content {
    font-family: 'Consolas', monospace;
    font-size: 1.125rem;
    min-height: 28px;
    display: flex;
    align-items: center;
}

.demo-box.mini .demo-content {
    font-size: 0.95rem;
    min-height: 22px;
}

.typing-text {
    white-space: pre-wrap;
    color: var(--accent-color);
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background-color: var(--accent-color);
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

.demo-box.mini .cursor {
    height: 16px;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 2, 60, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
}

.align-bottom {
    margin-top: auto;
    align-self: flex-start;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 80px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--border-radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
}

.bento-card.span-2 {
    grid-column: span 2;
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.bento-card p {
    color: #4A4A4A;
    margin-bottom: 24px;
}

.bento-image {
    width: 100%;
    height: auto;
    margin-top: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(102, 2, 60, 0.1);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.span-2 { grid-column: span 1; }
    .cta-group { flex-direction: column; }
    .header nav { gap: 12px; }
}