
:root {
    --bg-color: #F8F9FA;
    --accent-mint: #00FF85;
    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --white: #FFFFFF;
    --black: #000000;
    --font-inter: 'Inter', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grain Effect */
.grain {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0.04;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
}

/* Cursor Aura */
.cursor-aura {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 133, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: top 0.1s ease-out, left 0.1s ease-out;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-poppins);
}

/* Side Socials */
.side-socials {
    position: fixed;
    left: 2rem;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2.5rem;
    z-index: 40;
}

@media (min-width: 1024px) {
    .side-socials { display: flex; }
}

.side-socials .line {
    width: 1px;
    height: 6rem;
    background-color: #E5E7EB;
}

.side-socials a {
    color: var(--text-muted);
    transition: var(--transition);
}

.side-socials a:hover {
    color: var(--black);
    transform: translateY(-4px);
}

.vertical-tag {
    writing-mode: vertical-rl;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 1rem;
}

/* Navigation */
#main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 60;
    transition: var(--transition);
}

#main-nav.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo .dot {
    width: 6px;
    height: 6px;
    background: var(--accent-mint);
    border-radius: 50%;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 3rem;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-links a {
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--black);
}

.btn-cv {
    padding: 0.65rem 1.5rem;
    background: var(--black);
    color: var(--white);
    border-radius: 999px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    transition: var(--transition);
}

.btn-cv:hover {
    background: #374151;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    width: 100%;
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.hero-blobs .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -10;
    pointer-events: none;
}

.blob-mint {
    top: 10%; left: 20%; width: 16rem; height: 16rem;
    background: rgba(0, 255, 133, 0.1);
}

.blob-pink {
    bottom: 20%; right: 15%; width: 20rem; height: 20rem;
    background: rgba(255, 209, 220, 0.2);
}

.rotating-text-wrapper {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 550px; height: 550px;
    pointer-events: none;
    display: none;
    opacity: 0.15;
    animation: rotateText 20s linear infinite;
}

@media (min-width: 768px) {
    .rotating-text-wrapper { display: block; }
}

@keyframes rotateText {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.rotating-text-wrapper text {
    font-size: 5.5px;
    font-weight: 900;
    letter-spacing: 1.5em;
    fill: var(--black);
    text-transform: uppercase;
}

.hero-capsule-wrapper {
    position: relative;
    margin-bottom: 3rem;
}

.capsule-glow {
    position: absolute;
    inset: -1rem;
    background: rgba(0, 255, 133, 0.1);
    border-radius: 220px;
    filter: blur(32px);
    opacity: 0;
    transition: opacity 1s;
}

.hero-capsule-wrapper:hover .capsule-glow {
    opacity: 1;
}

.hand-drawn-line {
    position: absolute;
    top: -2.5rem; left: -2.5rem;
    width: 8rem; height: 8rem;
    color: var(--accent-mint);
    opacity: 0.4;
    pointer-events: none;
}

.capsule-container {
    position: relative;
    width: 280px; height: 400px;
    border-radius: 999px;
    border: 12px solid var(--white);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

@media (min-width: 768px) {
    .capsule-container { width: 380px; height: 530px; }
}

.capsule-container img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 2s;
}

.hero-capsule-wrapper:hover img {
    transform: scale(1.1);
}

.hero-text {
    text-align: center;
    z-index: 10;
}

.hero-text h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1rem;
}

.hero-text .subtitle {
    font-size: clamp(0.75rem, 2vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
}

.hero-text .description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 40rem;
    margin: 0 auto;
}

.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: block; } }

/* Brand Strip */
.brand-strip {
    padding: 3rem 0;
    border-top: 1px solid #F3F4F6;
    border-bottom: 1px solid #F3F4F6;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 6rem;
}

.strip-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .strip-container { flex-direction: row; gap: 5rem; }
}

.strip-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #D1D5DB;
}

.brand-logos {
    display: flex;
    gap: 3rem;
    opacity: 0.3;
    transition: opacity 0.4s;
}

.brand-logos:hover { opacity: 1; }

.logo-item {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

/* Section Title */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    font-size: 10px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
}

/* About Section */
#about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    gap: 5rem;
}

@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.about-content .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.highlight {
    color: var(--black);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: var(--accent-mint);
    text-decoration-thickness: 4px;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.icon-box {
    width: 3rem; height: 3rem;
    border-radius: 0.75rem;
    background: var(--white);
    border: 1px solid #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.highlight-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.highlight-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
}

.image-frame {
    aspect-ratio: 4/5;
    background: #F3F4F6;
    border-radius: 60px;
    border: 8px solid var(--white);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    overflow: hidden;
}

.image-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.quote-box {
    position: absolute;
    bottom: -2.5rem; left: -2.5rem;
    padding: 2.5rem;
    background: var(--black);
    color: var(--white);
    border-radius: 1.5rem;
    max-width: 20rem;
    transform: rotate(-3deg);
}

.quote-box p {
    font-size: 0.875rem;
    font-weight: 500;
    font-style: italic;
    opacity: 0.8;
}

/* Portfolio Grid */
#portfolio {
    padding: 8rem 0;
    background: rgba(243, 244, 246, 0.5);
}

.portfolio-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.project-card {
    background: var(--white);
    border-radius: 40px;
    padding: 1rem;
    border: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.project-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.project-img-wrapper {
    aspect-ratio: 16/9;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.project-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tags span {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 999px;
    color: var(--text-muted);
}

.project-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #F9FAFB;
}

.github-link {
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.project-card:hover .github-link {
    color: var(--accent-mint);
}

.demo-btn {
    width: 2.5rem; height: 2.5rem;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.demo-btn:hover { background: var(--accent-mint); }

/* Contact Section */
#contact {
    padding: 8rem 0;
}

.contact-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 80px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .contact-card { padding: 6rem; }
}

.bg-icon {
    position: absolute;
    top: 0; right: 0;
    opacity: 0.05;
    padding: 2rem;
}

.contact-card h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 900;
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-actions { flex-direction: row; justify-content: center; }
}

.btn-primary {
    padding: 1.25rem 2.5rem;
    background: var(--black);
    color: var(--white);
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #374151;
    transform: translateY(-2px);
}

.or {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.2em;
}

.instagram-link {
    font-weight: 900;
    color: var(--black);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.instagram-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 2px;
    background: var(--accent-mint);
}

/* Footer */
footer {
    padding: 5rem 0;
    border-top: 1px solid #F3F4F6;
    background: var(--white);
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-container { flex-direction: row; justify-content: space-between; }
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-logo .dot {
    width: 6px; height: 6px;
    background: var(--accent-mint);
    border-radius: 50%;
}

.copyright {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 2rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--black);
}
