/*
Theme Name: CanItCash Custom
Author: Digiflav
Description: Exact replica of the HTML prototype using raw CSS.
Version: 2.0
*/

:root {
    /* COLORS (Extracted from your Tailwind config) */
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    
    --orange-500: #f97316;
    --orange-600: #ea580c;
    --orange-100: #ffedd5;
    
    --blue-500: #3b82f6;
    --green-500: #22c55e;
    
    /* TYPOGRAPHY */
    --font-main: 'Inter', sans-serif;
    
    /* SPACING */
    --container-width: 1280px;
    --radius-xl: 1rem;       /* 16px */
    --radius-2xl: 1.5rem;    /* 24px */
    --radius-full: 9999px;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    color: var(--slate-900);
    line-height: 1.5;
    background-color: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; transition: 0.2s; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
section { position: relative; }

/* UTILITIES */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.grid { display: grid; gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.hidden { display: none; }

/* RESPONSIVE GRIDS */
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .md-flex { display: flex; }
    .md-hidden { display: none; }
}
@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .grid-5 { grid-template-columns: repeat(5, 1fr); }
    .lg-block { display: block; }
}

/* BUTTONS & BADGES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}
.btn-primary {
    background: var(--slate-900);
    color: white;
}
.btn-primary:hover { background: var(--slate-800); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2); }
.btn-accent {
    background: var(--orange-500);
    color: white;
}
.btn-accent:hover { background: var(--orange-600); box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3); }

/* --- HEADER (Glassmorphism) --- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.header-inner { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: -0.5px; }
.logo span.highlight { color: var(--orange-500); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--slate-500); }
.nav-links a:hover { color: var(--slate-900); }

/* --- HERO SECTION --- */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: var(--slate-50);
    overflow: hidden;
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}
.hero h1 span {
    background: linear-gradient(to right, var(--orange-500), #d97706);
    -webkit-background-clip: text;
    color: transparent;
}
.hero-subtitle { font-size: 1.125rem; color: var(--slate-500); margin-bottom: 40px; max-width: 500px; }

/* Search Bar */
.hero-search { position: relative; margin-bottom: 30px; max-width: 450px; }
.hero-search input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    outline: none;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.hero-search i { position: absolute; left: 16px; top: 18px; color: var(--slate-400); }

/* Selection Widget */
.selection-widget {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 12px;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}
.select-wrap select {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-xl);
    border: 1px solid transparent; /* invisible border */
    background: white;
    font-size: 0.9rem;
    color: var(--slate-500);
    font-weight: 500;
    cursor: pointer;
}

/* --- SECTIONS --- */
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

/* Categories Grid */
.category-card {
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-2xl);
    padding: 32px;
    transition: 0.3s;
    cursor: pointer;
}
.category-card:hover {
    border-color: var(--orange-100);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.1);
    transform: translateY(-2px);
}
.cat-icon { width: 48px; height: 48px; color: var(--slate-400); margin: 0 auto; display: block; }
.category-card:hover .cat-icon { color: var(--orange-500); }

/* How It Works (Dark) */
.section-dark {
    background: var(--slate-900);
    color: white;
}
.step-card {
    background: rgba(30, 41, 59, 0.5); /* Slate-800/50 */
    border: 1px solid var(--slate-700);
    border-radius: var(--radius-2xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.step-number {
    position: absolute;
    bottom: -20px; right: -20px;
    font-size: 120px;
    font-weight: 700;
    color: rgba(51, 65, 85, 0.3);
    z-index: 0;
}
.step-icon-box {
    width: 48px; height: 48px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}

/* Info Section (Sustainable) */
.info-tag {
    background: var(--orange-100); color: var(--orange-600);
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 16px;
}
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.95rem; color: var(--slate-700); }
.check-circle { 
    width: 20px; height: 20px; background: #dcfce7; color: var(--green-500);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px;
}

/* Popular Models */
.product-card {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    padding: 16px;
    background: white;
    transition: 0.3s;
}
.product-card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); border-color: var(--orange-100); }
.product-img { background: var(--slate-50); height: 200px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-xl); margin-bottom: 16px; }
.price-tag { font-size: 1.125rem; font-weight: 700; color: var(--orange-600); }

/* Why Trust Us (Gradient Dark) */
.trust-section {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    color: white;
    padding: 96px 0;
}
.stat-box { border-right: 1px solid var(--slate-700); }
.feature-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 24px; border-radius: var(--radius-2xl);
}

/* Reviews */
.review-card {
    background: var(--slate-50);
    padding: 32px;
    border-radius: 24px;
    position: relative;
}
.stars { color: #fbbf24; margin-bottom: 8px; display: flex; gap: 2px; }

/* Blog */
.blog-card img { border-radius: var(--radius-xl); margin-bottom: 16px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.blog-meta { font-size: 0.8rem; color: var(--slate-400); margin-bottom: 8px; }

/* Bottom CTA Widget */
.bottom-cta {
    background: white;
    border-radius: 40px;
    padding: 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--slate-100);
    display: flex; flex-direction: column; gap: 30px;
}
@media(min-width: 768px) { .bottom-cta { flex-direction: row; align-items: center; } }

/* Footer */
.site-footer { background: var(--slate-900); color: var(--slate-400); padding: 64px 0; font-size: 0.9rem; }
.site-footer h4 { color: white; margin-bottom: 24px; font-weight: 600; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer a:hover { color: var(--orange-500); }

/**/

/*
Theme Name: CanItCash Professional
Author: Digiflav
Description: Professional theme with brand colors.
Version: 3.0
*/

:root {
    /* --- BRAND COLORS (FROM YOUR LOGO) --- */
    --brand-green:  #00A651;
    --brand-blue:   #003B70;
    --brand-orange: #FF9900;
    
    /* NEUTRALS */
    --text-dark:    #1a1a1a;
    --text-gray:    #666666;
    --bg-light:     #f4f6f8;
    --white:        #ffffff;

    /* LAYOUT */
    --container-width: 1200px;
    --header-height:   80px;
    --radius:          12px;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}
a { text-decoration: none; transition: 0.2s; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* UTILITIES */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; gap: 24px; }
.text-center { text-align: center; }

/* BUTTONS */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px;
    font-weight: 600; cursor: pointer; border: none; font-size: 1rem;
}
.btn-primary { background: var(--brand-orange); color: white; }
.btn-primary:hover { background: #e68a00; transform: translateY(-2px); }
.btn-blue { background: var(--brand-blue); color: white; }

/* --- HEADER --- */
.site-header {
    height: var(--header-height);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; top: 0; z-index: 1000;
    display: flex; align-items: center;
}
.header-inner { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 45px; width: auto; } /* Fixes logo size */

.main-nav a { font-weight: 500; color: var(--brand-blue); margin-left: 30px; }
.main-nav a:hover { color: var(--brand-orange); }

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 40px;
    align-items: center;
}
.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--brand-blue);
    margin-bottom: 20px;
    font-weight: 700;
}
.hero p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 30px; }

/* FIXED SEARCH BAR */
.search-box-wrapper {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 500px;
}
.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.search-input-group i {
    position: absolute;
    left: 15px;
    color: var(--text-gray);
    width: 20px;
}
.search-input-group input {
    width: 100%;
    padding: 14px 14px 14px 45px; /* Space for icon */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}
.search-input-group input:focus { border-color: var(--brand-blue); }

.or-divider {
    text-align: center; font-size: 0.85rem; color: #999; margin: 15px 0; font-weight: 600;
}

/* SELECTION WIDGET */
.selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}
.selection-grid select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
}

/* HERO IMAGE PLACEHOLDER FIX */
.hero-image-container {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img-main {
    width: 80%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 2;
    position: relative;
    background: white; /* Fallback */
}

/* --- CATEGORIES --- */
.section-pad { padding: 80px 0; }
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.cat-card {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
}
.cat-card:hover {
    border-color: var(--brand-green);
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.1);
}
.cat-icon { width: 40px; height: 40px; color: var(--brand-blue); margin: 0 auto 15px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-image-container { display: none; } /* Hide image on mobile for speed */
    .search-box-wrapper { margin: 0 auto; }
    .header-inner { padding: 0 15px; }
    .main-nav { display: none; } /* Needs JS toggle for mobile */
}