@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Geist+Mono:wght@100..900&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --serif: 'Instrument Serif', serif;
    --sans-serif: 'Inter', sans-serif;
    --mono: 'Geist Mono', monospace;
    --sans: 'Instrument Sans', sans-serif;
    --mond: 'EB Garamond', serif;

    --bg-blue: #3232FF;
    --text-white: #ffffff;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-blue);
    color: var(--text-white);
    font-family: var(--sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
    box-sizing: border-box;
}

/* Hero */
.hero {
    display: flex;
    flex-direction: column;
    align-items: left;
    margin-bottom: 3rem;
}

.hero-logo img {
    width: 48px;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.hero-tagline {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 400;
    line-height: 1.35;
    margin: 0.25rem 0 0 0;
    max-width: 600px;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.italic {
    font-style: italic;
}

/* Product Descriptions */
.product-descriptions {
    margin-bottom: 2.5rem;
}

.product-descriptions p {
    font-family: var(--sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
    max-width: 560px;
}

.product-name {
    font-family: var(--serif);
    font-size: 1.15rem;
}

/* P.S. Section */
.ps-section {
    margin-bottom: 3.5rem;
}

.ps-label {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    margin: 0 0 0.25rem 0;
}

.ps-section p:last-child {
    font-family: var(--sans-serif);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    max-width: 560px;
}

/* Footer */
.site-footer {
    margin-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.site-footer p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.site-footer .underline {
    font-style: normal;
}

/* Products Section */
.products-section {
    padding: 0;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

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

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    border-radius: 20px 20px 0 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.tesseract-card {
    border-color: rgba(161, 97, 234, 0.15);
}

.tesseract-card::before {
    background: linear-gradient(90deg, transparent, rgba(161, 97, 234, 0.5), transparent);
}

.tesseract-card:hover {
    box-shadow: 0 12px 40px rgba(161, 97, 234, 0.2);
    border-color: rgba(161, 97, 234, 0.4);
}

.prism-card {
    border-color: rgba(100, 250, 83, 0.15);
}

.prism-card::before {
    background: linear-gradient(90deg, transparent, rgba(100, 250, 83, 0.5), transparent);
}

.prism-card:hover {
    box-shadow: 0 12px 40px rgba(100, 250, 83, 0.2);
    border-color: rgba(100, 250, 83, 0.4);
}

.niko-card {
    border-color: rgba(65, 105, 225, 0.15);
}

.niko-card::before {
    background: linear-gradient(90deg, transparent, rgba(65, 105, 225, 0.5), transparent);
}

.niko-card:hover {
    box-shadow: 0 12px 40px rgba(65, 105, 225, 0.2);
    border-color: rgba(65, 105, 225, 0.4);
}

.secret-card {
    border-color: rgba(255, 255, 255, 0.06);
}

.secret-card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.secret-card:hover {
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.card-icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon {
    width: 40px;
    height: 40px;
}

.card-title {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 400;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.card-description {
    font-family: var(--sans-serif);
    font-weight: 400;
    color: #ffffff;
    opacity: 0.85;
    margin-top: auto;
    line-height: 1.5;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.card-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 200ms ease;
    font-size: 0.85rem;
}

.btn-card {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Decorative background icon */
.card-bg-icon {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 220px;
    height: 220px;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.card-bg-icon svg {
    width: 100%;
    height: 100%;
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    color: #ffffff;
}

a {
    color: #ffffff;
}
