:root {
    --bg: #000000;
    --card: #0e0e0e;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
    --glow: rgba(120, 180, 255, 0.15);
    --font: 'Poppins', sans-serif;
}

.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 400;
  font-style: normal;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text-main); font-family: var(--font); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 950px;
    padding: 20px 15px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: all 0.3s ease;
}

.nav-avatar {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-links { display: flex; gap: 35px; align-items: center; }
.nav-links li a { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.nav-links li a:hover { color: var(--text-main); }
.nav-btn { color: #fff !important; border: 1px solid var(--border); padding: 10px 24px; border-radius: 30px; }
.nav-btn:hover { background: #fff; color: #000 !important; }

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: none;
    border: none;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
    padding-top: 80px;
}

.mobile-overlay.active { opacity: 1; pointer-events: all; }
.mobile-menu-content { display: flex; flex-direction: column; text-align: center; gap: 25px; }
.m-link { font-size: 2.2rem; font-weight: 300; color: var(--text-muted); transition: 0.3s; }
.m-link:hover { color: #fff; letter-spacing: 2px; }
.mobile-socials { position: absolute; bottom: 50px; display: flex; gap: 20px; }
.mobile-socials a { color: var(--text-muted); font-size: 0.9rem; }

.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    position: relative; 
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% -10%, var(--glow), transparent 70%);
    z-index: -1;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    background: rgba(255,255,255,0.02);
}
.dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; }

.hero-title { font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 500; letter-spacing: -1px; }
.gradient-text { 
    background: linear-gradient(to bottom, #ffffff, #888888); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}
.hero-desc { max-width: 500px; margin: 0 auto 40px; color: var(--text-muted); line-height: 1.7; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }
.btn-primary { background: #fff; color: #000; padding: 14px 32px; border-radius: 50px; font-weight: 500; }
.btn-primary:hover { background: #ddd; }
.btn-secondary { border: 1px solid var(--border); padding: 14px 32px; border-radius: 50px; }
.btn-secondary:hover { border-color: #fff; }

.marquee-wrapper {
    width: 100%;
    padding: 5px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #000;
    overflow: hidden;
}
.marquee-track { display: flex; white-space: nowrap; overflow: hidden; gap: 40px; }
.marquee-group { display: flex; gap: 40px; animation: scroll 25s linear infinite; flex-shrink: 0; }
.marquee-group span { font-size: 1rem; color: #555; font-weight: 500; letter-spacing: 2px; }
.divider { color: #333; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

.section { padding: 120px 0; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 25px; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; font-weight: 400; }

.bento-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.bento-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.bento-box:hover { border-color: var(--border-hover); transform: translateY(-5px); }
.bento-box h3 { margin-bottom: 10px; font-weight: 500; }
.bento-box p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.icon-wrap { font-size: 2rem; margin-bottom: 20px; color: #fff; }
.bio-box { grid-row: span 2; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.image-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 35px;
    overflow: hidden;
    transition: 0.4s ease;
}
.image-card:hover { transform: translateY(-8px); border-color: var(--border-hover); }
.card-image { width: 100%; height: 200px; overflow: hidden; }
.card-image img {
    width: 100%; height: 100%; object-fit: cover; transition: 0.4s ease; padding: 10px; border-radius: 35px 35px 25px 25px;
}
.card-text { padding: 25px; }
.category { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); display: block; margin-bottom: 10px; }
.image-card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; color: #fff; }
.image-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.read-more { font-size: 0.9rem; display: flex; align-items: center; gap: 5px; color: #fff; }
.read-more ion-icon { transition: 0.3s; }
.read-more:hover ion-icon { transform: translateX(5px); }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.process-card {
    background: transparent;
    border-left: 1px solid var(--border);
    padding: 20px;
    transition: 0.3s;
}
.step-num { font-size: 3rem; color: #222; font-weight: 700; display: block; margin-bottom: 10px; line-height: 1; }
.process-card:hover .step-num { color: #333; }
.process-card h3 { margin-bottom: 10px; font-weight: 500; }
.process-card p { font-size: 0.85rem; color: var(--text-muted); }

.projects-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}
.project-item:hover { background: rgba(255,255,255,0.02); padding-left: 10px; padding-right: 10px; }
.p-info h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 5px; }
.p-num { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.p-tags { display: flex; gap: 10px; }
.p-tags span { border: 1px solid var(--border); padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; color: #777; }
.p-link { font-size: 1.5rem; transform: rotate(-45deg); transition: 0.3s; }
.project-item:hover .p-link { transform: rotate(0); color: #fff; }

.founder-note {
    background: rgba(255,255,255,0.01);
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.quote-icon { font-size: 3rem; color: #dddddd; margin-bottom: 20px; }
.quote-text {
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: #ddd;
    line-height: 1.6;
    margin-bottom: 40px;
}
.signature-block {
    margin-top: 40px;
}
.sincerely {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.meow-script-regular {
    font-size: 3rem;
    color: #fff;
    transform: rotate(-3deg);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

footer {
    position: relative;
    padding: 150px 0 50px;
    text-align: center;
    overflow: hidden;
}
.footer-image-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 550px;
    z-index: 0; 
    pointer-events: none;
}
.overlapping-img {
    width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%);
    mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    opacity: 0.3;
    border-radius: 500px 500px 0 0;
}
.placeholder-shape {
    display: none;
    width: 100%; height: 100%;
    background: linear-gradient(to top, #000, #333);
    border-radius: 300px 300px 0 0;
    opacity: 0.2;
}
.footer-content { position: relative; z-index: 2; }
.cta-section { margin-bottom: 150px; }
.cta-section h2 { font-size: 1.5rem; color: var(--text-muted); margin-bottom: 10px; }
.big-email { font-size: 4rem; font-weight: 600; background: linear-gradient(to bottom, #fff, #555); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    font-size: 0.85rem;
    text-align: left;
}
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 { color: #fff; font-weight: 500; margin-bottom: 5px; }
.f-col a { color: #666; }
.f-col a:hover { color: #fff; }

@media (max-width: 768px) {
    .navbar { padding: 12px 25px; width: 92%; }
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 3rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bio-box { grid-row: auto; }
    .project-item { flex-direction: column; align-items: flex-start; gap: 20px; }
    .p-link { position: absolute; right: 0; }
    .project-item { position: relative; }
    .big-email { font-size: 2.2rem; }
    .footer-bottom { flex-direction: column; gap: 30px; text-align: center; align-items: center; }
    .footer-image-wrapper { width: 300px; height: 400px; opacity: 0.2; }
    .cta-section { margin-bottom: 80px; }
    .quote-text { font-size: 1.1rem; }
    .meow-script-regular { font-size: 3rem; }
}

.fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }