/*
Theme Name: Best Night Sleep
Author: Tito Arguello
Version: 2.1
Description: Minimalist
*/

:root {
--bg: #0B0E14;
--surface: #161B22;
--surface-hover: #1C2128;
--text-primary: #F0F6FC;
--text-secondary: #8B949E;
--accent: #ffffff;
--accent-glow: rgba(121, 192, 255, 0.15);
--border: #30363D;
--radius: 20px;
--font-serif: 'Georgia', serif;
--font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
body {
font-family: var(--font-sans);
background-color: var(--bg);
color: var(--text-primary);
margin: 0;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a {
color: var(--accent);
text-decoration: none;
transition: opacity 0.2s;
}
a:hover { opacity: 0.8; }
img {
width: 100%;
height: auto;
border-radius: var(--radius);
margin: 20px 0;
}
hr {
border: none;
height: 1px;
background: linear-gradient(90deg, transparent, var(--border), transparent);
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
width: 100%;
}
.container {
max-width: 1000px;
margin: 0 auto 60px;
padding: 0 20px;
}
.pagecontent {
max-width: 700px;
margin: auto;
padding: 20px;
}
.pagecontent a {
background-color: #161b22;
padding: 10px;
border-radius: 20px;
text-align: center;
margin: auto;
border: 1px solid var(--accent);
}
.app-title-container {
text-align: center;
padding: 20px 20px;
background: radial-gradient(circle at center, var(--surface) 0%, var(--bg) 70%);
}
.app-brand-title {
font-family: var(--font-sans);
font-size: 3.5rem;
font-weight: 800;
letter-spacing: -2px;
margin: 0;
color: var(--text-primary);
text-shadow: 0 0 20px var(--accent-glow);
}
.hero {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: center;
margin-bottom: 80px;
}
.hero-content h1 {
font-family: var(--font-serif);
font-size: 3rem;
line-height: 1.1;
margin: 0 0 1.5rem;
color: var(--accent);
}
.hero-image img, .grid-item-image img {
object-fit: cover;
display: block;
}
.label, .news-button-label {
font-family: var(--font-sans);
text-transform: uppercase;
letter-spacing: 2px;
color: var(--accent);
font-size: 0.75rem;
font-weight: 700;
margin-bottom: 0px;
display: block;
}
.btn {
background: var(--accent);
color: var(--bg);
padding: 16px 32px;
border-radius: 50px;
font-weight: bold;
display: inline-block;
transition: all 0.3s ease;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px var(--accent-glow);
}
.callout-container {
text-align: center;
margin: 50px 0;
}
.news-button {
display: inline-block;
border-color: var(--accent);
background: var(--accent-glow);
border-radius: var(--radius);
padding: 20px 20px;
color: var(--accent);
transition: 0.3s;
border: 1px solid var(--accent);
}
.news-button:hover {
background: var(--surface);
border: 1px solid var(--border);
}
.intro-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
margin-bottom: 60px;
}
.grid-item {
display: flex;
align-items: center;
background-color: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 16px;
transition: transform 0.2s, background 0.2s;
color: inherit;
}
.grid-item:hover {
background-color: var(--surface-hover);
transform: scale(1.02);
}
.grid-item-image {
flex: 0 0 64px;
height: 64px;
border-radius: 12px;
overflow: hidden;
margin-right: 16px;
}
.grid-item-content h3 {
font-size: 1.1rem;
margin: 0;
}
.newspaper-accordion {
max-width: 1000px;
width: calc(100% - 40px);
margin: 40px auto;
background: var(--surface);
border-radius: var(--radius);
border: 1px solid var(--border);
overflow: hidden;
}
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-header {
width: 100%;
padding: 24px;
background: none;
border: none;
color: var(--text-primary);
font-family: var(--font-sans);
font-size: 1rem;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.accordion-header:hover { background: var(--surface-hover); }
.accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
background: rgba(0, 0, 0, 0.2);
}
.accordion-text {
padding: 0 24px 24px;
color: var(--text-secondary);
font-size: 1.05rem;
}
.ecosystem {
background: var(--surface);
border-radius: var(--radius);
padding: 40px 20px;
text-align: center;
border: 1px solid var(--border);
}
.ecosystem h3 {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--text-secondary);
margin-bottom: 25px;
}
.link-list {
list-style: none;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}
.link-list a {
display: inline-block;
color: var(--accent);
font-size: 0.85rem;
padding: 10px 22px;
background: var(--bg);
border: 1px solid var(--accent);
border-radius: 50px;
transition: all 0.3s ease;
}
.link-list a:hover {
background: var(--accent);
color: var(--bg);
transform: translateY(-2px);
box-shadow: 0 4px 15px var(--accent-glow);
}
.content-body {
font-family: var(--font-serif);
font-size: 1.15rem;
line-height: 1.8;
color: var(--text-primary);
max-width: 800px;
margin: 0 auto;
}
.content-body h2 {
font-family: var(--font-sans);
color: var(--accent);
font-size: 2rem;
margin-top: 60px;
margin-bottom: 20px;
}
.content-body h3 {
font-family: var(--font-sans);
color: var(--text-primary);
font-size: 1.4rem;
margin-top: 40px;
}
.content-body em {
color: var(--text-secondary);
font-style: italic;
font-size: 0.9rem;
}
strong {
color: var(--accent);
font-weight: 600;
}
blockquote {
background: var(--surface);
border-left: 4px solid var(--accent);
margin: 40px 0;
padding: 30px;
border-radius: 0 var(--radius) var(--radius) 0;
position: relative;
}
blockquote::before {
content: "“";
position: absolute;
top: -10px;
left: 20px;
font-size: 4rem;
color: var(--accent);
opacity: 0.2;
font-family: var(--font-serif);
}
/* Container & Base Table */
table {
width: 100%;
border-collapse: collapse;
margin: 40px 0;
background: var(--surface, #ffffff);
border-radius: var(--radius, 8px);
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
th {
background: var(--accent, #333);
color: var(--bg, #fff);
text-align: left;
padding: 15px 20px;
font-family: var(--font-sans, sans-serif);
text-transform: uppercase;
font-size: 0.8rem;
letter-spacing: 1px;
}
td {
padding: 15px 20px;
border-bottom: 1px solid var(--border, #eee);
font-size: 0.95rem;
color: var(--text-secondary, #444);
line-height: 1.5;
}
/* Mobile Responsive Transformation */
@media screen and (max-width: 768px) {
table thead {
display: none; /* Hide headers on mobile */
}
table, table tbody, table tr, table td {
display: block;
width: 100%;
}
table tr {
margin-bottom: 20px;
border: 1px solid var(--border, #eee);
border-radius: var(--radius, 8px);
background: var(--surface, #fff);
}
table td {
text-align: left;
padding: 12px 20px 12px 20px;
border-bottom: 1px solid var(--border, #eee);
position: relative;
display: flex;
flex-direction: column; /* Stacks label above the value for better readability */
}
table td:last-child {
border-bottom: 0;
}
/* Create the Labels using data attributes */
table td::before {
content: attr(data-label);
font-weight: bold;
text-transform: uppercase;
font-size: 0.7rem;
color: var(--accent, #666);
margin-bottom: 4px;
letter-spacing: 0.5px;
}
}
.product-callout {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 30px;
margin: 50px 0;
text-align: center;
}
.product-callout a {
font-weight: bold;
font-family: var(--font-sans);
display: inline-block;
margin-top: 15px;
border-bottom: 2px solid transparent;
transition: border 0.3s;
}
.product-callout a:hover { border-bottom: 2px solid var(--accent); }
@media (max-width: 768px) {
.app-brand-title { font-size: 2.5rem; }
.hero, .intro-grid {
grid-template-columns: 1fr;
text-align: center;
}
.hero-content h1 { font-size: 2.2rem; }
}
.footer {
padding: 20px;
text-align: center;
opacity: 0.4;
max-width: 920px;
margin: auto;
}
img {
aspect-ratio: 4/3;
object-fit: cover;
}
.grid-item-image img {
margin: 0px;
aspect-ratio: 1/1;
object-fit: cover;
border-radius: 50%;
}