cookAIware / style.css
jimenezcarrero's picture
Upload folder using huggingface_hub
702939b verified
:root{
--cream:#fff4e6;
--cream-strong:#ffe8c9;
--peach:#f8b48a;
--peach-deep:#e5885c;
--teal:#2c8b88;
--teal-dark:#0f5453;
--ink:#1c2428;
--muted:#4e5c61;
--white:#ffffff;
--card:#fffaf3;
--shadow:0 24px 60px rgba(23,46,46,0.12);
--shadow-sm:0 8px 18px rgba(24,38,38,0.08);
--shadow-lg:0 18px 40px rgba(24,38,38,0.15);
--shadow-float:0 20px 50px rgba(24,38,38,0.18);
}
*{
box-sizing:border-box;
}
body{
margin:0;
font-family:'Nunito',sans-serif;
background:linear-gradient(180deg,#fff7ed 0%,#fef0e1 50%,#f5ece6 100%);
color:var(--ink);
}
h1,h2,h3,h4{
font-family:'Fraunces',serif;
margin:0 0 12px;
color:var(--ink);
}
p{
margin:0 0 12px;
}
a{
color:inherit;
text-decoration:none;
}
.container{
max-width:1200px;
margin:0 auto;
padding:0 24px;
}
.topbar{
padding:18px 0 0;
}
.topbar-inner{
display:flex;
align-items:center;
justify-content:space-between;
}
.brand{
display:flex;
align-items:center;
gap:10px;
font-weight:700;
color:var(--teal-dark);
}
.brand-dot{
width:10px;
height:10px;
border-radius:50%;
background:var(--teal);
box-shadow:0 0 0 4px rgba(44,139,136,0.15);
}
.bg-orbit{
position:fixed;
inset:-30% auto auto -15%;
width:520px;
height:520px;
background:radial-gradient(circle at 40% 40%,rgba(44,139,136,0.25),transparent 70%);
z-index:-2;
}
.bg-sparkle{
position:fixed;
inset:auto -10% -20% auto;
width:620px;
height:620px;
background:radial-gradient(circle at 60% 40%,rgba(248,180,138,0.28),transparent 70%);
z-index:-2;
}
.hero{
padding:40px 0 28px;
}
.hero-grid{
display:grid;
grid-template-columns:0.95fr 1.2fr;
gap:80px;
align-items:center;
text-align:left;
}
.badge-group{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:18px;
justify-content:flex-start;
}
.badge{
background:var(--cream-strong);
color:var(--teal-dark);
padding:6px 12px;
border-radius:999px;
font-size:0.85rem;
font-weight:700;
}
.subtitle{
font-size:1.15rem;
color:var(--muted);
max-width:520px;
margin:0 0 12px;
}
.btn-group{
display:flex;
gap:12px;
margin:22px 0 16px;
flex-wrap:wrap;
justify-content:flex-start;
}
.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 18px;
border-radius:14px;
font-weight:700;
transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.btn.primary{
background:var(--teal);
color:var(--white);
box-shadow:0 12px 30px rgba(44,139,136,0.25);
}
.btn.ghost{
background:var(--card);
color:var(--teal-dark);
border:1px solid rgba(44,139,136,0.2);
}
.btn:hover{
transform:translateY(-2px);
}
.feature-pills{
display:flex;
gap:12px;
flex-wrap:wrap;
font-size:0.9rem;
color:var(--teal-dark);
justify-content:flex-start;
margin-top:12px;
}
.feature-pill{
display:flex;
align-items:center;
gap:8px;
padding:8px 14px;
background:var(--white);
border-radius:999px;
box-shadow:0 4px 12px rgba(24,38,38,0.08);
font-weight:600;
}
.feature-pill svg{
width:18px;
height:18px;
color:var(--teal);
}
.hero-visual-wrapper{
width:100%;
justify-self:end;
}
.hero-visual-wrapper img{
width:100%;
max-width:850px;
border-radius:28px;
box-shadow:var(--shadow-float);
border:6px solid rgba(255,255,255,0.85);
}
/* Final image: match hero visual styling */
.final-image-visual{
width:100%;
/* max-width:850px;*/
border-radius:28px;
/* box-shadow:var(--shadow-float);
border:6px solid rgba(255,255,255,0.85);
display:block;
margin:0 auto;*/
}
.section{
padding:48px 0;
}
.section:first-of-type{
padding-top:24px;
}
.section-header{
max-width:640px;
margin-bottom:28px;
}
.eyebrow{
text-transform:uppercase;
letter-spacing:0.12em;
font-size:0.75rem;
color:var(--teal);
font-weight:700;
margin-bottom:10px;
}
.muted{
color:var(--muted);
}
.card-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:20px;
}
.card{
background:var(--white);
border-radius:24px;
padding:32px;
box-shadow:var(--shadow-sm);
border:1px solid rgba(0,0,0,0.04);
transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover{
transform:translateY(-5px);
box-shadow:var(--shadow-lg);
}
.feature-toggle{
display:grid;
gap:20px;
}
.feature-input{
position:absolute;
opacity:0;
pointer-events:none;
}
.card-toggle{
cursor:pointer;
transition:transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}
.card-toggle:hover{
transform:translateY(-2px);
}
#feature-inventory:checked ~ .card-grid label[for="feature-inventory"],
#feature-plan:checked ~ .card-grid label[for="feature-plan"],
#feature-shop:checked ~ .card-grid label[for="feature-shop"],
#feature-ask:checked ~ .card-grid label[for="feature-ask"]{
border:2px solid var(--teal);
box-shadow:0 18px 40px rgba(44,139,136,0.2);
}
.feature-panels{
margin-top:6px;
}
.feature-panel{
display:none;
}
#feature-inventory:checked ~ .feature-panels #panel-inventory,
#feature-plan:checked ~ .feature-panels #panel-plan,
#feature-shop:checked ~ .feature-panels #panel-shop,
#feature-ask:checked ~ .feature-panels #panel-ask{
display:block;
}
.chat-showcase{
background:linear-gradient(135deg,#fef4e8,#fffdf8);
}
.chat-panel{
background:#f8f9fa;
border-radius:24px;
padding:24px;
border:1px solid #e9ecef;
box-shadow:inset 0 2px 4px rgba(0,0,0,0.02);
}
.transcript{
display:flex;
flex-direction:column;
gap:20px;
}
.msg{
display:flex;
align-items:flex-start;
gap:12px;
animation:slideIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
opacity:0;
}
.msg.seq-1{animation-delay:0.3s;}
.msg.seq-2{animation-delay:1.5s;}
.msg.seq-3{animation-delay:3.0s;}
.msg.seq-4{animation-delay:4.5s;}
.msg.seq-5{animation-delay:6.0s;}
.msg.seq-6{animation-delay:7.5s;}
@keyframes slideIn{
from{opacity:0;transform:translateY(16px);}
to{opacity:1;transform:translateY(0);}
}
.msg.user{
flex-direction:row-reverse;
}
.avatar{
width:75px;
height:75px;
/*border-radius:14px;
background:var(--white);
object-fit:cover;
box-shadow:0 4px 8px rgba(0,0,0,0.05);
border:2px solid var(--white);*/
}
.bubble{
padding:16px 20px;
border-radius:20px;
max-width:80%;
position:relative;
font-size:0.95rem;
line-height:1.5;
}
.msg.assistant .bubble{
background:var(--peach-deep);
border-bottom-left-radius:4px;
box-shadow:0 4px 15px rgba(44,139,136,0.15);
color:var(--white);
}
.msg.user .bubble{
background:var(--teal);
border-bottom-right-radius:4px;
color:var(--white);
box-shadow:0 4px 15px rgba(44,139,136,0.2);
}
.install > .container > .section-header{
margin-bottom:32px;
}
.install-layout{
display:grid;
grid-template-columns:1.2fr 0.8fr;
gap:60px;
align-items:start;
}
.install-steps{
margin:0;
padding:0;
list-style:none;
counter-reset:steps;
}
.install-steps li{
display:flex;
align-items:center;
gap:16px;
margin-bottom:20px;
position:relative;
min-height:44px;
padding-left:44px;
}
.install-steps li::before{
counter-increment:steps;
content:counter(steps);
position:absolute;
left:0;
top:50%;
transform:translateY(-50%);
width:28px;
height:28px;
background:var(--teal);
color:var(--white);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-weight:700;
font-size:0.9rem;
flex-shrink:0;
}
.install-steps span{
font-size:1rem;
line-height:1.5;
color:var(--ink);
}
.link-tertiary{
color:var(--teal);
text-decoration:underline;
}
.install-sidebar{
display:flex;
flex-direction:column;
gap:20px;
}
.install-card{
background:var(--white);
border-radius:16px;
padding:24px;
box-shadow:var(--shadow-sm);
border:1px solid rgba(0,0,0,0.04);
transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.install-card:hover{
transform:translateY(-5px);
box-shadow:var(--shadow-lg);
}
.install-card h3{
font-size:1rem;
margin-bottom:8px;
}
.install-card p{
font-size:0.95rem;
color:var(--muted);
margin:0;
}
.install-card code{
background:rgba(44,139,136,0.1);
padding:2px 6px;
border-radius:4px;
font-family:Menlo,Monaco,"Courier New",monospace;
font-size:0.85rem;
color:var(--teal-dark);
}
.footer{
background:#f4f6f7;
padding:80px 0 40px;
margin-top:1px;
}
.footer-content{
display:grid;
grid-template-columns:1fr auto;
gap:40px;
align-items:center;
}
.footer-social{
display:flex;
flex-direction:column;
gap:12px;
}
.footer-social h4{
font-size:1rem;
margin:0;
color:var(--ink);
}
.footer-social .social-pills-row{
display:flex;
gap:12px;
}
.social-pill{
display:flex;
align-items:center;
gap:8px;
padding:10px 16px;
background:var(--white);
border-radius:999px;
box-shadow:0 4px 12px rgba(24,38,38,0.08);
font-weight:600;
color:var(--teal-dark);
transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.social-pill:hover{
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(24,38,38,0.12);
color:var(--teal);
}
.social-pill svg{
width:20px;
height:20px;
}
@media (max-width:900px){
h1{font-size:2.5rem;}
.hero-grid{grid-template-columns:1fr;text-align:center;gap:40px;}
.hero-visual{justify-self:center;}
.badge-group{justify-content:center;}
.btn-group{justify-content:center;}
.feature-pills{justify-content:center;}
.install-layout{grid-template-columns:1fr;}
.install-steps{text-align:left;}
.footer-content{grid-template-columns:1fr;gap:30px;}
}
@media (max-width:700ms){
.bubble{max-width:85%;}
.btn{width:100%;}
.btn-group{flex-direction:column;}
}
@media (prefers-reduced-motion: reduce){
.msg{animation:none;}
}