/* 1. CORE VARIABLES */
:root {
    --accent: #f5245f;
    --dark: #000000;
    --light: #ffffff;
    --bg-soft: #f8f8f8;
    --manrope: 'Manrope', sans-serif;
}

html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
body { 
    background: var(--light); 
    color: var(--dark); 
    font-family: 'Inter', sans-serif; 
    padding-top: 100px; 
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.serif {
    font-family: 'Fraunces', serif; /* This matches your restaurant brand aesthetic */
}

/* Enhances the list icons */
ul li i {
    font-size: 0.9rem;
    padding-top: 4px;
}

/* 2. ENHANCED FEATURES SECTION (Above Grid) */

/* 2. CORE PILLARS SECTION (Updated with Title) */
.pillars-section {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-rgba);
    border-bottom: 1px solid var(--border-rgba);
    padding: 80px 0;
}

.pillar-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 50px;
    line-height: 1.1;
}.feature-box {
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease;
}

.feature-box i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 15px;
    display: block;
}

.feature-box h5 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

/* 3. THE GRID (Templates) */
.grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    max-width: 1300px; 
    margin: 60px auto; 
    padding: 0 20px;
}
/* 2. THE GRID */
.grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    max-width: 1300px; 
    margin: 50px auto; 
    padding: 0 20px;
}

@media (max-width: 992px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .feature-box { border-bottom: 1px solid var(--border-rgba); padding: 25px 0; }
}

@media (max-width: 768px) {
    .grid { grid-template-columns: 1fr; padding: 0 15px; }
}

/* 3. CARD ARCHITECTURE */
.card { 
    border-radius: 15px; 
    overflow: hidden; 
    border: 1px solid #eee; 
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    position: relative; 
    text-decoration: none; 
    color: inherit; 
    background: #fff; 
    display: flex;
    flex-direction: column;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}

/* --- THUMBNAIL WRAPPER --- */
.thumb-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #111;
}

.thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover .thumb-wrap img {
    transform: scale(1.1);
}

.ribbon {
    position: absolute;
    top: 10px;
    right: -35px;
    background: var(--accent);
    color: white;
    padding: 11px 26px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    letter-spacing: 1px;
}

/* Functional Badge for the Info Section */
.badge-functional {
    background: rgba(197, 160, 89, 0.1);
    color: #C5A059;
    border: 1px solid rgba(197, 160, 89, 0.3);
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-top: 4px;
}

/* --- INTERACTIVE OVERLAY --- */
.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Updated opacity to 0.65 as requested */
    background: rgba(10, 10, 12, 0.65); 
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 5;
}

.card:hover .overlay {
    opacity: 1;
    visibility: visible;
}

/* --- OVERLAY TEXT & COMPONENTS --- */
.overlay p {
    /* Increased size and brightened color for readability */
    font-size: 0.85rem !important; 
    line-height: 1.5;
    color: #ffffff !important; 
    margin-bottom: 0;
    font-weight: 400;
}

.text-accent { 
    color: var(--accent) !important; 
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.3);
}

code.text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important; /* Brighter hex codes */
    font-size: 0.7rem;
}

.btn-preview {
    background: var(--accent);
    color: #fff;
    font-size: 0.8rem; /* Slightly larger button text */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px;
    border-radius: 6px;
    border: none;
    margin-top: auto;
    transition: background 0.3s ease;
}

.btn-preview:hover {
    background: #d41f52;
}

/* 4. CARD BOTTOM INFO */
.card-info {
    padding: 20px;
    background: #fff;
}

.demo-link {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-link:hover {
    letter-spacing: 2px;
}

/* 5. HERO SECTION */
.bundle-cta {
    background: #1a1a1a !important;
    color: #ffffff;
    border: 1px solid rgba(245, 36, 95, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
    margin-bottom: 50px;
}

.price-tag { font-size: clamp(2.2rem, 8vw, 3.5rem); font-weight: 800; color: #fff; }
.price-strike { font-size: 1.2rem; text-decoration: line-through; opacity: 0.4; margin-left: 10px; }

@media (max-width: 991px) {
    .bundle-cta { padding: 30px 15px !important; }
    .btn-stack-mobile { flex-direction: column !important; display: flex; gap: 10px; }
    .btn-stack-mobile .btn { width: 100%; }
}

/* 6. NAV */
.navbar { background: #fff !important; z-index: 1050; }
.nav-logo { height: 32px; width: auto; }