/* css/index.css */
.hero { position: relative; height: 100vh; min-height: 600px; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 3rem; padding-top: 80px; }
.hero-content { display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(3.5rem, 7vw, 8rem); font-weight: 900; line-height: 0.9; margin-bottom: 1.5rem; letter-spacing: -0.02em; color: var(--text-pure); }
.gold-text { background: linear-gradient(to bottom right, #FFFFFF 0%, #F3E5AB 20%, #D4AF37 50%, #A67C00 80%, #F3E5AB 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0px 4px 10px rgba(212, 175, 55, 0.15)); }
.subtitle { font-family: 'Inter', monospace; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--text-muted); margin-bottom: 1rem; font-weight: 500; letter-spacing: 0.5px; }
.code-bracket { color: var(--text-pure); opacity: 0.5; font-weight: 700; margin: 0 5px; }
.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }

.hero-glass-card { height: 65vh; padding: 0; border-radius: 32px; display: flex; align-items: center; justify-content: center; }
.image-wrapper { width: 100%; height: 100%; border-radius: inherit; position: relative; }
.hero-image { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: grayscale(100%) contrast(1.2); transition: filter 0.8s ease; transform: scale(1.1); }
.hero-glass-card:hover .hero-image { filter: grayscale(0%) contrast(1.1); }
.card-inner-glow { position: absolute; inset: 0; box-shadow: inset 0 0 100px rgba(0,0,0,0.9); border-radius: inherit; pointer-events: none; z-index: 2; }

/* --------------------------------------
   NEW: STATS COUNTER GRID
--------------------------------------- */
.stats-section { margin: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.stat-card { text-align: center; padding: 3rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.stat-number-wrapper { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 900; color: var(--gold-main); margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; line-height: 1; }
.stat-plus { font-size: 3rem; font-weight: 900; color: var(--gold-main); margin-left: 2px; }
.stat-label { font-size: 1.1rem; font-weight: 600; color: var(--text-pure); letter-spacing: 0.5px; }

/* Featured Grid */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.project-card { padding: 1.2rem; display: flex; flex-direction: column; }
.project-image { height: 240px; border-radius: 12px; margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.project-icon { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(80%) contrast(1.1); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease; }
.project-card:hover .project-icon { filter: grayscale(0%) contrast(1.1); transform: scale(1.05); }
.project-info { padding: 0 0.5rem 0.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-links { display: flex; gap: 0.8rem; margin-top: auto; flex-wrap: wrap; padding-top: 1.5rem; }
.project-links a { font-size: 0.85rem; font-weight: 600; color: var(--text-pure); padding: 0.7rem 1.4rem; border: 1px solid var(--border-subtle); border-radius: 50px; text-decoration: none; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: inline-flex; align-items: center; gap: 0.6rem; background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(0,0,0,0.4)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.project-links a i { font-size: 1rem; color: var(--text-muted); transition: color 0.4s; }
.project-links a:hover { border-color: var(--gold-main); color: var(--bg-deep); background: var(--gold-main); box-shadow: 0 5px 20px -5px var(--gold-main); transform: translateY(-3px); }
.project-links a:hover i { color: var(--bg-deep); }

@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; height: auto; padding-top: 150px; text-align: center; }
    .hero-content { align-items: center; }
    .hero-actions { justify-content: center; }
    .hero-glass-card { min-height: 450px; width: 100%; }
}